-
Notifications
You must be signed in to change notification settings - Fork 282
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
internal_users.yml expects opendistro specific security label #1339
internal_users.yml expects opendistro specific security label #1339
Comments
Additionally, if one tries to use It appears that the application is using a different version of security implementations than the security admin script. Although the security admin script can be overridden to validate on v6, this wouldn't be ideal. |
Second error OP mentioned did not occur for me when using |
Same issue with first error. |
It seems like this is still the case. @opensearch-project/security we should take a look. |
This is wrong on the documentation website. I opened a PR to address this. |
We are doing some "spring cleaning in the fall", and to make sure we focus our energies on the right issues and we get a better picture of the state of the repo, we are closing all issues that we are carrying over from the ODFE era (ODFE is no longer supported/maintained, see post here). If you believe this issue should still be considered for current versions of OpenSearch, apologies! Please let us know by re-opening it. Thanks! |
Signed-off-by: Craig Perkins <[email protected]> Co-authored-by: Stephen Crawford <[email protected]>
Description
The security admin script throws an error when processing an internal_users.yml file matching the current provided documentation.
ERR: Seems /usr/share/opensearch/plugins/opensearch-security/securityconfig/internal_users.yml is not in OpenSearch Security 7 format: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "opensearch_security_roles" (class org.opensearch.security.securityconf.impl.v7.InternalUserV7), not marked as ignorable (8 known properties: "opendistro_security_roles", "backend_roles", "attributes", "reserved", "hidden", "description", "hash", "static"])
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I would expect the documented format to be accepted by the security admin script.
Plugins
OpenSearch Security Version: 1.0.0.0
Host/Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: