メインコンテンツへスキップ
PATCH
https://{tenantDomain}/api/v2
/
attack-protection
/
bot-detection
ボット検知設定を更新
curl --request PATCH \
  --url https://{tenantDomain}/api/v2/attack-protection/bot-detection \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "allowlist": [
    "127.0.0.1"
  ],
  "monitoring_mode_enabled": true
}
'
{
  "allowlist": [
    "127.0.0.1"
  ],
  "monitoring_mode_enabled": true
}

承認

Authorization
string
header
必須

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

ボディ

allowlist
(string<ipv4> | string<ipv6> | string<cidr> | string<ipv6_cidr>)[]

許可リストに追加する IP アドレスまたは CIDR ブロックの一覧

IPv4 アドレス

bot_detection_level
enum<string>

ボット検知の感度レベル

利用可能なオプション:
low,
medium,
high
challenge_password_policy
enum<string>

CAPTCHA を表示する頻度を定義するポリシー

利用可能なオプション:
never,
when_risky,
always
challenge_password_reset_policy
enum<string>

CAPTCHA の表示頻度を定義するポリシー

利用可能なオプション:
never,
when_risky,
always
challenge_passwordless_policy
enum<string>

CAPTCHA の表示頻度を定義するポリシー

利用可能なオプション:
never,
when_risky,
always
monitoring_mode_enabled
boolean

Monitoring mode が有効かどうか(ログは記録されますが、ブロックはされません)

レスポンス

ボット検知設定を正常に更新しました。

allowlist
(string<ipv4> | string<ipv6> | string<cidr> | string<ipv6_cidr>)[]

許可リストに追加する IP アドレスまたは CIDR ブロックの一覧

IPv4 アドレス

bot_detection_level
enum<string>

ボット検知の感度レベル

利用可能なオプション:
low,
medium,
high
challenge_password_policy
enum<string>

CAPTCHA を表示する頻度を定義するポリシー

利用可能なオプション:
never,
when_risky,
always
challenge_password_reset_policy
enum<string>

CAPTCHA の表示頻度を定義するポリシー

利用可能なオプション:
never,
when_risky,
always
challenge_passwordless_policy
enum<string>

CAPTCHA の表示頻度を定義するポリシー

利用可能なオプション:
never,
when_risky,
always
monitoring_mode_enabled
boolean

Monitoring mode が有効かどうか(ログは記録されますが、ブロックはされません)