Add key for notifications to control what global config options get displayed (#15625)
Add key for notifications to control what global config options get displayed.
Austin S. Hemmelgarn committed
Jul 28, 2023 at 12:19 UTC
4e9815b484e79853f38d34017800fec7add3a74c
1 file changed
+16
integrations/schemas/notification.json
+16
@@ -45,6 +45,22 @@
45
"notification_limitations"
46
]
47
},
48
+ "global_setup": {
49
+ "type": "object",
50
+ "description": "Flags that show which global setup sections are relevant for this notification method.",
51
+ "properties": {
52
+ "severity_filtering": {
53
+ "type": "boolean"
54
+ },
55
+ "http_proxy": {
56
+ "type": "boolean"
57
+ }
58
+ },
59
+ "required": [
60
+ "severity_filtering",
61
+ "http_proxy"
62
+ ]
63
+ },
64
"setup": {
65
"oneOf": [
66
{