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

Pass sortOrder and size params when getting findings and alerts #665

Merged
merged 1 commit into from
Jul 24, 2023

Conversation

amsiglan
Copy link
Collaborator

@amsiglan amsiglan commented Jul 24, 2023

Description

We want to get all alerts and findings for a detector, so we are passing a high default number for size and sorting them in descending order by timestamp

Issues Resolved

#664

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Amardeepsingh Siglani <[email protected]>
@codecov
Copy link

codecov bot commented Jul 24, 2023

Codecov Report

Merging #665 (915975c) into main (91068ef) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #665   +/-   ##
=======================================
  Coverage   32.53%   32.53%           
=======================================
  Files         138      138           
  Lines        4525     4525           
  Branches      748      748           
=======================================
  Hits         1472     1472           
  Misses       2876     2876           
  Partials      177      177           

see 2 files with indirect coverage changes

@AWSHurneyt AWSHurneyt added backport 2.x backport 2.5 backport 2.6 Used for marking changes that must be merged into 2.6 branch backport 2.7 backport 2.8 backport 2.9 labels Jul 24, 2023
@AWSHurneyt AWSHurneyt merged commit 15f2e2f into opensearch-project:main Jul 24, 2023
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jul 24, 2023
Signed-off-by: Amardeepsingh Siglani <[email protected]>
(cherry picked from commit 15f2e2f)
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jul 24, 2023
Signed-off-by: Amardeepsingh Siglani <[email protected]>
(cherry picked from commit 15f2e2f)
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jul 24, 2023
Signed-off-by: Amardeepsingh Siglani <[email protected]>
(cherry picked from commit 15f2e2f)
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jul 24, 2023
Signed-off-by: Amardeepsingh Siglani <[email protected]>
(cherry picked from commit 15f2e2f)
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jul 24, 2023
Signed-off-by: Amardeepsingh Siglani <[email protected]>
(cherry picked from commit 15f2e2f)
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jul 24, 2023
Signed-off-by: Amardeepsingh Siglani <[email protected]>
(cherry picked from commit 15f2e2f)
AWSHurneyt pushed a commit that referenced this pull request Jul 24, 2023
Signed-off-by: Amardeepsingh Siglani <[email protected]>
(cherry picked from commit 15f2e2f)

Co-authored-by: Amardeepsingh Siglani <[email protected]>
AWSHurneyt pushed a commit that referenced this pull request Jul 24, 2023
Signed-off-by: Amardeepsingh Siglani <[email protected]>
(cherry picked from commit 15f2e2f)

Co-authored-by: Amardeepsingh Siglani <[email protected]>
AWSHurneyt pushed a commit that referenced this pull request Aug 25, 2023
Signed-off-by: Amardeepsingh Siglani <[email protected]>
(cherry picked from commit 15f2e2f)

Co-authored-by: Amardeepsingh Siglani <[email protected]>
AWSHurneyt pushed a commit that referenced this pull request Aug 25, 2023
Signed-off-by: Amardeepsingh Siglani <[email protected]>
(cherry picked from commit 15f2e2f)

Co-authored-by: Amardeepsingh Siglani <[email protected]>
AWSHurneyt pushed a commit to AWSHurneyt/security-analytics-dashboards-plugin that referenced this pull request Oct 12, 2023
…ct#671)

Signed-off-by: Amardeepsingh Siglani <[email protected]>
(cherry picked from commit 15f2e2f)

Co-authored-by: Amardeepsingh Siglani <[email protected]>
Signed-off-by: AWSHurneyt <[email protected]>
amsiglan added a commit that referenced this pull request Nov 21, 2023
Signed-off-by: Amardeepsingh Siglani <[email protected]>
(cherry picked from commit 15f2e2f)

Co-authored-by: Amardeepsingh Siglani <[email protected]>
amsiglan added a commit that referenced this pull request Nov 21, 2023
Signed-off-by: Amardeepsingh Siglani <[email protected]>
(cherry picked from commit 15f2e2f)

Co-authored-by: Amardeepsingh Siglani <[email protected]>
amsiglan pushed a commit that referenced this pull request Mar 16, 2024
Signed-off-by: Amardeepsingh Siglani <[email protected]>
(cherry picked from commit 15f2e2f)

Co-authored-by: Amardeepsingh Siglani <[email protected]>

cr: https://code.amazon.com/reviews/CR-97337837
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x backport 2.5 backport 2.6 Used for marking changes that must be merged into 2.6 branch backport 2.7 backport 2.8 backport 2.9
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants