Class: Aws::Inspector::Types::AssessmentTemplate

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

Overview

Contains information about an Amazon Inspector assessment template. This data type is used as the response element in the DescribeAssessmentTemplates action.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The ARN of the assessment template.

Returns:

  • (String)


591
592
593
594
595
596
597
598
599
600
601
602
603
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 591

class AssessmentTemplate < Struct.new(
  :arn,
  :name,
  :assessment_target_arn,
  :duration_in_seconds,
  :rules_package_arns,
  :user_attributes_for_findings,
  :last_assessment_run_arn,
  :assessment_run_count,
  :created_at)
  SENSITIVE = []
  include Aws::Structure
end

#assessment_run_countInteger

The number of existing assessment runs associated with this assessment template. This value can be zero or a positive integer.

Returns:

  • (Integer)


591
592
593
594
595
596
597
598
599
600
601
602
603
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 591

class AssessmentTemplate < Struct.new(
  :arn,
  :name,
  :assessment_target_arn,
  :duration_in_seconds,
  :rules_package_arns,
  :user_attributes_for_findings,
  :last_assessment_run_arn,
  :assessment_run_count,
  :created_at)
  SENSITIVE = []
  include Aws::Structure
end

#assessment_target_arnString

The ARN of the assessment target that corresponds to this assessment template.

Returns:

  • (String)


591
592
593
594
595
596
597
598
599
600
601
602
603
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 591

class AssessmentTemplate < Struct.new(
  :arn,
  :name,
  :assessment_target_arn,
  :duration_in_seconds,
  :rules_package_arns,
  :user_attributes_for_findings,
  :last_assessment_run_arn,
  :assessment_run_count,
  :created_at)
  SENSITIVE = []
  include Aws::Structure
end

#created_atTime

The time at which the assessment template is created.

Returns:

  • (Time)


591
592
593
594
595
596
597
598
599
600
601
602
603
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 591

class AssessmentTemplate < Struct.new(
  :arn,
  :name,
  :assessment_target_arn,
  :duration_in_seconds,
  :rules_package_arns,
  :user_attributes_for_findings,
  :last_assessment_run_arn,
  :assessment_run_count,
  :created_at)
  SENSITIVE = []
  include Aws::Structure
end

#duration_in_secondsInteger

The duration in seconds specified for this assessment template. The default value is 3600 seconds (one hour). The maximum value is 86400 seconds (one day).

Returns:

  • (Integer)


591
592
593
594
595
596
597
598
599
600
601
602
603
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 591

class AssessmentTemplate < Struct.new(
  :arn,
  :name,
  :assessment_target_arn,
  :duration_in_seconds,
  :rules_package_arns,
  :user_attributes_for_findings,
  :last_assessment_run_arn,
  :assessment_run_count,
  :created_at)
  SENSITIVE = []
  include Aws::Structure
end

#last_assessment_run_arnString

The Amazon Resource Name (ARN) of the most recent assessment run associated with this assessment template. This value exists only when the value of assessmentRunCount is greaterpa than zero.

Returns:

  • (String)


591
592
593
594
595
596
597
598
599
600
601
602
603
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 591

class AssessmentTemplate < Struct.new(
  :arn,
  :name,
  :assessment_target_arn,
  :duration_in_seconds,
  :rules_package_arns,
  :user_attributes_for_findings,
  :last_assessment_run_arn,
  :assessment_run_count,
  :created_at)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the assessment template.

Returns:

  • (String)


591
592
593
594
595
596
597
598
599
600
601
602
603
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 591

class AssessmentTemplate < Struct.new(
  :arn,
  :name,
  :assessment_target_arn,
  :duration_in_seconds,
  :rules_package_arns,
  :user_attributes_for_findings,
  :last_assessment_run_arn,
  :assessment_run_count,
  :created_at)
  SENSITIVE = []
  include Aws::Structure
end

#rules_package_arnsArray<String>

The rules packages that are specified for this assessment template.

Returns:

  • (Array<String>)


591
592
593
594
595
596
597
598
599
600
601
602
603
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 591

class AssessmentTemplate < Struct.new(
  :arn,
  :name,
  :assessment_target_arn,
  :duration_in_seconds,
  :rules_package_arns,
  :user_attributes_for_findings,
  :last_assessment_run_arn,
  :assessment_run_count,
  :created_at)
  SENSITIVE = []
  include Aws::Structure
end

#user_attributes_for_findingsArray<Types::Attribute>

The user-defined attributes that are assigned to every generated finding from the assessment run that uses this assessment template.

Returns:



591
592
593
594
595
596
597
598
599
600
601
602
603
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 591

class AssessmentTemplate < Struct.new(
  :arn,
  :name,
  :assessment_target_arn,
  :duration_in_seconds,
  :rules_package_arns,
  :user_attributes_for_findings,
  :last_assessment_run_arn,
  :assessment_run_count,
  :created_at)
  SENSITIVE = []
  include Aws::Structure
end