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> dbС версии. 1.0.0-beta
Параметры
| Имя | Тип |
|---|---|
from | TopicStart? = none |
Возвращает
stream<str, TopicError>
Эффекты
db
Определено в: std/topic/topic.oxl:665