NJannasch / fixctl

Fix CLI tool

Home Page:https://fix.security

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fixctl

Fix CLI tool

Installation

Binaries

Download the latest release from the releases page. On macOS and Linux make sure to make the binary executable.

Example:

curl -Lo fixctl https://github.com/someengineering/fixctl/releases/download/0.0.3/fixctl-linux-amd64-0.0.3
chmod +x fixctl

Homebrew

brew install someengineering/tap/fixctl

Usage

Usage of fixctl:
  --csv-headers: CSV headers (comma-separated, relative to /reported by default) (default "id,name,kind,/ancestors.cloud.reported.id,/ancestors.account.reported.id,/ancestors.region.reported.id")
  --endpoint: API endpoint URL (env FIX_ENDPOINT) (default "https://app.fix.security")
  --format: Output format: json, yaml or csv (default "json")
  --help: Display help information (default "false")
  --password: Password (env FIX_PASSWORD) (default "")
  --search: Search string (default "")
  --token: Auth token (env FIX_TOKEN) (default "")
  --username: Username (env FIX_USERNAME) (default "")
  --with-edges: Include edges in search results (default "false")
  --workspace: Workspace ID (env FIX_WORKSPACE) (default "")

If no token is provided, the username and password will be used to authenticate and obtain a token. Does not support MFA. If an environment variable is set, it will be used and the command line flag ignored.

About

Fix CLI tool

https://fix.security

License:GNU Affero General Public License v3.0


Languages

Language:Go 100.0%