Skip to main content

settings_operations

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

Overview

Namesettings_operations
TypeResource
Idcloudflare.schema_validation.settings_operations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
operation_idstringUUID. (example: f174e90a-fafe-4643-bbbc-4a0ed4fc8415)
mitigation_actionstringWhen 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:

NameAccessible byRequired ParamsOptional ParamsDescription
list_by_zoneselectzone_idpage, per_pageLists 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.

NameDatatypeDescription
zone_idstringThe Cloudflare zone ID.
pageintegerPage number of paginated results.
per_pageintegerMaximum number of results per page.

SELECT examples

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 }}'
;