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:
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> dbSince. 1.0.0-beta
Parameters
| Name | Type |
|---|---|
from | TopicStart? = none |
Returns
stream<str, TopicError>
Effects
db
Defined in: std/topic/topic.oxl:665