Security in the pipeline, topic 31 of 70
Infrastructure as code scanning
Misconfiguration is among the commonest causes of cloud breaches: a public bucket, a security group open to the world, an unencrypted database. When infrastructure is code, a scanner such as Checkov or Trivy can find these in the Terraform, CloudFormation or Kubernetes manifests, in the pull request, before anything is created.
Fix the finding in code, or record why it is accepted, beside it.
On Opsfolk
Nothing of ours for this topic yet: an article is on its way.
Elsewhere
- Checkov documentationOfficial
- Trivy misconfiguration scanningOfficial