OxL Reference

fn audit

The system topic oxl.audit (§13.4): one JSON line per audit decision of the cluster (@audit rpcs and policies), kept 30 days. Read it like any topic: for await line in std.topic.audit(from: .Earliest) { … }.

Example:

oxl✓ checked in CI
use std.topic { audit }

fn tail() -> () | TopicError io, db {
  for await line in audit(from: .Earliest) {
    print(line)
  }
}
pub(api) fn audit(from: TopicStart? = none) -> stream<str, TopicError>  db

Since. 1.0.0-beta

Parameters

NameType
fromTopicStart? = none

Returns

stream<str, TopicError>

Effects

db

Defined in: std/topic/topic.oxl:665

See also