Skip to content
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

Add support for sonar hotspots #7

Closed
drdavella opened this issue Apr 4, 2024 · 1 comment
Closed

Add support for sonar hotspots #7

drdavella opened this issue Apr 4, 2024 · 1 comment
Assignees

Comments

@drdavella
Copy link
Member

Currently we only fetch and upload results from the Sonar issues API. We also need to get results from the hotspots API and upload them to our platform.

Hotspots API is documented here: https://next.sonarqube.com/sonarqube/web_api/api/hotspots

We will need to upload the hotspots results to the sonar_hotspots endpoint. Also the existing sonar endpoint for issues is deprecated in favor of sonar_issues.

@drdavella
Copy link
Member Author

Note: this will not be added as a new kind of tool. Instead, it will be added to the existing sonar upload. Instead of making a single request to the Sonar API, we will need to make two: one for issues and one for hotspots. Then we will need to make two uploads to the Pixee analysis inputs API: one for sonar_issues and one for sonar_hotspots.

@drdavella drdavella assigned drdavella and carlosu7 and unassigned drdavella May 6, 2024
carlosu7 added a commit that referenced this issue May 10, 2024
Related issue:
#7 and
#10

![Screenshot 2024-05-07 at 11 45 09 a
m](https://github.com/pixee/upload-tool-results-action/assets/14047435/d6b5d103-9967-4c32-a39f-3ab20c8cb8d2)

---------

Co-authored-by: Daniel D'Avella <dan.davella@pixee.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants