You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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.

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The ARN of the assessment template.

Returns:

  • (String)


547
548
549
550
551
552
553
554
555
556
557
558
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 547

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)
  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)


547
548
549
550
551
552
553
554
555
556
557
558
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 547

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)
  include Aws::Structure
end

#assessment_target_arnString

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

Returns:

  • (String)


547
548
549
550
551
552
553
554
555
556
557
558
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 547

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)
  include Aws::Structure
end

#created_atTime

The time at which the assessment template is created.

Returns:

  • (Time)


547
548
549
550
551
552
553
554
555
556
557
558
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 547

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)
  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)


547
548
549
550
551
552
553
554
555
556
557
558
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 547

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)
  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)


547
548
549
550
551
552
553
554
555
556
557
558
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 547

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)
  include Aws::Structure
end

#nameString

The name of the assessment template.

Returns:

  • (String)


547
548
549
550
551
552
553
554
555
556
557
558
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 547

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)
  include Aws::Structure
end

#rules_package_arnsArray<String>

The rules packages that are specified for this assessment template.

Returns:

  • (Array<String>)


547
548
549
550
551
552
553
554
555
556
557
558
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 547

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)
  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:



547
548
549
550
551
552
553
554
555
556
557
558
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 547

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)
  include Aws::Structure
end