A critical step in software development security is to build, test, and deploy secure apps. In this hands-on lab, you’ll use Cloud Build to create a containerized image of your working files and analyze the security of the image using Security Insights.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Enable Services
- Enable the Cloud Build service using the GCP console.
- Enable the Container Scanning API using the GCP console.
- Git Clone App Using the Cloud Shell
Using the Cloud Shell, perform the following tasks:
- Git clone the OWASP Juice Shop image from the location
https://github.com/juice-shop/juice-shop.git
. - Install and start the Node Package Manager.
- Git clone the OWASP Juice Shop image from the location
- Build Container Image
Using the Cloud Shell, build a container image.
- View Security Insights
View the newly built container’s Security Insights under the Cloud Build service page’s Build Artifacts tab.