Hello guys, since I’m new to grafana, I have some questions about security. Currently I’m using grafana and lets say that for a TimeSeries chart I’m using this query
SELECT time, quantity FROM
production
WHERE category = '$category'
ORDER BY time;
And $category it’s a variable that can be changed on URL to change the Select results.
Like this:
http://mydomain.com/grafana/d-solo/be2a94cf-de6b-4274-a590-cc049dd49c7e/ghg-emissions-country-level?orgId=1&theme=light&panelId=2&var-category=**something**
My question is, on grafana it’s this query somehow vulnerable to SQL injection or grafana handles that?
And another thing, it’s the API, because I’m using embed panels so the embed panels will make requests to Grafana API, can they manipulate or somehow make SQL injection via API?