Skip to content

VaultOptions ​

flare-redact options for AiInvestigationOptions.redactConfig.

Extends ​

  • RedactOptions

Properties ​

only? ​

ts
optional only?: string[];

Inherited from ​

ts
RedactOptions.only

enable? ​

ts
optional enable?: string[];

Inherited from ​

ts
RedactOptions.enable

disable? ​

ts
optional disable?: string[];

Inherited from ​

ts
RedactOptions.disable

custom? ​

ts
optional custom?: Detector[];

Inherited from ​

ts
RedactOptions.custom

detectors? ​

ts
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 ​

ts
RedactOptions.detectors

mode? ​

ts
optional mode?: Mode;

Inherited from ​

ts
RedactOptions.mode

mask? ​

ts
optional mask?: string | ((f) => string);

Inherited from ​

ts
RedactOptions.mask

hashSalt? ​

ts
optional hashSalt?: string;

Deprecated ​

Use transformSecret.

Inherited from ​

ts
RedactOptions.hashSalt

transformSecret? ​

ts
optional transformSecret?: string;

Secret key for hash, pseudonym, and surrogate modes. Never hard-code it.

Inherited from ​

ts
RedactOptions.transformSecret

redactKeys? ​

ts
optional redactKeys?: boolean | RegExp | string[];

Inherited from ​

ts
RedactOptions.redactKeys

allow? ​

ts
optional allow?: RegExp | string[];

Inherited from ​

ts
RedactOptions.allow

terms? ​

ts
optional terms?: Record<string, string> | TermSpec[];

Your own words/phrases to always catch — masked one-way, or reversible in a vault.

Inherited from ​

ts
RedactOptions.terms

termsCaseSensitive? ​

ts
optional termsCaseSensitive?: boolean;

Match terms case-sensitively (default: false).

Inherited from ​

ts
RedactOptions.termsCaseSensitive

semanticProvider? ​

ts
optional semanticProvider?: SemanticProvider;

Optional local detector/model for names, addresses, and other semantic PII.

Inherited from ​

ts
RedactOptions.semanticProvider

minConfidence? ​

ts
optional minConfidence?: number;

Drop findings below this confidence (default: 0).

Inherited from ​

ts
RedactOptions.minConfidence

refineConfidence? ​

ts
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 ​

ts
RedactOptions.refineConfidence

includeValues? ​

ts
optional includeValues?: boolean;

Include raw matched values in scan results. Unsafe for logs and reports.

Inherited from ​

ts
RedactOptions.includeValues

limits? ​

ts
optional limits?: object;

maxInputLength? ​

ts
optional maxInputLength?: number;

Maximum UTF-16 input length per scanned string (default: 16 MiB).

maxFindings? ​

ts
optional maxFindings?: number;

Maximum findings returned per string (default: 50,000).

Inherited from ​

ts
RedactOptions.limits

placeholder? ​

ts
optional placeholder?: (detectorId, index) => string;

Parameters ​

detectorId ​

string

index ​

number

Returns ​

string


placeholderStyle? ​

ts
optional placeholderStyle?: "opaque" | "readable";

Human-readable counters are predictable; use only for trusted local flows.