Skip to content

Commit 874a373

Browse files
committed
move filters to software APIs
1 parent 390e4f1 commit 874a373

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

docs/REST API/rest-api.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8731,6 +8731,9 @@ Get a list of all software.
87318731
| vulnerable | bool | query | If true or 1, only list software that has detected vulnerabilities. Default is `false`. |
87328732
| available_for_install | bool | query | If `true` or `1`, only list software that is available for install (added by the user). Default is `false`. |
87338733
| self_service | bool | query | If `true` or `1`, only lists self-service software. Default is `false`. |
8734+
| min_cvss_score | integer | query | _Available in Fleet Premium_. Filters to include only software with vulnerabilities that have a CVSS version 3.x base score higher than the specified value. |
8735+
| max_cvss_score | integer | query | _Available in Fleet Premium_. Filters to only include software with vulnerabilities that have a CVSS version 3.x base score lower than what's specified. |
8736+
| exploit | boolean | query | _Available in Fleet Premium_. If `true`, filters to only include software with vulnerabilities that have been actively exploited in the wild (`cisa_known_exploit: true`). Default is `false`. |
87348737

87358738
#### Example
87368739

@@ -8846,6 +8849,9 @@ Get a list of all software versions.
88468849
| query | string | query | Search query keywords. Searchable fields include `name`, `version`, and `cve`. |
88478850
| team_id | integer | query | _Available in Fleet Premium_. Filters the software to only include the software installed on the hosts that are assigned to the specified team. |
88488851
| vulnerable | bool | query | If true or 1, only list software that has detected vulnerabilities. Default is `false`. |
8852+
| min_cvss_score | integer | query | _Available in Fleet Premium_. Filters to include only software with vulnerabilities that have a CVSS version 3.x base score higher than the specified value. |
8853+
| max_cvss_score | integer | query | _Available in Fleet Premium_. Filters to only include software with vulnerabilities that have a CVSS version 3.x base score lower than what's specified. |
8854+
| exploit | boolean | query | _Available in Fleet Premium_. If `true`, filters to only include software with vulnerabilities that have been actively exploited in the wild (`cisa_known_exploit: true`). Default is `false`. |
88498855

88508856
#### Example
88518857

@@ -9052,8 +9058,7 @@ Retrieves a list of all CVEs affecting software and/or OS versions.
90529058
| order_direction | string | query | **Requires `order_key`**. The direction of the order given the order key. Options include `asc` and `desc`. Default is `asc`. |
90539059
| query | string | query | Search query keywords. Searchable fields include `cve`. |
90549060
| exploit | boolean | query | _Available in Fleet Premium_. If `true`, filters to only include vulnerabilities that have been actively exploited in the wild (`cisa_known_exploit: true`). Otherwise, includes vulnerabilities with any `cisa_known_exploit` value. |
9055-
| min_cvss_score | integer | query | _Available in Fleet Premium_. Filters to only include vulnerabilities with a CVSS version 3.x base score higher than what's specified. |
9056-
| max_cvss_score | integer | query | _Available in Fleet Premium_. Filters to only include vulnerabilities with a CVSS version 3.x base score lower than what's specified. |
9061+
90579062

90589063
##### Default response
90599064

0 commit comments

Comments
 (0)