Class: Aws::SecurityAgent::Types::StartPentestJobInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb

Overview

Input for starting the execution of a pentest.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#agent_space_id ⇒ String

The unique identifier of the agent space.

Returns:

  • (String)


8277
8278
8279
8280
8281
8282
8283
8284
8285
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 8277

class StartPentestJobInput < Struct.new(
  :agent_space_id,
  :pentest_id,
  :job_type,
  :selected_finding_ids,
  :scope_changes)
  SENSITIVE = []
  include Aws::Structure
end

#job_type ⇒ String

The type of pentest job to start. Valid values are FULL, REVALIDATION, and CICD. When set to REVALIDATION, the selectedFindingIds parameter is required. When set to CICD, the scopeChanges parameter defines the code changes to test.

Returns:

  • (String)


8277
8278
8279
8280
8281
8282
8283
8284
8285
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 8277

class StartPentestJobInput < Struct.new(
  :agent_space_id,
  :pentest_id,
  :job_type,
  :selected_finding_ids,
  :scope_changes)
  SENSITIVE = []
  include Aws::Structure
end

#pentest_id ⇒ String

The unique identifier of the pentest to start a job for.

Returns:

  • (String)


8277
8278
8279
8280
8281
8282
8283
8284
8285
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 8277

class StartPentestJobInput < Struct.new(
  :agent_space_id,
  :pentest_id,
  :job_type,
  :selected_finding_ids,
  :scope_changes)
  SENSITIVE = []
  include Aws::Structure
end

#scope_changes ⇒ Array<Types::ScopeChange>

The code changes that define the scope of a CI/CD pentest job. Provide this when starting a job with jobType CICD to test only the changes in the current pipeline run.

Returns:



8277
8278
8279
8280
8281
8282
8283
8284
8285
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 8277

class StartPentestJobInput < Struct.new(
  :agent_space_id,
  :pentest_id,
  :job_type,
  :selected_finding_ids,
  :scope_changes)
  SENSITIVE = []
  include Aws::Structure
end

#selected_finding_ids ⇒ Array<String>

The list of finding identifiers to revalidate. Required when jobType is REVALIDATION. Each finding must belong to the same agent space and pentest.

Returns:

  • (Array<String>)


8277
8278
8279
8280
8281
8282
8283
8284
8285
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 8277

class StartPentestJobInput < Struct.new(
  :agent_space_id,
  :pentest_id,
  :job_type,
  :selected_finding_ids,
  :scope_changes)
  SENSITIVE = []
  include Aws::Structure
end