Skip to content

Commit 42199d8

Browse files
committed
DO-1743: pin third-party GitHub Actions to commit SHAs for security
- Pin sigstore/cosign-installer@v3 to commit SHA 398d4b0eeef1380460a10c8013a76f728fb906ac - Pin aquasecurity/trivy-action@master to commit SHA 77137e9dc3ab1b329b7c8a38c2eb7475850a14e8 - Addresses Aikido security recommendations for supply chain attack prevention
1 parent eaf89c4 commit 42199d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/docker-ecr-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ jobs:
429429
430430
- name: Sign container image
431431
if: inputs.enable-signing == true && secrets.container-signing-key != ''
432-
uses: sigstore/cosign-installer@v3
432+
uses: sigstore/cosign-installer@398d4b0eeef1380460a10c8013a76f728fb906ac # v3
433433

434434
- name: Sign the container image
435435
if: inputs.enable-signing == true && secrets.container-signing-key != ''
@@ -463,7 +463,7 @@ jobs:
463463

464464
- name: Run Trivy vulnerability scanner
465465
id: scan
466-
uses: aquasecurity/trivy-action@master
466+
uses: aquasecurity/trivy-action@77137e9dc3ab1b329b7c8a38c2eb7475850a14e8 # master
467467
with:
468468
image-ref: ${{ needs.build.outputs.image-uri }}
469469
format: 'sarif'

0 commit comments

Comments
 (0)