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. Network jobs use domains, ipRanges and ports. Linux Server jobs use connectionIds, searchFolderPaths, skipFolderPaths, maxFolderDepth, maxFileSizeKb and importStandaloneCaCertificates. Windows Server jobs use connectionIds, certificateStores and importStandaloneCaCertificates.

description
string

Description of the discovery configuration

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

Type of discovery scan

Available options:
network,
linux-server,
windows-server
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