FoD fcli fod issue update improvements#990
Open
kadraman wants to merge 3 commits intofortify:dev/v3.xfrom
Open
FoD fcli fod issue update improvements#990kadraman wants to merge 3 commits intofortify:dev/v3.xfrom
fcli fod issue update improvements#990kadraman wants to merge 3 commits intofortify:dev/v3.xfrom
Conversation
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
…s for `--vuln-ids`
There was a problem hiding this comment.
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
--useroption description. - Refactored update command flow to compute an
effectiveVulnIdslist 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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates to the
fcli fod issue updatecommand:--useroption