From a18c05c5cfa910a79cd3d2aecd33f055be6aa235 Mon Sep 17 00:00:00 2001 From: Andrew Munn Date: Mon, 1 Apr 2024 12:03:20 -0400 Subject: [PATCH] Expand remote config ClientInfo (#6863) Expand remote config client info --- .../remoteconfig/tuf/RemoteConfigRequest.java | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/remote-config/src/main/java/datadog/remoteconfig/tuf/RemoteConfigRequest.java b/remote-config/src/main/java/datadog/remoteconfig/tuf/RemoteConfigRequest.java index 7e96d5d806c..dee7e99c743 100644 --- a/remote-config/src/main/java/datadog/remoteconfig/tuf/RemoteConfigRequest.java +++ b/remote-config/src/main/java/datadog/remoteconfig/tuf/RemoteConfigRequest.java @@ -53,7 +53,7 @@ public ClientInfo getClient() { /** Stores client information for Remote Configuration */ public static class ClientInfo { - // This bitset is reserved according to the Remote Config spec + // This bitset is reserved according to the Remote Config spec. public static final long CAPABILITY_ASM_ACTIVATION = 1 << 1; public static final long CAPABILITY_ASM_IP_BLOCKING = 1 << 2; public static final long CAPABILITY_ASM_DD_RULES = 1 << 3; @@ -64,7 +64,6 @@ public static class ClientInfo { public static final long CAPABILITY_ASM_CUSTOM_RULES = 1 << 8; public static final long CAPABILITY_ASM_CUSTOM_BLOCKING_RESPONSE = 1 << 9; public static final long CAPABILITY_ASM_TRUSTED_IPS = 1 << 10; - public static final long CAPABILITY_ASM_API_SECURITY_SAMPLE_RATE = 1 << 11; public static final long CAPABILITY_APM_TRACING_SAMPLE_RATE = 1 << 12; public static final long CAPABILITY_APM_LOGS_INJECTION = 1 << 13; @@ -75,6 +74,15 @@ public static class ClientInfo { public static final long CAPABILITY_ASM_EXCLUSION_DATA = 1 << 18; public static final long CAPABILITY_APM_TRACING_TRACING_ENABLED = 1 << 19; public static final long CAPABILITY_APM_TRACING_DATA_STREAMS_ENABLED = 1 << 20; + public static final long CAPABILITY_ASM_RASP_SQLI = 1 << 21; + public static final long CAPABILITY_ASM_RASP_LFI = 1 << 22; + public static final long CAPABILITY_ASM_RASP_SSRF = 1 << 23; + public static final long CAPABILITY_ASM_RASP_SHI = 1 << 24; + public static final long CAPABILITY_ASM_RASP_XXE = 1 << 25; + public static final long CAPABILITY_ASM_RASP_RCE = 1 << 26; + public static final long CAPABILITY_ASM_RASP_NOSQLI = 1 << 27; + public static final long CAPABILITY_ASM_RASP_XSS = 1 << 28; + public static final long CAPABILITY_APM_TRACING_SAMPLE_RULES = 1 << 29; @Json(name = "state") private final ClientState clientState;