Optional
realtime: RealtimeAudit record object with mandantory fragments. IAuditRecord implements the IEvent interface.
Gets the details of selected audit record.
Response wrapped in IResult
Example
const auditId: number = 1;
(async () => {
const {data, res} = await auditService.detail(auditId);
})();
Entity or Id of the entity.
Object containing filters for querying audit records.
Example
const filter: object = {
severity: Severity.MAJOR,
pageSize: 100,
withTotalPages: true
};
(async () => {
const {data, res, paging} = await auditService.list(filter);
})();
Creates a new audit record for a given source.
Returns
Response wrapped in IResult
Example