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

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.07%. Comparing base (0340a1f) to head (0bc494a).
Report is 1 commits behind head on 2.17.

Files with missing lines Patch % Lines
.../securityanalytics/services/STIX2IOCFeedStore.java 0.00% 4 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               2.17    #1397      +/-   ##
============================================
- Coverage     69.09%   69.07%   -0.02%     
  Complexity     3603     3603              
============================================
  Files           404      404              
  Lines         20123    20127       +4     
  Branches       2049     2049              
============================================
  Hits          13903    13903              
- Misses         5194     5198       +4     
  Partials       1026     1026              

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

@AWSHurneyt AWSHurneyt merged commit 7196ba8 into 2.17 Oct 25, 2024
25 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