Skip to main content

Triage and Remediation

Remediation

Using Console

To remediate the misconfiguration “Enable All AWS Organization Features” for AWS using AWS console, follow these steps:
  1. Log in to your AWS Management Console.
  2. Navigate to the AWS Organizations service.
  3. Click on the “Settings” tab in the left navigation menu.
  4. Scroll down to the “Feature Configuration” section.
  5. Click on the “Enable All Features” button.
  6. Review the features that will be enabled and click “Confirm”.
  7. Wait for the process to complete.
Once the process is complete, all the AWS organization features will be enabled and the misconfiguration will be remediated.

To enable all AWS Organization features, you can follow these steps using AWS CLI:
  1. Open the AWS CLI on your local machine or EC2 instance.
  2. Run the following command to enable all AWS Organization features:
  1. If you receive an error message that says “You don’t have permissions to enable all features,” you need to ensure that you have the necessary permissions to perform this action. You can check your permissions by running the following command:
  1. If you do not have the necessary permissions, you can add them by creating a new policy. For example, you can create a new policy called “EnableAllOrgFeatures” with the following permissions:
  1. Once you have the necessary permissions, you can run the command again to enable all AWS Organization features:
  1. Wait for a few minutes for the changes to take effect.
  2. Verify that all AWS Organization features are enabled by running the following command:
This should return a JSON object that includes information about your organization, including the status of all enabled features.
To enable all AWS Organization features, you can use the AWS Organizations API in Python. Here are the steps to remediate this misconfiguration:
  1. First, you need to install the boto3 library in Python. You can install it using the following command:
  1. Next, you need to set up your AWS credentials in your Python environment. You can do this by creating a new profile in your ~/.aws/credentials file or by setting the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables.
  2. Once you have set up your credentials, you can use the following Python code to enable all AWS Organization features:
  1. Finally, you can run the Python script to enable all AWS Organization features. Once the script has completed, all features will be enabled for your AWS Organization.
Note: Before enabling all features, make sure that you understand the implications of doing so and that it is appropriate for your organization.
This specific action (enabling “All Features” on an AWS Organization) cannot be managed via Terraform for Route53 or any other AWS service; it must be done once at the Organizations level from the management account using the AWS CLI or Console, and is irreversible.
Verification: terraform plan will show no changes related to Organization features; instead, confirm with aws organizations describe-organization that FeatureSet is ALL.