More Info:
This rule checks if Amazon Macie is enabled in your account per region. The rule is NON_COMPLIANT if the status attribute is not set to ENABLED.Risk Level
HighAddress
ConfigurationCompliance Standards
- APRA CPS 234 (Australia)
- BSI C5 (Germany)
- Brazil LGPD
- CCPA / CPRA (California)
- CIS Critical Security Controls v8
- CMMC 2.0
- CSA Cloud Controls Matrix v4
- Cloudanix Best Practice
- DPDPA
- Digital Operational Resilience Act (EU)
- ISO/IEC 27017
- ISO/IEC 27018
- ISO/IEC 27701
- KSA PDPL
- MAS Technology Risk Management (Singapore)
- MITRE ATT&CK (Cloud)
- NIST SP 800-171
- NYDFS 23 NYCRR 500
- SWIFT Customer Security Controls Framework
- Sarbanes-Oxley IT General Controls
- UK NCSC Cyber Assessment Framework
Triage and Remediation
- Remediation
Remediation
Using Console
Using Console
To remediate the misconfiguration of Macie not being enabled in the AWS account per region, you can follow these steps using the AWS Management Console:
-
Sign in to the AWS Management Console:
- Go to the AWS Management Console (https://aws.amazon.com/console/) and sign in to your account.
-
Navigate to Macie Service:
- In the AWS Management Console, search for “Macie” in the services search bar and select the Amazon Macie service.
-
Enable Macie in the Account:
- In the Macie dashboard, click on the “Get Started” button to enable Macie in your account.
- Follow the on-screen instructions to set up Macie for your account. This may include configuring the Macie settings, such as choosing the regions where you want Macie to be enabled.
-
Enable Macie in Each Region:
- To enable Macie in each region, navigate to the Macie service in each region by selecting the region from the top right corner of the AWS Management Console.
- Follow the same steps as mentioned in step 3 to enable Macie in each region where you want it to be enabled.
-
Verify Macie Configuration:
- Once Macie is enabled in the account and in each region, verify that the service is configured correctly by checking the Macie dashboard and settings in each region.
-
Monitor Macie Alerts:
- Set up alerts and notifications in Macie to monitor and receive alerts for any security findings or sensitive data discovery in your account.
Using CLI
Using CLI
To remediate the misconfiguration of Macie not being enabled in an AWS account per region, you can follow these steps using AWS CLI:Step 1: List the regions where Macie is not enabled in your AWS accountStep 2: Enable Macie in each region where it is not enabledReplace By following these steps using AWS CLI, you can remediate the misconfiguration of Macie not being enabled in an AWS account per region.
YOUR_ACCOUNT_ID with your AWS account ID and REGION_NAME with the specific region where Macie is not enabled.Step 3: Verify that Macie is now enabled in all regionsUsing Python
Using Python
To remediate the misconfiguration of Macie not being enabled in the AWS account per region using Python, you can follow these steps:
- Import the necessary Python libraries:
- Initialize the AWS Config and Macie clients:
- Retrieve the list of AWS regions:
- Enable Macie in each region if it is not already enabled:
- Run the Python script to enable Macie in all regions of the AWS account. Make sure you have the necessary permissions to enable Macie in the account.
Using Terraform
Using Terraform
terraform plan should show creation (or update) of aws_macie2_account.macie with status: "ENABLED" for the configured provider region.
