Add block ID to block & redirect action parameters & event#459
Conversation
3f8c6e9 to
9893f9c
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #459 +/- ##
==========================================
- Coverage 85.23% 85.23% -0.01%
==========================================
Files 186 186
Lines 9347 9366 +19
Branches 4138 4154 +16
==========================================
+ Hits 7967 7983 +16
Misses 551 551
- Partials 829 832 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
9893f9c to
e474a61
Compare
Artifact Size Comparison 📦
|
Benchmarks clangBenchmark execution time: 2025-09-26 13:27:34 Comparing candidate commit 7d29c2f in PR branch Found 1 performance improvements and 0 performance regressions! Performance is the same for 0 metrics, 0 unstable metrics. scenario:global-benchmark.random.clang
|
|
@codex review |
|
Codex Review: Didn't find any major issues. What shall we delve into next? ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting |
Benchmarks clang-pgoBenchmark execution time: 2025-09-26 13:42:53 Comparing candidate commit 7d29c2f in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 1 metrics, 0 unstable metrics. |
a02c2dc to
7d29c2f
Compare
df178ae to
7d29c2f
Compare
This PR introduces an ID to the
block_requestandredirect_requestaction parameters, as well as the underlying event. This allows the WAF caller to link an event which resulted in a blocking action to the response provided to the actual application user (.e.g by displaying the ID in the HTML).The generated ID is a UUIDv4 and it'll be included in the result as follows:
This feature is defined in RFC-1070.
Related Jiras: APPSEC-59279