# frozen_string_literal: true

module Types
  class VulnerabilitySortEnum < BaseEnum
    graphql_name 'VulnerabilitySort'
    description 'Vulnerability sort values'

    value 'severity_desc', 'Severity in descending order.'
    value 'severity_asc', 'Severity in ascending order.'
    value 'title_desc', 'Title in descending order.'
    value 'title_asc', 'Title in ascending order.'
    value 'detected_desc', 'Detection timestamp in descending order.'
    value 'detected_asc', 'Detection timestamp in ascending order.'
    value 'report_type_desc', 'Report Type in descending order.'
    value 'report_type_asc', 'Report Type in ascending order.'
    value 'state_desc', 'State in descending order.'
    value 'state_asc', 'State in ascending order.'
  end
end
