Skip to content

Traffic detections

Last updated View as MarkdownAgent setup

Traffic detections check incoming requests for malicious, potentially malicious, or non-conforming activity. Each enabled detection scores or classifies requests by populating one or more fields. These fields appear as filters in the Security Analytics dashboard, and you can use them in rule expressions.

Detections are always on once enabled, even if you have not configured any security rules that use them. You can review detection results in Security Analytics to identify traffic patterns and spot potentially malicious traffic. For example, you can analyze traffic based on attack score, bot score, content scan results, or the presence of personally identifiable information (PII) in large language model (LLM) prompts.

Application Profiles compare requests with application-specific expected structures. Profile detections do not mitigate traffic without a security rule.

Cloudflare provides the following detections:

Availability

Free Pro Business Enterprise
Availability Yes Yes Yes Yes
Malicious uploads detection No No No Paid add-on
Leaked credentials detection Yes Yes Yes Yes
Leaked credentials fields Password Leaked Password Leaked, User and Password Leaked Password Leaked, User and Password Leaked All leaked credentials fields
Number of custom detection locations 0 0 0 10
Attack score No No One field only Yes
AI Security for Apps No No No Yes

For more information on bot score, refer to Bot scores.

Turn on a settings-managed detection

For detections managed through Security settings:

  1. In the Cloudflare dashboard, go to the Security Settings page.

    Go to Settings ↗
  2. Filter by Detection tools.

  3. Turn on the desired detections.

Detections enabled through Security settings run for all incoming traffic. Application Profiles instead evaluate requests after a learned or uploaded profile becomes available.

More resources

For more information on detection versus mitigation, refer to Concepts.

Was this helpful?