Skip to content

Latest commit

 

History

History
47 lines (25 loc) · 3.55 KB

File metadata and controls

47 lines (25 loc) · 3.55 KB

Golden AMI Pipeline with Tenable.io

Create a Golden AMI Pipeline integrated with a Tenable.io Scanner for vulnerability assessments of your AWS Amazon Machine Images(AMIs), and store approved images as Golden AMIs. This repository will also help you set up continuous monitoring of Amazon EC2 instances in your environment, and alert you in case an unapproved AMI is running.

This repo contains resources for building a Golden AMI Pipeline with AWS Systems Manager, AWS Config, AWS Lambda, AWS CloudWatch Events, AWS Service Catalog, and the tenable Scanner from AWS Marketplace.

Overview

Here is the architecture diagram of the Golden AMI Creation process. For more details, please refer to the Golden AMI Pipeline Set Up Guide.

architecture-diagram

A. Tenable setup

  1. Log in to AWS Marketplace and subscribe to Tenable.io. Note: If you're using your employer's AWS account, make sure that you consult your company's procurement team or your IT manager before purchasing a subscription on AWS Marketplace. Alternatively, you can request for a free trial on Tenable.io.

awsmp-tenable

  1. Once you have credentials for Tenable.io, go to My Account on your Tenable.io homepage, and click on the tab for API Keys.

architecture-diagram

  1. Click Generate to generate your API key and secret key. Store these with you locally, so that you can use it in the next steps.

  2. On the Tenable homepage, click on Scans, and then click on Scanners on the left navigation bar. Copy the Linking Key from this page and store these with you locally, so that you can use it in the next steps. architecture-diagram

  3. Log in to AWS Marketplace and subscribe to Nessus Scanner (Pre-Authorized). This is a Bring Your Own License(BYOL) product, and you will use the license from Step 1 to provision this scanner.

  4. Please refer to the AWS set up guide provided by Tenable to set up the pre-authorized scanner in your environment. Note the Scanner Name that you created using this process.

B. AWS setup

For Step-By-Step instructions guide for this work, please refer Golden AMI Pipeline Set Up Guide.

License Summary

This sample code is made available under a modified MIT-0. See the LICENSE file.

Contributing

Your contributions are always welcome! Please have a look at the contribution guidelines first. 🎉

License

This library is licensed under the MIT-0 License. See the LICENSE file.