Interview Prep/CI/CD/Supply Chain and Pipeline Security

How do you protect the artifact repository and registry from tampering?

IntermediateProductionSupply Chain and Pipeline Security
Answer

Immutable tags, push access only for CI identities (not humans), separate repos for dev, staging and production images with promotion by a controlled job, delete permissions limited to retention policies, vulnerability scanning on push, replication to a secondary region, and audit logs. Signatures are verified before deployment, so even if someone pushes a replacement, it will not run.

All CI/CD questions

More on Supply Chain and Pipeline Security