Skip to content

非公式本サイトは非公式の日本語ドキュメントであり、Cloudflare 公式サイトではありません。最新情報はdevelopers.cloudflare.comをご確認ください。

フェーズ一覧

最終更新 Markdown で表示Agent セットアップ

次の表は、Ruleset Engine で動く Cloudflare 製品の フェーズ を、実行順に示します。Cloudflare Web Application Firewall のように、複数のフェーズを持つ製品もあります。

ネットワーク層

ネットワーク層 のフェーズは、Cloudflare グローバルネットワークが受け取ったパケットに適用されます。

アプリケーション層

アプリケーション層 のフェーズは、Cloudflare グローバルネットワークが受け取ったリクエストに適用されます。

リクエストフェーズ

フェーズは、表に並んだ順に実行されます。

フェーズ名 使用する製品 / 機能
http_request_dynamic_redirect Single Redirects
http_request_sanitize URL 正規化
http_request_transform URL Rewrite Rules
N/A(内部フェーズ) Waiting Room Rules
http_request_api_gateway_early* API Shield
http_config_settings Configuration Rules
http_request_origin Origin Rules
ddos_l7* HTTP DDoS Attack Protection
http_request_firewall_custom カスタムルール(Web Application Firewall)
http_ratelimit レート制限ルール(WAF)
http_request_api_gateway_late API Shield
http_request_firewall_managed WAF Managed Rules
http_request_sbfm Super Bot Fight Mode
N/A(内部フェーズ) Cloudflare Access のアプリケーション確認
http_request_redirect Bulk Redirects
N/A(内部フェーズ) Managed Transforms
http_request_late_transform Request Header Transform Rules
http_request_cache_settings Cache Rules
http_request_snippets Snippets
http_request_cloud_connector Cloud Connector

* このフェーズは設定専用です。対応するルールは、リクエスト処理のこの段階では実行されません。

Cloudflare Access について、Cloudflare Access の行は Access アプリケーションの確認を指します。Access の適用と処理は、Bulk Redirects のあとの内部フェーズで行われます。

レスポンスフェーズ

フェーズは、表に並んだ順に実行されます。

フェーズ名 使用する製品 / 機能
http_custom_errors Custom Errors
N/A(内部フェーズ) Managed Transforms
http_response_headers_transform Response Header Transform Rules
http_ratelimit レート制限ルール(レスポンス情報を使う場合)
http_response_compression Compression Rules
http_response_firewall_managed Cloudflare Sensitive Data Detection(Data Loss Prevention)
http_log_custom_fields Logpush のカスタムフィールド

役に立ちましたか?