Giter VIP home page Giter VIP logo

docker-scout2's Introduction

docker-scout2

Note: The Scout2 project has been deprecated so no new updates/fixes are coming from upstream. Consider migrating to Scout Suite in the future

Dockerized AWS Scout2

This Docker repo is for building a running container that will automatically run the default Scout2 ruleset through AWS and push out the report file for local viewing.

A few pre-requisites to get this to work properly:

  • You need your AWS credentials. See this http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html to set it up. You do not have to have AWS CLI installed on your system but for this container to work you will need to have the config and credentials file ready to be read.

  • Once your AWS creds are ready then run this command: docker run --rm -v <path to your credentials>/.aws/:/home/scout2/.aws:rw -v <path to where you want to have reports dumped>:/reports:rw valien/docker-scout2

    What this does is run the docker image (or pulls it if you don't have it cached), then mounts your aws credentials to the container. Runs the Scout2.py application, outputs the report.html and then tears down the container upon finishing.

    Note: Previously you could have your .aws credentials flagged with :ro only but now it requires the :rw flag so that the opinel directory (library used by Scout2) can be written. AFAIK nothing is written to this folder.

    You can view the full Dockerfile and the entrypoint.sh file in the source code if you have any questions about what is running and how it is working.

  • Optional: You can use the environment variable -e AWS_PROFILE=<your AWS profile> to pass along a different set of AWS credentials. If one is not provided then Scout2 will use the default profile.

The following repos were used in the build of this image:

docker-scout2's People

Contributors

valien 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.