Giter VIP home page Giter VIP logo

aws-orgtool's Introduction

Table of contents

General info

This Tool is to export your AWS Organizations structure, SCPs to Json file and import structure, SCPs to another AWS Organization. During import and export a a log file is written so that the processes can be traced

Example

Tool info:

Version Author
1.0 David Krohn
Linkedin - Blog

Usage

Structure:

Export: orgtool.py -u export -f <file.json> -p AWSPROFILE

Import: orgtool.py -u import -f <file.json> -p AWSPROFILE

SCPs:

Export: orgtool.py -u export-scps -f <file.json> -p AWSPROFILE

Import: orgtool.py -u import-scps -f <file.json> -p AWSPROFILE

Attach-SCPs: orgtool.py -u attach-scps -f <file.json> -p AWSPROFILE

Validate-SCPs: orgtool.py -u validate-scps -f <file.json> -p AWSPROFILE

ℹ️ Uses Access Analyzer policy validation to validates your SCPs against IAM policy grammar and best practices.

Visualization:

Visualize Organization with graphviz: orgtool.py -u visualize-organization-graphviz -f <file.json> -p AWSPROFILE

ℹ️ Visualize Organization currently use Graphviz please install before using the function.

Example Output

Visualize Organization with diagrams.net: orgtool.py -u visualize-organization-diagrams -f <file.json> -p AWSPROFILE

ℹ️ The tool will generate a organziations.csv file. Follow the guide to import from CSV to draw.io diagrams

Example Output

How to use the tool with virtual env:

  1. Creating virtual env: python3 -m venv orgtool

  2. Activate virtual env: source orgtool/bin/activate

aws-orgtool's People

Contributors

daknhh avatar simonmackinnon avatar

Watchers

James Cloos avatar

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.