grafana/pkg/services/ngalert/api
Jean-Philippe Quéméner 4cc8c6f745
Alerting: Add provenance guard to config api (#50147)
* Alerting: add provenance guard to config api

* add tests

* only guard if config valid

* adapt error message

* simplify logic

* rename arguments

* make logic more straight forward

* rename opt to options

* remove useless maps
2022-06-04 14:55:46 +02:00
..
test-data Alerting: Modify endpoint for testing a datasource rule using the UID (#48070) 2022-05-17 14:10:20 +03:00
tooling Alerting: add mute timings provenance to config api (#50149) 2022-06-03 19:32:31 +02:00
api_admin.go Alerting: send alerts to external, internal, or both alertmanagers (#40341) 2022-02-01 20:36:55 -03:00
api_alertmanager_guards_test.go Alerting: Add provenance guard to config api (#50147) 2022-06-04 14:55:46 +02:00
api_alertmanager_guards.go Alerting: Add provenance guard to config api (#50147) 2022-06-04 14:55:46 +02:00
api_alertmanager_test.go Indicate whether templates are provisioned (#49025) 2022-05-18 13:52:30 -05:00
api_alertmanager.go Alerting: Add provenance guard to config api (#50147) 2022-06-04 14:55:46 +02:00
api_prometheus_test_fixtures.go Alerting: Display query from grafana-managed alert rules on /api/v1/rules (#45969) 2022-03-14 10:39:20 +00:00
api_prometheus_test.go Alerting: Fix anonymous access to alerting (#49203) 2022-05-19 09:22:26 -04:00
api_prometheus.go Alerting: Update RBAC for alert rules to consider access to rule as access to group it belongs (#49033) 2022-06-01 10:23:54 -04:00
api_provisioning_test.go POST routes to PUT routes (#48828) 2022-05-06 14:33:30 -05:00
api_provisioning.go Alerting: allow custom UID for contact points through API (#50089) 2022-06-03 10:33:47 +02:00
api_ruler_test.go Alerting: Update RBAC for alert rules to consider access to rule as access to group it belongs (#49033) 2022-06-01 10:23:54 -04:00
api_ruler_validation_test.go Alerting: validate rules and calculate changes in API controller (#45072) 2022-02-23 11:30:04 -05:00
api_ruler_validation.go Alerting: validate rules and calculate changes in API controller (#45072) 2022-02-23 11:30:04 -05:00
api_ruler.go Alerting: Provisioning API - Alert rules (#47930) 2022-06-02 14:48:53 +02:00
api_testing_test.go Secrets: Implement basic unified secret store service (#45804) 2022-04-25 13:57:45 -03:00
api_testing.go Alerting: Modify endpoint for testing a datasource rule using the UID (#48070) 2022-05-17 14:10:20 +03:00
api.go Alerting: Provisioning API - Alert rules (#47930) 2022-06-02 14:48:53 +02:00
authorization_test.go Alerting: Provisioning API - Alert rules (#47930) 2022-06-02 14:48:53 +02:00
authorization.go Alerting: Add version segment to all provisioning routes (#49121) 2022-06-03 16:45:08 +02:00
fork_ruler.go Alerting: modify ruler endpoints for proxying using the datasource UID (#48046) 2022-05-05 14:58:32 +03:00
forked_admin.go Alerting: Split grafana and lotex routes (#44742) 2022-02-04 12:42:04 -05:00
forked_am.go Alerting: modify alertmanager endpoints for proxying using the datasource UID (#47978) 2022-04-29 10:25:22 +03:00
forked_prom.go Alerting: modify prometheus endpoints for proxying using the datasource UID (#48052) 2022-05-06 15:05:02 -04:00
forked_provisioning.go Alerting: Provisioning API - Alert rules (#47930) 2022-06-02 14:48:53 +02:00
forked_testing.go Alerting: Split grafana and lotex routes (#44742) 2022-02-04 12:42:04 -05:00
generated_base_api_alertmanager.go Alerting: Provisioning API - Alert rules (#47930) 2022-06-02 14:48:53 +02:00
generated_base_api_configuration.go Alerting: Provisioning API - Alert rules (#47930) 2022-06-02 14:48:53 +02:00
generated_base_api_prometheus.go Alerting: Provisioning API - Alert rules (#47930) 2022-06-02 14:48:53 +02:00
generated_base_api_provisioning.go Alerting: Add version segment to all provisioning routes (#49121) 2022-06-03 16:45:08 +02:00
generated_base_api_ruler.go Alerting: Provisioning API - Alert rules (#47930) 2022-06-02 14:48:53 +02:00
generated_base_api_testing.go Alerting: Provisioning API - Alert rules (#47930) 2022-06-02 14:48:53 +02:00
lotex_am.go Alerting: modify alertmanager endpoints for proxying using the datasource UID (#47978) 2022-04-29 10:25:22 +03:00
lotex_prom.go Alerting: modify prometheus endpoints for proxying using the datasource UID (#48052) 2022-05-06 15:05:02 -04:00
lotex_ruler_test.go Alerting: modify ruler endpoints for proxying using the datasource UID (#48046) 2022-05-05 14:58:32 +03:00
lotex_ruler.go Alerting: modify ruler endpoints for proxying using the datasource UID (#48046) 2022-05-05 14:58:32 +03:00
promql_compat_test.go Alerting/testing promql extraction (#34665) 2021-05-25 11:54:50 -04:00
promql_compat.go Alerting: check upstream response content type in lotex proxy (#34760) 2021-05-27 14:12:29 +03:00
testing.go Alerting: Remove mis-behaving fake and fix masked test failure in AM config API (#47747) 2022-04-13 19:31:57 -05:00
util_test.go Alerting: Rename Recipient path parameter to DatasourceID (#47949) 2022-04-20 16:20:17 +03:00
util.go Alerting: modify prometheus endpoints for proxying using the datasource UID (#48052) 2022-05-06 15:05:02 -04:00