π³Container Image Scanning Labs
π― Objective
π§° Prerequisites
πΉ Lab 1: Install Trivy
brew install aquasecurity/trivy/trivyπΉ Lab 2: Scan a Public Image
trivy image nginx:latestπΉ Lab 3: Scan a Local Image
Step 1: Build your own image
Step 2: Scan the local image
πΉ Lab 4: Scan for Secrets and Misconfigurations
πΉ Lab 5: Generate Reports in Different Formats
Step 1: Use JSON output
Step 2: Use CycloneDx output (for SBOM)
πΉ Lab 6: Integrate with CI/CD (GitHub Actions) β Optional
β
Wrap-Up
Last updated