Skip to content

Cannot enable central management in SecurityHub in Organization

0

When i want to enable central configuration in SecurityHub in my organization., but i am retrieving the following error message. I have no idea what do against it. Its almost 24 hours ago and it wont disappear. I am also using a delegated AWS account.

Central configuration couldn't be enabled because data from organization o-yyyyy is still syncing.

3 Answers
0

I understand you're encountering the following error message:

"Central configuration couldn't be enabled because data from organization o-yyyyy is still syncing."

This error typically occurs when there's an issue with the delegated administrator account setup for Security Hub. Here are some key points and steps to resolve this:

1. Delegation Limitations:

  • The AWS Organizations management account cannot be designated as the Security Hub administrator account.
  • AWS Organizations APIs don't permit the management account to be the Security Hub delegated administrator.

2. Recommended Action:

  • Designate a member account (not the management account) as the Security Hub administrator.
  • After proper designation, try enabling central configuration again.

3. Verify Current Setup:

From the Management account, please check: Security Hub > Settings > General > Delegated Administrator

4. Additional Verification:

Please run the following CLI commands from the Organization Management Account and share the outputs:

aws organizations list-delegated-administrators --service-principal securityhub.amazonaws.com --region <REGION>

aws securityhub list-organization-admin-accounts --region <REGION>

5. Set Delegated Admin (if needed):

If the above steps don't resolve the issue, you can set the delegated admin using this command from your management account:

aws organizations register-delegated-administrator --account-id <ACCOUNT-ID> --service-principal securityhub.amazonaws.com

After executing this command, verify the setup with:

aws organizations list-delegated-administrators --service-principal securityhub.amazonaws.com

6. Final Step:

If the above command shows the expected account ID, please attempt to enable central configuration again.

If you continue to experience issues after following these steps, please provide the outputs of the CLI commands mentioned above. This will help to further diagnose the problem.

References

[1] https://docs.aws.amazon.com/securityhub/latest/userguide/start-central-configuration.html#prerequisites-central-configuration

[2] https://docs.aws.amazon.com/securityhub/latest/userguide/designate-orgs-admin-account.html#designate-admin-instructions

AWS
EXPERT

answered 2 years ago

  • Delegated admin looks good to me :-(

    ❯ aws organizations list-delegated-administrators --service-principal securityhub.amazonaws.com --region eu-central-1 { "DelegatedAdministrators": [ { "Id": "<security>", "Arn": "arn:aws:organizations::<mgmt-account>:account/o-id/<security>", "Email": "a", "Name": "core-security", "Status": "ACTIVE", "JoinedMethod": "CREATED", "JoinedTimestamp": "2024-12-02T13:38:29.198000+01:00", "DelegationEnabledDate": "2024-12-02T16:30:02.087000+01:00" } ] }

    ❯ aws securityhub list-organization-admin-accounts --region eu-central-1 { "AdminAccounts": [ { "AccountId": "<security>", "Status": "ENABLED" } ] }

0

The error message you're encountering suggests that there's a synchronization issue between AWS Security Hub and your AWS Organizations data. This can happen when you've recently made changes to your organization or when you're trying to enable central configuration shortly after integrating Security Hub with AWS Organizations.

To address this issue, consider the following steps:

  1. Wait for a longer period: Since you mentioned it's been almost 24 hours, it's unusual for the sync to take this long. However, in some cases, it might take more time for the data to fully synchronize. Consider waiting for a full 24-48 hours before attempting to enable central configuration again.

  2. Verify your delegated administrator account: Ensure that the account you're using to enable central configuration is indeed the designated Security Hub delegated administrator account for your organization. The delegated administrator must be set up correctly to manage Security Hub across the organization.

  3. Check your AWS Organizations setup: Confirm that your AWS Organizations is properly set up and that Security Hub has the necessary permissions to access organization data. This includes ensuring that trusted access for Security Hub is enabled in AWS Organizations.

  4. Review your home Region selection: When enabling central configuration, you need to designate a home Region. Make sure you're attempting to enable central configuration from the intended home Region, which cannot be an opt-in Region.

  5. Verify integration with AWS Organizations: Double-check that Security Hub is correctly integrated with AWS Organizations. You may need to review the integration process to ensure all steps were completed successfully.

  6. Contact AWS Support: If the issue persists after waiting and verifying the above points, it may be worth contacting AWS Support for further assistance. They can help investigate any underlying issues that might be preventing the synchronization from completing.

Remember, central configuration is a powerful feature that allows you to manage Security Hub settings across multiple accounts and regions from a single location. Once the synchronization issue is resolved, you'll be able to take advantage of this capability to streamline your security management processes.
Sources
Enabling central configuration in Security Hub - AWS Security Hub
Managing Security Hub administrator and member accounts with Organizations - AWS Security Hub

answered 2 years ago

0

This is the response from the api call (returns 400), very cryptic. The error code is also not specified in the API docs for security hub.

{"Code":"DataUnavailableException","Type":"DataUnavailableException","RequestId":"2134279b-daa2-4731-8373-0f95f82417b7","Message":"Central configuration couldn't be enabled because data from organization o- is still syncing. Retry later."}

Contact AWS Support: If the issue persists after waiting and verifying the above points, it may be worth contacting AWS Support for further assistance. They can help investigate any underlying issues that might be preventing the synchronization from completing.

It is very funny that they claim you should contact support, but there is no option when you no aws support plan :-(.

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.