Skip to content

Home > @opengovsg/logging > RecordDownloadedInput

RecordDownloadedInput interface ​

Input for DataAccessAudit.recordDownloaded().

Signature:

typescript
export interface RecordDownloadedInput extends AuditInputBase

Extends: AuditInputBase

Properties ​

PropertyModifiersTypeDescription
classificationstringThe data's classification.
methodstringHow it was downloaded, e.g. csv, pdf, api.
resourceIdstringThe downloaded resource's identifier.
resourceType?string(Optional) The kind of resource, if useful.
role?string(Optional) The acting user's role, if known.
sizeBytesnumberSize of the download in bytes.