Skip to content
AnswerWell geo Documentation

Research · 6 min read · Answerwell

CASB Remediation Policies, Webhooks, and Posture Findings

How API-based CASB auto-remediation and webhooks work for SaaS posture findings, including limits, setup, and troubleshooting.

This page summarises Cloudflare documentation on Cloudflare CASB (Cloud Access Security Broker): automatic remediation policies, webhooks for posture finding instances, and how those pieces fit with manual finding workflows. CASB here is API-based and agentless—it connects to SaaS and cloud apps (notably Microsoft 365 and Google Workspace) to detect misconfigurations and data exposure, then lets you fix or notify without waiting on manual triage for every instance.

Cloudflare CASB: what scans and what you can automate

Section titled “Cloudflare CASB: what scans and what you can automate”

Cloudflare CASB continuously scans connected integrations for security posture issues. According to the 2026-08-21 CASB policies announcement:

Cloudflare CASB is an API-based (agentless) tool that continuously scans your SaaS and cloud applications for security misconfigurations and data exposure. You can now use CASB remediation policies to automatically fix a finding or send a webhook the moment CASB detects it, without manual triage.

In Cloudflare One, two response paths matter for most teams: Run Remediation (first-party API fixes where supported) and Send webhooks (route finding instances to Slack, ServiceNow, SIEMs, SOAR, or custom HTTPS endpoints). A single policy can do both.

Capability Manual workflow Remediation policy
Fix a supported file-sharing finding Manage findings → instance → remediation action Triggers on new matching instances
Notify external systems Instance → Send webhook Webhook on every new match
Paid CASB plan Webhooks require CASB Remediation Policies require a paid Cloudflare CASB plan (not available on free CASB integrations)

Broader Zero Trust context: CASB in secure WAN traffic also describes API scanning plus inline Gateway controls for unsanctioned SaaS usage—that inline path is separate from API remediation policies covered here.

Remediation policies: how automatic CASB actions trigger

Section titled “Remediation policies: how automatic CASB actions trigger”

A remediation policy defines vendor, integrations (or Apply to all integrations), finding type, and one or both actions. When CASB detects a finding instance, it checks customer-configured policies; if one matches, Cloudflare runs the configured action automatically (Remediation Policies).

When CASB detects a finding instance, it checks whether the instance matches a customer-configured policy. If a policy matches, Cloudflare runs the action configured in the policy against that instance automatically.

Policies apply only to newly discovered instances after the policy exists—they are not retroactive. You cannot change a policy’s finding type in place; create a new policy instead (Remediation Policies).

Run Remediation: which Microsoft 365 and Google Workspace findings qualify

Section titled “Run Remediation: which Microsoft 365 and Google Workspace findings qualify”

For API remediation, Cloudflare acts on the SaaS integration API—for example revoking external file sharing without human intervention:

A policy can perform a first-party remediation action directly against the SaaS integration API. When a policy triggers, Cloudflare revokes the external sharing configuration without human intervention.

Remediation is currently supported for file-sharing findings in Microsoft 365 and Google Workspace. Support for additional finding types and integrations is coming soon.

Automated remediation in a policy is limited to file and folder finding types listed under Run remediations in Remediation Policies. If a finding type has no remediation support, Run Remediation shows that no automated remediation is available.

Read-Write integration permissions are required before remediation works (Manage findings): configure the integration under Cloud & SaaS findings > Integrations with Read-Write mode, complete the vendor consent flow, then remediate or enable policy actions.

Enable policy and disabled policies: turn automatic actions on or off

Section titled “Enable policy and disabled policies: turn automatic actions on or off”

New policies default to enabled when you turn on Enable policy during creation (changelog). To stop matching without deleting the policy, use the Enable policy toggle; a disabled policy does not act on new instances until re-enabled (Remediation Policies).

Manual remediation statuses (Pending through Completed, Failed, Rejected) apply per instance; validation can take up to 48 hours (Manage findings).

CASB webhooks: send posture finding instances to external systems

Section titled “CASB webhooks: send posture finding instances to external systems”

CASB webhooks send posture finding instances only—not content findings. You configure destinations under Integrations > Webhooks in Cloudflare One.

You can now use CASB webhooks in Cloudflare One to send posture finding instances to external systems such as chat platforms, ticketing systems, SIEMs, SOAR tools, and custom automation services.

Webhook actions on a policy are supported for all posture finding types across CASB integrations (changelog), broader than API remediation alone.

Authentication methods and Test delivery for CASB webhooks

Section titled “Authentication methods and Test delivery for CASB webhooks”

Supported authentication (Webhooks): None, Basic Auth, Bearer Auth, Static Headers, and HMAC-Signing. Destinations must use public https:// URLs; private or loopback addresses are rejected.

Flexible authentication — Configure destinations using None, Basic Auth, Bearer Auth, Static Headers, or HMAC-Signing. Built-in testing — Use Test delivery to send a test request before sending a live finding instance.

Test delivery runs immediately; live instance sends are queued. A success message means Cloudflare accepted the request for delivery, not necessarily that the downstream system already processed it (Manage findings, CASB troubleshooting).

Policy-triggered webhooks use the same payload shape as manual Send webhook from an instance (Remediation Policies → Payload format in Webhooks).

Create a CASB remediation policy in Cloudflare One

Section titled “Create a CASB remediation policy in Cloudflare One”
  1. In Cloudflare One, open Cloud & SaaS findings > Policies and select Create a policy (Remediation Policies).

  2. Under Basic information, enter a Policy name and optional Description.

  3. Under Choose how you want to trigger the policy, select Vendor, Integration(s) or Apply to all integrations, and Finding type.

  4. Under Define what to do with findings that match your trigger, choose Run Remediation, Send webhooks, or both. For webhooks, pick configured destinations; for remediation, ensure Read-Write on the integration.

  5. Under Status, turn on Enable policy, then Create policy.

The same flow appears in the CASB policies changelog. For infrastructure-as-code, use the Create a policy API or cloudflare_zero_trust_casb_policy with finding type, remediation type, and webhook IDs from the documented list endpoints.

Custom finding types can drive webhook-only policies; a policy cannot use a custom finding type that is quarantined or scoped away from selected integrations.

CASB troubleshooting: integrations, remediation failures, and webhooks

Section titled “CASB troubleshooting: integrations, remediation failures, and webhooks”

The CASB troubleshooting guide covers integrations and webhooks.

Symptom Likely cause What to do
Integration error on create Connection or consent failure Follow integration-specific docs linked from troubleshooting
Finding stays active after fix Scan lag or stale state Fix in SaaS; wait for next successful scan (troubleshoot CASB)
Remediation Failed / timeout Revoked Cloudflare app permissions Re-validate integration permissions (troubleshooting)
Webhook “success” but no ticket Queued delivery or auth mismatch Confirm auth headers; remember queued sends (troubleshooting)
False positive Intended sharing flagged wrong Dismiss with reason (Cloudflare One CASB troubleshooting) or hide instance temporarily

The remediation failure may be due to the permissions for the Cloudflare app being changed or revoked in the SaaS application after the initial setup. Re-validate the integration to ensure all required permissions are still granted.

If an unhealthy compute account blocks new scan results, repair per troubleshoot compute accounts (upgrade account, roll API token if still unhealthy).

  1. In Cloudflare One, confirm the SaaS integration shows Read-Write if you use Run Remediation (Manage findings).

  2. Under Integrations > Webhooks, run Test delivery on each destination and confirm the receiver accepts the request (Webhooks).

  3. Create or review a remediation policy under Cloud & SaaS findings > Policies; verify Enable policy matches whether you want automatic action on new instances (Remediation Policies).

  4. Trigger or locate a test posture finding instance; confirm remediation status or webhook delivery, remembering instance webhooks are queued (Manage findings).

  5. You can check automatically in Answerwell (our tool): https://answerwell.org/workspace

If something on this page does not match the official docs or your experience, write to yimasynthetic@gmail.com with the page URL and the exact statement you want clarified or corrected.