AccessEvent
Defined in: src/types/IEvent.ts:43
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:36
Epoch milliseconds when the event was emitted.
Inherited from
Section titled “Inherited from”name:
"access"
Defined in: src/types/IEvent.ts:44
The event name (access | change | error).
Overrides
Section titled “Overrides”roles:
string[]
Defined in: src/types/IEvent.ts:45
resource
Section titled “resource”resource:
string
Defined in: src/types/IEvent.ts:46
category?
Section titled “category?”
optionalcategory?:string
Defined in: src/types/IEvent.ts:48
The resource’s category, when it is a category/resource.
action
Section titled “action”action:
string
Defined in: src/types/IEvent.ts:49
possession?
Section titled “possession?”
optionalpossession?:"own"|"any"
Defined in: src/types/IEvent.ts:50
granted
Section titled “granted”granted:
boolean
Defined in: src/types/IEvent.ts:51
attributes
Section titled “attributes”attributes:
string[]
Defined in: src/types/IEvent.ts:52
reason?
Section titled “reason?”
optionalreason?:AccessReason
Defined in: src/types/IEvent.ts:54
Why it was denied (omitted when granted).
context?
Section titled “context?”
optionalcontext?:UnknownObject
Defined in: src/types/IEvent.ts:56
The merged check context (may contain PII).