Skip to main content

summary

Creates, updates, deletes, gets or lists a summary resource.

Overview

Namesummary
TypeResource
Idcloudflare.zero_trust.summary

Fields

The following fields are returned by SELECT queries:

Risk score for all users in the account.

NameDatatypeDescription
namestring
user_idstring (uuid)
emailstring
event_countinteger
last_eventstring (date-time)
max_risk_levelstring (low, medium, high)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectaccount_idGets 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.

NameDatatypeDescription
account_idstringThe Cloudflare account ID.

SELECT examples

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
;