Control: SQS queue policies should not allow ALL (*) principal
Description
Ensure that the SQS queue policy restricts access to specific services or principals, ensuring that it is not publicly accessible.
Usage
Run the control in your terminal:
powerpipe control run terraform_aws_compliance.control.sqs_queue_policy_no_principal_star
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run terraform_aws_compliance.control.sqs_queue_policy_no_principal_star --share
SQL
This control uses a named query:
sqs_queue_policy_no_principal_star