security-dashboards-plugin icon indicating copy to clipboard operation
security-dashboards-plugin copied to clipboard

[BUG] `config.dynamic` fails on `opensearch-dashboards` key

Open AMoo-Miki opened this issue 3 years ago • 2 comments

What is the bug? The config.yml honors outdated kibana key and throws an error for opensearch-dashboards.

How can one reproduce the bug? Steps to reproduce the behavior:

config:
  dynamic:
    opensearch-dashboards:
      server_username: kibanaserver

Dashboards fails with 15 known properties: "license", "disable_intertransport_auth", "http", "kibana", "authz", "auth_failure_listeners", "transport_userrname_attribute", "filtered_alias_mode", "authc", "disable_rest_auth", "respect_request_indices_options", "multi_rolespan_enabled", "do_not_fail_on_forbidden", "hosts_resolver_mode", "do_not_fail_on_forbidden_empty"]

What is the expected behavior? No errors to be shown and the setting to be honored.

Do you have any additional context? The documentation:

  • https://opensearch.org/docs/1.3/security-plugin/access-control/multi-tenancy/#configuration
  • https://opensearch.org/docs/latest/security-plugin/access-control/multi-tenancy/#configuration

AMoo-Miki avatar Jul 11 '22 19:07 AMoo-Miki

[Triage] Thanks for filing this issue @AMoo-Miki, it looks like this was miss when the new naming conventions were introduced

peternied avatar Jul 11 '22 19:07 peternied

The old naming convention was kept to retain backward compatibility and allow ODFE users to migrate to OpenSearch. The change would be a breaking change, which might be suitable for 3.0.0.0 release.

cliu123 avatar Jul 12 '22 17:07 cliu123