Skip to content
This repository has been archived by the owner on Sep 30, 2023. It is now read-only.

Feature: Webhook based Runbooks #65

Open
madflojo opened this issue Oct 24, 2016 · 1 comment
Open

Feature: Webhook based Runbooks #65

madflojo opened this issue Oct 24, 2016 · 1 comment

Comments

@madflojo
Copy link
Owner

A requested feature is the ability to send a webhook to a URL that will trigger a define action. This is similar to functionality available to Runbook.io but I'd like to make this super flexible.

Some thoughts:

  • Should this be it's own Runbook section to make it easier to identify or just add a field to identify typical runbooks vs. webhook based runbooks
  • Ideally as part of a runbook you specify the URI i.e. path: /nodes/restart_apache
  • Should have the ability to require an Authorization Bearer token header Authorization: Bearer asdklfjalsj
    • Should have master token set in config, allow users to overwrite with a value in runbook or set to None to disable
  • Give the user the ability to search a payload for a string in the case of POST messages
    • Would be cool to allow them to populate facts with a REGEX search i.e. facts['postdata']['group1']
  • The web listener should be it's own standalone process similar to monitoring.py
@madflojo
Copy link
Owner Author

madflojo commented Oct 24, 2016

After typing it out, a field to identify runbook type is probably more future proof in case of other additional runbook types in the future.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant