api-connector-bulk

command module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2019 License: MIT Imports: 13 Imported by: 0

README

CyberGRX API Bulk Connector

This is a general purpose reverse proxy for the CyberGRX API that eliminates the need to handle pagination from inside a connected application.

Notes:

  • This service maintains no internal state and only logs to system out/err.
  • You will need to pass a valid API token in the Authorization header to gain access to the CyberGRX API.
  • You are responsible for placing this service behind a HTTPS gateway, failing to do so may result in the capture of an access token if an attacker is able to sniff the Authorization header.

Key features:

  • Self documenting using the formal API swagger specification (navigate to https://HOST:PORT/)
  • Pull an entire ecosystem with a single API request.
  • Retrieve all information for each third party, this includes:
    • For authorized reports the latest authorized residual_risk (gaps/findings).
    • For authorized reports, the latest control scores.
  • The CyberGRX API is versioned and will maintain backwards compatibility

Usage

If you are taking a look at configuring the CyberGRX Bulk Connector, please take a look at the Install Guide (How To).

To get started right away:

Development Workflows

  • Make sure you have golang >= 1.12
  • Make modifications to the source
    • go build
    • CYBERGRX_API=${INTERNAL_API} ./api-connector-bulk
    • Once you are satisfied update VERSION, commit and push your code
  • Make a release
    • make release
    • Tag a release in GitHub attaching the versioned binaries (VERSION must match)
  • Push docker image
    • make docker

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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