Skip to main content

behaviours

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

Overview

Namebehaviours
TypeResource
Idcloudflare.zero_trust.behaviours

Fields

The following fields are returned by SELECT queries:

Risk scoring behaviors.

NameDatatypeDescription
behaviorsobject

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectaccount_idRetrieves configured risk score behaviors that define how user actions affect their overall risk score.
updatereplaceaccount_id, behaviorsUpdates risk score behavior configurations, defining weights and thresholds for risk calculation.

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

Retrieves configured risk score behaviors that define how user actions affect their overall risk score.

SELECT
behaviors
FROM cloudflare.zero_trust.behaviours
WHERE account_id = '{{ account_id }}' -- required
;

REPLACE examples

Updates risk score behavior configurations, defining weights and thresholds for risk calculation.

REPLACE cloudflare.zero_trust.behaviours
SET
behaviors = '{{ behaviors }}'
WHERE
account_id = '{{ account_id }}' --required
AND behaviors = '{{ behaviors }}' --required
RETURNING
errors,
messages,
result,
success;