SAP Cloud SDK for JavaScript - v4.1.1
    Preparing search index...

    Function sanitizeRecord

    • 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 Ⓒ 2025 SAP SE or an SAP affiliate company. All rights reserved.