detektu
Cloudflare API changes
Deprecation

Api path removed with deprecation: GET /accounts/{}/data-security/posture/policies/logs

openapi:GET /accounts/{}/data-security/posture/policies/logs::operation.api-path-removed-with-deprecation
Product
Cloudflare API
Source
Repository Spec
Change kind
Api Path Removed With Deprecation
Detected
Last updated

Deterministic evidence

Before / after

Extracted from Cloudflare's published contract. Shows the whole operation — a narrower excerpt was not available for this change. Open the source ↗

−241+11 change

1 / 1
{
null
"deprecated": true,
"description": "Deprecated: use `GET /accounts/{account_id}/data-security/posture/policy_logs`, which returns identical results. This path will be removed.\n\nReturns a list of policy invocation logs for the given account, sourced from ClickHouse via Ready Analytics. Each entry represents one execution of a policy against a finding instance, including the actions (remediation jobs and webhooks) it dispatched.\n\nResults are scoped to the requesting account's CASB integrations. The `integration_id` query parameter, when supplied, is intersected against the account's integration allowlist; values outside the allowlist are silently dropped.\n\nPagination is offset-based. The response does not include a total row count; clients should treat a result with fewer than `per_page` entries as the end of the list.\n",
"operationId": "ListPolicyLogs",
"parameters": [
{
"$ref": "#/components/parameters/posture-api_AccountTag"
},
{
"in": "query",
"name": "since",
"schema": {
"format": "date-time",
"type": "string"
}
},
{
"in": "query",
"name": "until",
"schema": {
"format": "date-time",
"type": "string"
}
},
{
"in": "query",
"name": "integration_id",
"schema": {
"type": "string"
}
},
{
"in": "query",
"name": "policy_name",
"schema": {
"type": "string"
}
},
{
"$ref": "#/components/parameters/posture-api_Page"
},
{
"$ref": "#/components/parameters/posture-api_PerPage"
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"allOf": [
{
"$ref": "#/components/schemas/posture-api_api-response-collection"
},
{
"properties": {
"result": {
"items": {
"properties": {
"actions": {
"properties": {
"remediations": {
"items": {
"properties": {
"id": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"type",
"id",
"url"
],
"type": "object"
},
"type": "array"
},
"webhooks": {
"items": {
"properties": {
"nickname": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"nickname",
"url"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"remediations",
"webhooks"
],
"type": "object"
},
"policy": {
"properties": {
"name": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"name",
"url"
],
"type": "object"
},
"timestamp": {
"type": "string"
},
"trigger": {
"properties": {
"date_detected": {
"type": "string"
},
"fields_of_interest": {
"additionalProperties": true,
"nullable": true,
"type": "object"
},
"finding_type_name": {
"type": "string"
},
"instance_asset": {
"type": "string"
},
"integration_name": {
"type": "string"
},
"integration_url": {
"type": "string"
}
},
"required": [
"finding_type_name",
"instance_asset",
"date_detected",
"integration_name",
"integration_url",
"fields_of_interest"
],
"type": "object"
}
},
"required": [
"timestamp",
"policy",
"trigger",
"actions"
],
"type": "object"
},
"type": "array"
}
},
"type": "object"
}
],
"type": "object"
}
}
}
},
"400": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/posture-api_error-response"
}
}
}
},
"401": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/posture-api_error-response"
}
}
}
},
"403": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/posture-api_error-response"
}
}
}
},
"502": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/posture-api_error-response"
}
}
}
},
"504": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/posture-api_error-response"
}
}
}
}
},
"security": [
{
"api_token": []
}
],
"tags": [
"policies"
],
"x-api-token-group": [
"Zero Trust Read",
"Zero Trust Write"
],
"x-fern-ignore": true,
"x-fern-sdk-group-name": "zero-trust.casb.policies.logs",
"x-fern-sdk-method-name": "list"
}

Deadline

Deprecation timeline

openapi:GET /accounts/{}/data-security/posture/policies/logs::operation.api-path-removed-with-deprecation was announced as deprecated on Oct 6, 2026, with no removal date yet.

See all Cloudflare deprecation deadlines →

Monitored for you

Does this change affect your integration?

Choose the operations and fields your services use. Detektu matches Cloudflare findings to that declared usage so your team can review the relevant evidence. No agent or repository access required.