Skip to content

someengineering/fixctl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.4/fixctl-linux-amd64-0.0.4
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.