v1
latestOpenAPI 3.0.02026-07-141,4077,1665.2 MBList vulnerable assets
Get a list of vulnerable assets.
Pagination
Please review the Pagination section for the "List Vulnerabilities" endpoint.
Filtering
Please review the Filtering section for the "List Vulnerabilities" endpoint.
Metadata
Please review the Metadata section for the "List Vulnerabilities" endpoint.
Query parameters
Its value must come from the links section of the response of the first request. Do not manually edit it.
The page number to be retrieved. It should be equal or greater than 1
Filter by name. This field supports the usage of wildcards (*).
The asset type
Filter by type.
Filter by the first version of the asset since it has been vulnerable.
Filter by the last detected version of the asset.
Filter by the repository url associated to the asset.
Filter whether the asset is in production or not.
Filter whether the asset (Service) is under attack or not.
Filter whether the asset (Host) is publicly accessible or not.
Filter whether the asset (Host) has privileged access or not.
Filter whether the asset (Host) has access to sensitive data or not.
Filter by environment.
Filter by teams.
Filter by architecture.
Filter by operating system name.
Filter by operating system version.
Response
OK
Example response
{
"data": [
{
"attributes": {
"arch": "arm64",
"environments": [
"staging"
],
"name": "github.com/DataDog/datadog-agent.git",
"operating_system": {
"description": "24.04",
"name": "ubuntu"
},
"teams": [
"compute"
],
"type": "Repository",
"version": {
"first": "_latest",
"last": "_latest"
}
},
"id": "Repository|github.com/DataDog/datadog-agent.git",
"type": "assets"
}
],
"links": {
"first": "https://api.datadoghq.com/api/v2/security/vulnerabilities?page%5Bnumber%5D=1&page%5Btoken%5D=b82cef018aab81ed1d4bb4xb35xxfc065da7efa685fbcecdbd338f3015e3afabbbfa3a911b4984_721ee28a-zecb-4e45-9960-c42065b574f4",
"last": "https://api.datadoghq.com/api/v2/security/vulnerabilities?page%5Bnumber%5D=15&page%5Btoken%5D=b82cef018aab81ed1d4bb4xb35xxfc065da7efa685fbcecdbd338f3015e3afabbbfa3a911b4984_721ee28a-zecb-4e45-9960-c42065b574f4",
"next": "https://api.datadoghq.com/api/v2/security/vulnerabilities?page%5Bnumber%5D=16&page%5Btoken%5D=b82cef018aab81ed1d4bb4xb35xxfc065da7efa685fbcecdbd338f3015e3afabbbfa3a911b4984_721ee28a-zecb-4e45-9960-c42065b574f4",
"previous": "https://api.datadoghq.com/api/v2/security/vulnerabilities?page%5Bnumber%5D=14&page%5Btoken%5D=b82cef018aab81ed1d4bb4xb35xxfc065da7efa685fbcecdbd338f3015e3afabbbfa3a911b4984_721ee28a-zecb-4e45-9960-c42065b574f4",
"self": "https://api.datadoghq.com/api/v2/security/vulnerabilities?filter%5Btool%5D=Infra"
},
"meta": {
"count": 150,
"token": "b82cef018aab81ed1d4bb4xb35xxfc065da7efa685fbcecdbd338f3015e3afabbbfa3a911b4984_721ee28a-zecb-4e45-9960-c42065b574f4",
"total": 152431
}
}