diff --git a/.github/workflows/release-arm.yaml b/.github/workflows/release-arm.yaml index 5965c6023..d8526fb86 100644 --- a/.github/workflows/release-arm.yaml +++ b/.github/workflows/release-arm.yaml @@ -218,13 +218,13 @@ jobs: sudo mv build/*trivy.sarif trivy-sarif/ sudo mv build/*grype.sarif grype-sarif/ - name: Upload Trivy scan results to GitHub Security tab - uses: github/codeql-action/upload-sarif@9278e421667d5d90a2839487a482448c4ec7df4d # v3 + uses: github/codeql-action/upload-sarif@396bb3e45325a47dd9ef434068033c6d5bb0d11a # v3 if: startsWith(github.ref, 'refs/tags/') with: sarif_file: 'trivy-sarif' category: ${{ matrix.flavor }}-trivy - name: Upload Grype scan results to GitHub Security tab - uses: github/codeql-action/upload-sarif@9278e421667d5d90a2839487a482448c4ec7df4d # v3 + uses: github/codeql-action/upload-sarif@396bb3e45325a47dd9ef434068033c6d5bb0d11a # v3 if: startsWith(github.ref, 'refs/tags/') with: sarif_file: 'grype-sarif' @@ -319,13 +319,13 @@ jobs: sudo mv build/*grype.sarif grype-sarif/ - name: Upload Trivy scan results to GitHub Security tab if: startsWith(github.ref, 'refs/tags/') - uses: github/codeql-action/upload-sarif@9278e421667d5d90a2839487a482448c4ec7df4d # v3 + uses: github/codeql-action/upload-sarif@396bb3e45325a47dd9ef434068033c6d5bb0d11a # v3 with: sarif_file: 'trivy-sarif' category: ${{ matrix.flavor }}-trivy - name: Upload Grype scan results to GitHub Security tab if: startsWith(github.ref, 'refs/tags/') - uses: github/codeql-action/upload-sarif@9278e421667d5d90a2839487a482448c4ec7df4d # v3 + uses: github/codeql-action/upload-sarif@396bb3e45325a47dd9ef434068033c6d5bb0d11a # v3 with: sarif_file: 'grype-sarif' category: ${{ matrix.flavor }}-grype diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 45da9c133..dc7f4a8fd 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -212,13 +212,13 @@ jobs: files: | release/* - name: Upload Trivy scan results to GitHub Security tab - uses: github/codeql-action/upload-sarif@9278e421667d5d90a2839487a482448c4ec7df4d # v3 + uses: github/codeql-action/upload-sarif@396bb3e45325a47dd9ef434068033c6d5bb0d11a # v3 if: startsWith(github.ref, 'refs/tags/') with: sarif_file: 'trivy-sarif' category: ${{ matrix.flavor }}-trivy - name: Upload Grype scan results to GitHub Security tab - uses: github/codeql-action/upload-sarif@9278e421667d5d90a2839487a482448c4ec7df4d # v3 + uses: github/codeql-action/upload-sarif@396bb3e45325a47dd9ef434068033c6d5bb0d11a # v3 if: startsWith(github.ref, 'refs/tags/') with: sarif_file: 'grype-sarif' diff --git a/.github/workflows/reusable-build-flavor.yaml b/.github/workflows/reusable-build-flavor.yaml index 4a1bc50b5..6b616fbdf 100644 --- a/.github/workflows/reusable-build-flavor.yaml +++ b/.github/workflows/reusable-build-flavor.yaml @@ -143,13 +143,13 @@ jobs: sudo mv *grype.sarif grype-results/ - name: Upload Trivy scan results to GitHub Security tab if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} - uses: github/codeql-action/upload-sarif@9278e421667d5d90a2839487a482448c4ec7df4d # v3 + uses: github/codeql-action/upload-sarif@396bb3e45325a47dd9ef434068033c6d5bb0d11a # v3 with: sarif_file: 'trivy-results' category: ${{ inputs.flavor }}-${{ inputs.flavor_release }}-trivy - name: Upload Grype scan results to GitHub Security tab if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} - uses: github/codeql-action/upload-sarif@9278e421667d5d90a2839487a482448c4ec7df4d # v3 + uses: github/codeql-action/upload-sarif@396bb3e45325a47dd9ef434068033c6d5bb0d11a # v3 with: sarif_file: 'grype-results' category: ${{ inputs.flavor }}-${{ inputs.flavor_release }}-grype diff --git a/.github/workflows/reusable-docker-arm-build.yaml b/.github/workflows/reusable-docker-arm-build.yaml index 14e67afa7..1cd82793f 100644 --- a/.github/workflows/reusable-docker-arm-build.yaml +++ b/.github/workflows/reusable-docker-arm-build.yaml @@ -155,13 +155,13 @@ jobs: sudo mv build/*trivy.sarif trivy-sarif/ sudo mv build/*grype.sarif grype-sarif/ - name: Upload Trivy scan results to GitHub Security tab - uses: github/codeql-action/upload-sarif@9278e421667d5d90a2839487a482448c4ec7df4d # v3 + uses: github/codeql-action/upload-sarif@396bb3e45325a47dd9ef434068033c6d5bb0d11a # v3 if: startsWith(github.ref, 'refs/tags/v') with: sarif_file: 'trivy-sarif' category: ${{ matrix.flavor }}-trivy - name: Upload Grype scan results to GitHub Security tab - uses: github/codeql-action/upload-sarif@9278e421667d5d90a2839487a482448c4ec7df4d # v3 + uses: github/codeql-action/upload-sarif@396bb3e45325a47dd9ef434068033c6d5bb0d11a # v3 if: startsWith(github.ref, 'refs/tags/v') with: sarif_file: 'grype-sarif'