Skip to content

Fix zizmor audits - #2276

Merged
kodiakhq[bot] merged 5 commits into
guacsec:mainfrom
funnelfiasco:zizmor-audits
Nov 16, 2024
Merged

Fix zizmor audits#2276
kodiakhq[bot] merged 5 commits into
guacsec:mainfrom
funnelfiasco:zizmor-audits

Conversation

@funnelfiasco

@funnelfiasco funnelfiasco commented Nov 7, 2024

Copy link
Copy Markdown
Collaborator

Address most of the zizmor audits (except scorecard, which has an open question with the Scorecard project)

Fixes #2269
Fixes #2270
Fixes #2271
Fixes #2272
Fixes #2274

(Opened as a single PR because several of them involve changes to the new zizmor.yml file)

PR Checklist

  • All commits have a Developer Certificate of Origin (DCO) -- they are generated using -s flag to git commit.
  • All new changes are covered by tests
  • If GraphQL schema is changed, make generate has been run
  • If GraphQL schema is changed, GraphQL client updates/additions have been made
  • If OpenAPI spec is changed, make generate has been run
  • If ent schema is changed, make generate has been run
  • If collectsub protobuf has been changed, make proto has been run
  • All CI checks are passing (tests and formatting)
  • All dependent PRs have already been merged

@mihaimaruseac mihaimaruseac left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

Most of the issues are template injection that's not actually subject
to template injection.

Fixes guacsec#2269

Signed-off-by: Ben Cotton <ben@kusari.dev>
Fixes guacsec#2270

Signed-off-by: Ben Cotton <ben@kusari.dev>
Fixes guacsec#2271

Signed-off-by: Ben Cotton <ben@kusari.dev>
* Don't persist credentials in checkout
* Scope permissions to the necessary jobs
* Ignore safe uses of `ref_name`

Fixes guacsec#2272

Signed-off-by: Ben Cotton <ben@kusari.dev>
Fixes guacsec#2274

Signed-off-by: Ben Cotton <ben@kusari.dev>
@kodiakhq
kodiakhq Bot merged commit 07c814a into guacsec:main Nov 16, 2024
@funnelfiasco
funnelfiasco deleted the zizmor-audits branch March 13, 2026 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

3 participants