Synopsis

fcli config proxy add [-p[=<proxyPassword>]] [--name=<name>] [--priority=<priority>] [-u=<proxyUser>] [-m=<modules>[, <modules>…​]]…​ [[-h] [--env-prefix=<prefix>] [--log-file=<logFile>] [--log-level=<logLevel>] [--log-mask=<level>] [--debug]] [[-o=<type+args>] [--style*=<style>,…​]…​ ] [--to-file=<outputFile>_]] [-i=<includedHosts>[, <includedHosts>…​] [-i=<includedHosts>[, <includedHosts>…​]]…​ | -e=<excludedHosts>[, <excludedHosts>…​] [-e=<excludedHosts>[, <excludedHosts>…​]]…​] HOST:PORT

Description

Options

-e, --exclude-hosts=<excludedHosts>[,<excludedHosts>…​]

Comma-separated list of target host names on which not to apply this proxy configuration. Host names may include wildcard characters, like *.myintra.net.

-i, --include-hosts=<includedHosts>[,<includedHosts>…​]

Comma-separated list of target host names on which to apply this proxy configuration. Host names may include wildcard characters, like *.fortifyhosted.net.

-m, --modules=<modules>[,<modules>…​]

Comma-separated list of fcli modules / target systems (fod, sc-dast, sc-sast, ssc, debricked, tool) on which to apply this proxy configuration.

--name=<name>

Name for the proxy configuration to be added; defaults to <proxy host>:<proxy port>.

-p, --password[=<proxyPassword>]

Password used to authenticate with the proxy server.

--priority=<priority>

Priority of this proxy configuration. If multiple configuration match the target module & URL, the proxy configuration with highest priority is used.

-u, --user=<proxyUser>

Username used to authenticate with the proxy server.

-o, --output=<type+args>

Select output type (csv, table, expr, json, xml, yaml) and optional type arguments.

--store=<var>[:<prop>]

Store JSON results in an fcli variable for later reference.

*--style*=<style>,…​

Select output style: header, no-header, pretty, no-pretty, flat, no-flat, array, single, border, no-border, md-border.

--to-file=<outputFile>

Write output to the specified file.

--debug

Enable collection of debug logs.

--env-prefix=<prefix>

Prefix for resolving default option values. Default value: FCLI_DEFAULT.

-h, --help

Use 'fcli [command] -h' to display help for fcli (sub-)commands.

--log-file=<logFile>

Write log output to file. Default: ./fcli.log if logging is enabled.

--log-level=<logLevel>

Set logging level: TRACE, DEBUG, INFO, WARN, ERROR, NONE.

--log-mask=<level>

Log mask level: high, medium, low, none. Default: medium. Masking is done on a best-effort basis; no guarantee that all sensitive data will be masked.

Arguments

HOST:PORT

Proxy host and port in the format <proxy host>:<proxy port>.