summaryrefslogtreecommitdiff
path: root/app/graphql/types/alert_management/domain_filter_enum.rb
blob: 86da345fd694356e297ec80152446028e457e9a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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.',
        deprecated: {
          reason: 'Network policies are deprecated and will be removed in GitLab 16.0',
          milestone: '15.0'
        }
    end
  end
end