-
Notifications
You must be signed in to change notification settings - Fork 277
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
[Question] How to approach api/status
api/reporting/stats
route authentication addition in future releases
#2112
Comments
Is this another piece of code that needs to branch version-to-version, aka #1975? For this particular problem, will specifying |
Seems like you are right when adding admin:admin on old cluster, it will just get ignored in 2.0.0-rc1 and 1.3.x. So it seems like we can just add it by default, update documentation website, and announce this as part of the breaking changes. Thanks. |
That's expected behavior. Without the change, credential is not required because it bypasses authentication by default. So no matter whether a credential is provided or not, request goes through, because the credential doesn't get evaluated at all. |
|
I think they do. Whereever |
Thanks @cliu123. @tianleh @kavilla in FT repo do you guys use Thanks. |
Thanks for the reminder. The Cypress tests just simulate customers' behavior to click around the UI and thus doesn't need to run such |
With security team merge the change of
adding auth to /api/status api/reporting/stats call
in 2.0 branch, we are facing multiple issues with both build repo scripts/workflows, as well as the approach on future releases.Behavior changes
Two ways to approach this issue:
opensearch_dashboards.yml
:Impacts on build:
1. If we use previous behavior by edit
opensearch_dashboards.yml
:2. If we use the new behavior:
curl localhost:5601/api/status
call needs to make changesTest framework
,RPM validation workflow
./api/status
would run, but in 2.0 we need to runapi/status -u admin:admin
.Additional items:
Thanks.
The text was updated successfully, but these errors were encountered: