---
title: Cloudflare Connector
description: The Cloudflare connector allows you to integrate threat intelligence and Zero Trust security capabilities into your PingOne DaVinci flows.
component: connectors
page_id: connectors::cloudflare_connector
canonical_url: https://docs.pingidentity.com/connectors/cloudflare_connector.html
revdate: April 22, 2026
section_ids:
  setup: Setup
  resources: Resources
  requirements: Requirements
  configuring-the-cloudflare-connector: Configuring the Cloudflare connector
  connector-configuration: Connector configuration
  account-id: Account ID
  api-token: API Token
  using-the-connector-in-a-flow: Using the connector in a flow
  get-ip-overview: Get IP Overview
  get-domain-overview: Get Domain Overview
  get-user-risk-score: Get User Risk Score
  reset-user-risk-score: Reset User Risk Score
  make-custom-api-call: Make Custom API Call
  capabilities: Capabilities
  getIPOverview: Get IP Overview
  getDomainOverview: Get Domain Overview
  getUserRiskScore: Get User Risk Score
  resetUserRiskScore: Reset User Risk Score
  makeCustomApiCall: Make Custom API Call
---

# Cloudflare Connector

The Cloudflare connector allows you to integrate threat intelligence and Zero Trust security capabilities into your PingOne DaVinci flows.

This connector provides capabilities to assess risks and enforce security policies in real time:

* **Get IP Overview:** Retrieve threat intelligence and risk assessments for an IP address.

* **Get Domain Overview:** Retrieve threat intelligence and content categorization for a domain.

* **Get User Risk Score:** Retrieve the behavioral risk score assigned to a user.

* **Reset User Risk Score:** Reset a user's risk score to baseline after investigation or remediation.

* **Make Custom API Call:** Define a custom API call to any Cloudflare API endpoint.

## Setup

### Resources

You can find more information and setup help in the following:

* DaVinci documentation:

  * [Adding a connector](https://docs.pingidentity.com/davinci/connectors/davinci_adding_a_connector.html)

  * [Using connectors securely](https://docs.pingidentity.com/davinci/connectors/davinci_using_connectors_securely.html)

  * [Using DaVinci flow templates](https://docs.pingidentity.com/davinci/flows/davinci_using_davinci_flow_templates.html)

### Requirements

To use the connector, you'll need:

* A Cloudflare account with access to the Cloudflare dashboard.

* For User Risk Score capabilities: A Cloudflare Zero Trust Enterprise plan subscription.

* Permissions to create API tokens in your Cloudflare account.

### Configuring the Cloudflare connector

Add the connector in DaVinci as shown in [Adding a connector](https://docs.pingidentity.com/davinci/connectors/davinci_adding_a_connector.html), then configure it as follows.

#### Connector configuration

To get the required credentials, you must create an API token in the Cloudflare dashboard with permissions to access the [Cloudflare Threat Intelligence APIs](https://developers.cloudflare.com/security-center/intel-apis/) and [Zero Trust Risk Scoring APIs](https://developers.cloudflare.com/cloudflare-one/insights/risk-score/).

1. From the [Cloudflare dashboard](https://dash.cloudflare.com), navigate to **Profile** > **API Tokens**.

2. Click **Create Token** and either select a template or create a custom token.

3. Configure the token with the necessary permissions for Intelligence APIs and Zero Trust (if using risk score capabilities).

4. Click **Continue to summary**, then **Create Token**. Copy the token value immediately (it won't be shown again).

5. To find your **Account ID**, navigate to your account's **Overview** page and the **Account ID** is located in the browser's address bar.

Learn more in [Create API token](https://developers.cloudflare.com/fundamentals/api/get-started/create-token/) in the Cloudflare documentation.

##### Account ID

The unique identifier for your Cloudflare account. Found in the Cloudflare dashboard on your account's **Overview** page in the browser's address bar.

##### API Token

The API token generated in your Cloudflare account. Used to authenticate and authorize API requests to Cloudflare Intelligence and Zero Trust services.

## Using the connector in a flow

### Get IP Overview

![A screen capture of the get IP overview flow.](_images/connector-images/tap-cloudflare-get-ip-overview.png)

The connector queries the [Intelligence IP API](https://developers.cloudflare.com/api/resources/intel/subresources/ips/methods/get/) using an IP address to retrieve threat intelligence data, including risk assessments, classifications, and associated domains. The IP address can be in either IPv4 or IPv6 format. This capability is useful for investigating suspicious IP addresses and understanding their security posture.

Test the flow by clicking **Save**, **Deploy**, and **Try Flow**.

### Get Domain Overview

![A screen capture of the get domain overview flow.](_images/connector-images/tap-cloudflare-get-domain-overview.png)

The connector queries the [Intelligence Domain API](https://developers.cloudflare.com/api/resources/intel/subresources/domains/methods/get/) using a domain name to retrieve comprehensive threat intelligence information, including content categories, reputation data, and associated IP addresses. This capability helps assess the security risk of domains encountered in your environment.

Test the flow by clicking **Save**, **Deploy**, and **Try Flow**.

### Get User Risk Score

![A screen capture of the get user risk score flow.](_images/connector-images/tap-cloudflare-get-user-risk-score.png)

The connector first queries the [Zero Trust Users API](https://developers.cloudflare.com/api/resources/zero_trust/subresources/access/subresources/users/methods/list/) to locate the user by email address, then retrieves their risk score from the [Zero Trust Risk Scoring API](https://developers.cloudflare.com/api/resources/zero_trust/subresources/risk_scoring/methods/get). Risk scores of Low, Medium, or High are assigned based on user behavior and activities, helping identify users who may pose a security threat to your organization. This capability requires a Cloudflare Zero Trust Enterprise plan.

Test the flow by clicking **Save**, **Deploy**, and **Try Flow**.

### Reset User Risk Score

![A screen capture of the reset user risk score flow.](_images/connector-images/tap-cloudflare-reset-user-risk-score.png)

The connector first queries the [Zero Trust Users API](https://developers.cloudflare.com/api/resources/zero_trust/subresources/access/subresources/users/methods/list/) to locate the user by email address, then submits a reset request to the [Zero Trust Risk Scoring API](https://developers.cloudflare.com/api/resources/zero_trust/subresources/risk_scoring/methods/reset) to return the user's risk score to baseline. This action is typically performed after a security investigation is complete or when administrative overrides are necessary. This capability requires a Cloudflare Zero Trust Enterprise plan.

Test the flow by clicking **Save**, **Deploy**, and **Try Flow**.

### Make Custom API Call

![A screen capture of the make custom API call flow.](_images/connector-images/tap-cloudflare-make-custom-api-call.png)

The connector allows you to define custom API calls to any [Cloudflare API endpoint](https://developers.cloudflare.com/api/) not covered by the predefined capabilities. You can specify the endpoint path, HTTP method, query parameters, headers, and request body to interact with Cloudflare's extensive API offerings. This provides flexibility to integrate additional Cloudflare services as needed.

Test the flow by clicking **Save**, **Deploy**, and **Try Flow**.

## Capabilities

### Get IP Overview

Returns Cloudflare IP Overview of a specific IP address

> **Collapse: Show details**
>
> * Properties
>
> * Input Schema
>
> * Output Schema
>
> - IP Address textField
>
>   IP Address
>
> * default object
>
>   * properties object
>
>     * ip string required
>
>       IP Address (IPv4 or IPv6)
>
> Input Example
>
> ```json
> {
>   "properties": {
>     "ip": "50.64.49.74"
>   }
> }
> ```
>
> * output object
>
>   * rawResponse object
>
>   * statusCode number
>
>   * headers object
>
>   * riskFound boolean
>
>   * riskType object
>
>   * result object

### Get Domain Overview

Returns Cloudflare Domain Overview of a specific Domain

> **Collapse: Show details**
>
> * Properties
>
> * Input Schema
>
> * Output Schema
>
> - Domain textField
>
>   Domain
>
> * default object
>
>   * properties object
>
>     * domain string required
>
>       Domain
>
> Input Example
>
> ```json
> {
>   "properties": {
>     "ip": "pingidentity.com"
>   }
> }
> ```
>
> * output object
>
>   * rawResponse object
>
>   * statusCode number
>
>   * headers object
>
>   * contentCategories array
>
>   * result object

### Get User Risk Score

Returns Cloudflare User Risk Score for a specific user

> **Collapse: Show details**
>
> * Properties
>
> * Input Schema
>
> * Output Schema
>
> - Email textField
>
>   Email
>
> * default object
>
>   * properties object
>
>     * email string required
>
>       User Email Address
>
> Input Example
>
> ```json
> {
>   "properties": {
>     "email": "user@example.com"
>   }
> }
> ```
>
> * output object
>
>   * rawResponse object
>
>   * statusCode number
>
>   * headers object
>
>   * email string
>
>   * name string
>
>   * riskLevel string
>
>   * lastResetTime string
>
>   * riskEvents array

### Reset User Risk Score

Resets Cloudflare User Risk Score for a specific user

> **Collapse: Show details**
>
> * Properties
>
> * Input Schema
>
> * Output Schema
>
> - Email textField
>
>   Email
>
> * default object
>
>   * properties object
>
>     * email string required
>
>       User Email Address
>
> Input Example
>
> ```json
> {
>   "properties": {
>     "email": "user@example.com"
>   }
> }
> ```
>
> * output object
>
>   * rawResponse object
>
>   * statusCode number
>
>   * headers object
>
>   * success boolean

### Make Custom API Call

Define a custom API call to Cloudflare.

> **Collapse: Show details**
>
> * Properties
>
> * Input Schema
>
> * Output Schema
>
> - Endpoint textField required
>
>   The Cloudflare API endpoint, such as "/accounts/eaa16507a7d5779d6b428b0780962120/intel/domain".
>
> - Method dropDown required
>
>   The HTTP Method.
>
>   * GET
>
>   * POST
>
>   * PUT
>
>   * DELETE
>
>   * PATCH
>
> - Query Parameters keyValueList
>
>   Add query parameters and provide their values.
>
> - Headers keyValueList
>
>   Add HTTP headers and provide their values.
>
> - Body codeEditor
>
>   The raw formatted JSON body.
>
> * default object
>
>   * properties object
>
>     * fromId string/number
>
>       FromId
>
>     * endpoint string required
>
>       Endpoint
>
>     * method string required
>
>       Method
>
>     * queryParameters array
>
>       Query Parameters
>
>     * headers array
>
>       Headers
>
>     * body object
>
>       Body
>
> - output object
>
>   * rawResponse object
>
>   * statusCode number
>
>   * headers object
