Skip to content

Commit

Permalink
Expand remote config ClientInfo (#6863)
Browse files Browse the repository at this point in the history
Expand remote config client info
  • Loading branch information
am312 authored Apr 1, 2024
1 parent e49f1a1 commit a18c05c
Showing 1 changed file with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit a18c05c

Please sign in to comment.