Fugue API Client
This is a command line client for the Fugue API.
For information about enabling a client in your account, see
the documentation. More details of the underlying Swagger API are available
here.
This project is under active development and is not yet stable. Commands will
change as we incorporate feedback.
Install
The easiest way to install the client is to download a prebuilt binary
from the releases page.
Currently only MacOS builds are available.
Place the fugue
binary in your $PATH, for example in /usr/local/bin
.
Change file permissions:
chmod 755 /usr/local/bin/fugue
Environment Variables
The client uses the following required environment variables:
Build from Source
Install Go:
brew install go
Build the client executable:
make build
Install to $GOPATH/bin:
make install
Usage
Show usage:
fugue -h
Show usage for a subcommand:
fugue list -h
List environments:
fugue list environments
List environment scans:
fugue list scans [environment-id]
List environment events:
fugue list events [environment-id]
Trigger a scan:
fugue scan [environment-id]
Compliance by resource types:
fugue get compliance-by-resource-types [scan-id]
Compliance by rules:
fugue get compliance-by-rules [scan-id]
Aliases
You may use the shorthand env
instead of environment
when running commands.
For example:
fugue list envs