ComplianceEvent
Type: Object
High level compliance event wrapper used to store audit events tied to a specific tracked item. This resource centralizes different compliance event types (access, custody transfer, secure destruction, etc.) and includes metadata for sequencing, tamper-evidence, and multitenancy.
Fields
| Name | Type | Args | Description | Deprecated |
|---|---|---|---|---|
| customer | Customer | CoCore.ERP.Customer for data isolation | ||
| customerId | ID | |||
| eventData | EventDataUnion! | Union payload carrying the specific compliance event details (access, custody transfer, destruction, etc.) | ||
| eventSignature | String | HMAC signature for tamper detection | ||
| id | ID! | |||
| ipAddress | String | IP address where the event originated, if available | ||
| sequenceNumber | Int! | Monotonic sequence for ordering within an item | ||
| sessionId | String | Optional session identifier associated with the actor | ||
| trackedItem | TrackedItem | The tracked production item associated with this compliance event | ||
| trackedItemId | ID! | ID of the tracked production item associated with this compliance event | ||
| user | User | CoCore.IAM.IamUser who triggered the event | ||
| userId | ID |