Interview Prep/CI/CD/Pipeline Design and Architecture

What should be logged and retained from every pipeline run for audit?

IntermediateProductionPipeline Design and Architecture
Answer

Who triggered it and which commit/PR; the exact artifact digest produced; test and scan reports; approvals (who, when, what they approved); deployment target and result; and the pipeline definition version used. Keep logs and reports for the retention period your compliance regime requires (often 1 to 7 years) in immutable storage, and export from CI to a log system or object store, because CI built-in retention is usually short.

All CI/CD questions Roadmap: CI/CD fundamentals

More on Pipeline Design and Architecture