Skip to content

Home > @opengovsg/logging > DataAccessedInput

DataAccessedInput interface ​

Input for DataAccessAudit.dataAccessed().

Signature:

typescript
export interface DataAccessedInput extends AuditInputBase

Extends: AuditInputBase

Properties ​

PropertyModifiersTypeDescription
accessTypestringWhat was done with the data, e.g. read, view, query — distinct from the top-level action.
classificationstringThe data's classification, e.g. confidential, restricted, pii.
resourceIdstringThe accessed resource's identifier.
resourceTypestringThe kind of resource accessed, e.g. citizen_record.