summaryrefslogtreecommitdiff
path: root/app/graphql/types/ci_configuration/sast/analyzers_entity_input_type.rb
blob: ccb72283cf603b3b2698f583ea7d62e180bbe66a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# frozen_string_literal: true

module Types
  module CiConfiguration
    module Sast
      class AnalyzersEntityInputType < BaseInputObject
        graphql_name 'SastCiConfigurationAnalyzersEntityInput'
        description 'Represents the analyzers entity in SAST CI configuration'

        argument :name, GraphQL::STRING_TYPE, required: true,
          description: 'Name of analyzer.'

        argument :enabled, GraphQL::BOOLEAN_TYPE, required: true,
          description: 'State of the analyzer.'

        argument :variables, [::Types::CiConfiguration::Sast::EntityInputType],
          description: 'List of variables for the analyzer.',
          required: false
      end
    end
  end
end