# Module utils/auditSink

Audit sink interface and implementations for pluggable log output.

Intelligence Perspective: Pluggable sinks enable routing audit trails to centralised SIEM platforms, improving threat-detection fidelity.

Business Perspective: Durable audit storage is a prerequisite for enterprise customers requiring demonstrable GDPR Article 30 compliance.

Marketing Perspective: Configurable audit sinks differentiate against solutions that only log to stderr with no persistence option.

ISMS Policy: AU-002 (Audit Logging and Monitoring), GDPR Articles 5, 17, 30

#### Since

0.9.0

## Classes

FileAuditSink
MemoryAuditSink
RetentionPolicy
StderrAuditSink
StructuredJsonSink

## Interfaces

AuditFilter
AuditLogEntry
AuditLoggerOptions
AuditSink
FileAuditSinkOptions

## Type Aliases

AuthToken

## Variables

DEFAULT_SENSITIVE_KEYS

## Functions

sanitizeParams