20 minutes to complete
Container scanning in SonarQube Cloud extends SonarQube Advanced Security to container images. It checks an image’s operating system packages, language runtimes, and libraries for known vulnerabilities and malicious packages.
In this course, you’ll scan the public container image alpine:3.19. You’ll pull it into Docker and scan the local image, then scan the image from a saved tar file and from an Open Container Initiative (OCI) layout. Finally, you’ll run the same scan in a continuous integration (CI) pipeline.
After completing this course, you'll be able to:
Describe the types of risks container scanning reports.
Identify the image inputs the scanner accepts.
Set up the scanner with a user token.
Set the identity information (registry, repository, and tag) stored with a scan.
Scan a public image in the local Docker daemon.
Scan an image from a tar file or an OCI layout.
Run a scan in GitHub Actions on a pulled or newly built image.
Read an image’s versions and dependency risks in SonarQube Cloud.
Troubleshoot common container scanning errors.