security-scan-trivy
Trivyで依存関係/コンテナの脆弱性をスキャンし、重大度順に潰す。リリース前チェックで使う。
When & Why to Use This Skill
This Claude skill automates security vulnerability scanning for dependencies and containers using Trivy. It helps developers identify and prioritize security risks by severity (Critical/High) before release, ensuring a more secure software supply chain and streamlined remediation workflows.
Use Cases
- Pre-release Security Audit: Automatically scan container images and software dependencies for known vulnerabilities before deploying to production to prevent security breaches.
- Vulnerability Prioritization: Analyze scan results to focus on fixing Critical and High severity issues first, optimizing developer effort and resource allocation.
- CI/CD Pipeline Integration: Implement a phased security gate in the deployment pipeline, starting with warnings and moving to build failures for unresolved vulnerabilities.
- Compliance and Exception Management: Maintain a structured record of accepted risks with documented justifications and expiration dates for security audits and compliance tracking.
| name | security-scan-trivy |
|---|---|
| description | Trivyで依存関係/コンテナの脆弱性をスキャンし、重大度順に潰す。リリース前チェックで使う。 |
Trivy Security Scan
Instructions
- まずCritical/Highを対象にする
- 例外(許容する脆弱性)は理由と期限を必ず残す
- CIに組み込む場合は「最初は警告→次にfail」に段階導入