Class: Aws::SecurityAgent::Types::ScopeChange

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

Overview

A code change in a CI/CD pipeline run that defines what a CI/CD pentest job tests. Each scope change identifies an integrated repository and the commit range for the change.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#base_commit_sha ⇒ String

The commit SHA that the change is compared against. When omitted, the change is evaluated against the head commit alone.

Returns:

  • (String)


7035
7036
7037
7038
7039
7040
7041
7042
7043
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 7035

class ScopeChange < Struct.new(
  :integration_id,
  :provider_resource_id,
  :base_commit_sha,
  :head_commit_sha,
  :trigger_run_id)
  SENSITIVE = []
  include Aws::Structure
end

#head_commit_sha ⇒ String

The commit SHA at the tip of the change to be tested.

Returns:

  • (String)


7035
7036
7037
7038
7039
7040
7041
7042
7043
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 7035

class ScopeChange < Struct.new(
  :integration_id,
  :provider_resource_id,
  :base_commit_sha,
  :head_commit_sha,
  :trigger_run_id)
  SENSITIVE = []
  include Aws::Structure
end

#integration_id ⇒ String

The identifier of the integration for the source-code provider that hosts the repository.

Returns:

  • (String)


7035
7036
7037
7038
7039
7040
7041
7042
7043
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 7035

class ScopeChange < Struct.new(
  :integration_id,
  :provider_resource_id,
  :base_commit_sha,
  :head_commit_sha,
  :trigger_run_id)
  SENSITIVE = []
  include Aws::Structure
end

#provider_resource_id ⇒ String

The provider-specific identifier of the repository the change belongs to.

Returns:

  • (String)


7035
7036
7037
7038
7039
7040
7041
7042
7043
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 7035

class ScopeChange < Struct.new(
  :integration_id,
  :provider_resource_id,
  :base_commit_sha,
  :head_commit_sha,
  :trigger_run_id)
  SENSITIVE = []
  include Aws::Structure
end

#trigger_run_id ⇒ String

The identifier of the CI/CD pipeline run that triggered this pentest job.

Returns:

  • (String)


7035
7036
7037
7038
7039
7040
7041
7042
7043
# File 'gems/aws-sdk-securityagent/lib/aws-sdk-securityagent/types.rb', line 7035

class ScopeChange < Struct.new(
  :integration_id,
  :provider_resource_id,
  :base_commit_sha,
  :head_commit_sha,
  :trigger_run_id)
  SENSITIVE = []
  include Aws::Structure
end