Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix handling of AppSec actions passed with Remote Config #4497

Merged
merged 1 commit into from
Mar 14, 2025

Conversation

y9v
Copy link
Member

@y9v y9v commented Mar 14, 2025

What does this PR do?
This PR fixes parsing of actions that were passed via Remote Config for ASM product.

Motivation:
Custom configuration for blocking response done in Datadog UI was not parsed by our library.

Change log entry
Yes. AppSec: Fixed: Custom In-App WAF blocking response that was configured in the UI is now applied correctly.

Additional Notes:
None.

How to test the change?
CI and manual testing with app generator.

@y9v y9v self-assigned this Mar 14, 2025
@y9v y9v requested a review from a team as a code owner March 14, 2025 13:51
@github-actions github-actions bot added the appsec Application Security monitoring product label Mar 14, 2025
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.69%. Comparing base (a8d87cc) to head (a9165af).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4497      +/-   ##
==========================================
- Coverage   97.69%   97.69%   -0.01%     
==========================================
  Files        1381     1381              
  Lines       83954    83974      +20     
  Branches     4253     4255       +2     
==========================================
+ Hits        82021    82040      +19     
- Misses       1933     1934       +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.

@datadog-datadog-prod-us1
Copy link
Contributor

Datadog Report

Branch report: appsec-fix-remote-config-actions
Commit report: a9165af
Test service: dd-trace-rb

✅ 0 Failed, 20636 Passed, 1370 Skipped, 3m 24.07s Total Time

@pr-commenter
Copy link

pr-commenter bot commented Mar 14, 2025

Benchmarks

Benchmark execution time: 2025-03-14 14:07:07

Comparing candidate commit a9165af in PR branch appsec-fix-remote-config-actions with baseline commit a8d87cc in branch master.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 31 metrics, 2 unstable metrics.

Copy link
Member

@Strech Strech left a comment

Choose a reason for hiding this comment

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

Well done 👍🏼

@y9v y9v merged commit 781a7c6 into master Mar 14, 2025
462 checks passed
@y9v y9v deleted the appsec-fix-remote-config-actions branch March 14, 2025 14:58
@github-actions github-actions bot added this to the 2.13.0 milestone Mar 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
appsec Application Security monitoring product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants