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)


502
503
504
505
506
507
508
509
510
511
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 502

class AssessmentTemplate < Struct.new(
  :arn,
  :name,
  :assessment_target_arn,
  :duration_in_seconds,
  :rules_package_arns,
  :user_attributes_for_findings,
  :created_at)
  include Aws::Structure
end

#assessment_target_arnString

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

Returns:

  • (String)


502
503
504
505
506
507
508
509
510
511
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 502

class AssessmentTemplate < Struct.new(
  :arn,
  :name,
  :assessment_target_arn,
  :duration_in_seconds,
  :rules_package_arns,
  :user_attributes_for_findings,
  :created_at)
  include Aws::Structure
end

#created_atTime

The time at which the assessment template is created.

Returns:

  • (Time)


502
503
504
505
506
507
508
509
510
511
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 502

class AssessmentTemplate < Struct.new(
  :arn,
  :name,
  :assessment_target_arn,
  :duration_in_seconds,
  :rules_package_arns,
  :user_attributes_for_findings,
  :created_at)
  include Aws::Structure
end

#duration_in_secondsInteger

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

Returns:

  • (Integer)


502
503
504
505
506
507
508
509
510
511
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 502

class AssessmentTemplate < Struct.new(
  :arn,
  :name,
  :assessment_target_arn,
  :duration_in_seconds,
  :rules_package_arns,
  :user_attributes_for_findings,
  :created_at)
  include Aws::Structure
end

#nameString

The name of the assessment template.

Returns:

  • (String)


502
503
504
505
506
507
508
509
510
511
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 502

class AssessmentTemplate < Struct.new(
  :arn,
  :name,
  :assessment_target_arn,
  :duration_in_seconds,
  :rules_package_arns,
  :user_attributes_for_findings,
  :created_at)
  include Aws::Structure
end

#rules_package_arnsArray<String>

The rules packages that are specified for this assessment template.

Returns:

  • (Array<String>)


502
503
504
505
506
507
508
509
510
511
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 502

class AssessmentTemplate < Struct.new(
  :arn,
  :name,
  :assessment_target_arn,
  :duration_in_seconds,
  :rules_package_arns,
  :user_attributes_for_findings,
  :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:



502
503
504
505
506
507
508
509
510
511
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 502

class AssessmentTemplate < Struct.new(
  :arn,
  :name,
  :assessment_target_arn,
  :duration_in_seconds,
  :rules_package_arns,
  :user_attributes_for_findings,
  :created_at)
  include Aws::Structure
end