GET
/
vms
/
scan-configurations
/
{scan_config_id}
curl --request GET \
  --url https://api.leen.dev/v1/vms/scan-configurations/{scan_config_id} \
  --header 'X-API-KEY: <api-key>' \
  --header 'X-CONNECTION-ID: <api-key>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "vendor": "tenable",
  "vendor_id": "<string>",
  "name": "<string>",
  "owner": "<string>",
  "severity_frequency": {
    "critical": 123,
    "high": 123,
    "medium": 123,
    "low": 123,
    "info": 123
  },
  "device_target_count": 123,
  "scan_targets": [
    "<string>"
  ],
  "is_scheduled": true,
  "is_enabled": true,
  "last_scan_vendor_id": "<string>",
  "vendor_data": {}
}

Authorizations

X-CONNECTION-ID
string
header
required
X-API-KEY
string
header
required

Path Parameters

scan_config_id
string
required

Response

200
application/json
Successful Response
id
string
required

Leen's UUID for the VMS scan configuration

vendor
enum<string>
required

Source vendor

Available options:
tenable,
qualys,
snyk,
insightvm,
crowdstrike_spotlight,
sentinelone_vms,
MS_DEFENDER_VMS,
WIZ_VMS
vendor_id
string
required

Pass through value of vendor ID for the scan configuration

name
string
required

Name of the scan configuration

owner
string | null
required

Owner of the scan configuration

severity_frequency
object | null
required

Severity frequency result of latest scan for the scan configuration

device_target_count
integer | null
required

Number of devices targeted in the latest scan for the scan configuration

scan_targets
string[]
required

List of scan targets in the latest scan for the scan configuration. It can be IP addresses, hyphenated IP ranges, etc

is_scheduled
boolean | null
required

Is the scan configuration scheduled or on demand

is_enabled
boolean
required

Is the scan configuration active/enabled or inactive/disabled

last_scan_vendor_id
string | null
required

Vendor's ID of the last scan for the scan configuration

vendor_data
object | null

Vendor specific pass through data, values can vary based on vendor