Cloudflare Zero Trust

Deliver Zero Trust Network Access on Cloudflare's Edge.

Use Cases the Adapter Solves

  • Zero Trust Security Posture Management: Monitor and track all devices accessing your network through Cloudflare Zero Trust, ensuring only authorized and compliant devices maintain access to corporate resources.
  • User Access Governance: Identify users with active Zero Trust access, track their authentication patterns, and enforce access policies based on real-time security posture and policy compliance.

Types of Assets Fetched

This adapter fetches the following types of assets:

  • Devices
  • Users

Data Retrieved through the Adapter

Devices - Fields such as Name, Device Model, Device Manufacturer, Device Serial, CloudZeroTrust Device Type,

Users - Fields such as Display Name, Email, Username, Last Logon Timestamp, CloudZeroTrust Organization ID

Before You Begin

Required Ports

  • TCP port 443 (HTTPS)

Authentication Methods

API Token Authentication

APIs

Axonius uses the Cloudflare API v4. The following endpoints are called:

Account & User Data:

  • GET /client/v4/accounts
  • GET /client/v4/accounts/{account_id}/access/users
  • GET /client/v4/accounts/{account_id}/members

Device Data:

  • GET /client/v4/accounts/{account_id}/devices
  • GET /client/v4/accounts/{account_id}/devices/posture
  • GET /client/v4/accounts/{account_id}/devices/revoke

Enrichment Data:

  • GET /client/v4/accounts/{account_id}/gateway/locations
  • GET /client/v4/accounts/{account_id}/access/policies

Enforcement Actions:

  • POST /client/v4/accounts/{account_id}/access/organizations/revoke_user - Revoke user session
  • DELETE /client/v4/accounts/{account_id}/members/{member_id} - Remove member

Required Permissions

The following permissions are required:

Minimum Required Permissions:

  • Account: Zero Trust: Read - Access to Zero Trust user and device data
  • Account: Access: Audit Logs: Read - Access to audit logs and session information
  • Account: Account Settings: Read - Access to account configuration and settings

Additional Permissions for Enforcement Actions:

  • Account: Zero Trust: Edit - Required for "Revoke User Session" enforcement action
  • Account: Account Settings: Edit - Required for "Remove Member" enforcement action
⚠️

Important

To create an API token with the required permissions, see Create an account owned token in the official Cloudflare documentation.

Supported From Version

Supported from Axonius version 4.5

Connecting the Adapter in Axonius

Navigate to the Adapters page, search for Cloudflare Zero Trust, and click on the adapter tile.

Click Add Connection.

To connect the adapter in Axonius, provide the following parameters:

Required Parameters

  1. Host Name or IP Address (Default: https://api.cloudflare.com) - The hostname or IP address of the Cloudflare Zero Trust server.
  2. API Token (required) - An API Token associated with a user account that has the Required Permissions to fetch assets. To create an API token, see Create an account owned token.
CloudFlare_Zero_Trust

Optional Parameters

  1. Verify SSL - Select whether to verify the SSL certificate of the server against the CA database inside of Axonius. For more details, see SSL Trust & CA Settings.
  2. HTTPS Proxy (optional) - Connect the adapter to a proxy instead of directly connecting it to the domain.
  3. HTTPS Proxy User Name (optional) - The user name to use when connecting to the value supplied in Host Name or IP Address via the value supplied in HTTPS Proxy.
  4. HTTPS Proxy Password (optional) - The password to use when connecting to the server using the HTTPS Proxy.

To learn more about common adapter connection parameters and buttons, see Adding a New Adapter Connection.

Advanced Settings

📘

Note

  • Endpoints Config - Click the arrow.
    • Enrich Devices with Gateway Location - Toggle on this option to add subdomain data for each device.
    • Fetch Devices of sub type deleted_device from Deleted Devices - Toggle on to include data on deleted devices.
    • Fetch Devices of sub type revoked_device from Deleted Devices - Toggle on to include data on revoked devices.
    • Enrich Users with Policies - Toggle on this option to add policy data for each user.

Related Enforcement Actions