Audit trail
Which change reached production, which pull request was behind it, how many approvals it had.
The audit trail answers: which change reached production, when, which pull request was behind it, how many approvals it had, and when it was merged. Nobody keeps a spreadsheet; Syncotta records it from the deployments.
What you need
- Getting started done, so deployments reach Syncotta.
- The GitHub Action (Getting started, step 5) in the workflow that builds the image, with
permissions: pull-requests: readand the defaultgithub-token. Without the permission the action warns and sends the rest. The audit trail then still lists deployments and work items, but no pull requests. - Environment mapping in Settings > Environments, so deployments belong to a named environment.
Read it
Jira settings > Apps > Syncotta, click Audit on the instance. Choose an Environment and a Period (7, 30, 90 or 365 days). Each row is one deployment:
| Column | Meaning |
|---|---|
| Deployed | When the deployment reached the environment (UTC). |
| Application | The Argo CD application. |
| Revision | The revision deployed. |
| Work items | The Jira work items it carried. |
| Pull requests | Per pull request: the link and number, the number of approvals, when it was approved and when it was merged. |
An empty cell for pull requests means no pull request was reported for that image: the action ran without permission, or the commit was pushed without a pull request. See Troubleshooting.
Export it
Click Show CSV under the table. It shows the same data as comma separated text for the chosen environment and period. Copy it into a file or spreadsheet. Hide CSV closes it.
Retention
Settings > Keep the audit trail for (days, 30 to 365). The default is 365. The new value applies to deployments recorded from then on. Older records expire by the setting they were recorded with.
What is stored, and what is not
Stored: the time, application, environment, revision, work item keys and, per pull request, its number, link, approval count, the time of the latest approval and the merge time.
Not stored: names or e-mail addresses of people, pull request titles, commit messages. The action counts approvals in memory and sends only the numbers. To see who approved, open the pull request link.
Approvals are counted like GitHub does: a reviewer’s latest review counts, a later “changes requested” replaces an approval, a dismissed approval does not count, and comments change nothing.