Skip to main content

More Info:

Ensure Security Hub Is Enabled For AWS Account

Risk Level

Low

Address

Security

Compliance 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
  • DPDPA
  • Digital Operational Resilience Act (EU)
  • Essential 8
  • ISO/IEC 27017
  • ISO/IEC 27018
  • ISO/IEC 27701
  • KSA PDPL
  • MAS Technology Risk Management (Singapore)
  • MITRE ATT&CK (Cloud)
  • NIS2 Directive
  • NIST SP 800-171
  • NYDFS 23 NYCRR 500
  • Reserve Bank of India (RBI) Cyber Security Framework
  • Reserve Bank of India (RBI) Master Direction – Information Technology Framework
  • SWIFT Customer Security Controls Framework
  • Sarbanes-Oxley IT General Controls

Triage and Remediation

Remediation

Using Console

To remediate the misconfiguration of Security Hub not being enabled for AWS Shield using the AWS console, follow these step-by-step instructions:
  1. Sign in to the AWS Management Console: Go to https://aws.amazon.com/ and sign in to your AWS account using your credentials.
  2. Navigate to AWS Security Hub: In the AWS Management Console, use the search bar at the top and type “Security Hub” to find the Security Hub service.
  3. Enable AWS Security Hub: Click on the “Security Hub” service to open it. If Security Hub is not enabled, you will see an option to enable it. Click on the “Enable Security Hub” button.
  4. Choose a Region: Select the AWS region where you want to enable Security Hub. It is recommended to enable Security Hub in all regions for comprehensive security monitoring.
  5. Configure Security Hub Settings: You can choose to enable specific security standards and automated security checks based on your requirements. You can also choose to send findings to specific S3 buckets or SNS topics.
  6. Review and Confirm: Review the settings and configurations before enabling Security Hub. Click on the “Enable Security Hub” button to confirm and enable Security Hub for the selected region.
  7. Monitor Security Hub: Once Security Hub is enabled, you can start monitoring security findings, compliance checks, and security recommendations for your AWS account.
By following these steps, you can remediate the misconfiguration of Security Hub not being enabled for AWS Shield using the AWS console.

To remediate the misconfiguration of Security Hub not being enabled for AWS Shield using AWS CLI, you can follow these steps:
  1. Install and configure the AWS CLI: Make sure you have the AWS Command Line Interface (CLI) installed and configured with the necessary permissions to make changes to AWS services.
  2. Enable Security Hub for AWS Shield: Use the following AWS CLI command to enable Security Hub for AWS Shield:
  1. Verify the Security Hub status: You can verify that Security Hub is enabled for AWS Shield by running the following command:
  1. Check the Security Hub findings: After enabling Security Hub, you can check the findings related to AWS Shield by running the following command:
By following these steps, you can successfully remediate the misconfiguration of Security Hub not being enabled for AWS Shield using AWS CLI.
To remediate the misconfiguration of Security Hub not being enabled for AWS Shield using Python, you can follow these steps:
  1. Import the necessary Python libraries:
  1. Initialize the AWS Shield client:
  1. Enable Security Hub for AWS Shield:
  1. Check the response and confirm that Security Hub has been successfully enabled for AWS Shield:
By following these steps and running the Python script, you can remediate the misconfiguration of Security Hub not being enabled for AWS Shield.
Enabling aws_securityhub_account will incur Security Hub charges in the configured region and must be applied separately per region you want monitored; if your account is managed by an organization-wide Security Hub administrator, this should be managed from that admin account to avoid conflicts.On terraform plan, you should see one new resource to add: aws_securityhub_account.this with no changes to existing resources.