Skip to content

[Backport 2.x] fixed GetFindings not searching all indices; fixed proper deletion of…#135

Merged
eirsep merged 1 commit into2.xfrom
backport/backport-122-to-2.x
Nov 9, 2022
Merged

[Backport 2.x] fixed GetFindings not searching all indices; fixed proper deletion of…#135
eirsep merged 1 commit into2.xfrom
backport/backport-122-to-2.x

Conversation

@opensearch-trigger-bot
Copy link
Copy Markdown
Contributor

Backport 8dd1c9f from #122

#122)

* fixed GetFindings not searching all indices; fixed proper deletion of old history indices

Signed-off-by: Petar Dzepina <petar.dzepina@gmail.com>
(cherry picked from commit 8dd1c9f)
@opensearch-trigger-bot opensearch-trigger-bot bot requested a review from a team November 9, 2022 20:17
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

Merging #135 (abef0ff) into 2.x (2f9a513) will decrease coverage by 0.00%.
The diff coverage is 22.22%.

@@             Coverage Diff              @@
##                2.x     #135      +/-   ##
============================================
- Coverage     39.24%   39.23%   -0.01%     
- Complexity      882      884       +2     
============================================
  Files           176      176              
  Lines          6659     6677      +18     
  Branches        809      811       +2     
============================================
+ Hits           2613     2620       +7     
- Misses         3807     3816       +9     
- Partials        239      241       +2     
Impacted Files Coverage Δ
...indexmanagment/DetectorIndexManagementService.java 0.00% <0.00%> (ø)
...alytics/config/monitors/DetectorMonitorConfig.java 53.84% <35.29%> (-1.71%) ⬇️
...search/securityanalytics/alerts/AlertsService.java 21.90% <50.00%> (ø)
...ch/securityanalytics/findings/FindingsService.java 39.70% <50.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@eirsep eirsep merged commit 1a2a5f8 into 2.x Nov 9, 2022
@github-actions github-actions bot deleted the backport/backport-122-to-2.x branch November 9, 2022 22:33
riysaxen-amzn pushed a commit to riysaxen-amzn/security-analytics that referenced this pull request Feb 20, 2024
…ct#135)

* Renamed test file based on feedback from functional test repo team. Removed unused method call.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

* Renamed test file based on feedback from functional test repo team. Removed unused import.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

* Renamed test file based on feedback from functional test repo team.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

* Implemented additional cypress commands.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

* Implemented example JSONs for use by integration tests.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

* Implemented integration tests to validate alert and finding details flyout content. Implemented integration tests for acknowledging alerts.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

* Renamed test files to adjust the sequence of integration test executions.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

* Removed TODO for another test case. The function that would be tested by that case wouldn't be available from the alerts table page; it's only available from the findings table page, which will be a separate spec file.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

* Fixed the text in a comment.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

* Removed redundant variables.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

* Deleted 4_findings.spec.js file from this PR as it's being implemented in a separate PR.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

* Adjusted data-test-subjs.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

* Updated import.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

* Fixed data-test-subj used by test.

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>

Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants