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

    Returns

    The sanitized copy of the input record.

    Type Parameters

    • T = any

    Parameters

    • input: Record<string, T>

      The record to be sanitized.

    • Optional replacementString: string

      The placeholder string.

    • Optional sensitiveKeys: string[]

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

    Returns Record<string, T>

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