FlowDSL Node Catalog

Audit Emit

Emit a structured audit entry (actor, action, entity, outcome). Pass through.

Overview

PropertyValue
Node IDcore/audit-emit
Kindaction
Modulecore-flowdsl
Repogo-flowdsl
Handlergithub.com/redelay/go-flowdsl/nodes/core.AuditEmit
Iconlucide:book-lock
Color#64748b
Tagsaudit, 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

PropertyTypeRequiredDefaultUI GroupDescription
actionstringyes——Audit action identifier (e.g. "user.deleted").
actorPathstring—actor—
detailsPathstring———Dotted path to an object of extra details.
entityPathstring—entity_id—
outcomePathstring—outcome—

Example

yaml
# 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