AWS Kinesis data streams have server side encryption (SSE) enabled
Enable Server Side Encryption (SSE) of your AWS Kinesis Server data at rest, in order to protect your data and metadata from breaches or unauthorized access, and fulfill compliance requirements for data-at-rest encryption within your organization.
Risk Level: High
Cloud Entity: Amazon Kinesis
CloudGuard Rule ID: D9.AWS.CRY.24
Covered by Spectral: Yes
Category: Analytics
GSL LOGIC
Kinesis should have encrypted=true
REMEDIATION
From Portal
- Sign in to the AWS Console.
- Go to Amazon Kinesis Service.
- Select the reported Kinesis data stream and click on 'configuration'.
- Choose 'Encryption' tab under 'configuration'.
- Check 'Enable serve-side encryption' box and select desired encryption type.
- Click Save Changes
From TF
resource "aws_kinesis_stream" "test" {
name = "stream_name"
destination = "extended_s3"
# i.e
+ server_side_encryption {
+ enabled = true
+ key_type = "CUSTOMER_MANAGED_CMK"
+ key_arn = "arn"
+ }
# OR
+ server_side_encryption {
+ enabled = true
+ key_type = "AWS_OWNED_CMK"
+ }
}
From Command Line
aws kinesis start-stream-encryption --encryption-type KMS --key-id KMS_KEY_ID --stream-name EXAMPLE_NAME
References
- https://docs.aws.amazon.com/streams/latest/dev/creating-using-sse-master-keys.html
- https://docs.aws.amazon.com/kms/latest/developerguide/create-keys.html
- https://docs.aws.amazon.com/streams/latest/dev/amazon-kinesis-streams.html
- https://registry.terraform.io/modules/rodrigodelmonte/kinesis-stream/aws/latest
- https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/kinesis_stream
Amazon Kinesis
Amazon Kinesis makes it easy to collect, process, and analyze real-time, streaming data so you can get timely insights and react quickly to new information. Amazon Kinesis offers key capabilities to cost-effectively process streaming data at any scale, along with the flexibility to choose the tools that best suit the requirements of your application. With Amazon Kinesis, you can ingest real-time data such as video, audio, application logs, website clickstreams, and IoT telemetry data for machine learning, analytics, and other applications. Amazon Kinesis enables you to process and analyze data as it arrives and respond instantly instead of having to wait until all your data is collected before the processing can begin.
Compliance Frameworks
- AWS CSA CCM v.3.0.1
- AWS CSA CCM v.4.0.1
- AWS CloudGuard Best Practices
- AWS CloudGuard SOC2 based on AICPA TSC 2017
- AWS CloudGuard Well Architected Framework
- AWS GDPR Readiness
- AWS HIPAA
- AWS HITRUST
- AWS HITRUST v11.0.0
- AWS ISO 27001:2013
- AWS ISO27001:2022
- AWS ITSG-33
- AWS LGPD regulation
- AWS MAS TRM Framework
- AWS MITRE ATT&CK Framework v10
- AWS MITRE ATT&CK Framework v11.3
- AWS NIST 800-171
- AWS NIST 800-53 Rev 4
- AWS NIST 800-53 Rev 5
- AWS NIST CSF v1.1
- AWS PCI-DSS 3.2
- AWS PCI-DSS 4.0
- CloudGuard AWS All Rules Ruleset
Updated over 1 year ago