oncall-engine/engine/apps/webhooks
Michael Derynck 60ef4348f5
Allow OnCall API to use Grafana Service Accounts (#3189)
# What this PR does
Allows public OnCall API to use Grafana service accounts for
authorization. In cloud requests using a Grafana service account token
also needs to provide headers for `X-Grafana-Org-Slug` and
`X-Grafana-Instance-Slug`

This is **alpha** functionality, it may break or be removed in the
future. Going to use this on one endpoint (resolution notes) before we
consider the implications across all of public API.

## Which issue(s) this PR fixes

## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
2023-11-23 16:42:27 +00:00
..
migrations Add webhook presets (#2996) 2023-09-27 07:22:52 -06:00
models Add webhook presets (#2996) 2023-09-27 07:22:52 -06:00
presets Allow OnCall API to use Grafana Service Accounts (#3189) 2023-11-23 16:42:27 +00:00
tasks Allow OnCall API to use Grafana Service Accounts (#3189) 2023-11-23 16:42:27 +00:00
tests Allow OnCall API to use Grafana Service Accounts (#3189) 2023-11-23 16:42:27 +00:00
__init__.py shift swap requests model + CRUD endpoints (#2597) 2023-07-21 19:35:19 +00:00
apps.py Webhooks trigger tasks on alert group events (#1533) 2023-03-13 21:19:22 +00:00
listeners.py apps.get_model -> import (#2619) 2023-07-25 09:43:23 +00:00
signals.py Add users_to_be_notified to new webhooks payload (#1798) 2023-04-20 16:13:48 +00:00
utils.py Webhook labels (#3383) 2023-11-22 11:17:41 +00:00