Home > @opengovsg/logging > DataAccessAudit
DataAccessAudit interface
Data access, movement & export audit events (category dataAccess).
Downstream of authentication: the acting user_id and client_ip are scope-read. Log *what* was accessed — resource type/id, classification — never the data itself.
Signature:
typescript
export interface DataAccessAuditMethods
| Method | Description |
|---|---|
| bulkExported(input) | A bulk data export was performed. Fires at notice. |
| dataAccessed(input) | PII/confidential data was accessed. Fires at notice. |
| recordDownloaded(input) | A file/record was downloaded. Fires at notice. |