OxL Справочник OxL
РусскийEnglish

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✓ проверяется в 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

С версии. 1.0.0-beta

Параметры

ИмяТип
fromTopicStart? = none

Возвращает

stream<str, TopicError>

Эффекты

db

Определено в: std/topic/topic.oxl:665

См. также