Giter VIP home page Giter VIP logo

audithor's Introduction

AudiThor Service Auditor!

Audithor hammerAWS | AudiThor

QuikStart:

  1. Run requirements.txt to install requirements via pip (inside a venv to keep it small).
  2. Modify CONFIG.yaml to suite your needs.
  3. zip requirements and code and upload into your lambda.
  4. Ensure that the Lambda role has permission to write to given bucket.

aws Lambda

SUMMARY:

Audithor was intended to be used as an auditor for your multiple AWS accounts. It currently supports EC2, RDS, Lambda, Dynamodb, S3, ELB, and more. The outputs are in CSV and JSON format. There also is an out specifically tailored for SumoLogic SumoLogic, In this case you can achieve nice dashboards with little effort.


CONFIG


Configuration is stored in a yaml file CONFIG.yaml and contains general config under the following keys:

auditConfig -

  • main_bucket: used to aggregate data about target accounts.
  • method: name of the method created to use this application within your lambda service.
  • key: you can leave this. (*its used to dynamically flag '%s' initialized process on account id)
  • key_complete: you can leave this. (*its used to dynamically store result data based on account id)
  • key_master: you can leave this. (*Stores all accounts for later reference)
  • key_folder: you can leave this. (*Directory where all above files are stored during processing)
  • thread_event: you can leave this. (*Lambda's have 5min limits keeping this to type "Event" helps mitigate the possible timeout)
  • threaded: you can leave this. (*Lambda functions currently do not allow multi-processing which is why this is set to True)
  • region: set to the target region.
  • vendor: name of your organization
  • sumo_file: you can leave this. (*name of the file generated before sending to SumoLogic)

globalAccounts -

Account#: references the unique AWS ID for said account.

  • all: short name used to reference said account.
  • title: Display name used to reference said account.
  • eID: external ID used in IAM role to allow trusted access from alternate account.
  • role: role created for this account that incoming role/user can assume using above eID.

audithor's People

Contributors

astro44 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

robertcolvin

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.