Skip to content

[v2] JWT Decoding Processor#401

Merged
Anilm3 merged 3 commits into
anilm3/v2from
anilm3/v2-jwt-decoder
May 8, 2025
Merged

[v2] JWT Decoding Processor#401
Anilm3 merged 3 commits into
anilm3/v2from
anilm3/v2-jwt-decoder

Conversation

@Anilm3

@Anilm3 Anilm3 commented May 6, 2025

Copy link
Copy Markdown
Collaborator

This PR ports #400 to v2.

@Anilm3
Anilm3 requested a review from a team as a code owner May 6, 2025 20:44
@codecov-commenter

codecov-commenter commented May 6, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 82.75862% with 10 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (anilm3/v2@f979ccf). Learn more about missing BASE report.

Files with missing lines Patch % Lines
src/json_utils.cpp 84.84% 3 Missing and 2 partials ⚠️
src/processor/jwt_decode.cpp 80.00% 0 Missing and 5 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             anilm3/v2     #401   +/-   ##
============================================
  Coverage             ?   85.27%           
============================================
  Files                ?      169           
  Lines                ?     8714           
  Branches             ?     3712           
============================================
  Hits                 ?     7431           
  Misses               ?      505           
  Partials             ?      778           
Flag Coverage Δ
waf_test 85.27% <82.75%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

Comment thread src/json_utils.cpp Outdated
Comment thread src/json_utils.cpp Outdated
@Anilm3
Anilm3 merged commit 000d5c2 into anilm3/v2 May 8, 2025
@Anilm3
Anilm3 deleted the anilm3/v2-jwt-decoder branch May 8, 2025 14:36
Anilm3 added a commit that referenced this pull request Oct 1, 2025
* Object view: read only abstraction to ddwaf_object (#341)
* [v2] Remove mingw builds (#381)
* Writable objects: owned and borrowed object and object limits removal (#378, #382)
* [v2] Refactor and improve object types (#387)
* [v2] Update unit tests to use new abstractions (#389)
* [v2] Update `raw_configuration` type to use `object_view` (#390)
* [v2] Remove remaining uses of ddwaf_object in `src` and `tests/unit` (#391)
* [v2] JWT Decoding Processor (#401)
* [v2] First iteration of object layout changes (#394)
* Split context data insertion from evaluation (#407)
* [v2] Second iteration of object layout changes (#408)
* [v2] Add new fingerprint and object view tests (#414)
* Reenable attribute collector unit test (#415)
* [v2] Container view types (#413)
* Exclude assertions from coverage (#416)
* [v2] Use allocators internally instead of malloc/free and stop generating zero-terminated strings (#418)
* Add memory resource to owned and borrowed objects (#428)
* [v2] Propagate allocators from context (#420)
* [v2] Update interface and expose allocators (#427)
* Refactor evaluation stages out of the context (#442)
* Subcontext: replace ephemerals with a new scope with user-defined lifetime derived from the context (#443)
* Validator: Add support for testing subcontexts and attributes (#451)
* [v2] Pass allocator to context and subcontext eval and add new allocators (#452)
* Update logger to avoid dependencies on ddwaf.h (#453)
* [v2] Return DDWAF_MATCH when there are events, attributes or actions (#455)
* [v2] Cleanup: remove exclusion namespace and some redundant references (#456)
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.

3 participants