List remediation jobs
client.zeroTrust.casb.posture.remediations.jobs.list(JobListParams { account_id, cursor, direction, 9 more } params, RequestOptionsoptions?): V4PagePaginationArray<JobListResponse { id, asset, created_at, 11 more } >
GET/accounts/{account_id}/data-security/posture/remediations/jobs
List all remediation jobs tied to a specific Cloudflare Account. Note that cursor and page are mutually exclusive.
Security
API Token
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example:
Accepted Permissions (at least one required)
List remediation jobs
import Cloudflare from 'cloudflare';
const client = new Cloudflare({
apiToken: process.env['CLOUDFLARE_API_TOKEN'], // This is the default and can be omitted
});
// Automatically fetches more pages as needed.
for await (const jobListResponse of client.zeroTrust.casb.posture.remediations.jobs.list({
account_id: '46148281d8a93d002ef242d8b0d5f9f6',
})) {
console.log(jobListResponse.id);
}{
"errors": [
{}
],
"messages": [
{}
],
"result": [
{
"id": "c416bc38-75db-425f-ae25-c37b5df5c37f",
"asset": {
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"category": {
"service": "OneDrive",
"type": "SaaS",
"vendor": "Google Workspace"
},
"external_id": "c416bc38-75db-425f-ae25-c37b5df5c37f",
"fields": [
{
"name": "File Name",
"value": "sensitive-document.xlsx",
"link": "https://dashboard.microsoft.com/files/details"
}
],
"name": "Microsoft File Publicly Accessible",
"link": "https://dashboard.microsoft.com/files/details"
},
"created_at": "2025-07-07T18:39:13.123456Z",
"finding_id": "MDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAxOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMgo=",
"finding_instance_id": "3f7b8c9d-6e5a-4f3b-9c2d-1e0a8b7c6d5e",
"finding_type_id": "775c5f38-efcf-4b2b-93db-8428979eb6a2",
"finding_type_name": "Microsoft: File publicly accessible with edit access",
"integration_name": "Microsoft",
"last_updated": "2025-07-07T18:39:13.123456Z",
"remediation_type": "Remove publicly accessible edit url",
"status": "pending",
"triggered_by_user": "user@example.com",
"triggered_by_actor": "user",
"triggered_by_id": "0123456789abcdef0123456789abcdef"
}
],
"result_info": {
"count": 2,
"cursor": "next_cursor_value",
"page": 1,
"per_page": 10,
"total_count": 2
},
"success": true
}Returns Examples
{
"errors": [
{}
],
"messages": [
{}
],
"result": [
{
"id": "c416bc38-75db-425f-ae25-c37b5df5c37f",
"asset": {
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"category": {
"service": "OneDrive",
"type": "SaaS",
"vendor": "Google Workspace"
},
"external_id": "c416bc38-75db-425f-ae25-c37b5df5c37f",
"fields": [
{
"name": "File Name",
"value": "sensitive-document.xlsx",
"link": "https://dashboard.microsoft.com/files/details"
}
],
"name": "Microsoft File Publicly Accessible",
"link": "https://dashboard.microsoft.com/files/details"
},
"created_at": "2025-07-07T18:39:13.123456Z",
"finding_id": "MDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAxOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMgo=",
"finding_instance_id": "3f7b8c9d-6e5a-4f3b-9c2d-1e0a8b7c6d5e",
"finding_type_id": "775c5f38-efcf-4b2b-93db-8428979eb6a2",
"finding_type_name": "Microsoft: File publicly accessible with edit access",
"integration_name": "Microsoft",
"last_updated": "2025-07-07T18:39:13.123456Z",
"remediation_type": "Remove publicly accessible edit url",
"status": "pending",
"triggered_by_user": "user@example.com",
"triggered_by_actor": "user",
"triggered_by_id": "0123456789abcdef0123456789abcdef"
}
],
"result_info": {
"count": 2,
"cursor": "next_cursor_value",
"page": 1,
"per_page": 10,
"total_count": 2
},
"success": true
}