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.15] Add Alias Permission in Security Tests #1248

Merged
merged 1 commit into from
Jun 13, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link

Backport b9eff78 from #1245.

The SecureADRestIT.testCreateAnomalyDetectorWithCustomResultIndex test failed because the cat user did not have the necessary permissions to create an alias, as the current custom index name is an alias. This PR addresses this issue by adding the required alias permission.

Additionally, this PR includes other tests to improve test coverage.

Testing:
* Verified that all security tests pass.

Signed-off-by: Kaituo Li <kaituo@amazon.com>
(cherry picked from commit b9eff78)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@kaituo kaituo merged commit f6d262e into 2.15 Jun 13, 2024
24 checks passed
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.

1 participant