Capabilities
Access group rules
Cloudflare Access groups grant membership using three rule lists with different logic:- Include — OR. A user matches the group if at least one rule matches.
- Require — AND. A user must also match every rule in this list.
- Exclude — NOT. A user must not match any rule in this list.
Why skipped rules do not narrow membership
Each list combines its rules with a boolean operator, and a skipped rule is treated as that operator’s neutral element so it cannot change the list’s answer: satisfied underRequire’s AND, non-matching under Include’s OR
and Exclude’s NOT.
This matters most for Require. If a skipped rule were treated as “does not
match”, a single one would make the whole AND fail and the group would report
no members at all. A group with Include: email and Require: geo US
really does grant access to that user, and C1 reports it.
Contextual rules — country, IP range, mTLS certificate, device posture,
authentication method — are never evaluated, and this is deliberate rather
than a gap. They constrain the request: where it comes from and how it
authenticated. They do not change who the policy grants access to, and
Cloudflare evaluates them per request, so no connector can resolve them at
sync time. C1 models who a policy grants access to, not the conditions under
which that access applies.
A nested Access group referenced in Include is represented as an
expandable grant on the referenced group’s own membership — so nested
group membership (including further nesting) is reflected in C1 without
this connector re-evaluating every member on every sync.
Granting and revoking group membership
C1 adds a member to an Access group by appending anemail rule to the
group’s Include list, and removes one by deleting that rule. Everything
else about the group — its name and its Require and Exclude rules — is
written back unchanged.
Because membership is expressed as rules rather than as a member list, some
requests cannot be carried out, and the connector refuses them rather than
reporting a change it did not make:
Membership that comes from a nested Access group cannot be revoked here
either: the member belongs to the referenced group, not to this one.
Gather Cloudflare Zero Trust credentials
Configuring the connector requires you to pass in credentials generated in Cloudflare Zero Trust. Gather these credentials before you move on.Locate your Cloudflare Account ID
1
Log into your Cloudflare Super Administrator account and select Workers from the left nav.
2
On the Workers page, find your Account ID on the right side of the page.
3
Copy and save the Account ID.
Create an API Token
1
Click the user icon and select My Profile.
2
Click API Tokens on the left side, then click Create Token.
3
At the bottom of the page, in the Custom Token area, click Get started.
4
Fill out the Create Custom Token page as follows:
- Give the API token a name, such as C1
-
Set the appropriate permissions for the API token:
If you want to use C1 to provision Cloudflare Zero Trust groups and roles, set:
- Account -> Account Settings -> Read
- Account -> Access: Organizations, Identity Providers, and Groups -> Edit
- Account -> Access: Apps and Policies -> Read
- Account -> Access: Audit Logs -> Read
- Account -> Memberships -> Edit
- Account -> Account Settings -> Read
- Account -> Access: Organizations, Identity Providers, and Groups -> Read
- Account -> Memberships -> Read
- Account -> Access: Apps and Policies -> Read
- Account -> Access: Audit Logs -> Read
- Click Continue to summary.
5
Click Create Token and copy the token generated for you.
- Account ID
- API token
- Account ID
- The email address associated with your Cloudflare account
- Global API key
Configure the Cloudflare Zero Trust connector
- Cloud-hosted
- Self-hosted
Follow these instructions to use a built-in, no-code connector hosted by C1.Done. Your Cloudflare Zero Trust connector is now pulling access data into C1.
1
In C1, navigate to Apps > Connectors and click Add connector.
2
Search for Cloudflare Zero Trust and click Add.
3
Choose where to add the connector: Create a new app, or Add to an existing app (then select the app).If you’re creating a new app, choose whether to link it to an application discovered from your identity provider: select Yes and pick the IdP application, or No to continue with just the connector.
4
Set the connector’s Name and, optionally, a Description.
5
Click the pencil icon next to Owners to choose who can configure and manage this connector.
6
Click Add. The connector is created and its configuration page opens.
7
Find the Settings area of the page and click Edit.
8
Choose how you’ll authenticate to Cloudflare Zero Trust:
- Select API token, then enter the account ID into the Account ID field and paste the API token into the API token field.
- Select Email + API key, then enter the account ID into the Account ID field, your email into the Email ID field, and your Global API key into the API key field.
9
Click Save.
10
The connector’s label changes to Syncing, followed by Connected. You can view the logs to ensure that information is syncing.