VaultOptions
flare-redact options for AiInvestigationOptions.redactConfig.
Extends
RedactOptions
Properties
only?
optional only?: string[];Inherited from
RedactOptions.onlyenable?
optional enable?: string[];Inherited from
RedactOptions.enabledisable?
optional disable?: string[];Inherited from
RedactOptions.disablecustom?
optional custom?: Detector[];Inherited from
RedactOptions.customdetectors?
optional detectors?: Detector[];Replace the built-in detector set entirely — for example with the detectors of a loaded FRS-1 pack. custom is still appended on top.
Inherited from
RedactOptions.detectorsmode?
optional mode?: Mode;Inherited from
RedactOptions.modemask?
optional mask?: string | ((f) => string);Inherited from
RedactOptions.maskhashSalt?
optional hashSalt?: string;Deprecated
Use transformSecret.
Inherited from
RedactOptions.hashSalttransformSecret?
optional transformSecret?: string;Secret key for hash, pseudonym, and surrogate modes. Never hard-code it.
Inherited from
RedactOptions.transformSecretredactKeys?
optional redactKeys?: boolean | RegExp | string[];Inherited from
RedactOptions.redactKeysallow?
optional allow?: RegExp | string[];Inherited from
RedactOptions.allowterms?
optional terms?: Record<string, string> | TermSpec[];Your own words/phrases to always catch — masked one-way, or reversible in a vault.
Inherited from
RedactOptions.termstermsCaseSensitive?
optional termsCaseSensitive?: boolean;Match terms case-sensitively (default: false).
Inherited from
RedactOptions.termsCaseSensitivesemanticProvider?
optional semanticProvider?: SemanticProvider;Optional local detector/model for names, addresses, and other semantic PII.
Inherited from
RedactOptions.semanticProviderminConfidence?
optional minConfidence?: number;Drop findings below this confidence (default: 0).
Inherited from
RedactOptions.minConfidencerefineConfidence?
optional refineConfidence?: boolean;Let the learned classifier refine confidence for generic detectors that over-fire on benign high-entropy text (UUIDs, git SHAs, digests, slugs). Only detectors marked refine are affected; checksum-validated ones are left untouched. Pair with minConfidence to drop likely false positives. Default: false.
Inherited from
RedactOptions.refineConfidenceincludeValues?
optional includeValues?: boolean;Include raw matched values in scan results. Unsafe for logs and reports.
Inherited from
RedactOptions.includeValueslimits?
optional limits?: object;maxInputLength?
optional maxInputLength?: number;Maximum UTF-16 input length per scanned string (default: 16 MiB).
maxFindings?
optional maxFindings?: number;Maximum findings returned per string (default: 50,000).
Inherited from
RedactOptions.limitsplaceholder?
optional placeholder?: (detectorId, index) => string;Parameters
detectorId
string
index
number
Returns
string
placeholderStyle?
optional placeholderStyle?: "opaque" | "readable";Human-readable counters are predictable; use only for trusted local flows.