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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

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)

    The ARN of the assessment template.

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

    The number of existing assessment runs associated with this assessment template.

#assessment_target_arnString

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

Returns:

  • (String)

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

#created_atTime

The time at which the assessment template is created.

Returns:

  • (Time)

    The time at which the assessment template is created.

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

    The duration in seconds specified for this assessment template.

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

    The Amazon Resource Name (ARN) of the most recent assessment run associated with this assessment template.

#nameString

The name of the assessment template.

Returns:

  • (String)

    The name of the assessment template.

#rules_package_arnsArray<String>

The rules packages that are specified for this assessment template.

Returns:

  • (Array<String>)

    The rules packages that are specified for this assessment template.

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

  • (Array<Types::Attribute>)

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