Pular para o conteúdo principal
GET
/
bgp
/
policy
/
{policyId}
Obter uma Política de BGP
curl --request GET \
  --url https://api.altostrat.io/bgp/policy/{policyId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "9b1d3e6a-5c3a-4f1e-9a0a-2b2a1e1d8e8b",
  "name": "Bloquear Ameaças Conhecidas",
  "enabled": true,
  "default": false,
  "lists": [
    "9b1e3e6a-5c3a-4f1e-9a0a-2b2a1e1d8e8c"
  ],
  "site_count": 3,
  "updated_at": "2023-11-07T05:31:56Z",
  "created_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

policyId
string<uuid>
required

O identificador único da política de BGP.

Response

A política de BGP solicitada.

id
string<uuid>
Example:

"9b1d3e6a-5c3a-4f1e-9a0a-2b2a1e1d8e8b"

name
string
Example:

"Bloquear Ameaças Conhecidas"

enabled
boolean
Example:

true

default
boolean

Verdadeiro se esta for a política padrão para a conta.

Example:

false

lists
string<uuid>[]

Uma lista de IDs de listas de reputação de IP BGP incluídas nesta política.

Example:
["9b1e3e6a-5c3a-4f1e-9a0a-2b2a1e1d8e8c"]
site_count
integer

O número de sites que estão usando esta política atualmente.

Example:

3

updated_at
string<date-time>
created_at
string<date-time>