Skip to content

/AWS1/CL_INSASSESSMENTTEMPLATE

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

CONSTRUCTOR

IMPORTING

Required arguments:

iv_arn TYPE /AWS1/INSARN /AWS1/INSARN

The ARN of the assessment template.

iv_name TYPE /AWS1/INSASSESSMENTTMPLNAME /AWS1/INSASSESSMENTTMPLNAME

The name of the assessment template.

iv_assessmenttargetarn TYPE /AWS1/INSARN /AWS1/INSARN

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

iv_durationinseconds TYPE /AWS1/INSASSESSMENTRUNDURATION /AWS1/INSASSESSMENTRUNDURATION

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

it_rulespackagearns TYPE /AWS1/CL_INSASSESSMENTTMPLRL00=>TT_ASSESSMENTTMPLRLSPACKAGEA00 TT_ASSESSMENTTMPLRLSPACKAGEA00

The rules packages that are specified for this assessment template.

it_userattributesforfindings TYPE /AWS1/CL_INSATTRIBUTE=>TT_USERATTRIBUTELIST TT_USERATTRIBUTELIST

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

iv_assessmentruncount TYPE /AWS1/INSARNCOUNT /AWS1/INSARNCOUNT

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

iv_createdat TYPE /AWS1/INSTIMESTAMP /AWS1/INSTIMESTAMP

The time at which the assessment template is created.

Optional arguments:

iv_lastassessmentrunarn TYPE /AWS1/INSARN /AWS1/INSARN

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.


Queryable Attributes

arn

The ARN of the assessment template.

Accessible with the following methods

Method Description
GET_ARN() Getter for ARN, with configurable default
ASK_ARN() Getter for ARN w/ exceptions if field has no value
HAS_ARN() Determine if ARN has a value

name

The name of the assessment template.

Accessible with the following methods

Method Description
GET_NAME() Getter for NAME, with configurable default
ASK_NAME() Getter for NAME w/ exceptions if field has no value
HAS_NAME() Determine if NAME has a value

assessmentTargetArn

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

Accessible with the following methods

Method Description
GET_ASSESSMENTTARGETARN() Getter for ASSESSMENTTARGETARN, with configurable default
ASK_ASSESSMENTTARGETARN() Getter for ASSESSMENTTARGETARN w/ exceptions if field has no
HAS_ASSESSMENTTARGETARN() Determine if ASSESSMENTTARGETARN has a value

durationInSeconds

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

Accessible with the following methods

Method Description
GET_DURATIONINSECONDS() Getter for DURATIONINSECONDS, with configurable default
ASK_DURATIONINSECONDS() Getter for DURATIONINSECONDS w/ exceptions if field has no v
HAS_DURATIONINSECONDS() Determine if DURATIONINSECONDS has a value

rulesPackageArns

The rules packages that are specified for this assessment template.

Accessible with the following methods

Method Description
GET_RULESPACKAGEARNS() Getter for RULESPACKAGEARNS, with configurable default
ASK_RULESPACKAGEARNS() Getter for RULESPACKAGEARNS w/ exceptions if field has no va
HAS_RULESPACKAGEARNS() Determine if RULESPACKAGEARNS has a value

userAttributesForFindings

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

Accessible with the following methods

Method Description
GET_USERATTRSFORFINDINGS() Getter for USERATTRIBUTESFORFINDINGS, with configurable defa
ASK_USERATTRSFORFINDINGS() Getter for USERATTRIBUTESFORFINDINGS w/ exceptions if field
HAS_USERATTRSFORFINDINGS() Determine if USERATTRIBUTESFORFINDINGS has a value

lastAssessmentRunArn

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.

Accessible with the following methods

Method Description
GET_LASTASSESSMENTRUNARN() Getter for LASTASSESSMENTRUNARN, with configurable default
ASK_LASTASSESSMENTRUNARN() Getter for LASTASSESSMENTRUNARN w/ exceptions if field has n
HAS_LASTASSESSMENTRUNARN() Determine if LASTASSESSMENTRUNARN has a value

assessmentRunCount

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

Accessible with the following methods

Method Description
GET_ASSESSMENTRUNCOUNT() Getter for ASSESSMENTRUNCOUNT, with configurable default
ASK_ASSESSMENTRUNCOUNT() Getter for ASSESSMENTRUNCOUNT w/ exceptions if field has no
HAS_ASSESSMENTRUNCOUNT() Determine if ASSESSMENTRUNCOUNT has a value

createdAt

The time at which the assessment template is created.

Accessible with the following methods

Method Description
GET_CREATEDAT() Getter for CREATEDAT, with configurable default
ASK_CREATEDAT() Getter for CREATEDAT w/ exceptions if field has no value
HAS_CREATEDAT() Determine if CREATEDAT has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_ASSESSMENTTEMPLATELIST

TYPES TT_ASSESSMENTTEMPLATELIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_INSASSESSMENTTEMPLATE WITH DEFAULT KEY
.