Synopsis
fcli config proxy add [-p[=<proxyPassword>]] [--name=<name>] [--priority=<priority>] [-u=<proxyUser>] [-m=<modules>[, <modules>…]]… [[-h] [--env-prefix=<envPrefix>] [--log-file=<logFile>] [--log-level=<logLevel>]] ] [--store=_variableName _ ] [--output-to-file=<outputFile>_]] [-i=<includedHosts>[,<includedHosts>…] [-i=<includedHosts>[,<includedHosts>…]]… | -e=<excludedHosts>[,<excludedHosts>…] [-e=<excludedHosts>[,<excludedHosts>…]]…] HOST:PORT
Options
- -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.
- -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.
- -u, --user=<proxyUser>
-
Username used to authenticate with the proxy server
- -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.
- -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>
Output options:
- -o, --output=format[=<options>]
-
Output format: csv, csv-plain, json, json-flat, table, table-plain, tree, tree-flat, xml, xml-flat, yaml, yaml-flat, expr, json-properties. The 'json-properties' format ignores any options. The 'expr' output format takes a string containing '{<propertyPath>}' placeholders, other output formats take an optional, comma-separated list of property paths. Use '-o json-properties' on the current command to see available '<prop>' values.
- --store=variableName[=<propertyNames>]
-
Store the JSON results of this command in a variable. Variables can be managed through the 'fcli config variable' command, and can be referenced using {?variableName:property} on any subsequent command. Most commands that return a single record (get, start, create, …) also support '?' to store the record identifier in a predefined variable, which can later be referenced using '?' on options/parameters that take the id of such records as input.
- --output-to-file=<outputFile>
-
Write results to the specified files in the given output format. By default, results will be written to stdout
Generic fcli options:
- -h, --help
-
Show this help message and exit. Use 'fcli <command> -h' to display help for subcommands.
- --env-prefix=<envPrefix>
-
Environment variable prefix for resolving default option and parameter values. Default value is FCLI_DEFAULT.
- --log-file=<logFile>
-
File where logging data will be written. If not specified, no logging data will be written.
- --log-level=<logLevel>
-
Set logging level. Note that DEBUG and TRACE levels may result in sensitive data being written to the log file. Allowed values: TRACE, DEBUG, INFO, WARN, ERROR