Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

Go CLI tool used to retrieve AWS Security Hub findings and provide consumable output.

License

Notifications You must be signed in to change notification settings

trussworks/security-hub-collector

Repository files navigation

Security Hub Collector

Description

This tool pulls findings from AWS Security Hub and outputs them for consumption by visualization tools. In order to use this tool, you will need to have valid AWS credentials in your environment (or provide a profile for the tool to use).

Installation

go get -u github.com/trussworks/security-hub-collector

Usage

security-hub-collector is an application for retrieving Security Hub findings for visualization

Usage:
  security-hub-collector [OPTIONS]

Application Options:
  -o, --output=  File to direct output to. (default: SecurityHub-Findings.csv)
  -p, --profile= The AWS profile to use. [$AWS_PROFILE]
  -r, --region=  The AWS region to use. [$AWS_REGION]
  -m, --teammap= JSON file containing team to account mappings.

Help Options:
  -h, --help     Show this help message

You will need to create a team map file with a JSON object that describes your teams based on account numbers. For example:

{
  "teams": [
    {
      "accounts": [
        "000000000001",
        "000000000011"
      ],
      "name": "My Team"
    }
  ]
}

Examples

Run the command like this:

security-hub-collector -m teammap.json

About

Go CLI tool used to retrieve AWS Security Hub findings and provide consumable output.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published