From 4e9815b484e79853f38d34017800fec7add3a74c Mon Sep 17 00:00:00 2001
From: "Austin S. Hemmelgarn" <austin@netdata.cloud>
Date: Fri, 28 Jul 2023 12:19:12 -0400
Subject: [PATCH] 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.
---
 integrations/schemas/notification.json | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/integrations/schemas/notification.json b/integrations/schemas/notification.json
index 0b769e1888..1027f9b3d9 100644
--- a/integrations/schemas/notification.json
+++ b/integrations/schemas/notification.json
@@ -45,6 +45,22 @@
             "notification_limitations"
           ]
         },
+        "global_setup": {
+            "type": "object",
+            "description": "Flags that show which global setup sections are relevant for this notification method.",
+            "properties": {
+                "severity_filtering": {
+                    "type": "boolean"
+                },
+                "http_proxy": {
+                    "type": "boolean"
+                }
+            },
+            "required": [
+                "severity_filtering",
+                "http_proxy"
+            ]
+        },
         "setup": {
           "oneOf": [
             {