settings_operations
Creates, updates, deletes, gets or lists a settings_operations resource.
Overview
| Name | settings_operations |
| Type | Resource |
| Id | cloudflare.schema_validation.settings_operations |
Fields
The following fields are returned by SELECT queries:
- list_by_zone
| Name | Datatype | Description |
|---|---|---|
operation_id | string | UUID. (example: f174e90a-fafe-4643-bbbc-4a0ed4fc8415) |
mitigation_action | string | When set, this applies a mitigation action to this operation which supersedes a global schema validation setting just for this operation - "log" - log request when request does not conform to schema for this operation - "block" - deny access to the site when request does not conform to schema for this operation - "none" - will skip mitigation for this operation (log, block, none) (example: block) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_by_zone | select | zone_id | page, per_page | Lists all per-operation schema validation settings configured for the zone. |
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 |
|---|---|---|
zone_id | string | The Cloudflare zone ID. |
page | integer | Page number of paginated results. |
per_page | integer | Maximum number of results per page. |
SELECT examples
- list_by_zone
Lists all per-operation schema validation settings configured for the zone.
SELECT
operation_id,
mitigation_action
FROM cloudflare.schema_validation.settings_operations
WHERE zone_id = '{{ zone_id }}' -- required
AND page = '{{ page }}'
AND per_page = '{{ per_page }}'
;