Skip to content

Commit

Permalink
disabled sarif uploads for now
Browse files Browse the repository at this point in the history
  • Loading branch information
samidbb committed Nov 13, 2023
1 parent a6510e7 commit 4f17268
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 13 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/secret-detection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,14 @@ jobs:
chmod +x gitleaks
- name: Scan with gitleaks
run: ./gitleaks detect --exit-code 0 --redact --report-format sarif --report-path gitleaks-results.sarif

- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v2
with:
# Path to SARIF file relative to the root of the repository
sarif_file: gitleaks-results.sarif
category: GitLeaks Secret Scanning

# Disabled this until repo is switched to be public
# - name: Upload SARIF file
# uses: github/codeql-action/upload-sarif@v2
# with:
# # Path to SARIF file relative to the root of the repository
# sarif_file: gitleaks-results.sarif
# category: GitLeaks Secret Scanning

- name: Clean up results file
run: rm -f gitleaks-results.sarif
13 changes: 7 additions & 6 deletions .github/workflows/tfsec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ jobs:
with:
sarif_file: tfsec.sarif

- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v2
with:
# Path to SARIF file relative to the root of the repository
sarif_file: tfsec.sarif
category: Tfsec IAC Scanning
# Disabled this until repo is switched to be public
# - name: Upload SARIF file
# uses: github/codeql-action/upload-sarif@v2
# with:
# # Path to SARIF file relative to the root of the repository
# sarif_file: tfsec.sarif
# category: Tfsec IAC Scanning

0 comments on commit 4f17268

Please sign in to comment.