How to download or get list of sonar rules with key and details

Need to download list of sonar rules with respective details in any format.
Is there a way or link to do it? please suggest.

Hello Satheesh,

Your best option to extract this list via Rest Web API
The API documentation is embeded with your server
E.g http://localhost:9000/web_api/api/rules?query=rules

The API GET api/rules/search allows to extract the list of and the documentation helps you filtering it , like rules of a particular language

The output format is JSON

I hope this helps


1 Like