Skip to content

Commit 2777e50

Browse files
authored
Update README with a note which describes how to import a SonarQube report (#572)
1 parent 897c203 commit 2777e50

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,8 @@ file. The output format is controlled by the `-fmt` flag, and the output file is
300300
$ gosec -fmt=json -out=results.json *.go
301301
```
302302

303+
**Note:** gosec generates the [generic issue import format](https://docs.sonarqube.org/latest/analysis/generic-issue/) for SonarQube, and a report has to be imported into SonarQube using `sonar.externalIssuesReportPaths=artifacts/test/gosec-report.json`.
304+
303305
## Development
304306

305307
### Build

0 commit comments

Comments
 (0)