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] [Bug] Add exists check for IOCs index. #1394

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 4432b36 from #1392.

* Added check to prevent resource_already_exists_exception when indexing more than 10k iocs.

Signed-off-by: AWSHurneyt <[email protected]>

* Changed log message.

Signed-off-by: AWSHurneyt <[email protected]>

---------

Signed-off-by: AWSHurneyt <[email protected]>
(cherry picked from commit 4432b36)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Copy link

codecov bot commented Oct 25, 2024

Codecov Report

Attention: Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.

Project coverage is 69.16%. Comparing base (8077fc7) to head (902082f).
Report is 1 commits behind head on 2.x.

Files with missing lines Patch % Lines
.../securityanalytics/services/STIX2IOCFeedStore.java 0.00% 4 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                2.x    #1394      +/-   ##
============================================
+ Coverage     69.00%   69.16%   +0.15%     
- Complexity     3606     3608       +2     
============================================
  Files           405      405              
  Lines         20122    20126       +4     
  Branches       2046     2046              
============================================
+ Hits          13886    13920      +34     
+ Misses         5213     5182      -31     
- Partials       1023     1024       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@AWSHurneyt AWSHurneyt merged commit 7c9792a into 2.x Oct 25, 2024
18 of 19 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