Skip to content

An example of how to create the necessary AWS resources for integrating with Lacework for configuration compliance using the AWS CDK.

License

Notifications You must be signed in to change notification settings

jbonner7/lacework-cfg-aws-cdk

 
 

Repository files navigation

AWS CDK Lacework Config Integration

An example of how to create the necessary AWS resources for integrating with Lacework for configuration compliance using the AWS CDK.

Build

To build this app, you need to be in this example's root folder. Then run the following:

npm install -g aws-cdk
npm install
npm run build

This will install the AWS CDK, then this example's dependencies, and then build your TypeScript files and your CloudFormation template.

Setup

In order to deploy this Stack, you'll need to create the following parameters in the AWS Systems Manager -> Parameter Store:

Name Type Description Required
/lacework/EXTERNAL_ID String A unique string used as an External ID for the Lacework IAM Role Y
/lacework/LW_ACCOUNT String Lacework account/organization domain (i.e. xxxxx.lacework.net) Y
/lacework/LW_SUBACCOUNT String Lacework sub-account domain (i.e. xxxxx.lacework.net) N
/lacework/LW_API_KEY SecureString Lacework API Access Key Y
/lacework/LW_API_SECRET SecureString Lacework API Access Secret Y

Deploy

Run cdk deploy. This will deploy / redeploy your Stack to your AWS Account.

This will also deploy a Lambda function to notify a Lacework account when the integration has been completed.

About

An example of how to create the necessary AWS resources for integrating with Lacework for configuration compliance using the AWS CDK.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 51.4%
  • Python 46.7%
  • JavaScript 1.9%