I want the sensor results of a scan without authenticating to the api

Hello, I am making a customized plugin, I want to get the result of some sensors that are executed when doing the scan, such as the duplicate of lines. I know that it can be done with the api, but it is mandatory to authenticate. I want to have that data without having to authenticate myself. Because then this plugin will be available to anyone and it is not feasible that they have to put the name of the project and its data or its api token. In short, I would like to know how I can get the results of the sensors that have performed the scan, so that later in my plugin I can manipulate them and display them in another way.
Thank you.


If you’re writing a SonarQube plugin, then the data should be available to you provided your sensors execute after the data you want has been calculated.

If you’re writing something else, then the only way you’re going to be able to accomplish this is to remove the requirement to authenticate to access the project.

I suppose an alternative would be to create badges and then parse them to get the data you want.