AccessEvent
Defined in: src/types/IEvent.ts:55
Emitted for every resolved check — granted and denied. This is the access
audit record. ⚠️ context may contain PII; handle accordingly.
Extends
Section titled “Extends”Properties
Section titled “Properties”timestamp
Section titled “timestamp”timestamp:
number
Defined in: src/types/IEvent.ts:48
Epoch milliseconds when the event was emitted.
Inherited from
Section titled “Inherited from”name:
"access"
Defined in: src/types/IEvent.ts:56
The event name (access | change | error).
Overrides
Section titled “Overrides”roles:
string[]
Defined in: src/types/IEvent.ts:57
resource
Section titled “resource”resource:
string
Defined in: src/types/IEvent.ts:58
category?
Section titled “category?”
optionalcategory?:string
Defined in: src/types/IEvent.ts:60
The resource’s category, when it is a category/resource.
action
Section titled “action”action:
string
Defined in: src/types/IEvent.ts:61
possession?
Section titled “possession?”
optionalpossession?:"own"|"any"
Defined in: src/types/IEvent.ts:62
granted
Section titled “granted”granted:
boolean
Defined in: src/types/IEvent.ts:63
attributes
Section titled “attributes”attributes:
string[]
Defined in: src/types/IEvent.ts:64
reason?
Section titled “reason?”
optionalreason?:DenyReason
Defined in: src/types/IEvent.ts:66
Why it was denied (omitted when granted).
context?
Section titled “context?”
optionalcontext?:UnknownObject
Defined in: src/types/IEvent.ts:68
The merged check context (may contain PII).