grafana/conf
Adela Almasan f64b121ddb
Canvas: Allow API calls to grafana origin (#91822)
* allow post URL
* check for config
* allow relative paths
* add allowed internal pattern; add checks for method
* update defaults.ini
* add custom header
* update config comment
* use globbing, switch to older middleware - deprecated call
* add codeowner
* update to use current api, add test
* update fall through logic

* Update pkg/middleware/validate_action_url.go

Co-authored-by: Dan Cech <dcech@grafana.com>

* Update pkg/middleware/validate_action_url.go

Co-authored-by: Dan Cech <dcech@grafana.com>

* add more tests

* Update pkg/middleware/validate_action_url_test.go

Co-authored-by: Dan Cech <dcech@grafana.com>

* fix request headers

* add additional tests for all verbs

* fix request headers++

* throw error when method is unknown

---------

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
Co-authored-by: Brian Gann <bkgann@gmail.com>
Co-authored-by: Brian Gann <briangann@users.noreply.github.com>
Co-authored-by: Dan Cech <dcech@grafana.com>
2024-09-10 10:45:27 -04:00
..
provisioning chore: remove repetitive words (#86412) 2024-04-17 13:08:00 +01:00
defaults.ini Canvas: Allow API calls to grafana origin (#91822) 2024-09-10 10:45:27 -04:00
ldap_multiple.toml LDAP: small improvements to various LDAP parts (#17662) 2019-06-19 15:46:04 +02:00
ldap.toml LDAP: Update ldap config comments with TLS info (#91636) 2024-08-08 17:01:22 +03:00
sample.ini Canvas: Allow API calls to grafana origin (#91822) 2024-09-10 10:45:27 -04:00