Skip to main content

AuditEvent

@mandaitor/sdk


@mandaitor/sdk / AuditEvent

Interface: AuditEvent

Defined in: @mandaitor/sdk/dist/types.d.ts:127

Properties

actor

actor: Subject

Defined in: @mandaitor/sdk/dist/types.d.ts:137

Who triggered this event


event_hash

event_hash: string

Defined in: @mandaitor/sdk/dist/types.d.ts:143

Hash of this event


event_id

event_id: string

Defined in: @mandaitor/sdk/dist/types.d.ts:129

Unique event identifier


event_type

event_type: AuditEventType

Defined in: @mandaitor/sdk/dist/types.d.ts:135

Event type


hash_algorithm?

optional hash_algorithm?: string

Defined in: @mandaitor/sdk/dist/types.d.ts:147

Algorithm used to compute event_hash (e.g., "SHA_256"). Present from crypto-agility v1.


mandate_id

mandate_id: string

Defined in: @mandaitor/sdk/dist/types.d.ts:131

Mandate this event belongs to


payload

payload: Record<string, unknown>

Defined in: @mandaitor/sdk/dist/types.d.ts:139

Event-specific payload


previous_hash

previous_hash: string

Defined in: @mandaitor/sdk/dist/types.d.ts:141

Hash of the previous event (chain integrity)


signing_algorithm?

optional signing_algorithm?: string

Defined in: @mandaitor/sdk/dist/types.d.ts:149

Algorithm used to produce the KMS signature (e.g., "RSASSA_PSS_SHA_256"). Present from crypto-agility v1.


tenant_id

tenant_id: string

Defined in: @mandaitor/sdk/dist/types.d.ts:133

Tenant ID


timestamp

timestamp: string

Defined in: @mandaitor/sdk/dist/types.d.ts:145

ISO 8601 timestamp