AWS Amazon Inspector Assessment Template

This page shows how to write Terraform and CloudFormation for Amazon Inspector Assessment Template and write them securely.


Fix issues in your cloud & app configurations

Test for misconfigurations of this resource in your cloud.


Terraform Example (aws_inspector_assessment_template)

Provides a Inspector assessment template


Example Usage (from GitHub)

resource "aws_inspector_assessment_template" "template" {
  name       =
  target_arn = aws_inspector_assessment_target.myinspector.arn
  duration   = 3600

resource "aws_inspector_assessment_template" "this" {
  duration           = var.duration
  name               =
  rules_package_arns = var.rules_package_arns
  tags               = var.tags
  target_arn         = var.target_arn

CloudFormation Example (AWS::Inspector::AssessmentTemplate)

The AWS::Inspector::AssessmentTemplate resource creates an Amazon Inspector assessment template, which specifies the Inspector assessment targets that will be evaluated by an assessment run and its related configurations.


Frequently asked questions

What is AWS Amazon Inspector Assessment Template?

AWS Amazon Inspector Assessment Template is a resource for Amazon Inspector of Amazon Web Service. Settings can be wrote in Terraform and CloudFormation.

Where can I find the example code for the AWS Amazon Inspector Assessment Template?

For Terraform, the snapdocs/terraform-aws-inspector and niveklabs/aws source code examples are useful. See the Terraform Example section for further details.