Sigma Aggregation rule fixes#622
Merged
sbcd90 merged 3 commits intoopensearch-project:mainfrom Oct 4, 2023
Merged
Conversation
Codecov Report
@@ Coverage Diff @@
## main #622 +/- ##
============================================
+ Coverage 25.04% 25.09% +0.04%
- Complexity 943 947 +4
============================================
Files 255 255
Lines 11123 11142 +19
Branches 1242 1247 +5
============================================
+ Hits 2786 2796 +10
- Misses 8086 8094 +8
- Partials 251 252 +1
|
Member
|
plz update the desription describing the changes being made |
eirsep
reviewed
Oct 2, 2023
| " category: test_category\n" + | ||
| " product: test_product\n" + | ||
| " detection:\n" + | ||
| " timeframe: 5m\n" + |
Member
There was a problem hiding this comment.
do we need to add documentation or does sigma have a format which we support for timevalue?
Collaborator
Author
There was a problem hiding this comment.
sigma has a format which supports timeframe. https://github.com/SigmaHQ/sigma-specification/blob/main/Sigma_specification.md#timeframe
eirsep
reviewed
Oct 2, 2023
| : QueryBuilders.boolQuery().must(searchSourceBuilder.query()); | ||
| RangeQueryBuilder timeRangeFilter = QueryBuilders.rangeQuery(TIMESTAMP_FIELD_ALIAS) | ||
| .gt("{{period_end}}||-1h") | ||
| .gt("{{period_end}}||-" + aggItem.getTimeframe()) |
Member
There was a problem hiding this comment.
if timeframe is not set is there a default value
Signed-off-by: Subhobrata Dey <sbcd90@gmail.com>
Signed-off-by: Subhobrata Dey <sbcd90@gmail.com>
eirsep
approved these changes
Oct 4, 2023
lezzago
approved these changes
Oct 4, 2023
opensearch-trigger-bot bot
pushed a commit
that referenced
this pull request
Oct 4, 2023
Signed-off-by: Subhobrata Dey <sbcd90@gmail.com> (cherry picked from commit b838dd8)
opensearch-trigger-bot bot
pushed a commit
that referenced
this pull request
Oct 4, 2023
Signed-off-by: Subhobrata Dey <sbcd90@gmail.com> (cherry picked from commit b838dd8)
sbcd90
pushed a commit
that referenced
this pull request
Oct 4, 2023
sbcd90
pushed a commit
that referenced
this pull request
Oct 4, 2023
riysaxen-amzn
pushed a commit
to riysaxen-amzn/security-analytics
that referenced
this pull request
Feb 20, 2024
* [FEATURE] Improve "list" text area UX opensearch-project#589 Use expression builder instead of code editor Signed-off-by: Jovan Cvetkovic <jovanca.cvetkovic@gmail.com> * [FEATURE] Improve "list" text area UX opensearch-project#589 Use expression builder instead of code editor Signed-off-by: Jovan Cvetkovic <jovanca.cvetkovic@gmail.com> * [FEATURE] Improve "list" text area UX opensearch-project#589 Use expression builder instead of code editor Signed-off-by: Jovan Cvetkovic <jovanca.cvetkovic@gmail.com> * [FEATURE] Improve "list" text area UX opensearch-project#589 Use expression builder instead of code editor Signed-off-by: Jovan Cvetkovic <jovanca.cvetkovic@gmail.com> * Change the order of the sections in the "Create detection rule" page opensearch-project#586 Signed-off-by: Jovan Cvetkovic <jovanca.cvetkovic@gmail.com> * Code review Signed-off-by: Jovan Cvetkovic <jovanca.cvetkovic@gmail.com> * Code review Signed-off-by: Jovan Cvetkovic <jovanca.cvetkovic@gmail.com> * bugfix for tags validation Signed-off-by: Jovan Cvetkovic <jovanca.cvetkovic@gmail.com> * [FEATURE] Change the order of the sections in the "Create detection rule" page opensearch-project#586 [FEATURE] Improve the Create detection rules - selection panel fields error notifications opensearch-project#601 [FEATURE] Improve the Create detection rules - selection panel condition field is not marked as invalid after submission opensearch-project#613 Signed-off-by: Jovan Cvetkovic <jovanca.cvetkovic@gmail.com> * [FEATURE] Change the order of the sections in the "Create detection rule" page opensearch-project#586 [FEATURE] Improve the Create detection rules - selection panel fields error notifications opensearch-project#601 [FEATURE] Improve the Create detection rules - selection panel condition field is not marked as invalid after submission opensearch-project#613 Signed-off-by: Jovan Cvetkovic <jovanca.cvetkovic@gmail.com> * [FEATURE] Replace code editor with expression editor opensearch-project#602 Signed-off-by: Jovan Cvetkovic <jovanca.cvetkovic@gmail.com> * [FEATURE] Replace code editor with expression editor opensearch-project#602 Signed-off-by: Jovan Cvetkovic <jovanca.cvetkovic@gmail.com> * Improve text area ux and add expression UI opensearch-project#603 Signed-off-by: Jovan Cvetkovic <jovanca.cvetkovic@gmail.com> * Cypress cases for detectors and rules, validate forms and fields Signed-off-by: Jovan Cvetkovic <jovanca.cvetkovic@gmail.com> * Cypress cases for detectors and rules, validate forms and fields Signed-off-by: Jovan Cvetkovic <jovanca.cvetkovic@gmail.com> * Cypress cases for detectors and rules, validate forms and fields Signed-off-by: Jovan Cvetkovic <jovanca.cvetkovic@gmail.com> * Cypress cases for detectors and rules, validate forms and fields Signed-off-by: Jovan Cvetkovic <jovanca.cvetkovic@gmail.com> * Cypress cases for detectors and rules, validate forms and fields Signed-off-by: Jovan Cvetkovic <jovanca.cvetkovic@gmail.com> * Cypress cases for detectors and rules, validate forms and fields Signed-off-by: Jovan Cvetkovic <jovanca.cvetkovic@gmail.com> * Cypress cases for detectors and rules, validate forms and fields Signed-off-by: Jovan Cvetkovic <jovanca.cvetkovic@gmail.com> * Cypress cases for detectors and rules, validate forms and fields Signed-off-by: Jovan Cvetkovic <jovanca.cvetkovic@gmail.com> * Code review Change the order of the sections opensearch-project#622 Signed-off-by: Jovan Cvetkovic <jovanca.cvetkovic@gmail.com> --------- Signed-off-by: Jovan Cvetkovic <jovanca.cvetkovic@gmail.com>
riysaxen-amzn
pushed a commit
to riysaxen-amzn/security-analytics
that referenced
this pull request
Mar 25, 2024
…#622) (opensearch-project#623) Signed-off-by: Surya Sashank Nistala <snistala@amazon.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Sigma Aggregation rule fixes
Issues Resolved
#458
#558
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.