jeffkause / cyhy-reports

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CyHy Reports

This package is used to generate CyHy reports and scorecards.

Installation

Required third party libraries can be installed using: pip install -r requirements.txt

Required configurations: Every report generator will read /etc/cyhy/cyhy.conf to determine which CyHy database to use.

Docker Goodies

Support for Docker has been added. Note that the container's cyhy user can only write to the mapped home volume, which is the default working directory for all execs. This is very important because any required input files (e.g. the PREVIOUS_SCORECARD_JSON_FILE for CybEx scorecard creation) must reside in the directory mapped to /home/cyhy.

To build the Docker container for cyhy-reports:

docker build -t cisagov/cyhy-reports .

To generate a CyHy report:

docker run --rm --volume /private/etc/cyhy:/etc/cyhy --volume /private/tmp/cyhy:/home/cyhy cisagov/cyhy-reports cyhy-report [OPTIONS]

To generate a Cyber Exposure (CybEx) scorecard:

docker run --rm --volume /private/etc/cyhy:/etc/cyhy --volume /private/tmp/cyhy:/home/cyhy cisagov/cyhy-reports cyhy-cybex-scorecard [OPTIONS]

About


Languages

Language:Python 65.9%Language:Mustache 33.4%Language:JavaScript 0.4%Language:Dockerfile 0.2%Language:Shell 0.1%