Scanning containers with trivy in cicd

From devton/agentic-workflow-blueprint · View interactive version

Scanning containers with trivy in cicd is an AI agent skill from the GitHub repository devton/agentic-workflow-blueprint. Implement a CI/CD-native container scanning workflow using Trivy that blocks vulnerable images and misconfigurations from promotion based on deterministic severity gates.

How to use this skill

Skill file

agentic-workflows-blueprint.workflow.scanning-containers-with-trivy-in-cicd

Goal

Implement a CI/CD-native container scanning workflow using Trivy that blocks vulnerable images and misconfigurations from promotion based on deterministic severity gates.

Scope

Triggers

Inputs

Invariants

Procedure

  1. Define policy and gate behavior
  1. Build image deterministically
  1. Run vulnerability scan on image
  1. Run misconfiguration scan
  1. Apply exception policy
  1. Generate SBOM and optional secondary checks
  1. Cache and resilience controls
  1. Aggregate and enforce gate
  1. Verification and reporting

Outputs

Review gate

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.