すべてのプロダクト
Search
ドキュメントセンター

Edge Security Acceleration:GetSiteWafSettings

最終更新日:Mar 24, 2026

サイトの WAF 設定の取得

今すぐお試しください

この API を OpenAPI Explorer でお試しください。手作業による署名は必要ありません。呼び出しに成功すると、入力したパラメーターに基づき、資格情報が組み込まれた SDK コードが自動的に生成されます。このコードをダウンロードしてローカルで使用できます。

テスト

RAM 認証

この操作の認証情報はありません。問題が発生した場合は、アカウントマネージャーにご連絡ください。

リクエストパラメーター

パラメーター

必須 / 任意

説明

SiteId

integer

任意

サイト ID。ListSites API を呼び出すことで取得できます。

1

SiteVersion

integer

任意

サイトバージョン。

0

Path

string

任意

構成パスを指定します。指定しない場合、すべての構成が取得されます。

列挙値:

  • bot_management :

    シンプルモードのボット

  • add_security_headers :

    セキュリティレスポンスヘッダーの追加

  • client_ip_identifier :

    クライアント IP の定義

  • add_bot_protection_headers :

    セキュリティリクエストヘッダーの追加

  • security_level :

    セキュリティレベル

bot_management

レスポンスフィールド

フィールド

説明

object

応答結果。

RequestId

string

リクエスト ID。

36af3fcc-43d0-441c-86b1-428951dc8225

Settings WafSiteSettings

サイトの WAF 設定の詳細。

成功レスポンス

JSONJSON

{
  "RequestId": "36af3fcc-43d0-441c-86b1-428951dc8225",
  "Settings": {
    "ClientIpIdentifier": {
      "Headers": [
        "X-Forwarded-For"
      ],
      "Mode": "headers"
    },
    "AddBotProtectionHeaders": {
      "Enable": false
    },
    "AddSecurityHeaders": {
      "Enable": false
    },
    "SecurityLevel": {
      "Value": "low"
    },
    "BotManagement": {
      "DefiniteBots": {
        "Action": "captcha",
        "Id": 20000001
      },
      "LikelyBots": {
        "Action": "deny",
        "Id": 20000002
      },
      "JSDetection": {
        "Enable": false
      },
      "VerifiedBots": {
        "Action": "bypass",
        "Id": 20000003
      },
      "EffectOnStatic": {
        "Enable": true
      }
    },
    "BandwidthAbuseProtection": {
      "Status": "on",
      "Action": "deny",
      "Id": 10000001
    },
    "DisableSecurityModule": {
      "Status": "on"
    }
  }
}

エラーコード

HTTP ステータスコード

エラーコード

エラーメッセージ

説明

400 InvalidParameter The specified parameter is invalid.
400 InternalException Failed to call the service. Try again later or contact technical support.

完全なリストについては、「エラーコード」をご参照ください。

変更履歴

完全なリストについては、「変更履歴」をご参照ください。