What is IaC scanning and what do Checkov and tfsec check?
BeginnerConceptSupply Chain, SBOM, Signing and Image/IaC Scanning
Answer
IaC scanning statically analyses Terraform, CloudFormation, Kubernetes manifests, Helm and Dockerfiles for misconfigurations before deployment, such as unencrypted volumes, public security groups and missing logging.
checkov -d . --framework terraform --compact --quiet
tfsec .
tfsec's rules have been merged into Trivy (trivy config .), which is now the recommended path; Checkov remains popular with a large policy library and custom Python or YAML policies.
More on Supply Chain, SBOM, Signing and Image/IaC Scanning
What is a software supply chain attack? Give examples.BeginnerExplain dependency confusion and typosquatting.IntermediateWhat is an SBOM and why do we need one?BeginnerCycloneDX vs SPDX: how do they differ?IntermediateHow do you generate and use an SBOM with Syft and Grype?BeginnerWhat is VEX?Intermediate