Skip to content

AuditService

injectable

Service providing access to the systems audit entries. Audits can be seen as the history of an object. Actions perormed on an object (eg. read, write, delete, …) will be recorded during the objects lifecycle. Audits are provided based on a users permissions. Beside the audit entries visible to regular users there are more technical ones that will only be shown to users that have administrative role.

Get an array of action codes that are provided by the service. Based on whether or not the user has admin permissions you’ll get a different set of actions.

getAuditActions(allActions: boolean, skipActions: number[]): number[]
NameTypeDescription
allActionsboolean
skipActionsnumber[]

Get audit entries of a dms object

getAuditEntries(id: string, options: AuditQueryOptions): Observable<AuditQueryResult>
NameTypeDescription
idstring
optionsAuditQueryOptions

Get a certain page for a former audits query.

getPage(auditsResult: AuditQueryResult, page: number): Observable<AuditQueryResult>
NameTypeDescription
auditsResultAuditQueryResult
pagenumber