فهرست منبع

Fixes #23502: Document Copilot's extra hosts for the example CSP

Name the hosts NetBox Copilot loads beyond its loader, for operators whose users enable it.
Jason Novinger 2 روز پیش
والد
کامیت
0d62d5cb2f
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      docs/administration/content-security-policy.md

+ 2 - 0
docs/administration/content-security-policy.md

@@ -28,3 +28,5 @@ SECURE_CSP = {
 ```
 
 Try a policy first by assigning it to `SECURE_CSP_REPORT_ONLY`, which reports violations in the browser console without blocking anything.
+
+If your users enable NetBox Copilot, also allow `https://unpkg.com` and `https://js.stripe.com` in `script-src`, `'self'` and `https://js.stripe.com` in `frame-src`, and `https://api.copilot.netboxlabs.ai` and `wss://api.copilot.netboxlabs.ai` in `connect-src`.