From 1399479d26b3c4d03e3e330242654b2088fae4c9 Mon Sep 17 00:00:00 2001 From: Valentin Zakharov Date: Mon, 16 Oct 2023 14:18:53 +0200 Subject: [PATCH] Stacktrace leak suppress - disabled by default --- .../src/main/java/datadog/trace/api/ConfigDefaults.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dd-trace-api/src/main/java/datadog/trace/api/ConfigDefaults.java b/dd-trace-api/src/main/java/datadog/trace/api/ConfigDefaults.java index 6993b199089..8363e4e9f8c 100644 --- a/dd-trace-api/src/main/java/datadog/trace/api/ConfigDefaults.java +++ b/dd-trace-api/src/main/java/datadog/trace/api/ConfigDefaults.java @@ -105,7 +105,7 @@ public final class ConfigDefaults { static final String DEFAULT_IAST_REDACTION_VALUE_PATTERN = "(?:bearer\\s+[a-z0-9\\._\\-]+|glpat-[\\w\\-]{20}|gh[opsu]_[0-9a-zA-Z]{36}|ey[I-L][\\w=\\-]+\\.ey[I-L][\\w=\\-]+(?:\\.[\\w.+/=\\-]+)?|(?:[\\-]{5}BEGIN[a-z\\s]+PRIVATE\\sKEY[\\-]{5}[^\\-]+[\\-]{5}END[a-z\\s]+PRIVATE\\sKEY[\\-]{5}|ssh-rsa\\s*[a-z0-9/\\.+]{100,}))"; public static final int DEFAULT_IAST_MAX_RANGE_COUNT = 10; - static final boolean DEFAULT_IAST_STACKTRACE_LEAK_SUPPRESS = true; + static final boolean DEFAULT_IAST_STACKTRACE_LEAK_SUPPRESS = false; static final int DEFAULT_IAST_TRUNCATION_MAX_VALUE_LENGTH = 250; public static final boolean DEFAULT_IAST_DEDUPLICATION_ENABLED = true;