Home > @opengovsg/logging > DataAccessedInput
DataAccessedInput interface
Input for DataAccessAudit.dataAccessed().
Signature:
typescript
export interface DataAccessedInput extends AuditInputBaseExtends: AuditInputBase
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| accessType | string | What was done with the data, e.g. read, view, query — distinct from the top-level action. | |
| classification | string | The data's classification, e.g. confidential, restricted, pii. | |
| resourceId | string | The accessed resource's identifier. | |
| resourceType | string | The kind of resource accessed, e.g. citizen_record. |