Skip to main content
POST
cURL

Body

application/json
name
string
required

Name of the discovery configuration

Required string length: 1 - 100
targetConfig
object
required

Target configuration for discovery scans

description
string

Description of the discovery configuration

Maximum string length: 500
discoveryType
enum<string>
default:network

Type of discovery scan

Available options:
network
isAutoScanEnabled
boolean
default:false

Enable automatic scheduled scans

scanIntervalDays
number

Interval in days between automatic scans

Required range: 1 <= x <= 365
gatewayId
string<uuid>

Gateway ID for scanning private networks

gatewayPoolId
string<uuid>

Gateway pool ID for scanning private networks

Response

Default Response

id
string<uuid>
required
name
string
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
description
string | null
discoveryType
string
default:network
targetConfig
any
isAutoScanEnabled
boolean
default:false
scanIntervalDays
number | null
gatewayId
string<uuid> | null
isActive
boolean
default:true
lastScanStatus
string | null
lastScanJobId
string | null
lastScanMessage
string | null
lastScannedAt
string<date-time> | null
gatewayPoolId
string<uuid> | null