infobyte / faraday_plugins

Security tools report parsers for Faradaysec.com
https://www.faradaysec.com/
GNU General Public License v3.0
50 stars 18 forks source link

Added SonarQube API report #7

Closed flopezluksenberg closed 3 years ago

flopezluksenberg commented 3 years ago

In this PR I'm creating a Sonar Qube API report plugin.

Before reading the code, please read the following considerations:

Knowing the context I followed these considerations:

Some specific comments about the implementation:

Let me know if you need more info about it.

PD: Here you can see an image of the uploaded report

image

Thanks

aenima-x commented 3 years ago

@flopezluksenberg great, If you want now with this plugin it could be possible to a write a faraday executor (I don't know if you know that https://github.com/infobyte/faraday_agent_dispatcher), the executor and connect to the api and use the plugin to send the info to faraday.

I will that a look at it, it maybe take some time for you to see that the PR is merged because we will merge it first to our private repo

aenima-x commented 3 years ago

@flopezluksenberg I have made some changes to have a better fit with our data model, and fix the report detection. When its ready the mirror to github from our repo I will merge it.

Thanks

flopezluksenberg commented 3 years ago

Hi @aenima-x , thank you for your feedback. I like the idea about create a custom dispatcher. Let me see how it works and I will implement it.

aenima-x commented 3 years ago

@flopezluksenberg The plugin is merged, I've made a few changes. One is the pluginid (to sonarqubeAPI), so remember to change it in your executor