DevSecOps: Securing Code, Dependencies and Containers
Exit

Lesson 7 of 11 · Containers and the delivery chain

Scanning images and infrastructure files with Trivy

55 min Node.js 22 (Debian, git, npm, python3)

Objective

Learn to use Trivy to find, before going to production, the known flaws of a container image or a project, and the configuration errors of infrastructure files (Dockerfile, Kubernetes manifests, Terraform/OpenTofu). You will also learn to turn it into a rule: a shared policy file, justified and dated exceptions, and an exit code that blocks CI.

This lesson is part of the full course

Unlock DevSecOps: Securing Code, Dependencies and Containers to read every lesson, do the exercises, access the simulations and earn your certificate.

Already enrolled? Log in.