oncall-engine/engine/apps
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
..
alerts add more logging in apps.alerts.tasks.notify_user.perform_notification task (#3403) 2023-11-21 13:35:23 -05:00
api Allow OnCall API to use Grafana Service Accounts (#3189) 2023-11-23 16:42:27 +00:00
api_for_grafana_incident Add render_for_web information to alert group incident API (#3005) 2023-09-12 12:02:42 +00:00
auth_token Allow OnCall API to use Grafana Service Accounts (#3189) 2023-11-23 16:42:27 +00:00
base WIP: Direct paging improvements (#3064) 2023-09-28 03:57:49 +00:00
email Minor formatting changes (#2641) 2023-07-26 14:45:44 +01:00
grafana_plugin Allow OnCall API to use Grafana Service Accounts (#3189) 2023-11-23 16:42:27 +00:00
heartbeat Check if organization was deleted for heartbeat integration (#3270) 2023-11-03 17:05:37 +00:00
integrations Make alert ingestion cache independent (#3414) 2023-11-23 16:32:02 +08:00
labels Webhook labels (#3383) 2023-11-22 11:17:41 +00:00
metrics_exporter Fix metrics and dashboard (#2895) 2023-08-29 13:52:24 +00:00
mobile_app Fix db migration for mobile app (#3260) 2023-11-02 16:40:26 +00:00
oss_installation Minor formatting changes (#2641) 2023-07-26 14:45:44 +01:00
phone_notifications Re-enable a few mypy rules + fix existing errors (#2725) 2023-08-03 09:43:03 +00:00
public_api Allow OnCall API to use Grafana Service Accounts (#3189) 2023-11-23 16:42:27 +00:00
schedules fix missing users in rotations when RBAC is enabled (#3380) 2023-11-20 11:31:07 +00:00
slack Add builtin slack retry on ratelimited error (#3401) 2023-11-21 17:32:29 +00:00
social_auth Fix few minor Slack connection issues (#3327) 2023-11-13 12:44:54 +00:00
telegram Fix getting alert group from telegram action (#3262) 2023-11-03 10:22:38 +00:00
twilioapp add missing db migrations + add additional backend db migration check to CI (#3234) 2023-10-31 16:00:55 -04:00
user_management Handle Amazon SNS headers for moved (#3371) 2023-11-16 13:44:56 -07:00
webhooks Allow OnCall API to use Grafana Service Accounts (#3189) 2023-11-23 16:42:27 +00:00
zvonok add missing db migrations + add additional backend db migration check to CI (#3234) 2023-10-31 16:00:55 -04:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00