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

Support for per-input transformers #170

Merged
merged 3 commits into from
May 16, 2023
Merged

Conversation

Anilm3
Copy link
Collaborator

@Anilm3 Anilm3 commented May 10, 2023

Support per-input transformers with the schema of the following example:

"inputs": [
  {
    "address": "http.client_ip",
    "key_path": [],
    "transformers": []
  }
],

@Anilm3 Anilm3 marked this pull request as ready for review May 11, 2023 13:24
@Anilm3 Anilm3 requested review from Taiki-San, cataphract and estringana and removed request for Taiki-San May 11, 2023 13:25
@codecov-commenter
Copy link

Codecov Report

Merging #170 (f8235da) into master (ce0dd1e) will increase coverage by 0.27%.
The diff coverage is 57.44%.

@@            Coverage Diff             @@
##           master     #170      +/-   ##
==========================================
+ Coverage   63.82%   64.09%   +0.27%     
==========================================
  Files          65       65              
  Lines        3267     3284      +17     
  Branches     1527     1533       +6     
==========================================
+ Hits         2085     2105      +20     
+ Misses        314      308       -6     
- Partials      868      871       +3     
Flag Coverage Δ
waf_test 64.09% <57.44%> (+0.27%) ⬆️

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

Impacted Files Coverage Δ
src/parser/parser_v1.cpp 24.50% <0.00%> (-0.25%) ⬇️
src/parser/parser_v2.cpp 41.94% <54.83%> (+1.56%) ⬆️
src/condition.cpp 55.00% <60.00%> (+1.66%) ⬆️
src/PWTransformer.cpp 80.95% <100.00%> (+1.09%) ⬆️
src/condition.hpp 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@Anilm3 Anilm3 requested a review from cataphract May 15, 2023 19:22
@Anilm3 Anilm3 merged commit 34bd843 into master May 16, 2023
@Anilm3 Anilm3 deleted the anilm3/per-input-transformers branch May 16, 2023 09:47
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.

4 participants