diff --git a/lib/datadog/appsec/remote.rb b/lib/datadog/appsec/remote.rb index 62717e6d6b4..a83e99a3639 100644 --- a/lib/datadog/appsec/remote.rb +++ b/lib/datadog/appsec/remote.rb @@ -23,6 +23,8 @@ class << self CAP_ASM_CUSTOM_RULES = 1 << 8 CAP_ASM_CUSTOM_BLOCKING_RESPONSE = 1 << 9 CAP_ASM_TRUSTED_IPS = 1 << 10 + CAP_ASM_PROCESSOR_OVERRIDES = 1 << 16 + CAP_ASM_CUSTOM_DATA_SCANNERS = 1 << 17 CAP_ASM_RASP_SSRF = 1 << 23 CAP_ASM_RASP_SQLI = 1 << 21 CAP_ASM_AUTO_USER_INSTRUM_MODE = 1 << 31 @@ -43,6 +45,8 @@ class << self CAP_ASM_CUSTOM_RULES, CAP_ASM_CUSTOM_BLOCKING_RESPONSE, CAP_ASM_TRUSTED_IPS, + CAP_ASM_PROCESSOR_OVERRIDES, + CAP_ASM_CUSTOM_DATA_SCANNERS, CAP_ASM_RASP_SSRF, CAP_ASM_RASP_SQLI, CAP_ASM_AUTO_USER_INSTRUM_MODE, diff --git a/sig/datadog/appsec/remote.rbs b/sig/datadog/appsec/remote.rbs index 9c297a00834..5aac331070c 100644 --- a/sig/datadog/appsec/remote.rbs +++ b/sig/datadog/appsec/remote.rbs @@ -29,6 +29,10 @@ module Datadog CAP_ASM_TRUSTED_IPS: ::Integer + CAP_ASM_PROCESSOR_OVERRIDES: ::Integer + + CAP_ASM_CUSTOM_DATA_SCANNERS: ::Integer + CAP_ASM_RASP_SSRF: ::Integer CAP_ASM_RASP_SQLI: ::Integer diff --git a/spec/datadog/appsec/remote_spec.rb b/spec/datadog/appsec/remote_spec.rb index f25f95e7c30..b4e91a0907a 100644 --- a/spec/datadog/appsec/remote_spec.rb +++ b/spec/datadog/appsec/remote_spec.rb @@ -21,7 +21,7 @@ it 'returns capabilities' do expect(described_class.capabilities).to eq([ - 4, 128, 16, 32, 64, 8, 256, 512, 1024, 8_388_608, 2_097_152, 2_147_483_648, + 4, 128, 16, 32, 64, 8, 256, 512, 1024, 65_536, 131_072, 8_388_608, 2_097_152, 2_147_483_648, 4_294_967_296, 8_589_934_592, 17_179_869_184, 34_359_738_368, 8_796_093_022_208 ]) end