mirror of
https://github.com/securego/gosec.git
synced 2024-11-05 19:45:51 +00:00
Update README with a note which describes how to import a SonarQube report (#572)
This commit is contained in:
parent
897c203e62
commit
2777e5065e
1 changed files with 2 additions and 0 deletions
|
@ -300,6 +300,8 @@ file. The output format is controlled by the `-fmt` flag, and the output file is
|
|||
$ gosec -fmt=json -out=results.json *.go
|
||||
```
|
||||
|
||||
**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`.
|
||||
|
||||
## Development
|
||||
|
||||
### Build
|
||||
|
|
Loading…
Reference in a new issue