mshima/sonar-report-action
Sonar Report Github Action
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| working-directory | working directory | yes | — |
| http-proxy | the proxy to use to reach the sonarqube instance (http://<host>:<port>) | no | — |
| project | name of the project, displayed in the header of the generated report | no | — |
| application | name of the application, displayed in the header of the generated report | no | — |
| release | name of the release, displayed in the header of the generated report | no | — |
| branch | Branch in Sonarqube that we want to get the issues for | no | — |
| pullrequest | pull request ID in Sonarqube for which to get the issues/hotspots | no | — |
| sonarurl | base URL of the SonarQube instance to query from | no | — |
| sonarcomponent | id of the component to query from | no | — |
| sonarusername | auth username | no | — |
| sonarpassword | auth password | no | — |
| sonartoken | auth token | no | — |
| sonarorganization | name of the sonarcloud.io organization | no | — |
| since-leak-period | flag to indicate if the reporting should be done since the last sonarqube leak period (delta analysis). | no | false |
| allbugs | flag to indicate if the report should contain all bugs, not only vulnerabilities. | no | false |
| fix-missing-rule | Extract rules without filtering on type (even if allbugs=false). Not useful if allbugs=true. | no | false |
| no-security-hotspot | Set this flag for old versions of sonarQube without security hotspots (<7.3). | no | false |
| link-issues | Set this flag to create links to Sonar from reported issues | no | false |
| quality-gate-status | Set this flag to include quality gate status in the report. | no | false |
| no-rules-in-report | Set this flag to omit "Known Security Rules" section from report. | no | false |
| vulnerability-phrase | Set to override 'Vulnerability' phrase in the report. | no | Vulnerability |
| vulnerability-plural-phrase | Set to override 'Vulnerabilities' phrase in the report. | no | Vulnerabilities |
| save-report-json | Save the report data in JSON format. Set to target file name | no | "" |
| sonar-properties-file | To use a sonar properties file. | no | sonar-project.properties |
| stylesheet-file | CSS stylesheet file path. (default: provided stylesheet) | no | — |
| ejs-file | EJS template file path. (default: built in template) | no | index.ejs |
| no-ejs-file | Disable template file (print only the summary) | no | — |
| output | Output report file path. (default: report.html) | no | report.html |
| exit-code | Exit with non zero if issues were found | no | — |
| help | display help for command | no | — |
Outputs
no outputs