Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

[BUG] UI metadata not getting filtered out during API calls #311

Open
ohltyler opened this issue Nov 16, 2020 · 0 comments
Open

[BUG] UI metadata not getting filtered out during API calls #311

ohltyler opened this issue Nov 16, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@ohltyler
Copy link
Contributor

Describe the bug
A clear and concise description of what the bug is.

The logic here is supposed to filter out unnecessary UI metadata when the request is coming directly from a user via an API call, rather than from Kibana, however this is not happening:

Example:

curl localhost:9200/_opendistro/_anomaly_detection/detectors/<id>?pretty
...
    "ui_metadata" : {
      "features" : {
...

Expected behavior is that no UI metadata is returned in this case.

@ohltyler ohltyler added the bug Something isn't working label Nov 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant