Skip to content

Commit dd72b4b

Browse files
committed
Commit temporary ConfigurationKeys2.cs generated files
1 parent 705f772 commit dd72b4b

File tree

81 files changed

+4140
-3937
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+4140
-3937
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ namespace Datadog.Trace.Configuration
1414
/// </summary>
1515
internal static partial class ConfigurationKeys
1616
{
17+
// temporary so that ConfigurationKeys2 can resolve reference, all this is removed later
18+
public const string TraceLogPath = "DD_TRACE_LOG_PATH";
19+
1720
/// <summary>
1821
/// Configuration key to enable experimental features.
1922
/// </summary>
@@ -967,7 +970,7 @@ internal static class DataStreamsMonitoring
967970
/// Configuration key for enabling legacy binary headers in Data Streams Monitoring.
968971
/// false by default if DSM is in default state, true otherwise
969972
/// </summary>
970-
/// <see cref="TracerSettings.IsDataStreamsLegacyHeadersEnabled"/>
973+
/// <see cref="TracerSettings.IsDataStreamsLegacyHeadersEnabled"/>
971974
public const string LegacyHeadersEnabled = "DD_DATA_STREAMS_LEGACY_HEADERS";
972975
}
973976
}

tracer/src/Datadog.Trace/Generated/net461/Datadog.Trace.SourceGenerators/ConfigurationKeysGenerator/ConfigurationKeys2.AppSec.g.cs

Lines changed: 105 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,53 @@
88

99
// This file is auto-generated from supported-configurations.json and supported-configurations-docs.yaml
1010
// Do not edit this file directly. The source generator will regenerate it on build.
11-
// NOTE: If you remove keys/products from the JSON, run 'dotnet clean' to remove old generated files.
12-
11+
// NOTE: If you remove keys/products from the JSON, run 'dotnet clean' and remove old generated files.
1312
namespace Datadog.Trace.Configuration;
1413

1514
internal static partial class ConfigurationKeys2
1615
{
1716
internal static class AppSec
1817
{
18+
/// <summary>
19+
/// When ASM is enabled, collects in spans endpoints apis schemas analyzed by the waf, default value is true.
20+
/// </summary>
1921
public const string ApiSecurityEnabled = "DD_API_SECURITY_ENABLED";
22+
23+
/// <summary>
24+
/// with a default value of true, it allows a customer to disable the collection of endpoints for API Security.
25+
/// </summary>
2026
public const string ApiSecurityEndpointCollectionEnabled = "DD_API_SECURITY_ENDPOINT_COLLECTION_ENABLED";
27+
28+
/// <summary>
29+
/// with a default value of 300, it defines the maximum number of endpoints to be collected (serialized) for API Security.
30+
/// </summary>
2131
public const string ApiSecurityEndpointCollectionMessageLimit = "DD_API_SECURITY_ENDPOINT_COLLECTION_MESSAGE_LIMIT";
32+
33+
/// <summary>
34+
/// Enables the parsing of the response body in the API Security module. Defaults to true
35+
/// </summary>
2236
public const string ApiSecurityParseResponseBody = "DD_API_SECURITY_PARSE_RESPONSE_BODY";
37+
38+
/// <summary>
39+
/// Api security sample delay in seconds , should be a float. Set to 0 for testing purposes. default value of 30.
40+
/// </summary>
2341
public const string ApiSecuritySampleDelay = "DD_API_SECURITY_SAMPLE_DELAY";
24-
public const string AutoUserInstrumentationMode = "DD_APPSEC_AUTO_USER_INSTRUMENTATION_MODE";
25-
public const string AutomatedUserEventsTracking = "DD_APPSEC_AUTOMATED_USER_EVENTS_TRACKING";
42+
43+
/// <summary>
44+
/// Automatic instrumentation of user event mode. Values can be ident, disabled, anon.
45+
/// </summary>
46+
public const string UserEventsAutoInstrumentationMode = "DD_APPSEC_AUTO_USER_INSTRUMENTATION_MODE";
47+
48+
/// <summary>
49+
/// Deprecate. Automatic tracking of user events mode. Values can be disabled, safe or extended.
50+
/// This config is in the process of being deprecated. Please use DD_APPSEC_AUTO_USER_INSTRUMENTATION_MODE
51+
/// instead.
52+
/// Values will be automatically translated:
53+
/// disabled = disabled
54+
/// safe = anon
55+
/// extended = ident
56+
/// </summary>
57+
public const string UserEventsAutomatedTracking = "DD_APPSEC_AUTOMATED_USER_EVENTS_TRACKING";
2658

2759
/// <summary>
2860
/// Configuration key for enabling or disabling the AppSec.
@@ -35,32 +67,94 @@ internal static class AppSec
3567
/// Default is value is null.
3668
/// </summary>
3769
public const string ExtraHeaders = "DD_APPSEC_EXTRA_HEADERS";
38-
public const string HttpBlockedTemplateHtml = "DD_APPSEC_HTTP_BLOCKED_TEMPLATE_HTML";
39-
public const string HttpBlockedTemplateJson = "DD_APPSEC_HTTP_BLOCKED_TEMPLATE_JSON";
70+
71+
/// <summary>
72+
/// Blocking response template for HTML content. This template is used in combination with the status code to craft and send a response upon blocking the request.
73+
/// </summary>
74+
public const string HtmlBlockedTemplate = "DD_APPSEC_HTTP_BLOCKED_TEMPLATE_HTML";
75+
76+
/// <summary>
77+
/// Blocking response template for Json content. This template is used in combination with the status code to craft and send a response upon blocking the request.
78+
/// </summary>
79+
public const string JsonBlockedTemplate = "DD_APPSEC_HTTP_BLOCKED_TEMPLATE_JSON";
4080

4181
/// <summary>
4282
/// Configuration key indicating the optional name of the custom header to take into account for the ip address.
4383
/// Default is value is null (do not override).
4484
/// </summary>
45-
public const string Ipheader = "DD_APPSEC_IPHEADER";
85+
public const string CustomIpHeader = "DD_APPSEC_IPHEADER";
86+
87+
/// <summary>
88+
/// Specifies if the AppSec traces should be explicitly kept or dropped.
89+
/// Default is true, to keep all traces, false means drop all traces (by setting AutoReject as sampling priority).
90+
/// For internal testing only.
91+
/// </summary>
4692
public const string KeepTraces = "DD_APPSEC_KEEP_TRACES";
93+
94+
/// <summary>
95+
/// with a default value of 32, defines the maximum depth of a stack trace to be reported due to RASP events. O for unlimited.
96+
/// </summary>
4797
public const string MaxStackTraceDepth = "DD_APPSEC_MAX_STACK_TRACE_DEPTH";
98+
99+
/// <summary>
100+
/// with a default value of 75, defines the percentage of frames taken from the top of the stack when trimming. Min 0, Max 100
101+
/// </summary>
48102
public const string MaxStackTraceDepthTopPercent = "DD_APPSEC_MAX_STACK_TRACE_DEPTH_TOP_PERCENT";
103+
104+
/// <summary>
105+
/// with a default value of 2, defines the maximum number of stack traces to be reported due to RASP events. 0 for unlimited.
106+
/// </summary>
49107
public const string MaxStackTraces = "DD_APPSEC_MAX_STACK_TRACES";
50-
public const string ObfuscationParameterKeyRegexp = "DD_APPSEC_OBFUSCATION_PARAMETER_KEY_REGEXP";
51-
public const string ObfuscationParameterValueRegexp = "DD_APPSEC_OBFUSCATION_PARAMETER_VALUE_REGEXP";
108+
109+
/// <summary>
110+
/// The regex that will be used to obfuscate possible sensitive data in keys that are highlighted WAF as potentially malicious
111+
/// </summary>
112+
public const string ObfuscationParameterKeyRegex = "DD_APPSEC_OBFUSCATION_PARAMETER_KEY_REGEXP";
113+
114+
/// <summary>
115+
/// The regex that will be used to obfuscate possible sensitive data in values that are highlighted WAF as potentially malicious
116+
/// </summary>
117+
public const string ObfuscationParameterValueRegex = "DD_APPSEC_OBFUSCATION_PARAMETER_VALUE_REGEXP";
118+
119+
/// <summary>
120+
/// default value to true. Set to false to disable exploit prevention.
121+
/// </summary>
52122
public const string RaspEnabled = "DD_APPSEC_RASP_ENABLED";
53123

54124
/// <summary>
55125
/// Override the default rules file provided. Must be a path to a valid JSON rules file.
56126
/// Default is value is null (do not override).
57127
/// </summary>
58128
public const string Rules = "DD_APPSEC_RULES";
129+
130+
/// <summary>
131+
/// Activate SCA (Software Composition Analysis), used in the backend
132+
/// </summary>
59133
public const string ScaEnabled = "DD_APPSEC_SCA_ENABLED";
134+
135+
/// <summary>
136+
/// with a default value of true, it allows a customer to disable the generation of stack traces, for any ASM-specific purpose such as RASP.
137+
/// </summary>
60138
public const string StackTraceEnabled = "DD_APPSEC_STACK_TRACE_ENABLED";
139+
140+
/// <summary>
141+
/// Limits the amount of AppSec traces sent per second with an integer value, strictly positive.
142+
/// </summary>
61143
public const string TraceRateLimit = "DD_APPSEC_TRACE_RATE_LIMIT";
62-
public const string WafDebug = "DD_APPSEC_WAF_DEBUG";
144+
145+
/// <summary>
146+
/// Activate debug logs for the WAF
147+
/// </summary>
148+
public const string WafDebugEnabled = "DD_APPSEC_WAF_DEBUG";
149+
150+
/// <summary>
151+
/// WAF timeout in microseconds of each WAF execution (the timeout value passed to ddwaf_run).
152+
/// </summary>
63153
public const string WafTimeout = "DD_APPSEC_WAF_TIMEOUT";
64-
public const string ExperimentalAppsecUseUnsafeEncoder = "DD_EXPERIMENTAL_APPSEC_USE_UNSAFE_ENCODER";
154+
155+
/// <summary>
156+
/// Use new unsafe encoder for the waf
157+
/// </summary>
158+
public const string UseUnsafeEncoder = "DD_EXPERIMENTAL_APPSEC_USE_UNSAFE_ENCODER";
65159
}
66160
}

tracer/src/Datadog.Trace/Generated/net461/Datadog.Trace.SourceGenerators/ConfigurationKeysGenerator/ConfigurationKeys2.AzureAppService.g.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,14 @@
88

99
// This file is auto-generated from supported-configurations.json and supported-configurations-docs.yaml
1010
// Do not edit this file directly. The source generator will regenerate it on build.
11-
// NOTE: If you remove keys/products from the JSON, run 'dotnet clean' to remove old generated files.
12-
11+
// NOTE: If you remove keys/products from the JSON, run 'dotnet clean' and remove old generated files.
1312
namespace Datadog.Trace.Configuration;
1413

1514
internal static partial class ConfigurationKeys2
1615
{
1716
internal static class AzureAppService
1817
{
19-
public const string AasDotnetExtensionVersion = "DD_AAS_DOTNET_EXTENSION_VERSION";
18+
public const string SiteExtensionVersionKey = "DD_AAS_DOTNET_EXTENSION_VERSION";
2019

2120
/// <summary>
2221
/// Used to force the loader to start dogstatsd (in case automatic instrumentation is disabled)
@@ -27,6 +26,7 @@ internal static class AzureAppService
2726
/// Used to force the loader to start the trace agent (in case automatic instrumentation is disabled)
2827
/// </summary>
2928
public const string AasEnableCustomTracing = "DD_AAS_ENABLE_CUSTOM_TRACING";
30-
public const string s = "DD_AZURE_APP_SERVICES";
29+
30+
public const string AzureAppServicesContextKey = "DD_AZURE_APP_SERVICES";
3131
}
3232
}

tracer/src/Datadog.Trace/Generated/net461/Datadog.Trace.SourceGenerators/ConfigurationKeysGenerator/ConfigurationKeys2.CIVisibility.g.cs

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,17 @@
88

99
// This file is auto-generated from supported-configurations.json and supported-configurations-docs.yaml
1010
// Do not edit this file directly. The source generator will regenerate it on build.
11-
// NOTE: If you remove keys/products from the JSON, run 'dotnet clean' to remove old generated files.
12-
11+
// NOTE: If you remove keys/products from the JSON, run 'dotnet clean' and remove old generated files.
1312
namespace Datadog.Trace.Configuration;
1413

1514
internal static partial class ConfigurationKeys2
1615
{
1716
internal static class CIVisibility
1817
{
19-
2018
/// <summary>
2119
/// An internal key used to "tell" tracer settings that we're running in CI Visibility mode
2220
/// </summary>
23-
public const string InternalIsRunningInCivisibility = "_DD_INTERNAL_IS_RUNNING_IN_CIVISIBILITY";
21+
public const string IsRunningInCiVisMode = "_DD_INTERNAL_IS_RUNNING_IN_CIVISIBILITY";
2422

2523
/// <summary>
2624
/// Configuration key for enabling or disabling Agentless in CI Visibility.
@@ -36,7 +34,7 @@ internal static class CIVisibility
3634
/// <summary>
3735
/// Configuration key for setting the code coverage collector path
3836
/// </summary>
39-
public const string CodeCoverageCollectorpath = "DD_CIVISIBILITY_CODE_COVERAGE_COLLECTORPATH";
37+
public const string CodeCoverageCollectorPath = "DD_CIVISIBILITY_CODE_COVERAGE_COLLECTORPATH";
4038

4139
/// <summary>
4240
/// Configuration key for enabling or disabling jit optimizations in the Code Coverage
@@ -46,7 +44,7 @@ internal static class CIVisibility
4644
/// <summary>
4745
/// Configuration key for enabling or disabling Code Coverage in CI Visibility.
4846
/// </summary>
49-
public const string CodeCoverageEnabled = "DD_CIVISIBILITY_CODE_COVERAGE_ENABLED";
47+
public const string CodeCoverage = "DD_CIVISIBILITY_CODE_COVERAGE_ENABLED";
5048

5149
/// <summary>
5250
/// Configuration key for selecting the code coverage mode LineExecution or LineCallCount
@@ -61,12 +59,12 @@ internal static class CIVisibility
6159
/// <summary>
6260
/// Configuration key for re-signing assemblies after the Code Coverage modification.
6361
/// </summary>
64-
public const string CodeCoverageSnkFilepath = "DD_CIVISIBILITY_CODE_COVERAGE_SNK_FILEPATH";
62+
public const string CodeCoverageSnkFile = "DD_CIVISIBILITY_CODE_COVERAGE_SNK_FILEPATH";
6563

6664
/// <summary>
6765
/// Configuration key for a kill-switch that allows to explicitly disable dynamic instrumentation even if the remote setting is enabled.
6866
/// </summary>
69-
public const string DiEnabled = "DD_CIVISIBILITY_DI_ENABLED";
67+
public const string DynamicInstrumentationEnabled = "DD_CIVISIBILITY_DI_ENABLED";
7068

7169
/// <summary>
7270
/// Configuration key for enabling or disabling the early flake detection feature in CI Visibility
@@ -97,12 +95,12 @@ internal static class CIVisibility
9795
/// <summary>
9896
/// Configuration key for forcing Agent's EVP Proxy
9997
/// </summary>
100-
public const string ForceAgentEvpProxy = "DD_CIVISIBILITY_FORCE_AGENT_EVP_PROXY";
98+
public const string ForceAgentsEvpProxy = "DD_CIVISIBILITY_FORCE_AGENT_EVP_PROXY";
10199

102100
/// <summary>
103101
/// Configuration key for enabling or disabling Datadog.Trace GAC installation
104102
/// </summary>
105-
public const string GacInstallEnabled = "DD_CIVISIBILITY_GAC_INSTALL_ENABLED";
103+
public const string InstallDatadogTraceInGac = "DD_CIVISIBILITY_GAC_INSTALL_ENABLED";
106104

107105
/// <summary>
108106
/// Configuration key for enabling or disabling Uploading Git Metadata in CI Visibility
@@ -119,7 +117,7 @@ internal static class CIVisibility
119117
/// Configuration key for enabling or disabling Intelligent Test Runner in CI Visibility
120118
/// Default Value is false (disabled)
121119
/// </summary>
122-
public const string ItrEnabled = "DD_CIVISIBILITY_ITR_ENABLED";
120+
public const string IntelligentTestRunnerEnabled = "DD_CIVISIBILITY_ITR_ENABLED";
123121

124122
/// <summary>
125123
/// Configuration key for enabling or disabling the known tests feature in CI Visibility
@@ -130,7 +128,7 @@ internal static class CIVisibility
130128
/// Configuration key for enabling or disabling Logs direct submission.
131129
/// Default value is false (disabled).
132130
/// </summary>
133-
public const string LogsEnabled = "DD_CIVISIBILITY_LOGS_ENABLED";
131+
public const string Logs = "DD_CIVISIBILITY_LOGS_ENABLED";
134132

135133
/// <summary>
136134
/// Configuration key for set the rum flushing wait in milliseconds
@@ -140,7 +138,7 @@ internal static class CIVisibility
140138
/// <summary>
141139
/// Configuration key for enabling or disabling Intelligent Test Runner test skipping feature in CI Visibility
142140
/// </summary>
143-
public const string TestsskippingEnabled = "DD_CIVISIBILITY_TESTSSKIPPING_ENABLED";
141+
public const string TestsSkippingEnabled = "DD_CIVISIBILITY_TESTSSKIPPING_ENABLED";
144142

145143
/// <summary>
146144
/// Configuration key for the maximum number of retry attempts for the entire session.

tracer/src/Datadog.Trace/Generated/net461/Datadog.Trace.SourceGenerators/ConfigurationKeysGenerator/ConfigurationKeys2.DataStreamsMonitoring.g.cs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,24 @@
88

99
// This file is auto-generated from supported-configurations.json and supported-configurations-docs.yaml
1010
// Do not edit this file directly. The source generator will regenerate it on build.
11-
// NOTE: If you remove keys/products from the JSON, run 'dotnet clean' to remove old generated files.
12-
11+
// NOTE: If you remove keys/products from the JSON, run 'dotnet clean' and remove old generated files.
1312
namespace Datadog.Trace.Configuration;
1413

1514
internal static partial class ConfigurationKeys2
1615
{
1716
internal static class DataStreamsMonitoring
1817
{
19-
2018
/// <summary>
2119
/// Enables data streams monitoring support
2220
/// <see cref="Datadog.Trace.Configuration.TracerSettings.IsDataStreamsMonitoringEnabled"/>
2321
/// </summary>
24-
public const string DataStreamsEnabled = "DD_DATA_STREAMS_ENABLED";
22+
public const string Enabled = "DD_DATA_STREAMS_ENABLED";
2523

2624
/// <summary>
2725
/// Configuration key for enabling legacy binary headers in Data Streams Monitoring.
2826
/// false by default if DSM is in default state, true otherwise
2927
/// <see cref="Datadog.Trace.Configuration.TracerSettings.IsDataStreamsLegacyHeadersEnabled"/>
3028
/// </summary>
31-
public const string DataStreamsLegacyHeaders = "DD_DATA_STREAMS_LEGACY_HEADERS";
29+
public const string LegacyHeadersEnabled = "DD_DATA_STREAMS_LEGACY_HEADERS";
3230
}
3331
}

tracer/src/Datadog.Trace/Generated/net461/Datadog.Trace.SourceGenerators/ConfigurationKeysGenerator/ConfigurationKeys2.Debug.g.cs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,21 @@
88

99
// This file is auto-generated from supported-configurations.json and supported-configurations-docs.yaml
1010
// Do not edit this file directly. The source generator will regenerate it on build.
11-
// NOTE: If you remove keys/products from the JSON, run 'dotnet clean' to remove old generated files.
12-
11+
// NOTE: If you remove keys/products from the JSON, run 'dotnet clean' and remove old generated files.
1312
namespace Datadog.Trace.Configuration;
1413

1514
internal static partial class ConfigurationKeys2
1615
{
1716
internal static class Debug
1817
{
19-
2018
/// <summary>
2119
/// Configuration key for forcing the automatic instrumentation to only use the fallback method lookup mechanism.
2220
/// </summary>
23-
public const string TraceDebugLookupFallback = "DD_TRACE_DEBUG_LOOKUP_FALLBACK";
21+
public const string ForceFallbackLookup = "DD_TRACE_DEBUG_LOOKUP_FALLBACK";
2422

2523
/// <summary>
2624
/// Configuration key for forcing the automatic instrumentation to only use the mdToken method lookup mechanism.
2725
/// </summary>
28-
public const string TraceDebugLookupMdtoken = "DD_TRACE_DEBUG_LOOKUP_MDTOKEN";
26+
public const string ForceMdTokenLookup = "DD_TRACE_DEBUG_LOOKUP_MDTOKEN";
2927
}
3028
}

0 commit comments

Comments
 (0)