Skip to content

[APPSEC-11052] Fix a bug with ASM span tags reporting the number of WAF failed loaded rules#3106

Merged
GustavoCaso merged 1 commit into
masterfrom
fix-issue-with-reporting-failed-loaded-waf-rules
Sep 4, 2023
Merged

[APPSEC-11052] Fix a bug with ASM span tags reporting the number of WAF failed loaded rules#3106
GustavoCaso merged 1 commit into
masterfrom
fix-issue-with-reporting-failed-loaded-waf-rules

Conversation

@GustavoCaso

@GustavoCaso GustavoCaso commented Sep 4, 2023

Copy link
Copy Markdown
Contributor

What does this PR do?

Fix a bug introduced on #3087

Reported the loaded rules count on the _dd.appsec.event_rules.error_count tag.

I also, added a new system test scenario on our GH actions to avoid introducing a regression again.

Motivation:

Additional Notes:

How to test the change?

For Datadog employees:

  • If this PR touches code that signs or publishes builds or packages, or handles
    credentials of any kind, I've requested a review from @DataDog/security-design-and-guidance.
  • This PR doesn't touch any of that.

Unsure? Have a question? Request a review!

@GustavoCaso
GustavoCaso requested a review from a team September 4, 2023 15:31
@github-actions github-actions Bot added appsec Application Security monitoring product integrations Involves tracing integrations labels Sep 4, 2023

@ivoanjo ivoanjo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 LGTM

@codecov-commenter

codecov-commenter commented Sep 4, 2023

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.15%. Comparing base (f2c8241) to head (43d2564).
⚠️ Report is 6424 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3106      +/-   ##
==========================================
- Coverage   98.16%   98.15%   -0.01%     
==========================================
  Files        1323     1323              
  Lines       75155    75155              
  Branches     3428     3428              
==========================================
- Hits        73773    73772       -1     
- Misses       1382     1383       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@GustavoCaso
GustavoCaso merged commit f9c30b2 into master Sep 4, 2023
@GustavoCaso
GustavoCaso deleted the fix-issue-with-reporting-failed-loaded-waf-rules branch September 4, 2023 15:47
@github-actions github-actions Bot added this to the 1.15.0 milestone Sep 4, 2023
@GustavoCaso GustavoCaso changed the title Fix a bug with ASM span tags reporting the number of WAF failed loaded rules [APPSEC-11052] Fix a bug with ASM span tags reporting the number of WAF failed loaded rules Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

appsec Application Security monitoring product integrations Involves tracing integrations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants