Перейти к основному содержанию
PATCH
Update a target

Параметры пути

id
string
обязательно

The id of the resource

Тело

application/json
scanSchedule
enum<string>
обязательно
Доступные опции:
disabled,
0 0 * * *,
0 0 */3 * *,
0 0 * * 0,
0 0 */14 * *,
0 0 1 * *

Ответ

200 - application/json
id
string
обязательно
createdAt
string<date-time>
обязательно
updatedAt
string<date-time>
обязательно
value
string
обязательно

The target value (domain, IP address, or CIDR notation)

Пример:

"example.com"

type
enum<string>
обязательно

The type of target (DOMAIN, CIDR, or IP)

Доступные опции:
DOMAIN,
CIDR,
IP,
GIT_ORG
Пример:

"DOMAIN"

lastDiscoveredAt
string<date-time>
обязательно
totalAssetServices
number
обязательно
status
enum<string>
обязательно
Доступные опции:
pending,
in_progress,
completed,
failed,
cancelled,
skipped
scanSchedule
enum<string>
обязательно
Доступные опции:
disabled,
0 0 * * *,
0 0 */3 * *,
0 0 * * 0,
0 0 */14 * *,
0 0 1 * *