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

[Backport 2.x] threat intel monitor bug fixes #1321

Merged
merged 1 commit into from
Sep 25, 2024
Merged

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 39c29d4 from #1317.

* handle exception arising from trying to search with sort on empty index

Signed-off-by: Surya Sashank Nistala <[email protected]>

* add setting to test max term count in threat intel ioc scan terms query and verify grouped listener wiring

Signed-off-by: Surya Sashank Nistala <[email protected]>

* remove unused variable

Signed-off-by: Surya Sashank Nistala <[email protected]>

* avoid grouped listener being initiated with size 0

Signed-off-by: Surya Sashank Nistala <[email protected]>

* add verification that empty index scan is handled gracefully

Signed-off-by: Surya Sashank Nistala <[email protected]>

---------

Signed-off-by: Surya Sashank Nistala <[email protected]>
(cherry picked from commit 39c29d4)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Copy link

codecov bot commented Sep 24, 2024

Codecov Report

Attention: Patch coverage is 62.06897% with 11 lines in your changes missing coverage. Please review.

Project coverage is 68.74%. Comparing base (4d88844) to head (b69471c).
Report is 1 commits behind head on 2.x.

Files with missing lines Patch % Lines
...cs/threatIntel/iocscan/service/IoCScanService.java 0.00% 4 Missing and 1 partial ⚠️
...nitor/TransportThreatIntelMonitorFanOutAction.java 61.53% 5 Missing ⚠️
.../threatIntel/iocscan/service/SaIoCScanService.java 88.88% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                2.x    #1321      +/-   ##
============================================
+ Coverage     68.54%   68.74%   +0.19%     
- Complexity     3574     3583       +9     
============================================
  Files           404      404              
  Lines         20018    20037      +19     
  Branches       2041     2042       +1     
============================================
+ Hits          13721    13774      +53     
+ Misses         5278     5242      -36     
- Partials       1019     1021       +2     
Flag Coverage Δ
68.74% <62.06%> (+0.19%) ⬆️

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.

@eirsep
Copy link
Member

eirsep commented Sep 25, 2024

ci failure is from known flaky test testGetFindings_byDetectionType_success

@eirsep eirsep merged commit 2958d18 into 2.x Sep 25, 2024
29 of 33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants