File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -271,7 +271,7 @@ jobs:
271271 uses : github/codeql-action/upload-sarif@v4
272272 if : always()
273273 with :
274- sarif_file : bandit-results.json
274+ sarif_file : bandit-results.sarif
275275 continue-on-error : true
276276
277277 # ===========================================================================
Original file line number Diff line number Diff line change @@ -273,8 +273,8 @@ ci-build: clean ## Build package for CI
273273.PHONY : ci-security
274274ci-security : # # Run security scan for CI
275275 @echo " Running security scan (CI mode)..."
276- @$(PIP ) install bandit safety 2> /dev/null || true
277- @bandit -r $(SRC_DIR ) / -f json -o bandit-results.json -ll || true
276+ @$(PIP ) install bandit bandit-sarif-formatter safety 2> /dev/null || true
277+ @bandit -r $(SRC_DIR ) / --format sarif --output bandit-results.sarif -ll || true
278278 @safety check --json > safety-results.json 2> /dev/null || true
279279 @echo " Security scan complete"
280280
You can’t perform that action at this time.
0 commit comments