diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 6f6f29cec..c84d61cfe 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/src/datadogV1/api/api_hosts.rs b/src/datadogV1/api/api_hosts.rs index b66f4e295..208768374 100644 --- a/src/datadogV1/api/api_hosts.rs +++ b/src/datadogV1/api/api_hosts.rs @@ -306,6 +306,7 @@ impl 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]() endpoint. pub async fn list_hosts( &self, params: ListHostsOptionalParams, @@ -329,6 +330,7 @@ impl 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]() endpoint. pub async fn list_hosts_with_http_info( &self, params: ListHostsOptionalParams,