Hi, i have a “simple” question
Is there a method to read (select) security hotspots regading a specific project directly from sonarqube database?
I found how read about issue (simply, there is a table named “issues”) but i didn’t read anything related on security hotspots.
Thanks for helping me
We don’t recommend reading anything straight from the database. The database is a black box and officially I’m supposed to slap your hand for suggesting a direct read.
That said, there are inevitably Web API calls (docs link in your footer) which will get you the data you want. Which calls? The best way to master the API is to perform the desired action via the UI and eavesdrop to see which calls the UI made to accomplish the action.
So use the Security Hotspots UI to see your project’s Security Hotspots and eavesdrop via the browser’s dev tools to see what calls it makes.