Must-share information (formatted with Markdown):
- Tried 8.3.1 and 7.9(LTS) at the time of writing this request for help
- Import generic issues from external scanner
- Tried importing the sample json provided here - https://docs.sonarqube.org/latest/analysis/generic-issue/
Ran sonar-scanner(SonarScanner 4.3.0.2102) in the project root(empty src directory) with the below contents of the sonar-project.properties
sonar.projectKey=training:external-issues
sonar.projectName=Training: External issues import
sonar.projectVersion=1.0
sonar.sources=src
sonar.externalIssuesReportPaths=issues.json
sonar.go.golint.reportPaths=reports/golint-report.txt
sonar.python.pylint.reportPath=reports/pylint-report.txt
sonar.kotlin.detekt.reportPaths=reports/detekt-report.xml
sonar.java.checkstyle.reportPaths=reports/checkstyle-report.xml
The sample JSON is stored in the root directory as issues.json.
I have not amended the default rules in SQ and of course there are no scanned files (src is empty).
I want to create issues for files not scanned by my maven build e.g external deps.
Is this possible? Do I need to create “fake” files for the issues to be associated with? Do I need to pre-create the rules for ruleId?