Cloudflare Docs
Visit DDoS Protection on GitHub
Set theme to dark (⇧+D)

Handle a false negative or an incomplete mitigation

False negatives

A false negative is a lack of identification. In the case of DDoS protection, there is a false negative when attack traffic is mistakenly classified as legitimate traffic and is not mitigated. This can occur when the attack traffic is not sufficiently high to trigger mitigation actions or if there are no rules matching the attack.

To address a false negative:

Incomplete mitigations

An incomplete mitigation is a case when the DDoS protection systems have applied mitigation, but not all the attack was mitigated. This can happen when Cloudflare’s systems apply a mitigation action that is less strict than what the attack requires.

The system chooses the mitigation action based on the logic and the DDoS protection system’s confidence that the traffic is indeed part of an attack:

  • For high-confidence rules, the system will apply a strict mitigation action such as the Block action.
  • For low-confidence rules, the system will apply a less strict mitigation rule such as Challenge or Force Connection Close.

If you are experiencing a DDoS attack detected by Cloudflare and the applied mitigation action is not sufficiently strict, change the rule action to Block:

  1. Log in to the Cloudflare dashboard and select your account.

  2. Navigate to the analytics dashboard and apply filters to the displayed data.

    For WAF/CDN customers

    1. Select the zone that is experiencing an incomplete mitigation of a DDoS attack.

    2. Navigate to Security > Overview.

    3. Click Add filter and filter by Service equals HTTP DDoS.

    For Magic Transit and Spectrum customers

    1. In the account home page, open Network Analytics.

    2. Identify the DDoS attack that is having incomplete mitigations. Use the Attack ID number included in the DDoS alert (if you received one), or apply dashboard filters such as destination IP address and port.

  3. Scroll down to the Activity log.

  4. Click Edit columns and enable Rule ID*.

  5. Copy the rule ID from one of the DDoS log entries.

  6. Navigate to Security > DDoS and click Configure next to the Managed Ruleset containing the rule you will adjust.

  7. Click Browse rules and paste the Rule ID in the search field.

  8. Change the rule’s Action to Block.

  9. Click Next and then Save.

* Not available in Network Analytics dashboard yet.

Once saved, the rule takes effect within one or two minutes. The rule adjustment should provide immediate remedy, which you can view in the analytics dashboard .