For the complete documentation index, see llms.txt. This page is also available as Markdown.

CLI Authentication with Xygeni

When you download the scanner, you may (or not) have indicated Xygeni API token.

If you specified ./install.sh -o -v -t $XYGENI_TOKEN , the token will be saved (encrypted) into conf/xygeni.yml and will be used by Xygeni CLI without need to specify it again.

Instead, if you executed ./install.sh -o -v (without the token), you will need to specify the token when running the Xygeni CLI.

To authenticate through the Xygeni Scanner CLI you may use the following options:

 xygeni [-hqvV]
  [--user=<username>] [--pass=<password>] [--token=<token>] [--url=<url>]
  COMMAND [@<args_file>] [<command options>]
  
Xygeni credentials - clear-text or encrypted, env:VAR, file:PATH
They override the corresponding values in xygeni.yml configuration.
      --url=<url>         Xygeni api URL
      --token=<token>     Access token.
      --user=<username>   Username.
      --pass=<password>   Password. Deprecated, token is recommended.

See Generate Token for Scanner and API client for further information on how to create Xygeni tokens.

Last updated