Skip to content

audit

audit(options?): PipelineBehaviorTuple<AuditBehavior, AuditBehaviorOptions>

Defined in: pipeline-audit/src/helpers/audit.intent.ts:18

Returns an audit behavior entry for pipeline.wrap() or createPipeline({ globalBehaviors }).

AuditBehaviorOptions = {}

Per-handler audit options; omitted fields use behavior defaults.

PipelineBehaviorTuple<AuditBehavior, AuditBehaviorOptions>

The behavior class and options tuple.

@pipeline.wrap({ kind: 'command' }, audit({ action: 'user.delete', severity: 'high' }))