Image scanning for Google Cloud Build
Blog post from Sysdig
The article provides a comprehensive guide on integrating inline image scanning into a Google Cloud Build pipeline using the Sysdig Secure DevOps platform. It outlines a step-by-step process to create a basic workflow that builds, scans, and pushes container images to a registry, with a focus on customizing scanning policies to halt builds if high-risk vulnerabilities are detected. The setup involves configuring Google Cloud resources such as Cloud Source Repository, Container Registry, and Secret Manager to securely manage and access required tokens. The workflow is defined in a cloudbuild.yaml file, where steps are executed in sequence, ensuring that unsuccessful scans prevent image deployment. The article highlights the importance of updating scanning policies in Sysdig to automatically stop builds with high-severity risks and emphasizes best practices like using secure base images. Lastly, it underscores the advantages of Sysdig Secure’s image scanning in CI/CD pipelines, including compliance with security standards and integration with various pipeline tools.