Skip to content

Add test to remotely disable Stripe rules#7006

Draft
simon-id wants to merge 5 commits into
stripe_default_rulesfrom
stripe_rc_disable
Draft

Add test to remotely disable Stripe rules#7006
simon-id wants to merge 5 commits into
stripe_default_rulesfrom
stripe_rc_disable

Conversation

@simon-id
Copy link
Copy Markdown
Member

@simon-id simon-id commented May 22, 2026

Changes

Test that remote config is capable of disabling Stripe integrations

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 22, 2026

CODEOWNERS have been resolved as:

manifests/nodejs.yml                                                    @DataDog/dd-trace-js
manifests/python.yml                                                    @DataDog/apm-python @DataDog/asm-python
tests/appsec/test_automated_payment_events.py                           @DataDog/asm-libraries @DataDog/system-tests-core
utils/_context/_scenarios/default.py                                    @DataDog/system-tests-core

@datadog-datadog-prod-us1
Copy link
Copy Markdown

datadog-datadog-prod-us1 Bot commented May 22, 2026

Pipelines  Tests

Fix all issues with BitsAI

⚠️ Warnings

🚦 79 Pipeline jobs failed

Testing the test | System Tests (ruby, dev) / End-to-end #1 / rack 1   View in Datadog   GitHub Actions

🔧 Fix in code (Fix with Cursor). 1 failed test. AssertionError: missing span meta tag `_dd.appsec.event_rules.version` in meta at tests/appsec/waf/test_reports.py:35.

🧪 1 Test failed

tests.appsec.waf.test_reports.Test_Monitoring.test_waf_monitoring[rack] from system_tests_suite   View in Datadog (Fix with Cursor)
AssertionError: missing span meta tag \`_dd.appsec.event_rules.version\` in meta
assert '_dd.appsec.event_rules.version' in {'_dd.appsec.fp.http.endpoint': 'http-get-ce4235d7--', '_dd.appsec.fp.http.header': 'hdr-0010000000-0f9512c1-3-0f26605...', ...}}, 'rule_matches': [{'operator': 'match_regex', 'operator_value': '^Arachni\\/v', 'parameters': [...]}]}]}, ...}

self = <tests.appsec.waf.test_reports.Test_Monitoring object at 0x7f30f31fae10>

    def test_waf_monitoring(self):
        """WAF monitoring span tags and metrics are expected to be sent on each request"""
    
        # Tags that are expected to be reported on every request
        expected_rules_version_tag = "_dd.appsec.event_rules.version"
...

Testing the test | System Tests (ruby, dev) / End-to-end #1 / rails42 1   View in Datadog   GitHub Actions

🔧 Fix in code (Fix with Cursor). 1 failed test in Test_Monitoring: AssertionError for missing span meta tag `_dd.appsec.event_rules.version`.

🧪 1 Test failed

tests.appsec.waf.test_reports.Test_Monitoring.test_waf_monitoring[rails42] from system_tests_suite   View in Datadog (Fix with Cursor)
AssertionError: missing span meta tag \`_dd.appsec.event_rules.version\` in meta
assert '_dd.appsec.event_rules.version' in {'_dd.appsec.fp.http.endpoint': 'http-get-ce4235d7--', '_dd.appsec.fp.http.header': 'hdr-0010000000-5b357a5b-3-0f26605...', ...}}, 'rule_matches': [{'operator': 'match_regex', 'operator_value': '^Arachni\\/v', 'parameters': [...]}]}]}, ...}

self = <tests.appsec.waf.test_reports.Test_Monitoring object at 0x7f1bddd1da30>

    def test_waf_monitoring(self):
        """WAF monitoring span tags and metrics are expected to be sent on each request"""
    
        # Tags that are expected to be reported on every request
        expected_rules_version_tag = "_dd.appsec.event_rules.version"
...

Testing the test | System Tests (ruby, dev) / End-to-end #1 / rails52 1   View in Datadog   GitHub Actions

🔧 Fix in code (Fix with Cursor). 1 failed test. Assertion Error: missing span meta tag `_dd.appsec.event_rules.version` in meta at tests/appsec/waf/test_reports.py:35

🧪 1 Test failed

tests.appsec.waf.test_reports.Test_Monitoring.test_waf_monitoring[rails52] from system_tests_suite   View in Datadog (Fix with Cursor)
AssertionError: missing span meta tag \`_dd.appsec.event_rules.version\` in meta
assert '_dd.appsec.event_rules.version' in {'_dd.appsec.fp.http.endpoint': 'http-get-ce4235d7--', '_dd.appsec.fp.http.header': 'hdr-0010000000-6ec2dff0-3-0f26605...', ...}}, 'rule_matches': [{'operator': 'match_regex', 'operator_value': '^Arachni\\/v', 'parameters': [...]}]}]}, ...}

self = <tests.appsec.waf.test_reports.Test_Monitoring object at 0x7f01c5c82a50>

    def test_waf_monitoring(self):
        """WAF monitoring span tags and metrics are expected to be sent on each request"""
    
        # Tags that are expected to be reported on every request
        expected_rules_version_tag = "_dd.appsec.event_rules.version"
...

View all 79 failed jobs.

ℹ️ Info

No other issues found (see more)

❄️ No new flaky tests detected

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: a1057b3 | Docs | Datadog PR Page | Give us feedback!

@simon-id simon-id changed the title Stripe rc disable Add test to remotely disable Stripe rules May 22, 2026
@simon-id simon-id changed the base branch from main to stripe_default_rules May 22, 2026 14:17
Comment thread manifests/nodejs.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant