انتقل إلى المحتوى الرئيسي

Interface: AuditActionDefinition

Defined in: packages/contracts/src/schemas/audit-actions.ts:41

One audited action: which modules may record it, and the only data it may carry.

Properties​

outcomes​

readonly outcomes: readonly AuditOutcome[]

Defined in: packages/contracts/src/schemas/audit-actions.ts:50

The outcomes a record of this action may carry, and no others: AuditRecorded narrows outcome to exactly this list, so an access.deny that says success fails validation at the producer. Never empty; verifyAuditSchemas refuses an empty list.


payload​

readonly payload: TSchema

Defined in: packages/contracts/src/schemas/audit-actions.ts:57

The payload schema. Identifiers, enums, times and counts only (28, section 8): verifyAuditSchemas refuses a property outside that vocabulary, an object that allows extra properties, and a string with no pattern, so personal data cannot be written into a record whose hash is chained.


producers​

readonly producers: readonly string[]

Defined in: packages/contracts/src/schemas/audit-actions.ts:43

The modules that may produce a record of this action.