Skip to content
AnswerWell geo Documentation

Research · 7 min read · Answerwell

Device Posture Checks, Endpoint Agents, and Zero Trust Policy Enforcement

How device posture checks work in Cloudflare Zero Trust: client signals, third-party integrations, Access vs Gateway policies, limits, and verification.

This page summarises Cloudflare Zero Trust documentation on device posture checks: signals from the endpoint that prove a connection comes from a managed or healthy device, and how those signals gate applications and network traffic.

With Cloudflare Zero Trust, you can configure Zero Trust policies that rely on additional signals from the Cloudflare One Client or from third-party endpoint security providers. When device posture checks are configured, users can only connect to a protected application or network resource if they have a managed or healthy device.

— Cloudflare, Posture checks

Companies use device posture after identity is verified so a valid login alone cannot unlock sensitive data from an uncontrolled endpoint. Cloudflare’s zero-trust design guidance describes posture as proof that access comes from a trusted device, often combining MDM, corporate certificates, and EDR tooling, with an endpoint agent that polls state frequently for continuous evaluation.

Device posture check types: client, service provider, and Access-only integrations

Section titled “Device posture check types: client, service provider, and Access-only integrations”

Cloudflare groups posture checks into three families. Each has different prerequisites and where you can use the result in policy.

Type Who evaluates Typical use Gateway policies Access policies
Cloudflare One Client checks Cloudflare One Client on the device OS version, encryption, local EDR process, serial lists Yes Yes
Service provider checks Third-party API via Cloudflare CrowdStrike, SentinelOne, Intune compliance, custom scores Yes Yes
Access integration checks External identity or mTLS (no client required for some) Microsoft Entra ID Conditional Access, Mutual TLS No Yes only

The following device posture checks do not require the Cloudflare One Client and can only be used in Cloudflare Access policies. They cannot be used in Gateway network policies.

— Cloudflare, Access integrations

Cloudflare One Client checks are performed by the Cloudflare One Client. Service-to-service checks are performed by third-party device posture providers. Access integration checks are only configurable for Access applications. These attributes cannot be used in Gateway policies.

— Cloudflare, Posture checks

Cloudflare One Client checks: what the agent can read locally

Section titled “Cloudflare One Client checks: what the agent can read locally”

These device posture checks are performed by the Cloudflare One Client. To use this feature, you must deploy the Cloudflare One Client to your devices and enable the desired posture checks.

— Cloudflare, Cloudflare One Client checks

The client can report hygiene and ownership signals (for example disk encryption, OS version, domain joined, device serial numbers) and whether a specific security product process is running (Application check, Carbon Black, SentinelOne client check). Platform support differs by check type; the matrix in Cloudflare One Client checks is the authoritative list.

On Windows only, the Antivirus attribute uses Windows Security Center: a product must be turned on and up to date (optional maximum signature age). Client certificate checks work in Gateway and Access and require minimum client versions on desktop platforms listed in that guide.

Mobile devices use Device UUID lists instead of serial numbers where serial-based checks are unsupported (device serial numbers documents that serial checks are not available on iOS, Android, and ChromeOS).

Service-to-service integrations allow the Cloudflare One Client to get device posture data from a third-party API.

— Cloudflare, Service providers

Integrations such as CrowdStrike, SentinelOne, Microsoft Endpoint Manager, Kolide, Tanium, Workspace ONE, and Uptycs match devices by serial number. Duplicate serials break matching:

Devices are identified by their serial numbers. You must ensure that each of your devices has a unique serial number.

— Cloudflare, CrowdStrike

Custom device posture integration lets your API return a score from 0–100 per device_id; Cloudflare maps pass/fail in a posture rule. Linux is not supported for Microsoft Endpoint Manager posture because Intune does not collect serial numbers for Linux.

Require Gateway and Require WARP: tying posture to tunnel mode

Section titled “Require Gateway and Require WARP: tying posture to tunnel mode”

Many policies assume traffic (not just posture telemetry) flows through Cloudflare. Require Gateway and Require WARP encode that expectation.

Client mode Require Gateway Require WARP
Traffic and DNS mode Pass Pass
Traffic only mode Pass Pass
DNS only mode Fail Fail
Local proxy mode Partial (proxy traffic only) Partial
Posture only mode Fail Fail

Posture only mode allows you to enforce device posture rules when a user connects to your self-hosted Access application. This mode relies on a client certificate generated from your account to establish trust between the Access application and the device.

— Cloudflare, Enable Posture only mode

In Posture only mode, the client collects posture data but does not route traffic or forward DNS; only device posture rules in Access policies are enabled per client modes.

Device posture in Access policies vs Gateway HTTP and network policies

Section titled “Device posture in Access policies vs Gateway HTTP and network policies”

Access policies combine Include identity rules with Require device posture checks. A typical pattern for sensitive apps pairs group membership with Require Gateway and OS version—see Require device posture for sensitive applications. Designing ZTNA access policies shows stacking serial lists, domain join, MFA, and OS version for database admin tools.

Bookmark applications support device posture selectors when the Cloudflare One Client is installed, but not isolate mode, purpose justification, or temporary authentication on bookmarks.

Gateway: Passed Device Posture Checks on each request

Section titled “Gateway: Passed Device Posture Checks on each request”

HTTP policies and network policies use the Passed Device Posture Checks selector—for example minimum OS version (common HTTP policies) or blocking when a serial list does not match (network common policies).

Egress policies document the same selector for outbound controls.

Enforcement timing: Access vs Gateway cache

Section titled “Enforcement timing: Access vs Gateway cache”

Access detects changes in device posture at the same rate as the polling frequency configured for the posture check.

Because Gateway evaluates network and HTTP policies on every request, it maintains a local cache of posture results that is only updated every five minutes.

— Cloudflare, Posture checks

Cloudflare recommends setting posture result expiration via API to at least double the polling frequency (Posture checks). The Cloudflare One Client polls the device every five minutes by default; service providers use the integration Polling frequency you configure.

Configure device posture checks: workflow administrators follow

Section titled “Configure device posture checks: workflow administrators follow”
  1. Deploy the Cloudflare One Client (and any required EDR or MDM agent) on endpoints that must pass posture.
  2. In Zero Trust → Reusable components → Posture checks, create Cloudflare One Client checks and/or Service provider checks with per-OS rules where required.
  3. Before binding policy, confirm pass/fail per device under Zero Trust → Team & Resources → Devices → View details → Posture checks, as in Posture checks — verify.
  4. Add checks to Access Require rules or Gateway Passed Device Posture Checks (HTTP, network).
  5. In Split Tunnel settings, ensure the IdP, <your-team-name>.cloudflareaccess.com, and protected app hostnames are included when posture is part of Access or Gateway policy (ensure traffic through the client).

Use Insights → Logs → Posture logs to compare Expected values and Received values when a device fails a rule.

Application check and file check: path pitfalls

Section titled “Application check and file check: path pitfalls”

Application check and File check resolve paths in the daemon context, not the logged-in user. Use %VAR% on Windows and ${VAR} on macOS/Linux.

On macOS, pointing at ApplicationName.app fails—the running binary lives under ApplicationName.app/Contents/MacOS/ApplicationName. Signing certificate thumbprint is recommended; SHA-256 changes when vendors update binaries (SentinelOne client check notes path changes after updates).

For Cloudflare Workers in front of protected apps, await context.devicePosture() returns only UUIDs of passed checks—not failures or raw results:

checks.passed is a read-only list of posture check UUIDs. An empty array means no checks passed.

— Cloudflare, Available context — device posture

If Gateway cannot retrieve posture, the call throws; handle that separately from “no checks passed” (Available context).

Enterprise teams can export richer fields via Device Posture Results Logpush.

  • Using Access integration checks in Gateway (not supported).
  • Expecting Require Gateway to pass in DNS-only or Posture only mode while policies still require Gateway.
  • Duplicate device serial numbers across the fleet (breaks service provider matching).
  • Domain joined domain string case mismatch (example.com vs Example.com).
  • OS version entered without valid Semver (e.g. 1.2 must be 1.2.0).
  • Assuming instant Gateway deny after posture failure on an already-open session (Posture checks).
  1. Confirm the Cloudflare One Client version under Zero Trust → Team & Resources → Devices → Your devices matches a supported release (troubleshooting via dashboard).
  2. Open a test device’s Posture checks tab and verify each rule matches policy intent (verify device posture checks).
  3. Review Posture logs for failed checks and compare expected vs received values.
  4. If using Gateway posture, allow up to polling interval plus five minutes before expecting policy changes (policy enforcement rate).
  5. You can check automatically in Answerwell (our tool): https://answerwell.org/workspace

If something on this page is wrong or unclear, email yimasynthetic@gmail.com with the page URL and the exact statement you are asking about.