Skip to main content

Description

Identify AWS SNS Topics that appear to be associated with AWS CloudFormation or AWS Service Catalog provisioning.

This policy checks for AWS-managed tag signals that can help identify an SNS topic as associated with AWS CloudFormation or AWS Service Catalog.

Rationale

AWS-managed provisioning tags provide evidence that an SNS topic is associated with a CloudFormation stack or a Service Catalog provisioned product. This allows to distinguish topics with supported AWS-managed provisioning indicators from topics that are not identified by this tag-based method.

Audit

This policy classifies an AWS SNS Topic as identified by automated provisioning evidence when the topic has at least one of the following AWS-managed tag keys:

  • aws:cloudformation:logical-id
  • aws:cloudformation:stack-id
  • aws:cloudformation:stack-name
  • aws:servicecatalog:portfolioArn
  • aws:servicecatalog:productArn
  • aws:servicecatalog:provisioningPrincipalArn
  • aws:servicecatalog:provisionedProductArn
  • aws:servicecatalog:provisioningArtifactIdentifier

The CloudFormation tags are included because AWS documents that CloudFormation automatically creates the aws:cloudformation:logical-id, aws:cloudformation:stack-id, and aws:cloudformation:stack-name stack-level tags.

The Service Catalog tags are included because AWS documents these AutoTags as automatically applied tags that identify the origin of Service Catalog provisioned resources. SNS topics are taggable resources, so these tags are treated as Service Catalog evidence only when they are present on the topic itself.

SNS topics without one of the supported AWS-managed provisioning tags are classified as not identified by this automated provisioning tag signal. This result is not evidence by itself that the topic is misconfigured.

References

  1. CloudFormation resource tagging
  2. AWS Service Catalog AutoTags