Skip to content

Commit 697c507

Browse files
authored
Merge pull request #2829 from DataDog/remove-asm-custom-rules-capability
Remove ASM_CUSTOM_RULES capability
2 parents d090948 + af72ecf commit 697c507

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

lib/datadog/appsec/remote.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ class << self
2626
ASM_CAPABILITIES = [
2727
CAP_ASM_IP_BLOCKING,
2828
CAP_ASM_USER_BLOCKING,
29-
CAP_ASM_CUSTOM_RULES,
3029
CAP_ASM_EXCLUSIONS,
3130
CAP_ASM_REQUEST_BLOCKING,
3231
CAP_ASM_RESPONSE_BLOCKING,

spec/datadog/appsec/remote_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
end
2121

2222
it 'returns capabilities' do
23-
expect(described_class.capabilities).to eq([4, 128, 256, 16, 32, 64, 8])
23+
expect(described_class.capabilities).to eq([4, 128, 16, 32, 64, 8])
2424
end
2525
end
2626
end

spec/datadog/core/remote/client/capabilities_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858

5959
describe '#base64_capabilities' do
6060
it 'returns binary capabilities' do
61-
expect(capabilities.base64_capabilities).to eq('Afw=')
61+
expect(capabilities.base64_capabilities).to eq('/A==')
6262
end
6363
end
6464
end

0 commit comments

Comments
 (0)