grafana/pkg/setting
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
..
testdata Config: Show user-friendly error message instead of stack trace (#16564) 2019-04-25 08:29:07 +02:00
date_formats_test.go Chore: Fix goimports grouping in other backend platform packages (#62422) 2023-01-30 08:26:42 +00:00
date_formats.go Prometheus: Support 1ms resolution intervals (#44707) 2022-06-29 07:39:50 +02:00
dynamic_settings_test.go Tests: use t.Setenv to set env vars (#69516) 2023-06-05 11:31:03 +02:00
expanders_test.go Tests: use t.Setenv to set env vars (#69516) 2023-06-05 11:31:03 +02:00
expanders.go imagestorage: fix templating of public_url option for webdav (#74885) 2023-09-28 00:35:10 +03:00
provider.go samlsettings: api integration (#84300) 2024-03-25 10:54:45 +01:00
setting_auth_proxy.go AuthProxy: Allow disabling Auth Proxy cache (#83755) 2024-03-01 11:31:06 +01:00
setting_azure_test.go Azure: Fix for username assertion (#87853) 2024-05-16 11:50:02 -05:00
setting_azure.go MSSQL: Password auth for Azure AD (#89746) 2024-07-16 14:08:51 -05:00
setting_cloud_migration.go E2C: Reduce UI poll interval and make configurable (#91386) 2024-08-02 10:46:41 +01:00
setting_data_proxy.go Docs: Aligning fallback values with documentation (#83617) 2024-03-13 11:19:04 +02:00
setting_feature_toggles_test.go FeatureFlags: define features outside settings.Cfg (take 3) (#44443) 2022-01-26 09:44:20 -08:00
setting_feature_toggles.go Settings: Actually deprecate access to feature flags (#78073) 2023-11-13 11:39:01 -08:00
setting_featuremgmt.go Feature Toggles API: Trigger webhook call when updating (#75254) 2023-09-25 19:11:24 +01:00
setting_grafana_javascript_agent.go Frontend: Support tracing with Faro (#91237) 2024-07-31 15:13:05 +02:00
setting_jwt.go K8s: use contexthandler in standalone handler chain (#90102) 2024-07-08 12:22:10 -07:00
setting_plugins_test.go Plugins: Add forward_host_env_vars setting (#79333) 2023-12-13 11:25:17 +02:00
setting_plugins.go Add preinstall feature to defaults.ini (#92347) 2024-08-23 10:32:23 +02:00
setting_quota.go Alerting: Guided legacy alerting upgrade dry-run (#80071) 2024-01-05 18:19:12 -05:00
setting_search.go Search: Add search index configuration options (#55525) 2022-09-20 19:09:55 -04:00
setting_secure_socks_proxy_test.go Plugins: Pass PDC file contents in requests (#84783) 2024-03-22 13:52:24 +01:00
setting_secure_socks_proxy.go chore(perf): Pre-allocate where possible (enable prealloc linter) (#88952) 2024-06-14 14:16:36 -04:00
setting_session_test.go Chore: Fix goimports grouping in other backend platform packages (#62422) 2023-01-30 08:26:42 +00:00
setting_smtp_test.go Config: Can add static headers to email messages (#79365) 2023-12-14 12:59:43 -06:00
setting_smtp.go Chore: Remove public vars in setting package (#81018) 2024-01-23 12:36:22 +01:00
setting_storage.go Storage: externalize allow_unsanitized_svg_upload (#52703) 2022-07-25 21:11:17 +04:00
setting_test.go Alerting: Disable legacy alerting for ever (#83651) 2024-03-07 16:01:11 -05:00
setting_unified_alerting_test.go Alerting: Add ha_reconnect_timeout configuration option (#88823) 2024-06-11 13:25:48 -04:00
setting_unified_alerting.go Alerting: Add enablement flag for recording rules (#92032) 2024-08-19 12:01:00 -05:00
setting_unified_storage_test.go Use dw dynamic config (#91882) 2024-08-30 11:59:42 +02:00
setting_unified_storage.go Use dw dynamic config (#91882) 2024-08-30 11:59:42 +02:00
setting.go Canvas: Allow API calls to grafana origin (#91822) 2024-09-10 10:45:27 -04:00
settings_rbac.go RBAC: Allow omitting default permissions when a new resource is created (#90720) 2024-07-24 19:31:26 +03:00
settings_zanzana.go Zanzana: Run OpenFGA HTTP server in standalone mode (#89914) 2024-07-02 11:14:09 +02:00