{
  "name": "trivy-scan",
  "title": "Scan for vulnerabilities with Trivy",
  "category": "CI/CD",
  "tags": [
    "ci-cd",
    "trivy"
  ],
  "version": "1.0.1",
  "date": "2026-08-02",
  "notes": "Move trivy from 0.58.1 to 0.72.0. Fixable CRITICAL/HIGH drops from 91 to 11. Worth doing on its own terms too: the scanner this item sells was fourteen minor releases behind.",
  "latest": false,
  "installable": false,
  "url": "https://catalog.dagweave.com/api/v1/items/trivy-scan/1.0.1.json",
  "entrypoint": "scan",
  "parameters": [
    {
      "name": "target",
      "title": "Target",
      "description": "An image reference or a filesystem path to scan.",
      "type": "string",
      "required": true,
      "example": "ghcr.io/org/app:1.2.3"
    },
    {
      "name": "exit-on-findings",
      "title": "Fail on findings",
      "description": "When \"true\", the step fails if any matching vulnerability is found; when \"false\", it always reports and succeeds.",
      "type": "string",
      "required": false,
      "default": "true",
      "enum": [
        "true",
        "false"
      ]
    },
    {
      "name": "severity",
      "title": "Severity",
      "description": "Comma-separated severities to report.",
      "type": "string",
      "required": false,
      "default": "CRITICAL,HIGH",
      "example": "CRITICAL,HIGH"
    }
  ],
  "images": [
    {
      "ref": "aquasec/trivy@sha256:790fd66d1697395d8693d1acaa1ea702406a20f109b6fc7bac8db623eca6c06c",
      "repository": "aquasec/trivy",
      "tag": "0.76.1",
      "digest": "sha256:790fd66d1697395d8693d1acaa1ea702406a20f109b6fc7bac8db623eca6c06c"
    }
  ],
  "source": "https://github.com/dagweave/catalog/tree/67458f74dbbf913b03177f3cefc69424be85eb1d/catalog/trivy-scan",
  "catalogSha": "67458f74dbbf913b03177f3cefc69424be85eb1d"
}
