• Potentially sensitive keys will be matched case-insensitive and as substrings. Matches will be replaced with a placeholder string.

    Type Parameters

    • T = any

    Parameters

    • input: Record<string, T>

      The record to be sanitized.

    • OptionalreplacementString: string

      The placeholder string.

    • OptionalsensitiveKeys: string[]

      The list of keys to be replaced. This overrides the default list.

    Returns Record<string, T>

    The sanitized copy of the input record.

    Copyright Ⓒ 2024 SAP SE or an SAP affiliate company. All rights reserved.