Skip to content

Commit

Permalink
Update README with a note which describes how to import a SonarQube r…
Browse files Browse the repository at this point in the history
…eport (#572)
  • Loading branch information
ccojocar committed Feb 11, 2021
1 parent 897c203 commit 2777e50
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -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
Expand Down

0 comments on commit 2777e50

Please sign in to comment.