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

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.76%. Comparing base (a82587f) to head (2da57ea).
Report is 1 commits behind head on 2.15.

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.15    #1323      +/-   ##
============================================
+ Coverage     68.58%   68.76%   +0.18%     
- Complexity     3574     3584      +10     
============================================
  Files           404      404              
  Lines         20016    20035      +19     
  Branches       2041     2042       +1     
============================================
+ Hits          13727    13777      +50     
+ Misses         5272     5238      -34     
- Partials       1017     1020       +3     
Flag Coverage Δ
68.76% <62.06%> (?)

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

security ci failign at docker stage

CI failure due to testGetFindings_bySeverity_success
known flaky test

@eirsep eirsep merged commit 5cb2dd4 into 2.15 Sep 25, 2024
24 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