AWS Amazon Inspector Assessment Template

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

code-icon

Fix issues in your cloud & app configurations

Test for misconfigurations of this resource in your cloud.

get-started-button

Terraform Example (aws_inspector_assessment_template)

Provides a Inspector assessment template

Parameters

Example Usage (from GitHub)

github-iconsnapdocs/terraform-aws-inspector
resource "aws_inspector_assessment_template" "template" {
  name       = data.aws_region.current.name
  target_arn = aws_inspector_assessment_target.myinspector.arn
  duration   = 3600

  # https://docs.aws.amazon.com/inspector/latest/userguide/inspector_rules-arns.html
github-iconniveklabs/aws
resource "aws_inspector_assessment_template" "this" {
  duration           = var.duration
  name               = var.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.

Parameters

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.