Skip to content

Commit ec98881

Browse files
committed
opt-out API Security endpoint discovery
1 parent 4cf7670 commit ec98881

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

dd-trace-api/src/main/java/datadog/trace/api/ConfigDefaults.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,7 @@ public final class ConfigDefaults {
117117
static final int DEFAULT_APPSEC_WAF_TIMEOUT = 100000; // 0.1 s
118118
static final boolean DEFAULT_API_SECURITY_ENABLED = true;
119119
static final float DEFAULT_API_SECURITY_SAMPLE_DELAY = 30.0f;
120-
// TODO: change to true once the RFC is approved
121-
static final boolean DEFAULT_API_SECURITY_ENDPOINT_COLLECTION_ENABLED = false;
120+
static final boolean DEFAULT_API_SECURITY_ENDPOINT_COLLECTION_ENABLED = true;
122121
static final int DEFAULT_API_SECURITY_ENDPOINT_COLLECTION_MESSAGE_LIMIT = 300;
123122
static final boolean DEFAULT_APPSEC_RASP_ENABLED = true;
124123
static final boolean DEFAULT_APPSEC_STACK_TRACE_ENABLED = true;

0 commit comments

Comments
 (0)