@@ -278,7 +278,9 @@ ARG CLOUD_SQL_PROXY_VERSION=2.2.0 \
278
278
KUBECTX_VERSION=0.9.4 \
279
279
STRIPE_VERSION=1.14.5 \
280
280
TERRAGRUNT_VERSION=0.45.11 \
281
- TRIVY_VERSION=0.41.0
281
+ TRIVY_VERSION=0.41.0 \
282
+ SYFT_VERSION=1.20.0 \
283
+ COSIGN_VERSION=2.4.3
282
284
283
285
# cloud_sql_proxy, for connecting to cloudsql instances
284
286
# the upstream go.mod prevents this from being installed with go install
@@ -316,7 +318,13 @@ RUN curl --silent --show-error --location --output /usr/local/bin/cloud_sql_prox
316
318
chmod a=rx /usr/local/bin/terragrunt && \
317
319
# AquaSec Trivy for scanning container images for security issues
318
320
curl --silent --show-error --location"https://github.com/aquasecurity/trivy/releases/download/v${TRIVY_VERSION}/trivy_${TRIVY_VERSION}_Linux-64bit.tar.gz" | \
319
- tar --extract --gzip --directory=/usr/local/bin --file=- trivy
321
+ tar --extract --gzip --directory=/usr/local/bin --file=- trivy && \
322
+ # Anchore Syft for SBOM generation
323
+ curl --silent --show-error --location"https://github.com/anchore/syft/releases/download/v${SYFT_VERSION}/syft_${SYFT_VERSION}_linux-amd64.tar.gz" | \
324
+ tar --extract --gzip --directory=/usr/local/bin --file=- syft \
325
+ # Sigstore Cosign for artifact signing and attestation
326
+ curl --silent --show-error --location --output /usr/local/bin/cosign"https://github.com/sigstore/cosign/releases/download/v${COSIGN_VERSION}/cosign-linux-amd64" && \
327
+ chmod a=rx /usr/local/bin/cosign
320
328
321
329
# We use yq during "make deploy" to manually substitute out fields in
322
330
# our helm values.yaml file. See https://github.com/helm/helm/issues/3141