For audit reasons, I need to produce a list of all deployments in our production org, including both change set deployments and API deployments. The
Deployment Status page in Setup shows the necessary information, but only contains a very limited number of deployments so that the list only goes back about one month. I would need it to last for at least one year so that I can pull up the list in an audit session.
Using the Shield feature
Event Monitoring I was able to produce a list of deployments. We use an integration with the logging tool Splunk to store Event Log File data there. The event types ChangeSetOperation and MetadataApiOperation contain most of the information I need: timestamp, user, change set name, validation vs. deployment etc. But I cannot figure out if a deployment was successful or not. The list contains failed deployments, and I want to avoid this.
Is there a way to produce a permanent/long-lived list of all successful deployments, using Event Monitoring or in another way?
It should be done in a way that a Salesforce administrator cannot manipulate it so that it holds up under scrutiny in an audit.