magiclogger - v0.1.0
    Preparing search index...

    Interface RedactorOptions

    Redactor configuration options.

    interface RedactorOptions {
        auditTrail?: boolean;
        cacheEnabled?: boolean;
        contextAware?: boolean;
        deep?: boolean;
        enabled?: boolean;
        excludeFields?: string[];
        fields?: string[];
        maxCacheSize?: number;
        maxDepth?: number;
        patterns?: RedactionPattern[];
        preset?: RedactionPreset;
        tokenSalt?: string;
    }
    Index

    Properties

    auditTrail?: boolean

    Enable audit trail for compliance.

    false
    
    cacheEnabled?: boolean

    Cache redacted values for performance.

    true
    
    contextAware?: boolean

    Enable context-aware redaction.

    true
    
    deep?: boolean

    Enable deep object traversal.

    true
    
    enabled?: boolean

    Enable redaction.

    true
    
    excludeFields?: string[]

    Fields to never redact.

    fields?: string[]

    Fields to always redact.

    maxCacheSize?: number

    Maximum cache size.

    1000
    
    maxDepth?: number

    Maximum traversal depth.

    10
    
    patterns?: RedactionPattern[]

    Custom redaction patterns.

    Redaction preset level.

    tokenSalt?: string

    Tokenization salt for consistent tokens.