Skip to content

FoD fcli fod issue update improvements#990

Open
kadraman wants to merge 3 commits intofortify:dev/v3.xfrom
kadraman:fod-issue-updates
Open

FoD fcli fod issue update improvements#990
kadraman wants to merge 3 commits intofortify:dev/v3.xfrom
kadraman:fod-issue-updates

Conversation

@kadraman
Copy link
Copy Markdown
Contributor

@kadraman kadraman commented May 1, 2026

Updates to the fcli fod issue update command:

  • add `--all|--include-all" to include all issues for a release (not option in API)
  • fixed description of --user option
  • made use of "issues" and "vulnerabilities" terminology consistent in all descriptions

kadraman added 2 commits May 1, 2026 11:50
…ues for a release

fix: `fcli fod issue update` corrected description of `--user` option

fix: `fcli fod issue update` updated descriptions to use issues (vulnerabilities) consistently
Copilot AI review requested due to automatic review settings May 1, 2026 11:30
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR improves the FoD CLI fcli fod issue update command by adding a way to bulk-update all issues in a release, and by aligning help text to consistently use “issues (vulnerabilities)” terminology.

Changes:

  • Added mutually-exclusive selection between updating specific issue ids (--vuln-ids/--issue-ids) and updating all issues in a release (--include-all/--all).
  • Updated i18n help/usage strings to use consistent “issues (vulnerabilities)” terminology and corrected the --user option description.
  • Refactored update command flow to compute an effectiveVulnIds list before building the bulk-update request.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
fcli-core/fcli-fod/src/main/resources/com/fortify/cli/fod/i18n/FoDMessages.properties Updates CLI help text for issue listing/updating, adds --include-all description/warning.
fcli-core/fcli-fod/src/main/java/com/fortify/cli/fod/issue/helper/FoDBulkIssueUpdateRequest.java Removes request-level validation logic from validate(...).
fcli-core/fcli-fod/src/main/java/com/fortify/cli/fod/issue/cli/cmd/FoDIssueUpdateCommand.java Adds ArgGroup for selecting ids vs all issues, fetches ids for --include-all, and passes computed ids into the bulk-update request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants