# Ensure to Review and Update the Security Configuration

- Source: https://support.icompaas.com/support/solutions/articles/62000234480-ensure-to-review-and-update-the-security-configuration
- Section: [Solutions](https://support.icompaas.com/support/solutions) › [CIS AWS Database Services Benchmark v1.0.0](https://support.icompaas.com/support/solutions/62000112688) › [CIS AWS Database Services Benchmark v1.0.0](https://support.icompaas.com/support/solutions/folders/62000169253)
- Last updated: 2026-05-29
- Publisher: iCompaas, Inc. (https://www.icompaas.com)

#### Profile Applicability

-   Level 1  
      
    

#### Description

Regularly reviewing and updating the security configuration of your AWS database environment ensures alignment with your organization's security requirements and helps prevent unauthorized access, data leaks, or misconfigurations.

#### Rationale

By periodically evaluating access permissions, encryption settings, network security, and logging configurations, organizations can identify and address security gaps, ensuring that only authorized entities have access to sensitive resources and that the infrastructure remains resilient against threats.

#### Impact

Pros:

-   Reduces the risk of unauthorized access.  
      
    
-   Aligns with compliance standards.  
      
    
-   Helps detect and mitigate misconfigurations.  
      
    

Cons:

-   May introduce service disruptions if changes are not properly tested.  
      
    
-   Requires coordination among teams for implementation.  
      
    

#### Default Value

AWS does not enforce periodic security configuration reviews by default.

#### Pre-Requisites

-   IAM permissions to review and modify database configuration.  
      
    
-   Access to monitoring and logging tools (e.g., CloudWatch, CloudTrail).  
      
    
-   Access to Timestream, RDS, Keyspaces, or relevant database service consoles.  
      
    

### Remediation

#### Test Plan

1.  Review IAM roles and policies.  
      
    
2.  Review audit logging and monitoring configurations.  
      
    
3.  Review encryption settings.  
      
    
4.  Review access control (ACLs, Security Groups, etc.).  
      
    
5.  Review network and VPC configurations.
    

#### Implementation Plan

##### Using AWS Console

1.  Sign in to the AWS Management Console.  
      
    
2.  Navigate to the relevant database service (e.g., RDS, Timestream, Keyspaces).  
      
    
3.  Select the database instance or keyspace.  
      
    
4.  Go to the Configuration or Security tab.
    
5.  Review and update:  
      
    
    -   IAM policies for least privilege access.  
          
        
    -   Access control lists and roles.  
          
        
    -   Security group rules and network ACLs.  
          
        
    -   Encryption settings at rest and in transit.  
          
        
    -   Audit logging settings in CloudWatch or CloudTrail.  
          
        
6.  Save changes after validating the updates.  
      
    

##### Using AWS CLI

List databases and their configuration:  

aws rds describe-db-instances

Get IAM policies and roles attached  

aws iam list-attached-role-policies --role-name <role-name>

Review security group rules:  

aws ec2 describe-security-groups --group-ids <group-id>

Check encryption settings:  

aws rds describe-db-instances --query "DBInstances\[\*\].StorageEncrypted"

Check CloudWatch log group settings:  

aws logs describe-log-groups

1.  Modify or apply updated security settings as required using modify-db-instance, put-log-events, etc.
    

#### Backout Plan

##### Using AWS Console

1.  Revert to the previous IAM roles or configurations using backup documentation or snapshots.  
      
    
2.  Restore old access control settings.  
      
    
3.  Reapply previous network security rules.  
      
    
4.  Disable or revert encryption or logging changes if necessary.  
      
    

##### Using AWS CLI

Restore old IAM policy:  

aws iam attach-role-policy --role-name <role-name> --policy-arn <old-policy-arn>

Revert security group:  

aws ec2 authorize-security-group-ingress --group-id <group-id> --protocol <protocol> --port <port> --cidr <old-cidr>

Disable logging (if required temporarily):  

aws logs delete-log-group --log-group-name <log-group-name>

#### References

-   [https://aws.amazon.com/products/databases/  
      
    ](https://aws.amazon.com/products/databases/)
    
-   [https://docs.aws.amazon.com/IAM/latest/UserGuide/access\_policies.html  
    ](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html)
    

#### CIS Controls Mapping

<table style="border:none;border-collapse:collapse;font-size:14px"><colgroup style="font-family:&quot;Helvetica Neue&quot;"><col style="font-family:&quot;Helvetica Neue&quot;"><col style="font-family:&quot;Helvetica Neue&quot;"><col style="font-family:&quot;Helvetica Neue&quot;"></colgroup><tbody><tr style="height:25.75pt;font-family:&quot;Helvetica Neue&quot;"><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-size:14px;font-family:&quot;Helvetica Neue&quot;"><p dir="ltr" style="line-height:1.38;text-align:justify;margin-bottom:0pt;font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="font-family:Helvetica Neue"><span style="font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="color:rgb(0, 0, 0);font-weight:700;font-family:&quot;Helvetica Neue&quot;">Controls Version</span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-size:14px;font-family:&quot;Helvetica Neue&quot;"><p dir="ltr" style="line-height:1.38;text-align:justify;margin-bottom:0pt;font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="font-family:Helvetica Neue"><span style="font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="color:rgb(0, 0, 0);font-weight:700;font-family:&quot;Helvetica Neue&quot;">Control ID</span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-size:14px;font-family:&quot;Helvetica Neue&quot;"><p dir="ltr" style="line-height:1.38;text-align:justify;margin-bottom:0pt;font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="font-family:Helvetica Neue"><span style="font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="color:rgb(0, 0, 0);font-weight:700;font-family:&quot;Helvetica Neue&quot;">Description</span></span></span></p></td></tr><tr style="height:25.75pt;font-family:&quot;Helvetica Neue&quot;"><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-size:14px;font-family:&quot;Helvetica Neue&quot;"><p dir="ltr" style="line-height:1.38;text-align:justify;margin-bottom:0pt;font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="font-family:Helvetica Neue"><span style="font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="color:rgb(0, 0, 0);font-weight:400;font-family:&quot;Helvetica Neue&quot;">v8</span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-size:14px;font-family:&quot;Helvetica Neue&quot;"><p dir="ltr" style="line-height:1.38;text-align:justify;margin-bottom:0pt;font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="font-family:Helvetica Neue"><span style="font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="color:rgb(0, 0, 0);font-weight:400;font-family:&quot;Helvetica Neue&quot;">5</span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-size:14px;font-family:&quot;Helvetica Neue&quot;"><p dir="ltr" style="line-height:1.38;text-align:justify;margin-bottom:0pt;font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="font-family:Helvetica Neue"><span style="font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="color:rgb(0, 0, 0);font-weight:400;font-family:&quot;Helvetica Neue&quot;">Account Management</span></span></span></p></td></tr><tr style="height:25.75pt"><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-size:14px;font-family:&quot;Helvetica Neue&quot;"><p dir="ltr" style="line-height:1.38;text-align:justify;margin-bottom:0pt;font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="font-family:Helvetica Neue"><span style="font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="color:rgb(0, 0, 0);font-weight:400;font-family:&quot;Helvetica Neue&quot;">v7</span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-size:14px;font-family:&quot;Helvetica Neue&quot;"><p dir="ltr" style="line-height:1.38;text-align:justify;margin-bottom:0pt;font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="font-family:Helvetica Neue"><span style="font-size:14px;font-family:&quot;Helvetica Neue&quot;"><span style="color:rgb(0, 0, 0);font-weight:400;font-family:&quot;Helvetica Neue&quot;">5</span></span></span></p></td><td style="padding:5pt;overflow:hidden;overflow-wrap:break-word;font-size:14px"><p dir="ltr" style="line-height:1.38;text-align:justify;margin-bottom:0pt;font-size:14px"><span style="font-family:Helvetica Neue"><span style="font-size:14px"><span style="color:rgb(0, 0, 0);font-weight:400">Secure Configuration for Hardware and Software on Devices</span></span></span></p></td></tr></tbody></table>

## Related compliance guidance

- [SOC 2 compliance: a practical implementation guide for cloud-native SaaS teams](https://support.icompaas.com/compliance/soc-2-trust-services-criteria): Configuration checks like this one are the technical half of a SOC 2 / ISO 27001 programme — the guide shows where they fit, what else an auditor expects, and how to evidence them.
- [ISO/IEC 27001:2022 compliance: a practical implementation guide](https://support.icompaas.com/compliance/iso-27001-2022): ISO 27001 Annex A.8 (technological controls) is where cloud hardening evidence lands; the guide shows how to run the ISMS around it.
