Turbot Guardrails Hub 
Hub
  • Mods
  • Policy Packs
  • Docs
  • Home
ModsPolicy PacksDocsHome
Mods
AWS
Loading controls...

Control: AWS > SQS > Queue > Encryption in Transit

Define the Encryption in Transit settings required for AWS > SQS > Queue.

The Encryption in Transit control compares the Encryption in Transit settings against the Encryption in Transit policies for the resource (AWS > SQS > Queue > Encryption in Transit), raises an alarm, and takes the defined enforcement action.

Encryption in transit for AWS > SQS > Queue is enforced through the queue's resource policy: a Deny statement on sqs:* for all principals when the request is not sent over a secure transport (aws:SecureTransport is false). The control raises an alarm if the queue has no policy, or if no statement in the policy denies insecure access.

Encryption in transit is considered enabled when the policy contains any statement equivalent to the following. Statements are matched on meaning rather than on exact text, so the equivalent spellings AWS accepts all count as enabled: Principal as "*" or { "AWS": "*" }, Action as sqs:* or *, Resource as the queue ARN or *, single-element arrays in place of any of those, and a BoolIfExists condition operator. { Sid: "MustBeEncryptedInTransit", Effect: "Deny", Principal: "*", Action: "sqs:*", Resource: "arn:${partition}:sqs:${region}:${accountId}:${queueName}", Condition: { Bool: { "aws:SecureTransport": "false" } } }

A statement that carries additional conditions, or that narrows Action below sqs:*, does not deny every insecure request and so does not count as enabled. Statements using NotPrincipal, NotAction or NotResource are never treated as enabling encryption in transit.

In Enforce: Enabled, the statement above is added while every other statement on the queue policy is preserved. In Enforce: Disabled, only the statements that enforce encryption in transit are removed.

Resource Types

This control targets the following resource types:

  • AWS > SQS > Queue

Policies

The following policies can be used to configure this control:

  • AWS > SQS > Queue > Encryption in Transit

Quick Actions

  • Skip alarm for Encryption in Transit control [90 days]
  • Skip alarm for Encryption in Transit control

Permissions

Cloud permissions used by this control and its actions:

  • sqs:SetQueueAttributes

Category

  • Resource > Encryption in Transit

In Your Workspace

  • Controls by Resource report
  • Controls by Control Type report

Developers

    Control Type URI
    • tmod:@turbot/aws-sqs#/control/types/queueEncryptionInTransit
  • Category URI
    • tmod:@turbot/turbot#/control/categories/resourceEncryptionInTransit
  • GraphQL
    • query controlType(id: "tmod:@turbot/aws-sqs#/control/types/queueEncryptionInTransit") { … }
    • query controls(filter: "controlTypeId:'tmod:@turbot/aws-sqs#/control/types/queueEncryptionInTransit'") { … }
  • CLI
    • Get Controls
    • turbot graphql controls --filter "controlTypeId:tmod:@turbot/aws-sqs#/control/types/queueEncryptionInTransit"
Guardrails
Guardrails Hub
  • Hub
  • Docs
  • Blog
  • Changelog
Products
  • GuardrailsGuardrails
  • PipesPipes
  • SteampipeSteampipe
  • PowerpipePowerpipe
  • FlowpipeFlowpipe
  • TailpipeTailpipe
Turbot
  • Home
  • About us
  • We're hiring!
  • Contact us
Community

Our community of practitioners love to discuss cloud governance & security.

Slack logoJoin us on Slack →

System StatusLegalSecurity
Terms of UseSecurityPrivacy
181
Mods
521
Resource Types
9,169
Policies
3,578
Controls
1,955
Quick Actions
547
IAM