Class: Aws::CodeGuruSecurity::Types::GetScanResponse

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#analysis_typeString

The type of analysis CodeGuru Security performed in the scan, either Security or All. The Security type only generates findings related to security. The All type generates both security findings and quality findings.

Returns:

  • (String)


724
725
726
727
728
729
730
731
732
733
734
735
736
# File 'gems/aws-sdk-codegurusecurity/lib/aws-sdk-codegurusecurity/types.rb', line 724

class GetScanResponse < Struct.new(
  :analysis_type,
  :created_at,
  :error_message,
  :number_of_revisions,
  :run_id,
  :scan_name,
  :scan_name_arn,
  :scan_state,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#created_atTime

The time the scan was created.

Returns:

  • (Time)


724
725
726
727
728
729
730
731
732
733
734
735
736
# File 'gems/aws-sdk-codegurusecurity/lib/aws-sdk-codegurusecurity/types.rb', line 724

class GetScanResponse < Struct.new(
  :analysis_type,
  :created_at,
  :error_message,
  :number_of_revisions,
  :run_id,
  :scan_name,
  :scan_name_arn,
  :scan_state,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#error_messageString

Details about the error that causes a scan to fail to be retrieved.

Returns:

  • (String)


724
725
726
727
728
729
730
731
732
733
734
735
736
# File 'gems/aws-sdk-codegurusecurity/lib/aws-sdk-codegurusecurity/types.rb', line 724

class GetScanResponse < Struct.new(
  :analysis_type,
  :created_at,
  :error_message,
  :number_of_revisions,
  :run_id,
  :scan_name,
  :scan_name_arn,
  :scan_state,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#number_of_revisionsInteger

The number of times a scan has been re-run on a revised resource.

Returns:

  • (Integer)


724
725
726
727
728
729
730
731
732
733
734
735
736
# File 'gems/aws-sdk-codegurusecurity/lib/aws-sdk-codegurusecurity/types.rb', line 724

class GetScanResponse < Struct.new(
  :analysis_type,
  :created_at,
  :error_message,
  :number_of_revisions,
  :run_id,
  :scan_name,
  :scan_name_arn,
  :scan_state,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#run_idString

UUID that identifies the individual scan run.

Returns:

  • (String)


724
725
726
727
728
729
730
731
732
733
734
735
736
# File 'gems/aws-sdk-codegurusecurity/lib/aws-sdk-codegurusecurity/types.rb', line 724

class GetScanResponse < Struct.new(
  :analysis_type,
  :created_at,
  :error_message,
  :number_of_revisions,
  :run_id,
  :scan_name,
  :scan_name_arn,
  :scan_state,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#scan_nameString

The name of the scan.

Returns:

  • (String)


724
725
726
727
728
729
730
731
732
733
734
735
736
# File 'gems/aws-sdk-codegurusecurity/lib/aws-sdk-codegurusecurity/types.rb', line 724

class GetScanResponse < Struct.new(
  :analysis_type,
  :created_at,
  :error_message,
  :number_of_revisions,
  :run_id,
  :scan_name,
  :scan_name_arn,
  :scan_state,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#scan_name_arnString

The ARN for the scan name.

Returns:

  • (String)


724
725
726
727
728
729
730
731
732
733
734
735
736
# File 'gems/aws-sdk-codegurusecurity/lib/aws-sdk-codegurusecurity/types.rb', line 724

class GetScanResponse < Struct.new(
  :analysis_type,
  :created_at,
  :error_message,
  :number_of_revisions,
  :run_id,
  :scan_name,
  :scan_name_arn,
  :scan_state,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#scan_stateString

The current state of the scan. Returns either InProgress, Successful, or Failed.

Returns:

  • (String)


724
725
726
727
728
729
730
731
732
733
734
735
736
# File 'gems/aws-sdk-codegurusecurity/lib/aws-sdk-codegurusecurity/types.rb', line 724

class GetScanResponse < Struct.new(
  :analysis_type,
  :created_at,
  :error_message,
  :number_of_revisions,
  :run_id,
  :scan_name,
  :scan_name_arn,
  :scan_state,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#updated_atTime

The time when the scan was last updated. Only available for STANDARD scan types.

Returns:

  • (Time)


724
725
726
727
728
729
730
731
732
733
734
735
736
# File 'gems/aws-sdk-codegurusecurity/lib/aws-sdk-codegurusecurity/types.rb', line 724

class GetScanResponse < Struct.new(
  :analysis_type,
  :created_at,
  :error_message,
  :number_of_revisions,
  :run_id,
  :scan_name,
  :scan_name_arn,
  :scan_state,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end