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.
Here is the architecture diagram of the Golden AMI Creation process. For more details, please refer to the Golden AMI Pipeline Set Up Guide.
A. Tenable setup
- 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.
- Once you have credentials for Tenable.io, go to
My Accounton your Tenable.io homepage, and click on the tab for
Generateto generate your API key and secret key. Store these with you locally, so that you can use it in the next steps.
On the Tenable homepage, click on
Scans, and then click on
Scannerson the left navigation bar. Copy the
Linking Keyfrom this page and store these with you locally, so that you can use it in the next steps.
Please refer to the AWS set up guide provided by Tenable to set up the pre-authorized scanner in your environment. Note the
Scanner Namethat 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.
This sample code is made available under a modified MIT-0. See the LICENSE file.
Your contributions are always welcome! Please have a look at the contribution guidelines first.
This library is licensed under the MIT-0 License. See the LICENSE file.