Skip to content

Enhance fcli fod issue update to include attribute support #900

@kadraman

Description

@kadraman

Enhancement Request

With the release of OpenText SAST Core 25.4 the API now has the ability to update issue attributes via the /vulnerabilities/bulk-edit operation - see section from release notes below:

Customers can now add attributes and assign values to issue type data through
the API. The POST /api/v3/releases/{releaseId}/vulnerabilities/bulk-edit
endpoint is enhanced to accept both GUIDs and IssueId/Id in the vulnerabilityIds
parameter.

We should update the fod issue update command to support this, for example:

fcli fod issue update --vuln-ids ... --attrs attr1=X,attr2=Y

with the format being the same as for the app update command, e.g.:

 --attrs, --attributes=[ATTR=VALUE][,[ATTR=VALUE]...]
                               Set of issue attribute id's or names and
                               their values to set. Please note for user
                               attributes only the userId is currently
                               supported. 

Metadata

Metadata

Assignees

Labels

effort:lowEasy to implement/fixenhancementNew feature or requestfcli-fodIssue related to 'fcli fod' commands

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions