Control: SSM documents should not be publicly accessible
Description
This control checks whether AWS Systems Manager documents that are owned by the account are public. This control fails if SSM documents with the owner Self are public.
Usage
Run the control in your terminal:
powerpipe control run terraform_aws_compliance.control.ssm_document_prohibit_public_access
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run terraform_aws_compliance.control.ssm_document_prohibit_public_access --share
SQL
This control uses a named query:
ssm_document_prohibit_public_access