Welcome to mirror list, hosted at ThFree Co, Russian Federation.

analyzers_entity_type.rb « sast « ci_configuration « types « graphql « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ccd1c7dd0eb318f713c0d54c8f4ebe2b51a75fa7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# frozen_string_literal: true

module Types
  module CiConfiguration
    module Sast
      # rubocop: disable Graphql/AuthorizeTypes
      class AnalyzersEntityType < BaseObject
        graphql_name 'SastCiConfigurationAnalyzersEntity'
        description 'Represents an analyzer entity in SAST CI configuration'

        field :name, GraphQL::STRING_TYPE, null: true,
          description: 'Name of the analyzer.'

        field :label, GraphQL::STRING_TYPE, null: true,
          description: 'Analyzer label used in the config UI.'

        field :enabled, GraphQL::BOOLEAN_TYPE, null: true,
          description: 'Indicates whether an analyzer is enabled.'

        field :description, GraphQL::STRING_TYPE, null: true,
          description: 'Analyzer description that is displayed on the form.'
      end
    end
  end
end