Learn R Programming

paws.security.identity (version 0.7.0)

inspector_create_assessment_template: Creates an assessment template for the assessment target that is specified by the ARN of the assessment target

Description

Creates an assessment template for the assessment target that is specified by the ARN of the assessment target. If the service-linked role isn’t already registered, this action also creates and registers a service-linked role to grant Amazon Inspector access to AWS Services needed to perform security assessments.

See https://www.paws-r-sdk.com/docs/inspector_create_assessment_template/ for full documentation.

Usage

inspector_create_assessment_template(
  assessmentTargetArn,
  assessmentTemplateName,
  durationInSeconds,
  rulesPackageArns,
  userAttributesForFindings = NULL
)

Arguments

assessmentTargetArn

[required] The ARN that specifies the assessment target for which you want to create the assessment template.

assessmentTemplateName

[required] The user-defined name that identifies the assessment template that you want to create. You can create several assessment templates for an assessment target. The names of the assessment templates that correspond to a particular assessment target must be unique.

durationInSeconds

[required] The duration of the assessment run in seconds.

rulesPackageArns

[required] The ARNs that specify the rules packages that you want to attach to the assessment template.

userAttributesForFindings

The user-defined attributes that are assigned to every finding that is generated by the assessment run that uses this assessment template. An attribute is a key and value pair (an Attribute object). Within an assessment template, each key must be unique.