-
Notifications
You must be signed in to change notification settings - Fork 76
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
correlation rule search, delete and edit api #476
Conversation
Signed-off-by: Subhobrata Dey <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #476 +/- ##
============================================
- Coverage 28.23% 28.18% -0.05%
- Complexity 906 940 +34
============================================
Files 235 236 +1
Lines 9443 9863 +420
Branches 1081 1118 +37
============================================
+ Hits 2666 2780 +114
- Misses 6545 6841 +296
- Partials 232 242 +10
|
); | ||
} | ||
|
||
@Override | ||
protected RestChannelConsumer prepareRequest(RestRequest request, NodeClient client) throws IOException { | ||
log.debug(String.format(Locale.ROOT, "%s %s", request.method(), SecurityAnalyticsPlugin.CORRELATION_RULES_BASE_URI)); | ||
|
||
String id = request.param("rule_id", CorrelationRule.NO_ID); | ||
String id = request.param("correlation_rule_id", CorrelationRule.NO_ID); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this a breaking change from previous version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this piece of code was not used in previous releases. today while writing integ tests i found this error. so changed this.
Signed-off-by: Subhobrata Dey <[email protected]> (cherry picked from commit 61715cd)
Description
correlation rule search, delete and edit api
Issues Resolved
[List any issues this PR will resolve]
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.