Does Azure Managed Grafana support setting disable_sanitize_html to true?

Zeeshan Khan 101 Reputation points
2023-10-25T12:57:13.4833333+00:00

Does Azure Managed Grafana support setting disable_sanitize_html to true, in order to use <script> in a Text Panel?

I am using 9.5.13 version of Azure Managed Grafana currently it is not supporting the script on the text panel.

Azure Managed Grafana
Azure Managed Grafana
An Azure service used to deploy Grafana dashboards for analytics and monitoring solutions.
134 questions
0 comments No comments
{count} votes

Accepted answer
  1. Monalla-MSFT 13,071 Reputation points Moderator
    2023-10-26T00:46:17.3933333+00:00

    @Zeeshan Khan - Thanks for reaching out to us. Currently Azure Managed Grafana does not support this setting disable_sanitize_html to true. This is because allowing arbitrary JavaScript code to be executed in a Grafana panel can pose a security risk. However, you can use the "HTML" mode in the Text Panel editor or the "Markdown" mode to achieve similar functionality without using <script> tags.

    I am also cross verifying with our internal product team to ensure if they have a feature request for the same.

    Hope this helps. and please feel free to reach out if you have any further questions.


    If the above response was helpful, please feel free to "Accept as Answer" and click "Yes" so it can be beneficial to the community.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.