With Lacework AWS Security Hub integration, you can send Lacework Security Alerts to AWS Security Hub. This repo contains the CloudFormation template to automatically enable this feature.
You need the following prerequisites to implement the Lacework AWS Security Hub Integration.
- AWS Security Hub enabled on your AWS account.
- A Lacework Cloud Security Platform SaaS account.
- In your console, go to Settings > API Keys.
- Click on the Create New button in the upper right to create a new API key.
- Provide a name and description and click Save.
- Click the download button to download the API keys file.
- Copy the keyId and secret from this file.
-
Login in to AWS master account with Administrator permissions. Click on the following Launch Stack button to go to your CloudFormation console and launch the AWS Control Integration template.
For most deployments, you only need the Basic Configuration parameters. Use the Advanced Configuration for customization.
-
Specify the following Basic Configuration parameters:
- Enter a Stack name for the stack.
- Enter Your Lacework URL.
- Enter your Lacework Sub-Account Name if you are using Lacework Organizations.
- Enter your Lacework Access Key ID and Secret Key that you copied from your previous API Keys file.
- Enter a Resource Prefix Name for the AWS resources that will be created.
- For Customer Accounts, enter a comma-separated list of AWS Accounts IDs that are monitored by Lacework.
- Choose whether you want to Create Lacework Alert Channel. This will create the Lacework alert channel and rule.
- Enter the Alert Channel Name.
-
Click Next through to your stack Review.
-
Accept the AWS CloudFormation terms and click Create stack.
- Monitor the progress of the CloudFormation deployment. It takes several minutes for the stack to create the resources that enable the Lacework AWS Control Tower Integration.
- When successfully completed, the stack shows CREATE_COMPLETE.
- Login to your Lacework Cloud Security Platform console.
- Go to Settings > Alert Channels.
- You should see the new alert channel in the list.
- Go to Settings > Alert Rules.
- You should see the new alert rule in the list.
To remove the Lacework AWS Security Hub Integration, simply delete the main stack. All CloudFormation stacksets, stack instances, and Lambda functions will be deleted. Note: Lacework will no longer send alerts to AWS Security Hub.