Repository navigation
feat: Add --issueStatuses flag to sonarqube2hdf command - #6661
Conversation
|
This pull request has a conflict. Could you fix it @mikeBoterf? |
|
Recent changes have been pushed to the linked heimdall2 PR (mitre/heimdall2#7791) based on review feedback from @Amndeep7. The |
Amndeep7
left a comment
There was a problem hiding this comment.
There's a merge conflict that needs to be resolved
…ist approach Update flag semantics to match heimdall2 review feedback: - Rename flag from --issueStatuses to --excludeIssueStatuses - Flag now specifies additional statuses to EXCLUDE (deny-list) rather than a full replacement list (allow-list) - Update description to explain default exclusions and usage - Update usage string to include the new flag
834b344 to
e62af78
Compare
|
@Amndeep7 Rebased on main (merge conflict resolved), ran the linter (clean), and added the new |
Amndeep7
left a comment
There was a problem hiding this comment.
This PR should be good after this fix and once the upstream heimdall monorepo PR is merged.
Add second example showing -s flag with custom exclusions to both the command definition and README.
|



Summary
Adds a new
--issueStatuses(-s) flag to thesaf convert sonarqube2hdfcommand. This flag allows users to specify a comma-separated list of issue
statuses to include when pulling issues from the SonarQube API.
Changes
issueStatusesflag (short:-s) to thesonarqube2hdfcommandSonarqubeResultsconstructor in@mitre/hdf-convertersUsage
Motivation
The upstream
@mitre/hdf-converterslibrary now supports dynamic issue statusdiscovery and a user-supplied override (see mitre/heimdall2#7791). This change
exposes that capability through the SAF CLI so operators can control which issue
statuses are retrieved without modifying source code.
Related
discovery and the
issueStatusesconstructor parameter