Synopsis
fcli ssc issue update [--assign-user=<assignUser>] --av=<appVersionNameOrId> [--comment=<comment>] [--delim=<delimiter>] [--suppress=true|false] --issue-ids=<issueIds>[, <issueIds>…] [--issue-ids=<issueIds>[, <issueIds>…]]… [-t=TAG=VALUE[,TAG=VALUE…]]… [[-h] [--env-prefix=<prefix>] [--log-file=<logFile>] [--log-level=<logLevel>] [--log-mask=<level>] [--debug]] [[--ssc-session=<sessionName>]] [[-o=<type+args>] [--style*=<style>,…]… ] [--to-file=<outputFile>_]]
Description
This command allows for updating SSC vulnerability data for a given application version. You can assign issues to users, perform audit actions with comments, custom tag updates, and suppression status. At least one of --custom-tags, --suppress, --comment, or --assign-user must be specified along with the required --issue-ids. To see the allowed tags for the specific application version, use: fcli ssc tag get
Options
- --assign-user=<assignUser>
-
The username or user id of the user to assign the issues to.
- --av, --appversion=<appVersionNameOrId>
-
Application version id or <application>:<version> name.
- --comment=<comment>
-
A comment to apply to all the vulnerabilities that are updated.
- --delim=<delimiter>
-
Change the default delimiter character when using options that accept "application:version" as an argument or parameter.
- --issue-ids=<issueIds>[,<issueIds>…]
-
Comma separated list of the vulnerability ids to be updated.
- --suppress=true|false
-
Set the suppression status of the vulnerability. Use true to suppress or false to unsuppress.
- -t, --custom-tags=TAG=VALUE[,TAG=VALUE…]
-
Custom tag to set for the vulnerabilities. Format: tagName=value. Can be specified multiple times or as comma-separated list (e.g., tag1=value1,tag2=value2). For list type tags, use the exact lookup value. Pass empty value to unset (tagName=). For date tags, use format: yyyy-MM-dd.
SSC session name options
- --ssc-session=<sessionName>
-
Name of the SSC session to use for executing this command. Default value: default.
Output options (also see documentation link below)
- -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, wrap, no-wrap, fast-output, no-fast-output.
- --to-file=<outputFile>
-
Write output to the specified file.
Generic fcli options (also see documentation link below)
- --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.