Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/security-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:

# - name: Upload Checkov SARIF report
# if: success() || failure()
# uses: github/codeql-action/upload-sarif@v3
# uses: github/codeql-action/upload-sarif@v4
# with:
# sarif_file: results_sarif.sarif
# wait-for-processing: true
Expand All @@ -82,23 +82,23 @@ jobs:

- name: Upload calibrated Checkov SARIF report
if: success() || failure()
uses: github/codeql-action/upload-sarif@v3
uses: github/codeql-action/upload-sarif@v4
with:
sarif_file: checkov_findings_high_critical.sarif
wait-for-processing: true
category: checkov

- name: Upload Terrascan SARIF report
if: success() || failure()
uses: github/codeql-action/upload-sarif@v3
uses: github/codeql-action/upload-sarif@v4
with:
sarif_file: terrascan.sarif
wait-for-processing: true
category: terrascan

- name: Upload tfsec SARIF report
if: success() || failure()
uses: github/codeql-action/upload-sarif@v3
uses: github/codeql-action/upload-sarif@v4
with:
sarif_file: tfsec.sarif
wait-for-processing: true
Expand Down Expand Up @@ -169,7 +169,7 @@ jobs:
jq '.runs[].results[].locations[].physicalLocation.artifactLocation.uri |= "file://" + .' reports/zap-scan-report.json > reports/zap-scan-report.sarif

- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v3
uses: github/codeql-action/upload-sarif@v4
if: always()
with:
sarif_file: reports/zap-scan-report.sarif
Expand Down Expand Up @@ -207,7 +207,7 @@ jobs:
bandit -r python-app -f sarif -o bandit-results.sarif

- name: Upload SARIF results to GitHub Security
uses: github/codeql-action/upload-sarif@v3
uses: github/codeql-action/upload-sarif@v4
if: always() # Upload results whether the scan passed or failed
with:
sarif_file: bandit-results.sarif
Expand Down