impasto
    Preparing search index...

    Interface RedactEntry

    Defines how to redact a specific type of sensitive information.

    interface RedactEntry {
        replace?: (match: RegExpExecArray) => undefined | string;
        search: RegExp[];
    }
    Index

    Properties

    Properties

    replace?: (match: RegExpExecArray) => undefined | string

    How to replace the found information.

    search: RegExp[]

    The regular expressions to use when finding the information to redact.

    Note: All expressions must use the global (/g) flag.