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.
More on Pipeline Design and Architecture
What does a good production CI/CD pipeline look like end to end?BeginnerWhat is your target feedback time for CI and how do you hit it?IntermediateHow do you structure repositories: app repo, config repo, pipeline library?IntermediateHow do you design a pipeline for a monorepo with 50 services?AdvancedShould every merge to main deploy to production automatically?IntermediateHow do you keep pipeline definitions DRY across hundreds of repos?Intermediate