The aws-sqs mod contains resource, control and policy definitions for AWS SQS service.
Resource Types
Resource types covered by this mod:
Permissions
Taking a look at permissions and associated grant levels for each permission for SQS:
Permission | Grant Level | Help |
---|---|---|
sqs:AddPermission | Admin | Allows cross-account access. |
sqs:ChangeMessageVisibility | Operator | |
sqs:ChangeMessageVisibilityBatch | Operator | |
sqs:CreateQueue | Admin | |
sqs:DeleteMessage | Operator | |
sqs:DeleteMessageBatch | Operator | |
sqs:DeleteQueue | Admin | |
sqs:GetQueueAttributes | Metadata | |
sqs:GetQueueUrl | Metadata | |
sqs:ListDeadLetterSourceQueues | Metadata | |
sqs:ListQueueTags | Metadata | |
sqs:ListQueues | Metadata | |
sqs:PurgeQueue | Admin | |
sqs:ReceiveMessage | ReadOnly | |
sqs:RemovePermission | Admin | |
sqs:SendMessage | Operator | |
sqs:SendMessageBatch | Operator | |
sqs:SetQueueAttributes | Admin | Allows management of many attributes which are fine and necessary. Also allows managmenet of the queue policy which may include sharing across accounts - checked with a detective control. |
sqs:TagQueue | Operator | |
sqs:UntagQueue | Operator |
Learn More About Turbot
- Setting Policies Tutorial
- Mods Overview
- Policies Overview
- Resources Overview
- Common Policies and Controls
Recommended Version
Resource Types
Control Types
- AWS > SQS > Queue > Active
- AWS > SQS > Queue > Approved
- AWS > SQS > Queue > CMDB
- AWS > SQS > Queue > Configured
- AWS > SQS > Queue > Discovery
- AWS > SQS > Queue > Encryption at Rest
- AWS > SQS > Queue > Policy
- AWS > SQS > Queue > Policy > Trusted Access
- AWS > SQS > Queue > Tags
- AWS > SQS > Queue > Usage
- AWS > SQS > Stack
Policy Types
- AWS > SQS > API Enabled
- AWS > SQS > Approved Regions [Default]
- AWS > SQS > Enabled
- AWS > SQS > Permissions
- AWS > SQS > Permissions > Levels
- AWS > SQS > Permissions > Levels > Modifiers
- AWS > SQS > Permissions > Lockdown
- AWS > SQS > Permissions > Lockdown > API Boundary
- AWS > SQS > Queue > Active
- AWS > SQS > Queue > Active > Age
- AWS > SQS > Queue > Active > Budget
- AWS > SQS > Queue > Active > Last Modified
- AWS > SQS > Queue > Approved
- AWS > SQS > Queue > Approved > Budget
- AWS > SQS > Queue > Approved > Custom
- AWS > SQS > Queue > Approved > Regions
- AWS > SQS > Queue > Approved > Usage
- AWS > SQS > Queue > CMDB
- AWS > SQS > Queue > Configured
- AWS > SQS > Queue > Configured > Claim Precedence
- AWS > SQS > Queue > Configured > Source
- AWS > SQS > Queue > Encryption at Rest
- AWS > SQS > Queue > Encryption at Rest > Customer Managed Key
- AWS > SQS > Queue > Policy
- AWS > SQS > Queue > Policy > Trusted Access
- AWS > SQS > Queue > Policy > Trusted Access > Accounts
- AWS > SQS > Queue > Policy > Trusted Access > Organization Restrictions
- AWS > SQS > Queue > Policy > Trusted Access > Services
- AWS > SQS > Queue > Regions
- AWS > SQS > Queue > Tags
- AWS > SQS > Queue > Tags > Template
- AWS > SQS > Queue > Usage
- AWS > SQS > Queue > Usage > Limit
- AWS > SQS > Regions
- AWS > SQS > Stack
- AWS > SQS > Stack > Secret Variables
- AWS > SQS > Stack > Source
- AWS > SQS > Stack > Terraform Version
- AWS > SQS > Stack > Variables
- AWS > SQS > Tags Template [Default]
- AWS > SQS > Trusted Accounts [Default]
- AWS > SQS > Trusted Organizations [Default]
- AWS > SQS > Trusted Services [Default]
- AWS > Turbot > Event Handlers > Events > Rules > Event Sources > @turbot/aws-sqs
- AWS > Turbot > Permissions > Compiled > API Boundary > @turbot/aws-sqs
- AWS > Turbot > Permissions > Compiled > Levels > @turbot/aws-sqs
- AWS > Turbot > Permissions > Compiled > Service Permissions > @turbot/aws-sqs
Release Notes
5.13.0 (2023-05-31)
What's new?
- Resource's metadata will now also include
createdBy
details in Turbot CMDB.
5.12.2 (2023-03-17)
Bug fixes
- The
AWS > SQS > Queue > Encryption at Rest
control would sometimes go into an error state if theKmsMasterKeyId
of the KMS Key used to encrypt the Queue had anarn
format of the Key's Alias. This is fixed and the control will now work as expected.
5.12.1 (2022-07-13)
Bug fixes
- The lambda functions for certain controls/actions would re-run unnecessarily whenever the mod version was updated. This has now been fixed.
5.12.0 (2022-07-12)
What's new?
- Users can now perform quick actions on resources to remediate cloud configuration issues or skip Turbot alarms for issues that they want to come back to later. To get started, click on the
Actions
button, which will reveal a dropdown menu with available actions, and select one. See Quick Actions for more information. - README.md file is now available for users to check details about the resource types and service permissions that the mod covers.
Action Types
Added
- AWS > SQS > Queue > Delete from AWS
- AWS > SQS > Queue > Set Tags
- AWS > SQS > Queue > Skip alarm for Active control
- AWS > SQS > Queue > Skip alarm for Active control [90 days]
- AWS > SQS > Queue > Skip alarm for Approved control
- AWS > SQS > Queue > Skip alarm for Approved control [90 days]
- AWS > SQS > Queue > Skip alarm for Encryption at Rest control
- AWS > SQS > Queue > Skip alarm for Encryption at Rest control [90 days]
- AWS > SQS > Queue > Skip alarm for Tags control
- AWS > SQS > Queue > Skip alarm for Tags control [90 days]
5.11.1 (2022-03-15)
Bug fixes
- The Trusted Access control did not evaluate a resource policy correctly if the policy statement had a
Condition
to matchaws:SourceArn
and theTrusted Access > Accounts
policy was set to*
. This is now fixed.
5.11.0 (2022-02-15)
What's new?
- Users can now create their own custom checks against resource attributes in the Approved control using the
Approved > Custom
policy. These custom checks would be a part of the evaluation of the Approved control. Custom messages can also be added which are then displayed in the control details table. See Custom Checks for more information.
Bug fixes
- We've improved the process of deleting resources from Turbot if their CMDB policy was set to
Enforce: Disabled
. The CMDB controls will now not look to resolve credentials via Turbot's IAM role while deleting resources from Turbot. This will allow the CMDB controls to process resource deletions from Turbot more reliably than before.
Policy Types
Added
- AWS > SQS > Queue > Approved > Custom
5.10.5 (2022-01-25)
Bug fixes
- We've made a few improvements in the GraphQL query for
AWS > SQS > Queue > Encryption At Rest
control. You won't notice any difference, but things should run lighter and quicker than before.
5.10.4 (2022-01-24)
Bug fixes
- The
AWS > SQS > Queue > Encryption at Rest
control would sometimes evaluate the outcome incorrectly if the key inAWS > SQS > Queue > Encryption at Rest > Customer Managed Key
policy was in an id format. This is fixed and the control now works as expected.
5.10.3 (2021-09-15)
Bug fixes
- In several recent versions, we had released changes that we thought had fixed errors while evaluating the outcome of the
AWS > SQS > Queue > Policy > Trusted Access
control. Turns out we were wrong and the control still went into an error state for an empty policy statement. Now, we've included another fix that really should resolve the error and get the control running smoothly again.
5.10.2 (2021-08-24)
Bug fixes
- The
AWS > SQS > Queue > Policy > Trusted Access
control would go into an error state if a policy statement had an emptyaws:SourceArn
condition. This is now fixed.
5.10.1 (2021-07-22)
Bug fixes
- The
AWS > SQS > Queue > Policy > Trusted Access
control would go into an error state if the policy statement did not containPrincipal
. This is now fixed.
5.10.0 (2021-07-16)
Control Types
Added
- AWS > SQS > Queue > Configured
- AWS > SQS > Stack
Policy Types
Added
- AWS > SQS > Queue > Configured
- AWS > SQS > Queue > Configured > Claim Precedence
- AWS > SQS > Queue > Configured > Source
- AWS > SQS > Stack
- AWS > SQS > Stack > Secret Variables
- AWS > SQS > Stack > Source
- AWS > SQS > Stack > Terraform Version
- AWS > SQS > Stack > Variables
5.9.0 (2021-07-08)
What's new?
- We've improved the details tables in the Tags controls to be more helpful, especially when a resource's tags are not set correctly as expected. Previously, to understand why the Tags controls were in an Alarm state, you would need to find and read the control's process logs. This felt like too much work for a simple task, so now these details are visible directly from the control page.
Bug fixes
- We’ve made a few improvements in the GraphQL queries for various controls, policies, and actions. You won’t notice any difference, but things should run lighter and quicker than before.
5.8.1 (2021-04-06)
Bug fixes
- We've updated the description of the
AWS > SQS > Queue > Trusted Access
policy and control to include more information about its working and scope.
5.8.0 (2021-03-31)
What's new?
- We've improved the state reasons and details tables in various Approved and Active controls to be more helpful, especially when a resource is unapproved or inactive. Previously, to understand why one of these controls is in Alarm state, you would need to find and read the control's process logs. This felt like too much work for a simple task, so now these details are visible directly from the control page.
Bug fixes
- Users can now manage tags on queues in the
us-gov-west-1
region via theAWS > SQS > Queue > Tags
control.
5.7.3 (2021-01-19)
Bug fixes
- The
AWS > SQS > Queue > Discovery
control would fail to upsert more than a 1000 queues in a region due to lack of paging support. This is now fixed.
5.7.2 (2021-01-07)
Bug fixes
- Controls run faster now when in the
tbd
andskipped
states thanks to the new Turbot Precheck feature (not to be confused with TSA PreCheck). With Turbot Precheck, controls avoid running GraphQL input queries when intbd
andskipped
, resulting in faster and lighter control runs.
5.7.1 (2020-09-28)
Bug fixes
- We've made some improvements to our real-time event handling that reduces the risk of creating resources in CMDB with malformed AKAs. There's no noticeable difference, but things should run more reliably now.
5.7.0 (2020-09-18)
What's new?
Cross-account trust is not only important for complex enterprise and application scenarios but is also a critical area for security controls. We now support controlling cross-account access for queues to provide automatic protection against unexpected cross-account access.
A common set of trusted AWS account IDs can be defined in the
AWS > Account > Trusted Accounts [Default]
policy. Trusted accounts can also be defined at any level, even down to the specific queue resource.To get started with these new controls, please see the
AWS > SQS > Queue > Policy > Trusted Access
policy.
Control Types
Added
- AWS > SQS > Queue > Policy
- AWS > SQS > Queue > Policy > Trusted Access
Policy Types
Added
- AWS > SQS > Queue > Policy
- AWS > SQS > Queue > Policy > Trusted Access
- AWS > SQS > Queue > Policy > Trusted Access > Accounts
- AWS > SQS > Queue > Policy > Trusted Access > Organization Restrictions
- AWS > SQS > Queue > Policy > Trusted Access > Services
- AWS > SQS > Trusted Accounts [Default]
- AWS > SQS > Trusted Organizations [Default]
- AWS > SQS > Trusted Services [Default]
Action Types
Added
- AWS > SQS > Queue > Set Policy Trusted Access
5.6.0 (2020-09-02)
What's new?
- Discovery controls now have their own control category,
CMDB > Discovery
, to allow for easier filtering separately from other CMDB controls. - We've renamed the service's default regions policy from
Regions [Default]
toRegions
to be consistent with our other regions policies.
5.5.2 (2020-08-13)
Bug fixes
- In various Active controls, we were outputting log messages that did not properly show how many days were left until we'd delete the inactive resources (we were still deleting them after the correct number of days). These log messages have been fixed and now contain the correct number of days.
- Whenever a policy attached to a queue was removed from the AWS console, it's corresponding CMDB control did not get updated. This issue has now been fixed.
5.5.1 (2020-07-23)
Bug fixes
AWS/SQS/Admin
now includes permissions for managing access to queues.
5.5.0 (2020-07-15)
Control Types
Added
- AWS > SQS > Queue > Encryption at Rest
Policy Types
Added
- AWS > SQS > Queue > Encryption at Rest
- AWS > SQS > Queue > Encryption at Rest > Customer Managed Key
Action Types
Added
- AWS > SQS > Queue > Update Encryption at Rest
5.4.1 (2020-07-07)
Bug fixes
- Updated various resource configurations to provide better compatibility with AWS China regions.
5.4.0 (2020-06-11)
Warning
- There were a number of polices available for queue resource type which were no longer in use. These policies have been deprecated and will no longer be visible on the Turbot console.
Policy Types
Removed
- AWS > SQS > Queue > Access Policy Anonymous Access
- AWS > SQS > Queue > Access Policy Federated Access Restrictions
- AWS > SQS > Queue > Access Policy Federated Access Restrictions > Trusted Identity Providers
- AWS > SQS > Queue > Access Policy Linting
- AWS > SQS > Queue > Cross-Account Access
- AWS > SQS > Queue > Number of Messages Visible Alarm
- AWS > SQS > Queue > Restrictions
- AWS > SQS > Queue > Restrictions > Access Policy Trusted Services
- AWS > SQS > Queue > Trusted Accounts
5.3.1 (2020-06-08)
Bug fixes
- The previous version of mod had incorrect release notes. This has now been fixed.
5.3.0 (2020-06-05)
What's new?
- Updated
AWS > SQS > Regions
policy default value to now includeeu-south-1
.
5.2.0 (2020-05-08)
What's new?
- Updated
AWS > SQS > Regions
policy default value to now includeaf-south-1
.
Bug fixes
- In us-gov-west-1, queues do not support tagging, but we were still trying to list tags in the
AWS > SQS > Queue > CMDB
andAWS > SQS > Queue > Tags
controls, resulting in them moving to Error. This has been fixed.