This project integrates Terraform scanning and container scanning at CI time. Remediation guidance for common findings:
- HIGH/CRITICAL findings must be fixed prior to merge. Common fixes:
- Ensure
private_cluster_enabled = truefor AKS - Use managed identities and avoid client secrets in TF variables
- Secure storage account for TF state with encryption + soft-delete
- Avoid default NSG rules that allow wide ingress; lock down subnets
- Ensure
- Fix by updating base images (use patch releases), remove vulnerable packages, or apply multi-stage builds to reduce attack surface.
- Do not store secrets in repo. Use Azure Key Vault and the Secrets Store CSI driver or Workload Identity for pod access.
If you need help resolving a specific scan result, consult the remediation note in the scan output (Checkov rule id maps to Bridgecrew docs).