Skip to content

Commit b8cd9b4

Browse files
[AAP] Add latest supported waf capabilities to RC (#7332)
## Summary of changes Added `ASM_DD_MULTICONFIG `and `ASM_TRACE_TAGGING_RULES` ## Reason for change From this [RFC](https://docs.google.com/document/d/1bqDtGgMJgsTW6I16iEcRn1lb9RRQjFRDGim8zRrbs0s/edit?tab=t.0) ## Implementation details ## Test coverage ## Other details <!-- Fixes #{issue} --> <!-- ⚠️ Note: Where possible, please obtain 2 approvals prior to merging. Unless CODEOWNERS specifies otherwise, for external teams it is typically best to have one review from a team member, and one review from apm-dotnet. Trivial changes do not require 2 reviews. MergeQueue is NOT enabled in this repository. If you have write access to the repo, the PR has 1-2 approvals (see above), and all of the required checks have passed, you can use the Squash and Merge button to merge the PR. If you don't have write access, or you need help, reach out in the #apm-dotnet channel in Slack. -->
1 parent fe93861 commit b8cd9b4

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

tracer/src/Datadog.Trace/AppSec/Waf/RCMCapabilitiesHelper.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ internal static class RCMCapabilitiesHelper
2929
{ RcmCapabilitiesIndices.AsmRaspShi, new Version(1, 19) },
3030
{ RcmCapabilitiesIndices.AsmExclusionData, new Version(1, 19) },
3131
{ RcmCapabilitiesIndices.AsmRaspCmd, new Version(1, 21) },
32+
{ RcmCapabilitiesIndices.AsmDdMulticonfig, new Version(1, 27) },
33+
{ RcmCapabilitiesIndices.AsmTraceTaggingRules, new Version(1, 27) },
3234
};
3335

3436
internal static bool WafSupportsCapability(BigInteger capability, string? wafVersion)

tracer/src/Datadog.Trace/RemoteConfigurationManagement/RcmCapabilitiesIndices.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,18 @@ internal static class RcmCapabilitiesIndices
8585

8686
public static readonly BigInteger AsmRaspCmd = Create(37);
8787

88+
public static readonly BigInteger ApmTracingEnabledDynamicInstrumentation = Create(38);
89+
90+
public static readonly BigInteger ApmTracingEnableExceptionReplay = Create(39);
91+
92+
public static readonly BigInteger ApmTracingEnableCodeOrigin = Create(40);
93+
94+
public static readonly BigInteger ApmTracingEnableLiveDebugging = Create(41);
95+
96+
public static readonly BigInteger AsmDdMulticonfig = Create(42);
97+
98+
public static readonly BigInteger AsmTraceTaggingRules = Create(43);
99+
88100
private static BigInteger Create(int index) => new(1UL << index);
89101
}
90102
}

0 commit comments

Comments
 (0)