"Resolving Content Security Policy Violation for Image Loading in Amazon Grafana"

1

I attempted to use an HTML <img> tag in a text panel on Amazon Grafana, with the source set to an image hosted on Amazon S3 (https://openaccrss-XXXX-northeast-1.amazonaws.coXXXXX.png), styling it to span the full width. However, I encountered a security error stating, "Refused to load the image because it violates the following Content Security Policy directive: data: https://tiles.maps.search-services.aws.a2z.com https://grafana.com/static/assets/ https://grafana.com/api/plugins/ https://*.shoXXXXX".

Is there any way to adjust the Content Security Policy to include my image source, or is there an alternative method to upload and display images in Amazon Grafana?

HONG
已提問 2 個月前檢視次數 578 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南