Skip to content

Commit e62af78

Browse files
committed
docs: add --excludeIssueStatuses flag to README sonarqube2hdf section
1 parent 2038c63 commit e62af78

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1123,7 +1123,7 @@ convert sonarqube2hdf Pull SonarQube vulnerabilities for the specified
11231123
request ID name from an API and convert into a
11241124
Heimdall Data Format JSON file
11251125
USAGE
1126-
$ saf convert sonarqube2hdf -n <sonar-project-key> -u <http://your.sonar.instance:9000> -a <your-sonar-api-key> [ -b <target-branch> | -p <pull-request-id> ] -o <hdf-scan-results-json>
1126+
$ saf convert sonarqube2hdf -n <sonar-project-key> -u <http://your.sonar.instance:9000> -a <your-sonar-api-key> [ -b <target-branch> | -p <pull-request-id> ] [-s <statuses-to-exclude>] -o <hdf-scan-results-json>
11271127
11281128
FLAGS
11291129
-a, --auth=<your-sonar-api-key> (required) SonarQube API Key / User Token - please ensure that the user has permissions for the project (including seeing the code)
@@ -1133,6 +1133,10 @@ convert sonarqube2hdf Pull SonarQube vulnerabilities for the specified
11331133
-b, --branch=<target-branch> Requires Sonarqube Developer Edition or above
11341134
-p, --pullRequestID=<pull-request-id> Requires Sonarqube Developer Edition or above
11351135
-g, --organization=<value> SonarQube organization name - used as a default when necessary to access rule descriptions
1136+
-s, --excludeIssueStatuses=<value> Comma-separated list of issue statuses to EXCLUDE from results
1137+
(e.g. "ACCEPTED,IN_SANDBOX"). Replaces the default exclusions
1138+
(FALSE_POSITIVE, FIXED for SonarQube 10.4+; CLOSED for older versions).
1139+
Omit this flag to use defaults.
11361140
-w, --includeRaw Include raw input requests in HDF JSON file
11371141
11381142
GLOBAL FLAGS

0 commit comments

Comments
 (0)