diff --git a/legacy/src/Command/Integration/IntegrationCommandBase.php b/legacy/src/Command/Integration/IntegrationCommandBase.php index f29e58785..633e1ce08 100644 --- a/legacy/src/Command/Integration/IntegrationCommandBase.php +++ b/legacy/src/Command/Integration/IntegrationCommandBase.php @@ -620,6 +620,21 @@ private function getFields(): array 'required' => false, 'avoidQuestion' => true, ]), + 'redaction' => new BooleanField('Redaction', [ + 'conditions' => ['type' => [ + 'httplog', + 'newrelic', + 'splunk', + 'sumologic', + 'syslog', + 'otlplog', + ]], + 'description' => 'Whether to enable built-in PII redaction (e.g. email addresses) before forwarding log lines', + 'questionLine' => 'Should built-in PII redaction be enabled', + 'default' => false, + 'required' => false, + 'avoidQuestion' => true, + ]), 'headers' => new ArrayField('HTTP header', [ 'optionName' => 'header', 'conditions' => ['type' => [