2021-01-19 21:10:45 +00:00
|
|
|
# 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'
|
|
|
|
|
2021-07-26 12:10:08 +00:00
|
|
|
argument :name, GraphQL::Types::String, required: true,
|
2021-01-19 21:10:45 +00:00
|
|
|
description: 'Name of analyzer.'
|
|
|
|
|
2021-07-26 12:10:08 +00:00
|
|
|
argument :enabled, GraphQL::Types::Boolean, required: true,
|
2021-01-19 21:10:45 +00:00
|
|
|
description: 'State of the analyzer.'
|
|
|
|
|
|
|
|
argument :variables, [::Types::CiConfiguration::Sast::EntityInputType],
|
|
|
|
description: 'List of variables for the analyzer.',
|
|
|
|
required: false
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|