An Azure DevOps Pipelines Task for Trivy, with an integrated UI.
-
Install the Trivy task in your Azure DevOps organisation (hit the
Get it free
button above). -
Add the task to your
azure-pipelines.yml
in a project where you'd like to run Trivy:
Agent OS | Run binary | Scan FileSystem | Docker |
---|---|---|---|
Linux | ✅ | ✅ | ✅ |
MacOS | ✅ | ✅ | 🔴 |
Windows | ✅ | ✅ | 🔴 |
Access to Docker Engine is required to run Trivy in docker container or scan docker images.
While you can attempt to scan Docker images on Windows, running the task using a Docker image will mostly fail.
If new to the Trivy pipeline task, you should use the newer v2 version.