Vulnerability Scanning
Enable API
gcloud services enable containeranalysis.googleapis.com
gcloud services enable containerscanning.googleapis.comPush an Image
PROJECT_ID=$(gcloud config get-value project)
./mvnw compile com.google.cloud.tools:jib-maven-plugin:2.4.0:build \
-Dimage=gcr.io/${PROJECT_ID}/helloworldVulnerabilities
PROJECT_ID=$(gcloud config get-value project)
open https://gcr.io/$PROJECT_ID/helloworld

Continuous Scan
Last updated
Was this helpful?