GET
/
vms
/
scan-configurations
curl --request GET \
  --url https://api.leen.dev/v1/vms/scan-configurations \
  --header 'X-API-KEY: <api-key>' \
  --header 'X-CONNECTION-ID: <api-key>'
{
  "count": 123,
  "total": 123,
  "items": [
    {
      "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

Query Parameters

enableCursor
boolean
default:
false

Enable cursor based pagination instead of default offset-based pagination

updatedSince
string | null

Datetime filter, only return items updated since this datetime. Example format: 2021-01-01T00:00:00+00:00

limit
integer
default:
100

Limit size (page size)

Required range: x >= 0
offset
integer
default:
0

Offset index (starting index of page)

Required range: x >= 0
excludeTotal
boolean
default:
false

Skips returning the total rows, total is set to null when true

cursor
string | null

Response

200
application/json
Successful Response
count
integer
required

Number of items return in the response

items
object[]
required

List of items returned in the response

total
integer | null

Total number of items that can be returned