Skip to content

Commit

Permalink
[ruby] Enable IP blocking tests for Ruby (#3937)
Browse files Browse the repository at this point in the history
  • Loading branch information
y9v authored Feb 6, 2025
1 parent b0abfc0 commit 33fb903
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions manifests/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ tests/:
test_identify.py:
Test_Basic: v1.0.0
test_ip_blocking_full_denylist.py:
Test_AppSecIPBlockingFullDenylist: missing_feature (Ruby supported denylists of 2500 entries but it fails to block this those 15000)
Test_AppSecIPBlockingFullDenylist: v2.9.0
test_logs.py:
Test_Standardization: missing_feature
Test_StandardizationBlockMode: missing_feature
Expand Down Expand Up @@ -306,7 +306,7 @@ tests/:
Test_ExternalWafRequestsIdentification: v1.22.0
Test_RetainTraces: v0.54.2
test_user_blocking_full_denylist.py:
Test_UserBlocking_FullDenylist: missing_feature (Ruby supported denylists of 2500 entries but it fails to block this those 15000)
Test_UserBlocking_FullDenylist: v2.9.0
test_versions.py:
Test_Events: v0.54.2
debugger/:
Expand Down
2 changes: 1 addition & 1 deletion tests/appsec/test_ip_blocking_full_denylist.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# This product includes software developed at Datadog (https://www.datadoghq.com/).
# Copyright 2021 Datadog, Inc.


from utils import weblog, context, interfaces, rfc, bug, scenarios, missing_feature, features

from .utils import BaseFullDenyListTest
Expand All @@ -27,6 +26,7 @@ def setup_blocked_ips(self):

@missing_feature(weblog_variant="spring-boot" and context.library < "[email protected]")
@bug(context.library >= "[email protected]" and context.library < "[email protected]", reason="APMRP-360")
@bug(context.library < "[email protected]", reason="APMRP-56691")
def test_blocked_ips(self):
"""Test blocked ips are enforced"""

Expand Down
1 change: 1 addition & 0 deletions tests/appsec/test_user_blocking_full_denylist.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def setup_blocking_test(self):
@bug(context.library < "[email protected]", reason="APMRP-360")
@bug(context.library >= "[email protected]" and context.library < "[email protected]", reason="APMRP-360")
@bug(library="java", weblog_variant="spring-boot-payara", reason="APPSEC-56006")
@bug(context.library < "[email protected]", reason="APMRP-56691")
def test_blocking_test(self):
"""Test with a denylisted user"""

Expand Down

0 comments on commit 33fb903

Please sign in to comment.