Audit
Docyard maintains immutable audit logs for every action that happens in the lake. This ensures compliance, security, and accountability.What’s Logged
Artifact Uploads
Every artifact upload is logged:Retrieval Attempts
Every retrieval attempt is logged:Access Denials
Failed retrieval attempts are also logged:Template Changes
Template creation and updates:Admin Actions
Admin vetting and approvals:Log Structure
Each audit log entry contains:| Field | Description | Example |
|---|---|---|
event | Type of event | artifact_uploaded |
timestamp | When it happened | 2026-03-15T10:30:00Z |
actor | Who did it | { type, id, name } |
resource | What was affected | { type, id } |
details | Event-specific data | { ... } |
metadata | Additional context | { ip, user_agent } |
Querying Logs
List All Logs
Filter by Event Type
Filter by Actor
Filter by Time Range
Filter by Resource
Get Entity History
Get all events for a specific artifact:Retention Policies
Audit logs are retained based on document type:| Document Type | Retention Period |
|---|---|
| Insurance declarations | 7 years |
| Loan agreements | 10 years |
| Birth certificates | Permanent |
| General documents | 3 years |
Compliance Use Cases
For Distributors
- Prove artifact was uploaded on a specific date
- Track who retrieved your documents
- Monitor for unauthorized access attempts
For Collectors
- Demonstrate chain of custody for audits
- Prove documents were retrieved legally
- Track internal document access
For Docyard
- Detect anomalous access patterns
- Investigate security incidents
- Generate compliance reports
Exporting Logs
Export to JSON
Export to CSV
Export for Specific Entity
Immutability
Audit logs cannot be modified or deleted:- Append-only storage
- Cryptographic signatures
- Distributed across multiple nodes
- Tamper-evident timestamps
Next Steps
- Understand Distributors
- Understand Collectors
- See the API Reference