Context
Trivy is currently used for application image vulnerability scans. It supports additional scanning, including of infrastructure code. Formerly tfsec was used for part of this, but tfsec scope was rolled into Trivy in 2023.
Instructions
Follow docs (https://trivy.dev/docs/latest/scanner/misconfiguration/) to set up Trivy scanning of infra code.
Success criteria
- Can run trivy infra linting via make target locally
- Infra CI runs trivy
- Docs are updated
- [nice-to-have] Trivy scan results are pushed to GitHub repo security tab
References
Context
Trivy is currently used for application image vulnerability scans. It supports additional scanning, including of infrastructure code. Formerly tfsec was used for part of this, but tfsec scope was rolled into Trivy in 2023.
Instructions
Follow docs (https://trivy.dev/docs/latest/scanner/misconfiguration/) to set up Trivy scanning of infra code.
Success criteria
References