Alerting: Update Discord settings to treat 'url' as a secure setting (#69588)

* make discord url secure

* support migrating unsecure settings to secure settings

* Update public/app/features/alerting/unified/utils/receiver-form.ts

Co-authored-by: William Wernert <william.wernert@grafana.com>

---------

Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
Co-authored-by: William Wernert <william.wernert@grafana.com>
This commit is contained in:
Yuri Tseretyan
2023-08-16 03:03:56 -04:00
committed by GitHub
parent 870ef7b058
commit 90e3f516ff
6 changed files with 104 additions and 8 deletions

View File

@@ -997,6 +997,7 @@ func GetAvailableNotifiers() []*NotifierPlugin {
Placeholder: "Discord webhook URL",
PropertyName: "url",
Required: true,
Secure: true,
},
{
Label: "Avatar URL",