Skip to content

Commit d000bc2

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Include mention to new scanned-assets-metadata endpoint on hosts v1 endpoint (#3190)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent e78c0a3 commit d000bc2

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.generator/schemas/v1/openapi.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27245,7 +27245,11 @@ paths:
2724527245
Results are paginated with a max of 1000 results at a time.
2724627246

2724727247
**Note:** If the host is an Amazon EC2 instance, `id` is replaced with `aws_id`
27248-
in the response.'
27248+
in the response.
27249+
27250+
**Note**: To enrich the data returned by this endpoint with security scans,
27251+
see the new [api/v2/security/scanned-assets-metadata](https://docs.datadoghq.com/api/latest/security-monitoring/#list-scanned-assets-metadata)
27252+
endpoint.'
2724927253
operationId: ListHosts
2725027254
parameters:
2725127255
- description: String to filter search results.

src/main/java/com/datadog/api/client/v1/api/HostsApi.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,10 @@ public CompletableFuture<HostListResponse> listHostsAsync(
385385
* This endpoint allows searching for hosts by name, alias, or tag. Hosts live within the past 3
386386
* hours are included by default. Retention is 7 days. Results are paginated with a max of 1000
387387
* results at a time. <strong>Note:</strong> If the host is an Amazon EC2 instance, <code>id
388-
* </code> is replaced with <code>aws_id</code> in the response.
388+
* </code> is replaced with <code>aws_id</code> in the response. <strong>Note</strong>: To enrich
389+
* the data returned by this endpoint with security scans, see the new <a
390+
* href="https://docs.datadoghq.com/api/latest/security-monitoring/#list-scanned-assets-metadata">api/v2/security/scanned-assets-metadata</a>
391+
* endpoint.
389392
*
390393
* @param parameters Optional parameters for the request.
391394
* @return ApiResponse&lt;HostListResponse&gt;

0 commit comments

Comments
 (0)