Skip to content

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 DataAccessAudit

Methods ​

MethodDescription
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.