How to get the code scan count from SonarQube last month

Hi Team,
Could you pelase let us know is there anyway we can get the code scan count details occurred in last three months from SonarQube. I have tried from sql but could not related with the tables. Please help on this
Thanks,
SD

Hi,

You should never access the database directly. I’ll say it again. You should never access the database directly.

What you can do is use SonarQube’s web services to query for the data you need. You’ll find a link to on-board documentation in the page footer. You’re interested in measures history.

 
Ann

Is this means to call webservice measures to get the code scan count?