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

[8.x] [kbn-test] validate isCloud by checking kbnHost (#198025) #198718

Merged
merged 1 commit into from
Nov 1, 2024

Conversation

kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

## Summary

Recently we had issues investigating SAML auth failures against MKI. The
issue was caused by missing `TEST_CLOUD` env var that led to `isCloud`
property to be set to false.

This PR adds `isCloud` validation by checking if `kbnHost` is pointing
to Cloud instance and throwing error about misconfiguration

**How to test:**

Try to run FTR tests against MKI without defining `TEST_CLOUD` env var

---------

Co-authored-by: Aleh Zasypkin <[email protected]>
(cherry picked from commit 413f7c1)
@kibanamachine kibanamachine merged commit 1b1faa1 into elastic:8.x Nov 1, 2024
25 checks passed
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

cc @dmlemeshko

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.

3 participants