GithubHelp home page GithubHelp logo

mitre / demo-aws-hardening Goto Github PK

View Code? Open in Web Editor NEW
4.0 23.0 2.0 15.03 MB

DEMO: A kitchen-terraform based example of building and validating AWS security settings

License: Other

Ruby 22.62% HCL 77.38%
mitre-corporation inspec aws s3-security vpc-security vpc s3-buckets mitre-inspec

demo-aws-hardening's Introduction

aws-demo-hardening

A kitchen-terraform based example of building and validating AWS security settings

Setup Notes:

Install your gems

You will need to ensure the needed ruby gems are installed:

  • bundle install to installed the needed gems

Setup your Environment

You will need to set the following env_vars for this to work.

  • AWS_SUBNET_ID
  • AWS_SSH_KEY_ID
  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • TF_VAR_aws_secret_key
  • AWS_DEFAULT_INSTANCE_TYPE
  • AWS_SUBNET_ID
  • AWS_KEY_NAME
  • AWS_DEFAULT_REGION
  • AWS_AMI_ID
  • AWS_SG_ID

Usage:

  1. bundle exec kitchen create aws-demo-baseline-ubuntu
  2. bundle exec kitchen converge aws-demo-baseline-ubuntu
  3. bundle exec kitchen verify aws-demo-baseline-ubuntu
  4. bundle exec kitchen destroy aws-demo-baseline-ubuntu

or

  1. bundle exec kitchen test aws-demo-baseline-ubuntu --destroy=always

Quetions:

Updates:

This repo contains a sub-module(s) so remember to use a :

Initial

  • git clone https://github.com/aaronlippold/aws-demo-hardening.git

Alternatively, to include submodules

  • git clone https://github.com/aaronlippold/aws-demo-hardening.git --recursive

Updates

  • git pull Update all submodules
  • git submodule foreach git pull origin master

Useful Examples:

NOTICE

© 2018 The MITRE Corporation.

Approved for Public Release; Distribution Unlimited. Case Number 18-3678.

NOTICE

MITRE hereby grants express written permission to use, reproduce, distribute, modify, and otherwise leverage this software to the extent permitted by the licensed terms provided in the LICENSE.md file included with this project.

NOTICE

This software was produced for the U. S. Government under Contract Number HHSM-500-2012-00008I, and is subject to Federal Acquisition Regulation Clause 52.227-14, Rights in Data-General.

No other use other than that granted to the U. S. Government, or to those acting on behalf of the U. S. Government under that Clause is authorized without the express written permission of The MITRE Corporation.

For further information, please contact The MITRE Corporation, Contracts Management Office, 7515 Colshire Drive, McLean, VA 22102-7539, (703) 983-6000.

demo-aws-hardening's People

Contributors

aaronlippold avatar djhaynes avatar dromazmj avatar superyarick avatar yarick avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

yarick lazerhawk

demo-aws-hardening's Issues

Terraform fails with error - no matching VPC found

       data.aws_vpc.default: Refreshing state...
       
       Error: Error refreshing state: 1 error(s) occurred:
       
       * data.aws_vpc.default: 1 error(s) occurred:
       
       * data.aws_vpc.default: data.aws_vpc.default: no matching VPC found

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.