summaryrefslogtreecommitdiff
path: root/app/graphql/types/alert_management/domain_filter_enum.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/types/alert_management/domain_filter_enum.rb')
-rw-r--r--app/graphql/types/alert_management/domain_filter_enum.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/graphql/types/alert_management/domain_filter_enum.rb b/app/graphql/types/alert_management/domain_filter_enum.rb
new file mode 100644
index 00000000000..58dbc8bb2cf
--- /dev/null
+++ b/app/graphql/types/alert_management/domain_filter_enum.rb
@@ -0,0 +1,13 @@
+# frozen_string_literal: true
+
+module Types
+ module AlertManagement
+ class DomainFilterEnum < BaseEnum
+ graphql_name 'AlertManagementDomainFilter'
+ description 'Filters the alerts based on given domain'
+
+ value 'operations', description: 'Alerts for operations domain '
+ value 'threat_monitoring', description: 'Alerts for threat monitoring domain'
+ end
+ end
+end