Policy: AWS > S3 > Bucket > Encryption in Transit
Define the Encryption in Transit settings required for AWS > S3 > Bucket
.
The Encryption in Transit control compares the Encryption in Transit settings against the Encryption in Transit policies for the resource (AWS > S3 > Bucket > Encryption in Transit), raises an alarm, and takes the defined enforcement action.
The Encryption in Transit control examines the bucket's policy to find a match for the below statement. An exact match across all statement fields is required for encryption in transit to be considered enabled. { Sid: "MustBeEncryptedInTransit", Effect: "Deny", Principal: "*", Action: "s3:*", Resource: ['arn:${partition}:s3:::${bucketName}', 'arn:${partition}:s3:::${bucketName}/*'], Condition: { Bool: { "aws:SecureTransport": "false" } } }
Resource Types
This policy targets the following resource types:
Controls
Policy Packs
This policy setting is used by the following policy packs:
Policy Specification
Schema Type |
|
---|---|
Default |
|
Valid Values [YAML] |
|
Examples [YAML] |
|
Category
In Your Workspace
Developers
- tmod:@turbot/turbot#/control/categories/resourceEncryptionInTransit
- tmod:@turbot/aws-s3#/policy/types/encryptionInTransit
- turbot graphql policy-type --id "tmod:@turbot/aws-s3#/policy/types/encryptionInTransit"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/aws-s3#/policy/types/encryptionInTransit"
Get Policy TypeGet Policy Settings