-
Notifications
You must be signed in to change notification settings - Fork 1.6k
helm chart publisher: use proper ref for checkout #12392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
helm chart publisher: use proper ref for checkout #12392
Conversation
This pull request contains a potential workflow injection risk in the GitHub Actions workflow file where an attacker might manipulate the release number input to specify arbitrary branches during checkout, which could introduce a security vulnerability if proper input validation is not implemented. 💭 Unconfirmed Findings (1)
All finding details can be found in the DryRun Security Dashboard. |
They seem to pass. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved
* Update versions in application files * ui: fix "retrieve my username" typo (#12368) * Minor Semgrep connector docs tweaks (#12373) * jira push: log inactive/verified message to debug (#12376) * helm chart publisher: use proper ref for checkout (#12392) * tags: prevent validation from removing tags (#12400) * tags: prevent validation from removing tags * tags: prevent validation from removing tags smoke test * tags: prevent validation from removing tags smoke test * tags: prevent validation from removing tags remove ui test * Update versions in application files --------- Co-authored-by: DefectDojo release bot <[email protected]> Co-authored-by: Cody Maffucci <[email protected]> Co-authored-by: Jean-François YUEN <[email protected]> Co-authored-by: Charles Neill <[email protected]> Co-authored-by: valentijnscholten <[email protected]>
The helm chart publish step had a hardcoded
ref: master
on the checkout step.Now that we have the
nightly-dev
builds merged and enabled, this means the wrong ref is checked out for the helm cart publishing. It overwrites the latest release info in the helm chart.This PR fixes the checkout ref.
For now I have disabled the
nightly-dev
builds and I've regenerated the helm-chart for 2.46.0:Thanks @kiblik for raising this and working together on a fix.