From 4319d05a36d8e234bdb70110ac3f9a7ca6d58ff1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Haracewiat?= Date: Fri, 26 Jun 2026 10:30:47 +0200 Subject: [PATCH] feat(integration): add redaction field for httplog and otlplog --- .../Integration/IntegrationCommandBase.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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' => [