Skip to content

Commit 9e5ff76

Browse files
committed
set default value of false until backend implementation
1 parent b2a167f commit 9e5ff76

File tree

3 files changed

+144
-150
lines changed

3 files changed

+144
-150
lines changed

tracer/src/Datadog.Trace/AppSec/SecuritySettings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public SecuritySettings(IConfigurationSource? source, IConfigurationTelemetry te
130130
.Value;
131131

132132
ApiSecurityEndpointCollectionEnabled = config.WithKeys(ConfigurationKeys.AppSec.ApiSecurityEndpointCollectionEnabled)
133-
.AsBool(true);
133+
.AsBool(false);
134134

135135
ApiSecurityEndpointCollectionMessageLimit = config.WithKeys(ConfigurationKeys.AppSec.ApiSecurityEndpointCollectionMessageLimit)
136136
.AsInt32(300, val => val >= 0)

tracer/src/Datadog.Trace/Configuration/ConfigurationKeys.AppSec.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ internal class AppSec
122122
internal const string ApiSecuritySampleDelay = "DD_API_SECURITY_SAMPLE_DELAY";
123123

124124
/// <summary>
125-
/// with a default value of true, it allows a customer to disable the collection of endpoints for API Security.
125+
/// with a default value of false, it allows a customer to disable the collection of endpoints for API Security.
126126
/// </summary>
127127
internal const string ApiSecurityEndpointCollectionEnabled = "DD_API_SECURITY_ENDPOINT_COLLECTION_ENABLED";
128128

0 commit comments

Comments
 (0)