Audit Emit
Emit a structured audit entry (actor, action, entity, outcome). Pass through.
2 min readNode
Overview
| Property | Value |
|---|---|
| Node ID | core/audit-emit |
| Kind | action |
| Module | core-flowdsl |
| Repo | go-flowdsl |
| Handler | github.com/redelay/go-flowdsl/nodes/core.AuditEmit |
| Icon | lucide:book-lock |
| Color | #64748b |
| Tags | audit, compliance |
Description
Writes an audit record via the step context's AuditSink if available
(ctx value audit.sink). Falls back to structured log output. Always
passes the original packet through on the out port.
Outputs
out— (no description)
Settings
| Property | Type | Required | Default | UI Group | Description |
|---|---|---|---|---|---|
action | string | yes | — | — | Audit action identifier (e.g. "user.deleted"). |
actorPath | string | — | actor | — | |
detailsPath | string | — | — | — | Dotted path to an object of extra details. |
entityPath | string | — | entity_id | — | |
outcomePath | string | — | outcome | — |
Example
# Use this node in a flow:
nodes:
- id: my_step
name: My Step
kind: action
action_ref: core/audit-emit
config:
action: "value"
actorPath: actor
detailsPath: some.packet.path
entityPath: entity_id
outcomePath: outcome
Was this page helpful?