CCloud Releases
Home
Following

Cloud Releases

Service catalogues and updates come from each provider's public product listing and announcements.

Explore

  • Home
  • Latest updates
  • Following

About

  • About
  • Contact
  • Privacy Policy
  • Terms of Use

Providers

  • Amazon Web Services
  • Microsoft Azure
  • Google Cloud
  • Cloudflare

Not affiliated with any cloud provider. Product names and logos belong to their owners.

  1. Providers
  2. ›Cloudflare
  3. ›Data Loss Prevention
  4. ›Update

Feature•Jul 10, 2026

Source code detection improvements

Data Loss PreventionCloudflare · Cloudflare One

Data Loss Prevention (DLP) source code detection now focuses on identifying whole source code file uploads and downloads. Previously, source code detection performed partial scans resulting in a higher rate of false positives. Since only whole source code files are evaluated, code embedded in other content — such as chat messages, documentation, or code samples — is no longer flagged as source code, removing a common source of false positives.

Source code detection requires a minimum of 500 characters to evaluate a file. Files below this threshold are not flagged to reduce noise. This threshold filters out small fragments that lack enough context for reliable classification.

Enable and set confidence levels to tune match sensitivity. A higher confidence level reduces false positives by requiring stronger signals that the content is truly source code. A lower confidence level catches more files at the cost of additional noise.

Source code detection applies to standalone source code files in Gateway HTTP policies. It does not detect source code embedded within other file types or payloads, such as .docx files or chat messages.

For more information, refer to Source Code predefined profiles.

Read the original announcement↗

More from Data Loss Prevention

All Data Loss Prevention updates →
  1. Discover where sensitive data goes before you create a Data Loss Prevention policy

    Passive Detection for Cloudflare Data Loss Prevention (DLP) lets you learn from your Gateway traffic before deciding what to log or block.

    Data Loss Prevention•Feature•Sep 14, 2026
  2. Test Data Loss Prevention profiles without sending traffic through Gateway

    Test scan lets you check how Data Loss Prevention (DLP) evaluates sample content before you apply a profile to production traffic. Paste text, upload a file, or upload a HAR file, then select the profiles you want to test.

    Data Loss Prevention•Feature•Aug 21, 2026
  3. Define custom topics for AI prompt protection

    You can now define custom topics for AI prompt protection. Predefined AI prompt topics cover common content and intent categories such as PII, source code, and jailbreak attempts.

    Data Loss Prevention•Feature•Jun 11, 2026
  4. Classify sensitive content with Data Classification

    Cloudflare DLP now includes Data Classification, which lets administrators organize and label sensitive content using labels, templates, and reusable data classes.

    Data Loss Prevention•Feature•Apr 30, 2026
  5. New predefined detection entries are available

    Cloudflare DLP now includes new predefined detection entries.

    Data Loss Prevention•Feature•Apr 30, 2026