type

AuditEvent

type AuditEvent struct { // Time is when the event occurred. Time time.Time // RequestID correlates the event with logs and observations. RequestID string // ClientIP is the resolved direct or trusted-forwarded client address. ClientIP string // Action names the operation, such as login, create, or delete. Action string // Collection is the affected collection slug when applicable. Collection string // DocumentID is the affected document identity when applicable. DocumentID string // ActorID is the authenticated document identity when available. ActorID string // ActorCollection disambiguates ActorID across auth collections. ActorCollection schema.CollectionSlug }

Security-relevant application event metadata.

Source core/http.go:101

Timetime.Time
When the event occurred.
RequestIDstring
Correlates the event with logs and observations.
ClientIPstring
The resolved direct or trusted-forwarded client address.
Actionstring
The operation name, such as login, create, or delete.
Collectionstring
The affected collection slug when applicable.
DocumentIDstring
The affected document identity when applicable.
ActorIDstring
The authenticated document identity when available.
ActorCollectionschema.CollectionSlug
Disambiguates ActorID across auth collections.