AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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)


644
645
646
647
648
649
650
651
652
653
654
655
656
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 644

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)


644
645
646
647
648
649
650
651
652
653
654
655
656
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 644

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)


644
645
646
647
648
649
650
651
652
653
654
655
656
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 644

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)


644
645
646
647
648
649
650
651
652
653
654
655
656
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 644

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)


644
645
646
647
648
649
650
651
652
653
654
655
656
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 644

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)


644
645
646
647
648
649
650
651
652
653
654
655
656
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 644

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)


644
645
646
647
648
649
650
651
652
653
654
655
656
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 644

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


644
645
646
647
648
649
650
651
652
653
654
655
656
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 644

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:



644
645
646
647
648
649
650
651
652
653
654
655
656
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 644

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