Skip to content

vm-demo: record audit events for every human input - #156

Merged
adamancini merged 1 commit into
mainfrom
feat/vm-demo-audit-events
Oct 13, 2026
Merged

adamancini merged 1 commit into
mainfrom
feat/vm-demo-audit-events

Conversation

@adamancini

Copy link
Copy Markdown
Contributor

Summary

Adds record-audit-event steps (Akuity Platform, Kargo ≥ 1.12) so every human decision in the VM pipeline lands in the project's Events tab and the Akuity org audit log:

type stage actor
promotion-requested all promoting user, or Kargo (automatic) for auto-promotions/auto-rollbacks
pr-merged uat, prod github:<merged_by> via the native http step (public API)
change-approved prod jira:<user who moved CHANGE-NN to Approved> via jira searchIssue + changelog
deployed all promoting user; data links the converge run

All audit steps use retry.errorThreshold: 3.

Test plan

  • 129 ${{ }} expressions parse (expr-lang as used by Kargo); kubeconform against Kargo CRDs 7/7; verify_test.sh 16/16
  • Live: promote to sit, uat (merge PR), prod (approve CHANGE + merge PR); all four event types appear with the right actors

🤖 Generated with Claude Code

- promotion-requested (every stage): who promoted which release, or Kargo
  (automatic) for auto-promotions and auto-rollbacks
- pr-merged (uat, prod): who merged the rendered-config PR, from GitHub
- change-approved (prod): who moved the CHANGE issue to Approved, from the
  Jira changelog
- deployed (every stage): the converged outcome with the run link

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@adamancini
adamancini merged commit 8da189e into main Oct 13, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant