-
Notifications
You must be signed in to change notification settings - Fork 307
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
fix synk security scan on CI #4875
Conversation
- name: snyk monitor | ||
# https://docs.snyk.io/snyk-cli/commands/monitor | ||
run: snyk monitor --all-projects --severity-threshold=high --exclude=dev,tools | ||
env: | ||
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | ||
- name: snyk test | ||
# https://docs.snyk.io/snyk-cli/commands/test | ||
run: snyk test --all-projects --severity-threshold=high --exclude=dev,tools --fail-on=all |
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.
main change of this PR
"stylelint": "^13.13.1", | ||
"stylelint": "^14.0.0", | ||
"stylelint-config-standard": "^22.0.0", | ||
"throttle-debounce": "^2.1.0", | ||
"tinycolor2": "^1.6.0", | ||
"tslib": "2.5.3" | ||
}, | ||
"resolutions": { | ||
"braces": "3.0.3" | ||
"braces": "3.0.3", | ||
"micromatch": "4.0.6" |
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.
patches https://github.com/grafana/oncall-private/issues/2876 (and appeases the failing synk test
🙂)
@@ -23,5 +23,5 @@ runs: | |||
if: ${{ inputs.install-dependencies == 'true' }} | |||
shell: bash | |||
run: | | |||
pip install uv setuptools | |||
pip install uv==0.2.37 setuptools==73.0.0 |
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.
Curious, why we need to pin here?
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.
good catch. I'll revert this, was just testing a few things.
snyk
was complaining about a CVE in setuptools=68.0.0
. I'm not able to reproduce our environment installing this version though (engine/requirements.txt
pins 73.0.0
and this GitHub Action, + our Dockerfile, also install 73.0.0
without the pin).. soo I permanently ignored this warning in snyk for now.
# Which issue(s) this PR closes Closes #4503 Closes grafana/oncall-private#2876 ## Checklist - [ ] Unit, integration, and e2e (if applicable) tests updated - [x] Documentation added (or `pr:no public docs` PR label added if not required) - [x] Added the relevant release notes label (see labels prefixed w/ `release:`). These labels dictate how your PR will show up in the autogenerated release notes.
Which issue(s) this PR closes
Closes #4503
Closes https://github.com/grafana/oncall-private/issues/2876
Checklist
pr:no public docs
PR label added if not required)release:
). These labels dictate how your PR willshow up in the autogenerated release notes.