Add new disable_failing_policies query parameter to list hosts (#3123)
* Update documentation * Update based on review comments * Explain why the switch exists
This commit is contained in:
@@ -573,6 +573,7 @@ If `additional_info_filters` is not specified, no `additional` information will
|
||||
| policy_id | integer | query | The ID of the policy to filter hosts by. `policy_response` must also be specified with `policy_id`. |
|
||||
| policy_response | string | query | Valid options are `passing` or `failing`. `policy_id` must also be specified with `policy_response`. |
|
||||
| label_id | integer | query | A valid label ID. It cannot be used alongside policy filters. |
|
||||
| disable_failing_policies| string | query | If "true", hosts will return failing policies as 0 regardless of whether there are any that failed for the host. This is meant to be used when increased performance is needed in exchange for the extra information. |
|
||||
|
||||
If `additional_info_filters` is not specified, no `additional` information will be returned.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user