fix: security work flow - #80
Merged
Merged
Conversation
|
No |
satya-nr
reviewed
Jul 10, 2026
| - "/v2/cdc-parent/*" | ||
| schedule: | ||
| interval: cron | ||
| cronjob: "0 11 * * 1" |
There was a problem hiding this comment.
Schedule style looks different from what I've seen, are you sure this works? If yes, all good
|
Seeing Trivy scan failing on real CVEs, can we fix them in this PR or will take care later ! |
maya-jha
reviewed
Jul 15, 2026
| exit-code: '1' | ||
| env: | ||
| TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db | ||
| TRIVY_JAVA_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-java-db |
| "text": ":rotating_light: Trivy detected HIGH/CRITICAL CVEs on ${{ github.ref_name }} in ${{ github.repository }}\nRun: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\nFindings: ${{ github.server_url }}/${{ github.repository }}/security/code-scanning?query=is%3Aopen+tool%3ATrivy" | ||
| } | ||
| env: | ||
| SLACK_WEBHOOK_URL: ${{ secrets.SLACK_TRIVY_WEBHOOK_URL }} |
Author
There was a problem hiding this comment.
logging-integrations-notifications
… convention Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds an automated security scanning workflow to improve continuous vulnerability detection and alerting for this repository.
What changed
Added a Trivy filesystem scan focused on HIGH and CRITICAL findings. Added SARIF upload to GitHub Security where permissions allow it. Added scheduled and manual execution support. Added Slack notifications when scheduled/manual scans fail. Added a dedicated notification path for Dependabot PR events.
Notes
This PR is focused on workflow automation and does not change application runtime code.