diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d062ecd..fd257e6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,7 +34,7 @@ jobs: security-events: write steps: - name: Harden Runner - uses: step-security/harden-runner@e14015d583714f6e62063499dc959a02595150a1 # v2.21.1 + uses: step-security/harden-runner@ccd8616d44fd3846e67624a50d5aad6d37bf2d25 # v2.22.1 with: egress-policy: audit @@ -76,7 +76,7 @@ jobs: - name: Upload gitleaks SARIF if: always() && env.UPLOAD_SARIF == 'true' - uses: github/codeql-action/upload-sarif@b96794f015dfd88f77b49b1c93e0fa7110f94c63 # v4 + uses: github/codeql-action/upload-sarif@24c54180a607b1449ed407dd24f251e4e9147c8d # v4 with: sarif_file: gitleaks.sarif category: security-analysis/gitleaks @@ -87,7 +87,7 @@ jobs: docker save "dev-template:${{ github.sha }}" -o /tmp/dev-template.tar - name: Upload image artifact - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7 with: name: docker-image-${{ github.sha }} path: /tmp/dev-template.tar @@ -102,7 +102,7 @@ jobs: contents: read steps: - name: Harden Runner - uses: step-security/harden-runner@e14015d583714f6e62063499dc959a02595150a1 # v2.21.1 + uses: step-security/harden-runner@ccd8616d44fd3846e67624a50d5aad6d37bf2d25 # v2.22.1 with: egress-policy: audit @@ -135,7 +135,7 @@ jobs: security-events: write steps: - name: Harden Runner - uses: step-security/harden-runner@e14015d583714f6e62063499dc959a02595150a1 # v2.21.1 + uses: step-security/harden-runner@ccd8616d44fd3846e67624a50d5aad6d37bf2d25 # v2.22.1 with: egress-policy: audit @@ -145,7 +145,7 @@ jobs: persist-credentials: false - name: Download image artifact - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 + uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 with: name: docker-image-${{ github.sha }} path: /tmp @@ -169,14 +169,14 @@ jobs: - name: Upload Trivy image scan results if: always() && env.UPLOAD_SARIF == 'true' - uses: github/codeql-action/upload-sarif@b96794f015dfd88f77b49b1c93e0fa7110f94c63 # v4 + uses: github/codeql-action/upload-sarif@24c54180a607b1449ed407dd24f251e4e9147c8d # v4 with: sarif_file: 'trivy-results.sarif' category: 'security-analysis/trivy-image' - name: Generate SBOM if: always() - uses: anchore/sbom-action@3ad7283483fc7af8ff2b4ea19663c2d5ca935e26 # v0.24.2 + uses: anchore/sbom-action@66cbf4bc1f1c0d2edc94016e65bc221b6bb0ad6c # v0.24.3 with: image: 'dev-template:${{ github.sha }}' format: 'spdx-json' @@ -184,7 +184,7 @@ jobs: - name: Upload SBOM as artifact if: always() - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7 with: name: sbom-${{ github.sha }} path: sbom.spdx.json @@ -207,7 +207,7 @@ jobs: - name: Upload Trivy filesystem scan results if: always() && env.UPLOAD_SARIF == 'true' - uses: github/codeql-action/upload-sarif@b96794f015dfd88f77b49b1c93e0fa7110f94c63 # v4 + uses: github/codeql-action/upload-sarif@24c54180a607b1449ed407dd24f251e4e9147c8d # v4 with: sarif_file: 'trivy-fs-results.sarif' category: 'security-analysis/trivy-filesystem'