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/lib/datadog_api_client/v1/api/hosts_api.rb b/lib/datadog_api_client/v1/api/hosts_api.rb index c64003cff2b..73f655c97f3 100644 --- a/lib/datadog_api_client/v1/api/hosts_api.rb +++ b/lib/datadog_api_client/v1/api/hosts_api.rb @@ -101,6 +101,7 @@ def list_hosts(opts = {}) # 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 opts [Hash] the optional parameters # @option opts [String] :filter String to filter search results.