From 8b8ca653624f401fedd94774e0b84573a16b8c8d Mon Sep 17 00:00:00 2001 From: Santiago Mola Date: Wed, 13 Nov 2024 10:24:39 +0100 Subject: [PATCH] Improve IAST sampling defaults --- .../src/main/java/datadog/trace/api/ConfigDefaults.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 8c549a3ee13..f06062d8047 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 @@ -110,9 +110,9 @@ public final class ConfigDefaults { static final int DEFAULT_APPSEC_MAX_STACK_TRACE_DEPTH = 32; static final String DEFAULT_IAST_ENABLED = "false"; static final boolean DEFAULT_IAST_DEBUG_ENABLED = false; - public static final int DEFAULT_IAST_MAX_CONCURRENT_REQUESTS = 4; + public static final int DEFAULT_IAST_MAX_CONCURRENT_REQUESTS = 1; public static final int DEFAULT_IAST_VULNERABILITIES_PER_REQUEST = 2; - public static final int DEFAULT_IAST_REQUEST_SAMPLING = 33; + public static final int DEFAULT_IAST_REQUEST_SAMPLING = 100; static final Set DEFAULT_IAST_WEAK_HASH_ALGORITHMS = new HashSet<>(asList("SHA1", "SHA-1", "MD2", "MD5", "RIPEMD128", "MD4")); static final String DEFAULT_IAST_WEAK_CIPHER_ALGORITHMS =