Skip to content

@nestarc/rbac/integrations/audit-log API reference ​

Connect an existing structural audit logger through createAuditLogRbacLogger and inspect its adapter options.

Browse all @nestarc/rbac import paths.

Interfaces ​

AuditLogLike ​

Defined in: src/integrations/audit-log.ts:3

Methods ​

log() ​
ts
log(event): void | Promise<void>;

Defined in: src/integrations/audit-log.ts:4

Parameters ​
ParameterType
eventRecord<string, unknown>
Returns ​

void | Promise<void>


AuditLogRbacLoggerOptions ​

Defined in: src/integrations/audit-log.ts:7

Properties ​

auditLog ​
ts
auditLog: AuditLogLike;

Defined in: src/integrations/audit-log.ts:8

source? ​
ts
optional source?: string;

Defined in: src/integrations/audit-log.ts:9

Functions ​

createAuditLogRbacLogger() ​

ts
function createAuditLogRbacLogger(options): RbacAuditLogger;

Defined in: src/integrations/audit-log.ts:55

Parameters ​

ParameterType
optionsAuditLogRbacLoggerOptions

Returns ​

RbacAuditLogger

Documentation site: MIT License. Check each package for its license.