Skip to main content

1E 23.11 (SaaS)

Agent.Redact

Method

Redact

Module

Agent

Library

Core

Action

Performs implementation-specific redaction of data. This method is intended to be used by 1E partners and integrators for custom pre-processing of data.

Parameters

Data (table): The data that is subject to redaction.

Schema (string): Schema of data redaction service.

Version (string): Schema version.

Fallback (string): Fall-back behaviour if redaction fails. Valid options are (Error/Ignore/Clear).

  • Error: Report error

  • Ignore: Proceed with data unredacted

  • Clear: Remove all data

    Note

    These values are not case-sensitive.

Nullify (bool, default false): If set to true, any columns removed from the source as part of the redaction process will be re-introduced in the results, but will contain null values.

Return values

Value (table): The redacted data, redacted as per schema.

Example

@swInstallData = Software.GetInstallations();
         @redactedSwInstallData = Agent.Redact(Data: @swInstallData,
                                               Schema: "redact-software-installations",
                                               Version: "1",
                                               Fallback: "Error",
                                               Nullify: true);)

Platforms

  • Windows

  • Linux

  • MacOS

Notes

new in 23.9