Interview Prep/CI/CD/Secrets, Supply Chain and DORA

You need to scan Infrastructure-as-Code in the pipeline for misconfigurations.

BeginnerScenarioSecrets, Supply Chain and DORA
Answer

Situation read → Shift-left for IaC.

What I'd do →

  1. Run checkov -d . or trivy config . on every PR and conftest test plan.json for custom policy.
  2. Fail on high severity and allow documented suppressions.
  3. Show results in PR annotations or SARIF.

Why → Catching an open S3 bucket in a PR is cheaper than in production.

Interview tip → Policy as code with OPA.

All CI/CD questions

More on Secrets, Supply Chain and DORA