opensearch-project / security-dashboards-plugin

🔐 Manage your internal users, roles, access control, and audit logs from OpenSearch Dashboards
https://opensearch.org/docs/latest/security-plugin/index/
Apache License 2.0
68 stars 148 forks source link

[BUG] MDS disabled API calls don't work #1918

Closed derek-ho closed 2 months ago

derek-ho commented 2 months ago

What is the bug? When MDS is disabled, API calls are failing with "dataSourceId does not exist" errors - this is because after the introduction of MDS feature in #1888, the dataSourceId became a required field for API calls.

How can one reproduce the bug? Check out main and try to navigate any tab in the security dashboards plugin, API calls fail and no data loads.

What is the expected behavior? A clear and concise description of what you expected to happen.

What is your host/environment?

Do you have any screenshots? If applicable, add screenshots to help explain your problem.

Do you have any additional context? Add any other context about the problem.