Content Security Policy (CSP)

Content Security Policy (CSP)

このページは日本語には対応しておりません。随時翻訳に取り組んでいます。翻訳に関してご質問やご意見ございましたら、お気軽にご連絡ください。

If you are using Content Security Policy (CSP) on your websites, add the following URLs to your existing directives depending on how you setup your Real User Monitoring or browser log collection:

Intake URLs

Depending on the site option used to initialize Real User Monitoring or browser logs collection, add the appropriate connect-src entry:

connect-src https://*.logs.datadoghq.com https://*.browser-intake-datadoghq.com

Both entries are required even if you are not using [browser logs collection][3].

connect-src https://*.logs.datadoghq.eu https://*.browser-intake-datadoghq.eu

Both entries are required even if you are not using [browser logs collection][3].

connect-src https://*.browser-intake-us3-datadoghq.com

connect-src https://*.browser-intake-us5-datadoghq.com

connect-src https://*.browser-intake-ddog-gov.com

Session Replay worker

If you are using Session Replay, make sure to allow Workers with blob: URI schemes by adding the following worker-src entry:

worker-src: blob:;

CDN bundle URL

If you are using the CDN async or CDN sync setup for Real User Monitoring or browser log collection, you should also add the following script-src entry:

script-src https://www.datadoghq-browser-agent.com

Further Reading

お役に立つドキュメント、リンクや記事: