-
-
Notifications
You must be signed in to change notification settings - Fork 532
refactor(ci): standardize security scans via Makefile targets #3678
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
Merged
arkid15r
merged 30 commits into
OWASP:main
from
hassaansaleem28:refactor/ci-use-makefile-security-scans
Feb 5, 2026
+113
−90
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
faaa47c
feat: add Dockerfile for Trivy version tracking
hassaansaleem28 9f4a200
build: add dynamic Trivy versioning and caching to root Makefile
hassaansaleem28 14d9ca2
build(backend): implement standardized security scan target
hassaansaleem28 9750683
build(frontend): implement standardized security scan target
hassaansaleem28 e58c7b5
ci: refactor workflow to use Makefile targets for security scans
hassaansaleem28 23a0a53
style: apply pre-commit auto-fixes
hassaansaleem28 e29eea7
Merge branch 'main' into refactor/ci-use-makefile-security-scans
hassaansaleem28 4ed573a
fix: add missing line continuation in security-scan-code target
hassaansaleem28 cf1a11a
Merge remote changes from GitHub
hassaansaleem28 50098ad
Merge branch 'refactor/ci-use-makefile-security-scans' of https://git…
hassaansaleem28 645764f
fix: restore executable permission to manage.py
hassaansaleem28 f494533
Update code
arkid15r 73afcec
Merge branch 'main' into refactor/ci-use-makefile-security-scans
arkid15r 72018c1
fix(ci): align ci workflows with makefiles
hassaansaleem28 34a6b66
Add dependabot tracking
hassaansaleem28 fe1b5f6
Merge branch 'main' into refactor/ci-use-makefile-security-scans
hassaansaleem28 2075f0c
fix(docker): pin npm version and preserve build cache
hassaansaleem28 1836bef
Merge branch 'refactor/ci-use-makefile-security-scans' of https://git…
hassaansaleem28 307ad4d
Merge branch 'main' into refactor/ci-use-makefile-security-scans
hassaansaleem28 7be1e25
Update .github/workflows/run-ci-cd.yaml
hassaansaleem28 5a4a940
ci: remove redundant trivy setup step
hassaansaleem28 0457d82
Merge branch 'refactor/ci-use-makefile-security-scans' of https://git…
hassaansaleem28 28fcf37
Merge branch 'main' into refactor/ci-use-makefile-security-scans
hassaansaleem28 a32c533
Merge branch 'main' into refactor/ci-use-makefile-security-scans
arkid15r dea9aae
fix(ci): optimize trivy scans and resolve build vulnerabilities
hassaansaleem28 3305cd3
Merge branch 'main' into refactor/ci-use-makefile-security-scans
hassaansaleem28 96aab6e
Update trivy.yaml to not use depracted syntax
hassaansaleem28 bade9ef
Merge branch 'main' into pr/hassaansaleem28/3678
arkid15r 8c0cf8b
Update code
arkid15r 3569a01
Merge branch 'main' into refactor/ci-use-makefile-security-scans
arkid15r File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| FROM aquasec/trivy:0.58.0 |
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,9 @@ | ||
| misconfigurations: | ||
| - id: AVD-DS-0002 # Require non-root USER in Dockerfile. | ||
| paths: | ||
| - docker/semgrep/Dockerfile | ||
| - docker/trivy/Dockerfile | ||
|
|
||
| vulnerabilities: | ||
| # TODO(arkid15r): Remove when v5.9.3 is no longer current. | ||
| - id: CVE-2025-64756 # glob: Command Injection Vulnerability via Malicious Filenames. |
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.
Uh oh!
There was an error while loading. Please reload this page.