Skip to content
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

[Watcher] Enable partial updates to a watch #54564

Open
jloleysens opened this issue Apr 1, 2020 · 2 comments
Open

[Watcher] Enable partial updates to a watch #54564

jloleysens opened this issue Apr 1, 2020 · 2 comments
Labels
:Data Management/Watcher >enhancement Team:Data Management Meta label for data/management team Team:Deployment Management Meta label for Management Experience - Deployment Management team

Comments

@jloleysens
Copy link
Contributor

Describe the feature:

The _watcher API provides a mechanism for creating and updating watches (https://www.elastic.co/guide/en/elasticsearch/reference/7.7/watcher-api.html). After a watch has been created this endpoint can be used to update the watch in its entirety.

However, if we have watch with a webhook action that contains a redacted password field:

    "actions": {
      "webhook_1": {
        "webhook": {
          "scheme": "http",
          "host": "localhost",
          "port": 8000,
          "method": "get",
          "path": "fgvgh23",
          "params": {},
          "headers": {},
          "auth": {
            "basic": {
              "username": "test",
              "password": "::es_redacted::"
            }
          },
          "body": "{\n  \"message\": \"Watch has exceeded the threshold\"\n}"
        }
      }
    },

users must re-enter the password even if they only want to update the watch schedule (something unrelated to actions), see the effect of this in Kibana here: elastic/kibana#61781.

It would be great if there were a way to update a watch in a more piecemeal fashion - a way to do partial updates.

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features (:Core/Features/Watcher)

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-ui (:ES-UI)

@rjernst rjernst added Team:Data Management Meta label for data/management team Team:Deployment Management Meta label for Management Experience - Deployment Management team labels May 4, 2020
@cjcenizal cjcenizal removed the :ES-UI label Jun 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Data Management/Watcher >enhancement Team:Data Management Meta label for data/management team Team:Deployment Management Meta label for Management Experience - Deployment Management team
Projects
None yet
Development

No branches or pull requests

6 participants