跳转到主要内容
GET
Get a target by ID

请求头

X-Workspace-Id
string

Workspace ID

路径参数

id
string
必填

The id of the resource

响应

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 * *