AuditLogItem
An AuditLogItem is a single entry in a Document's audit trail. It records actions taken on the document including who performed them, when, and from which IP address.
Fields
| Field | Type | Description |
|---|---|---|
id | String! | Unique identifier |
name | String | Name of the person who performed the action |
email | String | Email of the person |
status | String | Status at time of action |
description | String | Human-readable description of the action |
created | AWSDateTime | When the action occurred |
code | String | Action code |
ip | String | IP address |
Query
AuditLogItems are accessed as a field on Document:
query GetDocumentAuditLog {
document(id: "ZG9jMWVmMjdkYWYtMGJlMS0xMWYwLWJiYjUtMDZlNDc2YTA3NTY5") {
auditLog {
created
description
name
email
status
code
ip
}
}
}
Related
- Document — the document this audit log belongs to