-
Notifications
You must be signed in to change notification settings - Fork 499
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Detect Sonar as SAST via pom.xml #2085
Comments
Thanks, Would you like to a PR for this? |
I had a look at the code and wasn't sure what it was doing - I don't know Go |
@edwardsph is the setup using a config file committed to a repository? The only way scorecard can detect it is if something is visible in the repository: files, directories, settings, etc If it's only on a developer's machine, scorecard won't be able to detect it. Can you tell us more how it works? |
We don't use the action. The Sonar analysis is run within the Maven build during the CI/CD process so there is a GitHub workflow which runs |
Yes, this should help. Can you link to an example of POM file you use?
Correct? What is the name of the file: pom.yml or settings.yml or something else? |
Here is a link to a POM on an open source repo using SonarCloud: https://github.com/solid-contrib/conformance-test-harness/blob/main/pom.xml - it has properties:
The
|
I've send #2114 |
Closing as this PR was merged. Re-open if it wasn't addressed. |
Can you add support for detecting the use of SonarQube as well as SonarCloud. This would tend to be used on private repositories when people run Sonar in-house. For Java projects you would see this running as part of the Maven build or similar.
The text was updated successfully, but these errors were encountered: