-
Notifications
You must be signed in to change notification settings - Fork 75
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
Adding WAF Log type #617
Adding WAF Log type #617
Conversation
Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com>
Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com>
Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com>
Codecov Report
@@ Coverage Diff @@
## main #617 +/- ##
============================================
+ Coverage 25.02% 25.06% +0.04%
- Complexity 943 947 +4
============================================
Files 255 255
Lines 11155 11155
Branches 1250 1250
============================================
+ Hits 2791 2796 +5
+ Misses 8110 8107 -3
+ Partials 254 252 -2 |
Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com>
Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com>
Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com>
LGTM but plz add tests for end-to-end flow i.e create waf log type detector, ingest docs and assert findings, alerts etc. |
@eirsep Thanks for reviewing. In the following test added, I did create a detector and verified (asserted) percolate queries (via number of rules to be matched) generated. I agree on having an IT as a follow up change for verifying the end to end flow across all PRs. |
* Adding WAF Log type Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com> * Minor refactoring Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com> * Fix duplicate keys Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com> * Test fix Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com> * test fix Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com> * Adding custom log specific to aws waf Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com> * Add Security category to waf logtype Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com> --------- Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com> (cherry picked from commit 115ae95)
* Adding WAF Log type Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com> * Minor refactoring Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com> * Fix duplicate keys Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com> * Test fix Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com> * test fix Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com> * Adding custom log specific to aws waf Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com> * Add Security category to waf logtype Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com> --------- Signed-off-by: Sandesh Kumar <sandeshkr419@gmail.com> (cherry picked from commit 115ae95)
Description
Adding WAF log type as a pre-packaged rule
Issues Resolved
Resolves #573
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.