OpenParable
Skip to content
← Back to skills

Cis AWS Database 6.2

DevOps & Security
cis-aws-database-6.2

Cis AWS Database 6.2 is an Agent Skill for devops & security published in the CyberStrikeus/CyberStrike repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Ensure Data at Rest and in Transit is Encrypted

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/CyberStrikeus/CyberStrike/blob/HEAD/.cyberstrike/skill/CIS_benchmarks/Cloud_Providers/AWS/CIS_AWS_Database_Services_Benchmark_v2.0.0/cis-aws-database-6.2/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/cis-aws-database-6-2, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

6.2 Ensure Data at Rest and in Transit is Encrypted (Manual)

Description

Ensure that encryption at rest and encryption in transit are both enabled for Amazon MemoryDB for Redis clusters to protect data confidentiality.

Rationale

Encrypting data at rest and in transit protects sensitive information from unauthorized access. Encryption at rest ensures stored data cannot be read even if underlying storage is compromised. Encryption in transit (TLS) protects data as it moves between clients and the MemoryDB cluster.

Impact

Enabling encryption may have a minor performance impact due to cryptographic operations. Applications must support TLS connections when encryption in transit is enabled.

Audit Procedure

Using AWS Console

  1. Sign in to the AWS Management Console

  2. Open the Amazon MemoryDB Console

  3. Select the Cluster

    • Choose the MemoryDB cluster for which you want to enable encryption at rest and in transit.
    • Click on the cluster name to access its details page.
  4. Enable Encryption at Rest

    • In the cluster details page, navigate to the Encryption at Rest section.
    • Click on Modify to edit the encryption settings.
    • Select the desired encryption option:
      • AWS Managed Key (Default): Choose this option to use the default AWS managed key for encryption at rest. Amazon MemoryDB automatically encrypts your data using this key.
      • Customer Managed Key (CMK): Choose this option if you want to use your own AWS Key Management Service (KMS) customer-managed key for encryption. Select the appropriate CMK from the dropdown menu.
    • Click "Apply Changes" to enable encryption at rest for the MemoryDB cluster.
  5. Enable Encryption in Transit

    • In the cluster details page, navigate to the Encryption in Transit section.
    • Click on Modify to edit the encryption settings.
    • Select the desired encryption option:
      • Encryption in Transit Enabled: Choose this option to enable encryption in transit for data transmitted between your client applications and MemoryDB. MemoryDB uses SSL/TLS encryption to secure the communication channel.
      • Encryption in Transit Disabled: Choose this option if you do not require encryption in transit.
    • Click Apply Changes to enable encryption in transit for the MemoryDB cluster.
  6. Verify Encryption Status

    • Wait a few minutes for the changes to propagate and the encryption settings to take effect.
    • Refresh the cluster details page to see the updated encryption status.
    • Verify that encryption at rest and in transit are enabled for the MemoryDB cluster.

Expected Result

Both encryption at rest and encryption in transit are enabled for all MemoryDB clusters.

Remediation

Using AWS Console

Follow the audit procedure steps to enable encryption at rest and in transit for each MemoryDB cluster.

Default Value

Amazon MemoryDB for Redis encrypts data at rest by default using AWS managed keys. Encryption in transit (TLS) is enabled by default.

References

  1. https://aws.amazon.com/products/databases/

CIS Controls

Controls VersionControlIG 1IG 2IG 3
v83.10 Encrypt Sensitive Data in TransitXX
v83.11 Encrypt Sensitive Data at RestXX
v714.4 Encrypt All Sensitive Information in TransitXX
v714.8 Encrypt Sensitive Information at RestX

Profile

Level 1 | Manual