Skip to content

Commit a1d9aa6

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Include mention to new scanned-assets-metadata endpoint on hosts v1 endpoint (#2720)
Co-authored-by: ci.datadog-api-spec <[email protected]>
1 parent 0e131b1 commit a1d9aa6

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
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.

lib/datadog_api_client/v1/api/hosts_api.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ def list_hosts(opts = {})
101101
# Retention is 7 days.
102102
# Results are paginated with a max of 1000 results at a time.
103103
# **Note:** If the host is an Amazon EC2 instance, `id` is replaced with `aws_id` in the response.
104+
# **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.
104105
#
105106
# @param opts [Hash] the optional parameters
106107
# @option opts [String] :filter String to filter search results.

0 commit comments

Comments
 (0)