Skip to content

Source code for AWS serverless application to onboard AWS account to Dome9

License

Notifications You must be signed in to change notification settings

dome9/serverless-aws-onboarding

Repository files navigation

Dome9 Logo

CloudGuard Automatic onboarding application

Source code for AWS serverless application to automatically onboard AWS accounts to CloudGuard when a new account is created, using the AWS Control Tower service.

Prerequisites

  • ControlTower properly installed in root account.
  • CloudGuard account (as a user with All System Resources permission). Sign up here.

What's included

  • Lambda function for onboarding automation
  • EventBridge rule (configured to "listen" to CreateMenagedAccount lifecycle event)
  • Secret Manager's secret for storing API credentials
  • CloudWatch Alarm (lambda failures)
  • SNS topic for email notifications (subscription confirmation email will be sent)

Installation from the AWS Console

  1. Generate CloudGuard API keys - in one of two ways:
  • Go to Settings -> Credentials -> Click CREATE API.
  • Go to Settings -> Service Accounts -> Click Add Account and give it OnBoarding role or SuperUser role. You can follow instructions here.
  1. Login to the AWS Console.
  2. Navigate to Lambda -> Create Function.
  3. Select "Browse serverless app repository option"
  4. Check the "Show apps that create custom IAM roles or resource policies".
  5. Enter CloudGuard inside the search input.
  6. Click "cloudguard-automatic-onboarding".
  7. Enter the required fields Dome9AccessId .and Dome9SecretKey with you keys from previous steps.
  8. Enter an email address in the NotificationEmail field. Any onboarding failures will be sent to this address.
  9. Check the I acknowledge that this app creates custom IAM roles. (If it appears).
  10. Check all the checkboxes under Capabilities and transforms (If they appear).

About

Source code for AWS serverless application to onboard AWS account to Dome9

Resources

License

Stars

Watchers

Forks

Packages

No packages published