-
Notifications
You must be signed in to change notification settings - Fork 205
🔐 Enhance Snyk Integration with Pre-commit Hook & Centralized Scanning Workflow #2909
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
base: develop
Are you sure you want to change the base?
Conversation
…g file and updated skip logic
PR Reviewer Guide 🔍(Review updated until commit 0d1c01c)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to 0d1c01c
Previous suggestionsSuggestions up to commit 3f57f38
|
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.
can we replace the token with a generic placeholder like <your_token>
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.
In that case we will need to hardcode the token? Is that you mentioned?
|
Persistent review updated to latest commit 0d1c01c |
User description
Issue Tracking
JIRA:https://aottech.atlassian.net/browse/OPS-20
Changes
🛠️ Created install-pre-push.bat script to automate setup of pre-push hooks.
⚙️ Integrated Snyk scan as a standalone GitHub Actions workflow for centralized security scanning.
🧹 Removed Snyk scan and SARIF report generation from individual component CD workflows to avoid duplication and streamline security reporting.
Notes
Checklist
PR Type
Enhancement, Other
Description
Add cross-platform Snyk pre-push hook
Provide installer to configure hooks and auth
Centralize Snyk scans in dedicated workflow
Remove Snyk from component CD pipelines
Diagram Walkthrough
File Walkthrough
3 files
Windows installer for Snyk-enabled pre-push hook
Pre-push Snyk scan with auth and logging
New centralized Snyk scan workflow for web packages
1 files
Sample env containing Snyk token variable
6 files
Remove Snyk scan and SARIF processing from CD
Remove Snyk image scan from CD workflow
Remove Snyk scanning and SARIF upload
Drop Snyk scan and SARIF upload steps
Remove Snyk scan from Keycloak CD
Remove ZAP scan and related AWS upload