security-hub-collector

command module
v0.0.0-...-806063b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL