summary
Creates, updates, deletes, gets or lists a summary resource.
Overview
| Name | summary |
| Type | Resource |
| Id | cloudflare.zero_trust.summary |
Fields
The following fields are returned by SELECT queries:
- list
Risk score for all users in the account.
| Name | Datatype | Description |
|---|---|---|
name | string | |
user_id | string (uuid) | |
email | string | |
event_count | integer | |
last_event | string (date-time) | |
max_risk_level | string | (low, medium, high) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | account_id | Gets an aggregate summary of risk scores across the account, including distribution and trends. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
account_id | string | The Cloudflare account ID. |
SELECT examples
- list
Gets an aggregate summary of risk scores across the account, including distribution and trends.
SELECT
name,
user_id,
email,
event_count,
last_event,
max_risk_level
FROM cloudflare.zero_trust.summary
WHERE account_id = '{{ account_id }}' -- required
;