diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 6f6f29cece06..c84d61cfe740 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -27245,7 +27245,11 @@ paths: Results are paginated with a max of 1000 results at a time. **Note:** If the host is an Amazon EC2 instance, `id` is replaced with `aws_id` - in the response.' + in the response. + + **Note**: To enrich the data returned by this endpoint with security scans, + see the new [api/v2/security/scanned-assets-metadata](https://docs.datadoghq.com/api/latest/security-monitoring/#list-scanned-assets-metadata) + endpoint.' operationId: ListHosts parameters: - description: String to filter search results. diff --git a/services/hosts/src/v1/HostsApi.ts b/services/hosts/src/v1/HostsApi.ts index c1352892d897..2d8b1fe2a68c 100644 --- a/services/hosts/src/v1/HostsApi.ts +++ b/services/hosts/src/v1/HostsApi.ts @@ -645,6 +645,7 @@ export class HostsApi { * Retention is 7 days. * Results are paginated with a max of 1000 results at a time. * **Note:** If the host is an Amazon EC2 instance, `id` is replaced with `aws_id` in the response. + * **Note**: To enrich the data returned by this endpoint with security scans, see the new [api/v2/security/scanned-assets-metadata](https://docs.datadoghq.com/api/latest/security-monitoring/#list-scanned-assets-metadata) endpoint. * @param param The request object */ public listHosts(