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 @@ -297,7 +297,7 @@ jobs:
297297 uses : github/codeql-action/upload-sarif@v4
298298 if : always()
299299 with :
300- sarif_file : bandit-results.json
300+ sarif_file : bandit-results.sarif
301301 continue-on-error : true
302302
303303 # ===========================================================================
Original file line number Diff line number Diff line change @@ -409,8 +409,8 @@ ci-build: clean
409409# # CI: Security scan
410410ci-security :
411411 @echo " $( GREEN) Running security scan (CI mode)...$( NC) "
412- @$(PIP ) install bandit safety 2> /dev/null || true
413- @bandit -r $(SRC_DIR ) / -f json -o bandit-results.json -ll || true
412+ @$(PIP ) install bandit bandit-sarif-formatter safety 2> /dev/null || true
413+ @bandit -r $(SRC_DIR ) / --format sarif --output bandit-results.sarif -ll || true
414414 @safety check --json > safety-results.json 2> /dev/null || true
415415 @echo " $( GREEN) Security scan complete$( NC) "
416416
You can’t perform that action at this time.
0 commit comments