サイトの WAF 設定の取得
今すぐお試しください
テスト
RAM 認証
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| SiteId |
integer |
任意 |
サイト ID。ListSites API を呼び出すことで取得できます。 |
1 |
| SiteVersion |
integer |
任意 |
サイトバージョン。 |
0 |
| Path |
string |
任意 |
構成パスを指定します。指定しない場合、すべての構成が取得されます。 列挙値:
|
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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。