Synopsis

fcli fod issue update [--auditor-status=<auditorStatus>] [--comment=<comment>] [--delim=<delimiter>] [--dev-status=<developerStatus>] --rel=id|app[:ms]:rel [--severity=<severity>] --user=<user> [,[ATTR=VALUE]…​]]…​ [[-h] [--env-prefix=<prefix>_] [--log-file=<logFile>] [--log-level=<logLevel>] [--log-mask=<level>] [--debug]] [[--fod-session=<sessionName>]] [[-o=<type+args>] [--style*=<style>,…​]…​ ] [--to-file=<outputFile>_]] (--vuln-ids=<vulnIds>[, <vulnIds>…​] [--vuln-ids=<vulnIds>[,<vulnIds>…​]]…​ | --all)

Description

This command allows for updating the audit information for multiple issues (vulnerabilities). Note: for --vuln-ids/--issue-ids, you can use either the numeric Id as shown in the FoD UI, or the "vulnId" UUID field that is retrieved using the fcli fod issue ls command. Alternatively, use --include-all/--all to update all issues from the specified release without providing issue ids.

Options

--all, --include-all

Include all the issues from the specified release in the update.

Warning
This will update all issues in the specified release regardless of their current status, so use with caution.
--attrs, --attributes=[ATTR=VALUE][,[ATTR=VALUE]…​]

A comma separated list of "attributeName=attributeValue" pairs to set on the issues. It is recommended to provide attribute names as they appear in the FoD UI. For example: "Business Criticality=High,Attribute 2=Value". You can also use multiple --attributes options to provide more "attributeName=attributeValue" pairs.

--auditor-status=<auditorStatus>

The Auditor Status to set for the issues, see the FoD UI for valid values.

--comment=<comment>

A comment to apply to all of the issues that are updated.

--delim=<delimiter>

Change the default delimiter character when using options that accept "application[:microservice]:release" as an argument or parameter.

--dev-status=<developerStatus>

The Developer Status to set for the issues, see the FoD UI for valid values.

--rel, --release=id|app[:ms]:rel

Release id or <application>[:<microservice>]:<release> name.

--severity=<severity>

The Severity to set for the issues. Allowed values: Low, Medium, High, Critical, Info, Best Practice.

--user=<user>

The username or user id of the user to assign the issue to.

--vuln-ids, --issue-ids=<vulnIds>[,<vulnIds>…​]

Comma separated list of the issue ids to be updated.

FoD session name options

--fod-session=<sessionName>

Name of the FoD session to use for executing this command. Default value: default.

-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, envelope, no-envelope.

--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.