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

[2.x] Backport missing commits from #924, #942, #965 #966

Merged
merged 3 commits into from
Mar 22, 2024

Conversation

amsiglan
Copy link
Collaborator

Description

Backport missing commits from #924, #942, #965

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.

* rule editor enhancements

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>

* updated test snapshots

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>

* relax validation for author name and description

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>

* added validation for level, status, log type in yaml editor

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>

* fix rule creation with empty or undefined Id

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>

* fixed cypress tests

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>

---------

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>
…e tables (opensearch-project#942)

* fetching all findings using the pagination query params; optimized api calls for alert flyout, correlations

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>

* fetching all alerts; updated correlations UI

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>

* addressed PR comments; updated snapshots

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>

---------

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>
Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>
@amsiglan amsiglan added the backport 2.13 Triggers backport to 2.13 branch label Mar 22, 2024
Copy link

codecov bot commented Mar 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 31.24%. Comparing base (7c19a24) to head (e39a76b).

Additional details and impacted files
@@            Coverage Diff             @@
##              2.x     #966      +/-   ##
==========================================
+ Coverage   31.04%   31.24%   +0.20%     
==========================================
  Files         157      159       +2     
  Lines        5248     5278      +30     
  Branches      986      980       -6     
==========================================
+ Hits         1629     1649      +20     
- Misses       3432     3455      +23     
+ Partials      187      174      -13     

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

@amsiglan amsiglan merged commit a683e9c into opensearch-project:2.x Mar 22, 2024
10 of 12 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Mar 22, 2024
* Rule editor enhancements (#924)

* rule editor enhancements

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>

* updated test snapshots

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>

* relax validation for author name and description

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>

* added validation for level, status, log type in yaml editor

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>

* fix rule creation with empty or undefined Id

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>

* fixed cypress tests

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>

---------

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>

* Fetch all findings and alerts for the detectors when displaying in the tables (#942)

* fetching all findings using the pagination query params; optimized api calls for alert flyout, correlations

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>

* fetching all alerts; updated correlations UI

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>

* addressed PR comments; updated snapshots

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>

---------

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>

* fixed logic to get all alerts (#965)

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>

---------

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>
(cherry picked from commit a683e9c)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
amsiglan pushed a commit that referenced this pull request Mar 22, 2024
* Rule editor enhancements (#924)

* rule editor enhancements



* updated test snapshots



* relax validation for author name and description



* added validation for level, status, log type in yaml editor



* fix rule creation with empty or undefined Id



* fixed cypress tests



---------



* Fetch all findings and alerts for the detectors when displaying in the tables (#942)

* fetching all findings using the pagination query params; optimized api calls for alert flyout, correlations



* fetching all alerts; updated correlations UI



* addressed PR comments; updated snapshots



---------



* fixed logic to get all alerts (#965)



---------


(cherry picked from commit a683e9c)

Signed-off-by: Amardeepsingh Siglani <amardeep7194@gmail.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.13 Triggers backport to 2.13 branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants