CorjRedactPolicy: {
    keys: readonly (string | RegExp)[];
    paths: readonly (string | RegExp)[];
    patterns: readonly RegExp[];
    replacement: string;
    transform: CorjRedactTransform | null;
}

A resolved redaction policy, as CorjOptions.redact holds it.

Type declaration

  • keys: readonly (string | RegExp)[]
  • paths: readonly (string | RegExp)[]
  • patterns: readonly RegExp[]
  • replacement: string
  • transform: CorjRedactTransform | null