provider Security Monitoring GET
/api/v2/security/vulnerable-assets @utdk/datadog
/api/v2/security/vulnerable-assets List vulnerable assets
Get a list of vulnerable assets.
### Pagination
Please review the [Pagination section for the "List Vulnerabilities"](#pagination) endpoint.
### Filtering
Please review the [Filtering section for the "List Vulnerabilities"](#filtering) endpoint.
### Metadata
Please review the [Metadata section for the "List Vulnerabilities"](#metadata) endpoint.
- page[token] query
- Its value must come from the `links` section of the response of the first request. Do not manually edit it.
- string
- page[number] query
- The page number to be retrieved. It should be equal or greater than `1`
- integer
- filter[name] query
- Filter by name. This field supports the usage of wildcards (*).
- string
- filter[type] query
- Filter by type.
- enum: Repository, Service, Host, HostImage…
- filter[version.first] query
- Filter by the first version of the asset since it has been vulnerable.
- string
- filter[version.last] query
- Filter by the last detected version of the asset.
- string
- filter[repository_url] query
- Filter by the repository url associated to the asset.
- string
- filter[risks.in_production] query
- Filter whether the asset is in production or not.
- boolean
- filter[risks.under_attack] query
- Filter whether the asset (Service) is under attack or not.
- boolean
- filter[risks.is_publicly_accessible] query
- Filter whether the asset (Host) is publicly accessible or not.
- boolean
- filter[risks.has_privileged_access] query
- Filter whether the asset (Host) has privileged access or not.
- boolean
- filter[risks.has_access_to_sensitive_data] query
- Filter whether the asset (Host) has access to sensitive data or not.
- boolean
- filter[environments] query
- Filter by environment.
- string
- filter[teams] query
- Filter by teams.
- string
- filter[arch] query
- Filter by architecture.
- string
- filter[operating_system.name] query
- Filter by operating system name.
- string
- filter[operating_system.version] query
- Filter by operating system version.
- string
Try it
Authentication
Configure credentials for Datadog API V2 Collection
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import datadog from '@utdk/datadog';
await datadog.listvulnerableassets()