diff --git a/docs/REST API/rest-api.md b/docs/REST API/rest-api.md index 8b1912065ba..ba927b2190d 100644 --- a/docs/REST API/rest-api.md +++ b/docs/REST API/rest-api.md @@ -9681,6 +9681,7 @@ Returns a list of all operating systems. | platform | string | query | Filters the hosts to the specified platform | | os_name | string | query | The name of the operating system to filter hosts by. `os_version` must also be specified with `os_name` | | os_version | string | query | The version of the operating system to filter hosts by. `os_name` must also be specified with `os_version` | +| max_vulnerabilities | integer | query | Limits the number of `vulnerabilities` returned per OS version. (If omitted, returns all vulnerabilities.) | | page | integer | query | Page number of the results to fetch. | | per_page | integer | query | Results per page. | | order_key | string | query | What to order results by. Allowed fields are: `hosts_count`. Default is `hosts_count` (descending). | @@ -9704,6 +9705,7 @@ Returns a list of all operating systems. "version": "10.0.22621.1234", "platform": "windows", "generated_cpes": [], + "vulnerabilities_count": 1, "vulnerabilities": [ { "cve": "CVE-2022-30190", @@ -10003,6 +10005,7 @@ Retrieves information about the specified operating system (OS) version. | ---- | ---- | -- | ----------- | | id | integer | path | **Required.** The OS version's ID. | | team_id | integer | query | _Available in Fleet Premium_. Filters response data to the specified team. Use `0` to filter by hosts assigned to "No team". | +| max_vulnerabilities | integer | query | Limits the number of `vulnerabilities` returned. (If omitted, returns all vulnerabilities.) For Linux OS's, doesn't limit the number of vulnerabilities returned in the `kernels` array. | ##### Default response