コンテンツにスキップ

セキュリティレベル

Cloudflare’s Security Level uses the threat score (IP reputation) to decide whether to present a challenge to the visitor. Once the visitor enters the correct challenge, they receive the appropriate website resources.


Threat score

The threat score measures IP reputation across Cloudflare services. This score is calculated based on Project Honeypot, external public IP information, as well as internal threat intelligence from our WAF managed rules and DDoS.

The threat score of a request has a value from 0 to 100, where 0 indicates low risk. Values above 10 may represent spammers or bots, and values above 40 identify bad actors on the Internet.

Security levels

Security levels are based on the threat score (except Off and I’m Under Attack!). You can adjust the security level to challenge incoming requests based on the threat they pose.

The available security levels are the following:

Security LevelThreat score rangeDescription
Off (Enterprise
customers only)
N/ADoes not challenge IP addresses.
Essentially off50–100Only challenges IP addresses with the worst reputation.
Low25–100Challenges only threatening visitors.
Medium15–100Challenges both threatening and moderately threatening visitors.
High0–100Challenges all visitors that exhibited threatening behavior within the last 14 days.
I’m Under Attack!N/AOnly for use if your website is currently under a DDoS attack.

Selecting a higher Security Level value means that even requests with a lower risk (that is, with a low threat score) will be challenged. Selecting a lower Security Level value means that only requests posing a higher risk (that is, with a high threat score) will be challenged.

Security levels from Essentially off to High will challenge the visitor using a Managed Challenge. When you select I’m Under Attack!, which enables I’m Under Attack mode, Cloudflare will present a JS challenge page.


セキュリティレベルのカスタマイズ

デフォルトのセキュリティレベルは です。

グローバルに更新

ゾーン全体のセキュリティレベルを更新するには:

  1. Cloudflareダッシュボードにログインし、アカウントとゾーンを選択します。
  2. セキュリティ > 設定に移動します。
  3. セキュリティレベルのオプションを選択します。

選択的に更新

セキュリティレベルをより選択的に設定するには、次のいずれかを行います:

  • 設定ルールを介して構成します。
  • カスタムルール内で脅威スコアフィールド基準として使用します。式エディタを使用している場合は、cf.threat_scoreフィールドを使用します。

推奨事項

ボットのIPアドレスがウェブサイトを攻撃するのを防ぐために:

  • 新しいウェブサイトの所有者は、 または セキュリティレベルを設定し、チャレンジパッセージ30分未満に下げて、Cloudflareが常にサイトを保護していることを確認するかもしれません。
  • セキュリティ設定に自信のある経験豊富なウェブサイト管理者は、セキュリティレベル基本的にオフ または に設定し、1週間、1ヶ月、または1年の間に高いチャレンジパッセージを設定して、訪問者にとってあまり干渉しない体験を提供するかもしれません。

また、WAFカスタムルールを作成して、コメントフォームページやログインフォームなど、ウェブサイトの敏感な領域を保護することができます。ルール式内で脅威スコアを使用します。カスタムルールの柔軟性により、(例えば、チャレンジまたはブロックなど)取るべきアクションを選択し、特定のIPアドレスを除外することができます。