From 93df31c4f7847891f8901da936ce86662084f5c4 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Fri, 17 Oct 2025 06:31:00 +0000 Subject: [PATCH] Regenerate client from commit 7d26c92 of spec repo --- .generator/schemas/v1/openapi.yaml | 6 +++++- src/main/java/com/datadog/api/client/v1/api/HostsApi.java | 5 ++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 6f6f29cece0..c84d61cfe74 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/main/java/com/datadog/api/client/v1/api/HostsApi.java b/src/main/java/com/datadog/api/client/v1/api/HostsApi.java index 213aa2fa3e0..8b8b1f7a5ce 100644 --- a/src/main/java/com/datadog/api/client/v1/api/HostsApi.java +++ b/src/main/java/com/datadog/api/client/v1/api/HostsApi.java @@ -385,7 +385,10 @@ public CompletableFuture listHostsAsync( * This endpoint allows searching for hosts by name, alias, or tag. Hosts live within the past 3 * hours are included by default. 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. + * 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. * * @param parameters Optional parameters for the request. * @return ApiResponse<HostListResponse>