From 4f17268d469d59e9fed18792cd3b911b036a8983 Mon Sep 17 00:00:00 2001 From: samidbb Date: Mon, 13 Nov 2023 10:58:43 +0100 Subject: [PATCH] disabled sarif uploads for now --- .github/workflows/secret-detection.yml | 15 ++++++++------- .github/workflows/tfsec.yml | 13 +++++++------ 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/.github/workflows/secret-detection.yml b/.github/workflows/secret-detection.yml index 97a1c090..73937dc6 100644 --- a/.github/workflows/secret-detection.yml +++ b/.github/workflows/secret-detection.yml @@ -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 diff --git a/.github/workflows/tfsec.yml b/.github/workflows/tfsec.yml index e3574e4d..7abc7aba 100644 --- a/.github/workflows/tfsec.yml +++ b/.github/workflows/tfsec.yml @@ -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