メインコンテンツへスキップ
GET
https://{tenantDomain}/api/v2
/
attack-protection
/
suspicious-ip-throttling
Go
package example

import (
    context "context"

    client "github.com/auth0/go-auth0/management/management/client"
    option "github.com/auth0/go-auth0/management/management/option"
)

func do() {
    client := client.NewClient(
        option.WithToken(
            "<token>",
        ),
    )
    client.AttackProtection.SuspiciousIpThrottling.Get(
        context.TODO(),
    )
}
{
  "allowlist": [
    "127.0.0.1"
  ],
  "enabled": true,
  "shields": [],
  "stage": {
    "pre-login": {
      "max_attempts": 100,
      "rate": 864000
    },
    "pre-user-registration": {
      "max_attempts": 50,
      "rate": 1728000
    }
  }
}

承認

Authorization
string
header
必須

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

レスポンス

不審な IP スロットリング設定を正常に取得しました。

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

アタックプロテクションが適用されない信頼済み IP アドレスの一覧。

enabled
boolean

不審な IP スロットリングのアタックプロテクションが有効かどうか。

shields
enum<string>[]

不審な IP スロットリングのしきい値を超えた場合に実行する対応。 指定可能な値: block, admin_notification.

利用可能なオプション:
block,
admin_notification
stage
object

ステージごとの設定オプション(max_attempts と rate)を保持します。