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

input_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: 615436683f6d94852a5991e385d91e57f49e131c (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
# frozen_string_literal: true

module Types
  module CiConfiguration
    module Sast
      class InputType < BaseInputObject # rubocop:disable Graphql/AuthorizeTypes
        graphql_name 'SastCiConfigurationInput'
        description 'Represents a CI configuration of SAST'

        argument :global, [::Types::CiConfiguration::Sast::EntityInputType],
          description: 'List of global entities related to SAST configuration.',
          required: false

        argument :pipeline, [::Types::CiConfiguration::Sast::EntityInputType],
          description: 'List of pipeline entities related to SAST configuration.',
          required: false

        argument :analyzers, [::Types::CiConfiguration::Sast::AnalyzersEntityInputType],
          description: 'List of analyzers and related variables for the SAST configuration.',
          required: false
      end
    end
  end
end