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

Explain SLSA and how you would raise a pipeline's level.

AdvancedScenarioSecrets, Supply Chain and DORA
Answer

Situation read → Supply-chain maturity framework.

What I'd do →

  1. Build in a hosted, scripted, ephemeral environment (Build L1-L2) and generate provenance.
  2. Use a hardened builder where provenance is signed by the platform, not the user-controlled build (Build L3), for example GitHub's attest-build-provenance or slsa-github-generator.
  3. Verify provenance before deploy.

Why → Provenance proves what source and builder produced an artifact.

Interview tip → The key point is that signing keys should not be accessible to build steps.

All CI/CD questions

More on Secrets, Supply Chain and DORA