Commit Graph

231 Commits (80f6560c9c7639a3b02dd41bc1a66516903b175c)

Author SHA1 Message Date
Karl Persson e9a93ebfc9
Access Control: Move access control middlewares to domain package (#48322) 3 years ago
Alexander Weaver 60ec10566f
Extract Route validation from serialization methods so it can be re-used (#47649) 3 years ago
Jean-Philippe Quéméner a3256bafa7
Alerting: indicate whether contact point is provisioned (#48323) 3 years ago
Joe Blubaugh 103087a1a5
Unified Alerting: Validate PostableSilence API. (#46892) 3 years ago
Alexander Weaver 078a578803
Drop ProvenanceOrgAdapter and build into store API instead (#48137) 3 years ago
Guilherme Caulada a367ad730c
Secrets: Implement basic unified secret store service (#45804) 3 years ago
George Robinson c5547123bc
Remove redundant queries in GetAlertRules and GetOrgAlertRules and replace with ListAlertRules (#48108) 3 years ago
Alexander Weaver 8310789ef1
Indicate whether routes are provisioned when GETting Alertmanager configuration (#47857) 3 years ago
Vardan Torosyan a0553de8dd
Rename FGAC to RBAC in the codebase (#48051) 3 years ago
Sofia Papagiannaki 54962c2f0c
Alerting: Rename Recipient path parameter to DatasourceID (#47949) 3 years ago
Alexander Weaver 758364e78b
Alerting: Refactor GET/POST alerting config routes to be more extensible (#47229) 3 years ago
Jean-Philippe Quéméner 060ccacbf9
Alerting: unwrap upsert into insert and update function (#47731) 3 years ago
Alexander Weaver c266a4ac81
Alerting: Remove mis-behaving fake and fix masked test failure in AM config API (#47747) 3 years ago
Jean-Philippe Quéméner 388ecb4037
Alerting: Provisioning API - Contact points (#47197) 3 years ago
Yuriy Tseretyan af9353caec
Alerting: Add check for datasource permission in alert rule read API (#47087) 3 years ago
Yuriy Tseretyan 48519f9ebb
Alerting: reduce database calls in prometheus-comptible rules API (#47080) 3 years ago
Alexander Weaver dde0b93cf1
Alerting: Provisioning API - Notification Policies (#46755) 3 years ago
gotjosh cb6124c921
Alerting: Accurately set value for prom-compatible APIs (#47216) 3 years ago
Konrad Lalik 6992d17924
Alerting: Add support to distinguish Prometheus datasource subtypes (Mimir, Cortex and Vanilla Prometheus) (#46771) 3 years ago
Yuriy Tseretyan e94d0c1b96
Alerting: update rule test endpoints to respect data source permissions (#47169) 3 years ago
Yuriy Tseretyan 51114527dc
Alerting: handle folder permissions when fine-grained access enabled (#47035) 3 years ago
Yuriy Tseretyan 8a2c368031
check that user is authorized to create\update silences (#47163) 3 years ago
Alexander Weaver 502cf8b37f
Alerting: Unify Swagger/OpenAPI generation tooling (#46928) 3 years ago
Yuriy Tseretyan c1dbe7617c
fix scope for datasource:query action (#46973) 3 years ago
Yuriy Tseretyan e20d157a9b
Alerting: rules delete API to check data source authorization (#46906) 3 years ago
Yuriy Tseretyan 15e4556c2f
Alerting: update authorization logic to use proper legacy roles when fine-grained access is disabled (#46931) 3 years ago
Yuriy Tseretyan 8868848e93
Alerting: rule group update API to ignore deletes of rules user is not authorized to access (#46905) 3 years ago
Yuriy Tseretyan 60d4cd80bf
Alerting: update DeleteAlertRuleByUID to accept many UID (#46890) 3 years ago
Yuriy Tseretyan 4ee48c2e77
Alerting: Update GetRuleGroupAlertRules to accept optional rule group (#46889) 3 years ago
Yuriy Tseretyan acd7be1cb4
Alerting: Change getEvaluatorForAlertRule to checkDatasourcePermissionsForRule (#46887) 3 years ago
Eng Zer Jun b56848f006
test: use `T.TempDir` to create temporary test directory (#44947) 3 years ago
Yuriy Tseretyan 2ade8b56dd
Alerting: support fine-grained access control in ruler update API (#45749) 3 years ago
gotjosh a338c78ca8
Alerting: Remove internal labels from prometheus compatible API responses (#46548) 3 years ago
Karl Persson 2727e2503f
Use corrct variable names (#46647) 3 years ago
Yuriy Tseretyan c42d2e6f5d
Alerting: Add support for fine-grained access to alerting APIs (#46561) 3 years ago
Yuriy Tseretyan 468def0c00
Alerting: fixed roles for fine-grained access control (#46553) 3 years ago
Alexander Weaver 92716cb602
Alerting: Create abstraction for launching transactions and refactor existing transaction management to use it (#46216) 3 years ago
gotjosh a75d4fcbd8
Alerting: Display query from grafana-managed alert rules on `/api/v1/rules` (#45969) 3 years ago
gotjosh 8d4a0a0396
Alerting: Include annotations in prometheus Alert response. (#45970) 3 years ago
Yuriy Tseretyan f7894db99c
Alerting: declare authorization actions, scopes and roles for fine-grained access (#45748) 3 years ago
Yuriy Tseretyan 288e8eeb15
Alerting: Do not update rule in database if it was not changed (#45980) 3 years ago
Gilles De Mey a9b1a964b0
Alerting: adds support for federated rules (#46037) 3 years ago
Yuriy Tseretyan 016d9e14ed
Add missing option "OK" for Error state (#45262) 3 years ago
Yuriy Tseretyan f75bea481d
Alerting: validate rules and calculate changes in API controller (#45072) 3 years ago
George Robinson 4e3a72fc2a
Add context.Context to AlertingStore (#45069) 3 years ago
Yuriy Tseretyan ea236c276e
add missing option to swagger spec (#45070) 3 years ago
Sofia Papagiannaki 35fe58de37
API: Extract OpenAPI specification from source code using go-swagger (#40528) 3 years ago
George Robinson a9399ab3cd
Alerting: Add context.Context to RuleStore (#45004) 3 years ago
Yuriy Tseretyan ddfe2dce74
Alerting: Split grafana and lotex routes (#44742) 3 years ago
George Robinson 9df43abbb5
Fix evaluation of alert rules for datasources with custom headers (#44862) 3 years ago