# Security Scans report "COOKIES WITHOUT HTTPONLY/SECURE FLAG SET" used by Dynatrace Synthetic (HTTP) monitors

**URL:** <https://community.dynatrace.com/t/security-scans-report-cookies-without-httponly-secure-flag-set-used-by-dynatrace-synthetic-http-monitors/52862>\
**Category:** Synthetic Monitoring\
**Tags:** cookies, synthetic-monitoring\
**Created:** [August 8, 2025, 9:13am UTC](https://community.dynatrace.com/t/security-scans-report-cookies-without-httponly-secure-flag-set-used-by-dynatrace-synthetic-http-monitors/52862 "2025-08-08T09:13:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![francois\_jouber](https://avatars.discourse-cdn.com/v4/letter/f/a9a28c/32.png) [@francois\_jouber](https://community.dynatrace.com/u/francois_jouber)\
**Post date:** [August 8, 2025, 9:13am UTC](https://community.dynatrace.com/t/security-scans-report-cookies-without-httponly-secure-flag-set-used-by-dynatrace-synthetic-http-monitors/52862/1 "2025-08-08T09:13:40Z")

</div>

My customer has reported that their security scans report “COOKIES WITHOUT HTTPONLY/SECURE FLAG SET” used by Dynatrace Synthetic (HTTP) monitors that they use.

I understand that Dynatrace can’t use HTTPOnly flags since JS can’t work with this. But I should be able to set a Secure Cookie attribute for the synthetic monitor - This capability is nicely documented for Web applications ([Cookies and client-side storage for RUM and Session Replay — Dynatrace Managed Docs](https://docs.dynatrace.com/managed/shortlink/cookies#secure-cookies)) but not for Synthetic monitors. I presume I can enable Cookies for the synthetic monitor via **Monitor \> Settings \> General \> Cookies** but the documentation ([Configure HTTP monitors in Classic — Dynatrace Managed Docs](https://docs.dynatrace.com/managed/shortlink/http-monitors-config#setup)) doesn’t provide clear instructions on how to do this.

Please help.

Thank you

Francois

---

<div class="post-metadata">

**Author:** ![hannahmac](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/hannahmac/32/41823_2.png) [@hannahmac](https://community.dynatrace.com/u/hannahmac)\
**Post date:** [August 22, 2025, 1:11pm UTC](https://community.dynatrace.com/t/security-scans-report-cookies-without-httponly-secure-flag-set-used-by-dynatrace-synthetic-http-monitors/52862/2 "2025-08-22T13:11:30Z")

</div>

For browser monitors, if the browser monitors an application with RUM enabled, it will pick up this setting from the RUM application.&nbsp;  
For HTTP Monitors, I wouldn’t expect any cookies to be set, as no browser is involved. Could you confirm which cookies you are referring to? This might be easier to answer in a chat/ support ticket, as you can then provide links to the relevant monitors.
