Interview Prep/DevSecOps/Container and IaC Security

Checkov reports a failure in a shared Terraform module you cannot change this sprint. How do you handle it?

IntermediateScenarioContainer and IaC Security
Answer

Situation read → Do not disable the whole check. Accept narrowly, with an owner and a date.

What I'd do →

  1. Suppress inline with a reason: #checkov:skip=CKV_AWS_144:Cross-region replication not required for logs, ticket SEC-412.
  2. Or use a baseline file: checkov -d . --create-baseline then --baseline .checkov.baseline.
  3. File a ticket against the module owner with a due date.
  4. Report skips in a monthly review.

Why → Narrow, documented exceptions keep the gate meaningful.

Interview tip → Every exception should answer "who owns it and when does it expire".

All DevSecOps questions Roadmap: Policy as code

More on Container and IaC Security