Documentation
¶
Overview ¶
Package auditquery defines the sanitized, authorized audit repository port. The host must authenticate and intersect current permissions before each call.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalid = errors.New("audit_invalid_request")
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request struct {
Scopes []Scope
Actor, Target, Action string
From, Until time.Time
Before *Position
Snapshot string
Limit int
}
Request mirrors platform admin.AuditRequest. Scopes are a union of authorized intersections, never caller-provided grants. Until is an exclusive upper bound.
Click to show internal directories.
Click to hide internal directories.