-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Add mock identity provider for serverless (2nd attempt) #171513
Add mock identity provider for serverless (2nd attempt) #171513
Conversation
…ess-role-selector
…mann/kibana into serverless-role-selector
…mann/kibana into serverless-role-selector
…mann/kibana into serverless-role-selector
…ess-role-selector
…mann/kibana into serverless-role-selector
Co-authored-by: Aleh Zasypkin <[email protected]>
…ess-role-selector
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM from the security side.
// for the ip which is not validated. As such we are getting the error | ||
// Hostname/IP does not match certificate's altnames: IP: 127.0.0.1 is not in the cert's list: | ||
// To work around that we are overriding the function checkServerIdentity too | ||
checkServerIdentity: () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did we try binding to localhost instead of 127.0.0.1? While this is a test environment..disabling identity checks for every node url regardless of endpoint seems heavy handed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I missed that this was already committed and moved to a different spot. I'll table this discussion for another issue.
💚 Build Succeeded
Metrics [docs]Public APIs missing comments
History
To update your PR or re-run it, just comment with: |
## Summary This PR disables TLS mode for Kibana run in serverless. Related to elastic#170417 enabling serverless roles testing Blocked by elastic#171513 PR is created in cooperation with @azasypkin and intended to simplify the automated testing process for serverless: starting Kibana with TLS enabled adds unnecessary complexity to the process of getting session cookie and overall Kibana APIs calling with Dev certificate in the tests. The selected approach is to disable TLS for Kibana and simply rely on elastic#171513 to configure mocked idp realm for Serverless ES with TLS enabled. --------- Co-authored-by: kibanamachine <[email protected]>
Attempting to merge #170852 again now that the release artefact step has been fixed as part of #171457