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.17] threat intel monitor bug fixes #1322

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.75%. Comparing base (66c4284) to head (1ac6710).
Report is 1 commits behind head on 2.17.

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.17    #1322      +/-   ##
============================================
+ Coverage     68.59%   68.75%   +0.15%     
- Complexity     3575     3583       +8     
============================================
  Files           404      404              
  Lines         20019    20038      +19     
  Branches       2041     2042       +1     
============================================
+ Hits          13733    13777      +44     
+ Misses         5269     5240      -29     
- Partials       1017     1021       +4     
Flag Coverage Δ
68.75% <62.06%> (+0.15%) ⬆️

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 in upload artifacts step after tests passed. infra issue not code blocker

@eirsep eirsep merged commit d7e9295 into 2.17 Sep 25, 2024
27 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