Skip to main content
Dotset CLI API Documentation / tollgate / AuditLoggerOptions

Interface: AuditLoggerOptions

Defined in: src/tollgate/audit/logger.ts:37 Options for the AuditLogger.

Properties

dbPath?

optional dbPath: string;
Defined in: src/tollgate/audit/logger.ts:39 Path to the SQLite database file

enableRedaction?

optional enableRedaction: boolean;
Defined in: src/tollgate/audit/logger.ts:41 Enable PII redaction (default: true)

redactionOptions?

optional redactionOptions: RedactionOptions;
Defined in: src/tollgate/audit/logger.ts:43 PII redaction options

storeRawArgs?

optional storeRawArgs: boolean;
Defined in: src/tollgate/audit/logger.ts:51 Store raw (unredacted) args in the database. WARNING: Setting this to true stores PII in the database, which may violate compliance requirements (GDPR, SOC2, HIPAA). Only enable for debugging in non-production environments. Default: false