Interview Prep/DevSecOps/Supply Chain, SBOM, Signing and Image/IaC Scanning

How do you suppress a Checkov or tfsec finding properly?

IntermediateConceptSupply Chain, SBOM, Signing and Image/IaC Scanning
Answer

Inline, next to the resource, with a justification so reviewers see it in the diff:

resource "aws_s3_bucket" "logs" {
  #checkov:skip=CKV_AWS_144:Cross-region replication not required for log archive
  bucket = "acme-logs"
}

tfsec uses #tfsec:ignore:aws-s3-enable-versioning. Avoid global skips in CLI flags; they hide the decision and apply to everything.

All DevSecOps questions Roadmap: Supply chain, secrets & identity

More on Supply Chain, SBOM, Signing and Image/IaC Scanning