devton/agentic-workflow-blueprint/scanning-docker-images-with-trivy
Claude Code and agent skill by devton/agentic-workflow-blueprint
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install devton/agentic-workflow-blueprint/scanning-docker-images-with-trivySKILL.md
agentic-workflows-blueprint.workflow.scanning-docker-images-with-trivy
Goal
Perform comprehensive Docker image security assessment with Trivy, including vulnerabilities, misconfigurations, secrets, and SBOM generation, with clear remediation gates.
Scope
- Applies to: local or CI-driven Docker image scans before distribution or deployment.
- Does not cover: orchestrator runtime detection and response.
Triggers
- "Scan Docker image with Trivy"
- "Generate security report/SBOM for image"
- "Check private registry image before release"
- "Enforce critical/high CVE gate"
Inputs
imageRef: local image, tarball input, or registry image referencescannerSet(optional):vuln,misconfig,secret,licenseseverityPolicy: severity levels considered blockingoutputFormat: table, JSON, SARIF, CycloneDX, SPDXregistryAuthContext(optional): credentials and target registryignorePolicy(optional): approved ignore file/entries
Invariants
- Scans must clearly identify scanned image digest/tag and DB timestamp.
- Blocking policy must be deterministic and explicit.
- Ignore entries must be reviewed and justified.
- Outputs must remain auditable and machine-consumable when used in gates.
Procedure
- Prepare scan environment
- Validate Trivy installation/version and DB update strategy.
- Ensure image is available locally or accessible from registry.
- Run baseline vulnerability scan
- Scan image with selected severities and fail policy.
- Capture artifact in configured format.
- Expand scan dimensions as needed
- Run additional scanner sets (
misconfig,secret,license) where required. - Scan Dockerfile/config paths when build-time posture must be validated.
- Generate SBOM
- Emit SBOM in CycloneDX or SPDX.
- Link SBOM to scanned image identity.
- Apply policy exceptions safely
- Apply ignore list only through approved and traceable mechanism.
- Re-run scan to verify resulting gate behavior.
- Assess private registry images
- Authenticate and scan protected images.
- Ensure no credential leakage in logs/artifacts.
- Finalize remediation report
- Summarize critical/high findings, affected packages, and fixed versions.
- Mark pass/fail according to
severityPolicy.
Outputs
- Trivy vulnerability report for target image.
- Extended scan report (misconfig/secret/license when enabled).
- SBOM artifact for image.
- Gate summary with blocking findings and remediation priorities.
Review gate
- [ ] Scan identifies image reference and supports reproducibility.
- [ ] Blocking vulnerabilities are surfaced with remediation context.
- [ ] SBOM is generated and attached when required.
- [ ] Exception handling is traceable and policy-compliant.
- [ ] Final pass/fail decision matches configured severity policy.
References
../../SKILL.md../scanning-containers-with-trivy-in-cicd/SKILL.md../implementing-devsecops-security-scanning/SKILL.md
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingworkflows/scanning-docker-images-with-trivy/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/devton/agentic-workflow-blueprint/scanning-docker-images-with-trivy)