Chuyển đến nội dung chính
PATCH
Update a target

Tham số đường dẫn

id
string
bắt buộc

The id of the resource

Nội dung

application/json
scanSchedule
enum<string>
bắt buộc
Tùy chọn có sẵn:
disabled,
0 0 * * *,
0 0 */3 * *,
0 0 * * 0,
0 0 */14 * *,
0 0 1 * *

Phản hồi

200 - application/json
id
string
bắt buộc
createdAt
string<date-time>
bắt buộc
updatedAt
string<date-time>
bắt buộc
value
string
bắt buộc

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

Ví dụ:

"example.com"

type
enum<string>
bắt buộc

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

Tùy chọn có sẵn:
DOMAIN,
CIDR,
IP,
GIT_ORG
Ví dụ:

"DOMAIN"

lastDiscoveredAt
string<date-time>
bắt buộc
totalAssetServices
number
bắt buộc
status
enum<string>
bắt buộc
Tùy chọn có sẵn:
pending,
in_progress,
completed,
failed,
cancelled,
skipped
scanSchedule
enum<string>
bắt buộc
Tùy chọn có sẵn:
disabled,
0 0 * * *,
0 0 */3 * *,
0 0 * * 0,
0 0 */14 * *,
0 0 1 * *