DocsReferenceconfiguration

Configuration

CyberX can be configured through command-line flags or a configuration file.

Command-line options

All configuration can be passed directly as flags. See CLI Usage for the full list.

Configuration file

CyberX looks for a cyberx.json configuration file in the current directory or the user home directory.

cyberx.json
{
  "output_dir": "./reports",
  "default_format": "json",
  "timeout": 10,
  "verbose": false
}

Environment variables

  • CYBERX_OUTPUT — Override the output directory
  • CYBERX_TIMEOUT — Set network request timeout in seconds