Skip to content

feat: add audit logging to authz check step#5

Merged
intel352 merged 1 commit intomainfrom
feat/audit-logging
Feb 28, 2026
Merged

feat: add audit logging to authz check step#5
intel352 merged 1 commit intomainfrom
feat/audit-logging

Conversation

@intel352
Copy link
Contributor

Summary

  • Add audit: true config field to step.authz_check that emits structured decision logs
  • Audit event includes: subject, object, action, allowed, timestamp, policy_engine, decision_reason
  • Output stored in audit_event key of step result metadata for host-side capture

Test plan

  • TestAuthzCheckAuditOutput — verifies audit event structure and field values
  • All existing authz tests still pass

🤖 Generated with Claude Code

Add `audit: true` config field to step.authz_check that emits structured
decision logs (subject, object, action, allowed, timestamp, policy_engine,
decision_reason) to pipeline metadata for host-side audit capture.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@intel352 intel352 merged commit 5dd4c3b into main Feb 28, 2026
9 checks passed
@intel352 intel352 deleted the feat/audit-logging branch February 28, 2026 10:22
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