Theia API Documentation v1.68.0
    Preparing search index...

    Represents a sanitization rule with a pattern and replacement string.

    interface SanitizationRule {
        pattern: RegExp;
        replacement: string;
    }
    Index

    Properties

    Properties

    pattern: RegExp

    The regex pattern to match sensitive information. Can use capture groups that can be referenced in the replacement string.

    replacement: string

    The replacement string. Can include capture group references like $1, $2, etc.