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_type ⇒ String

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(
  :scan_name,
  :run_id,
  :scan_state,
  :created_at,
  :analysis_type,
  :updated_at,
  :number_of_revisions,
  :scan_name_arn,
  :error_message)
  SENSITIVE = []
  include Aws::Structure
end

#created_at ⇒ Time

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(
  :scan_name,
  :run_id,
  :scan_state,
  :created_at,
  :analysis_type,
  :updated_at,
  :number_of_revisions,
  :scan_name_arn,
  :error_message)
  SENSITIVE = []
  include Aws::Structure
end

#error_message ⇒ String

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(
  :scan_name,
  :run_id,
  :scan_state,
  :created_at,
  :analysis_type,
  :updated_at,
  :number_of_revisions,
  :scan_name_arn,
  :error_message)
  SENSITIVE = []
  include Aws::Structure
end

#number_of_revisions ⇒ Integer

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(
  :scan_name,
  :run_id,
  :scan_state,
  :created_at,
  :analysis_type,
  :updated_at,
  :number_of_revisions,
  :scan_name_arn,
  :error_message)
  SENSITIVE = []
  include Aws::Structure
end

#run_id ⇒ String

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(
  :scan_name,
  :run_id,
  :scan_state,
  :created_at,
  :analysis_type,
  :updated_at,
  :number_of_revisions,
  :scan_name_arn,
  :error_message)
  SENSITIVE = []
  include Aws::Structure
end

#scan_name ⇒ String

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(
  :scan_name,
  :run_id,
  :scan_state,
  :created_at,
  :analysis_type,
  :updated_at,
  :number_of_revisions,
  :scan_name_arn,
  :error_message)
  SENSITIVE = []
  include Aws::Structure
end

#scan_name_arn ⇒ String

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(
  :scan_name,
  :run_id,
  :scan_state,
  :created_at,
  :analysis_type,
  :updated_at,
  :number_of_revisions,
  :scan_name_arn,
  :error_message)
  SENSITIVE = []
  include Aws::Structure
end

#scan_state ⇒ String

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(
  :scan_name,
  :run_id,
  :scan_state,
  :created_at,
  :analysis_type,
  :updated_at,
  :number_of_revisions,
  :scan_name_arn,
  :error_message)
  SENSITIVE = []
  include Aws::Structure
end

#updated_at ⇒ Time

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(
  :scan_name,
  :run_id,
  :scan_state,
  :created_at,
  :analysis_type,
  :updated_at,
  :number_of_revisions,
  :scan_name_arn,
  :error_message)
  SENSITIVE = []
  include Aws::Structure
end