Rule violation accross my organisation

I would like to identify accross all the projects of my organization if any are violating currently a specific rule.
I could not find a way to do that, would you see any that I could use?

Basically, I would like for example to see if I am vulnerable anywhere to SQL injection. So I identified a few rules tracking that, and now I would like to get the list of projects that are violating it?

I kind of recall a long time ago being able to create a query listing all the projects and rule, but that does not appear to be possible anymore.

Thanks for any help.

Hello @Stephane_Renou ,

Welcome to the community!

We do not expose this information in the user interface anymore. As an alternative, you can use our API to search issues across multiple projects: https://sonarcloud.io/web_api/api/issues/search?deprecated=false .

hello,
thanks for the feedback.

Sad that this is not possible anymore as I was looking for example for a kind of dashboard showing all the owasp vulnerabilities of my project.

I will wee what I can do with the api.

Regards,

1 Like