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:
Tomas Touceda
2021-11-29 18:04:33 -03:00
committed by GitHub
parent c82a8e8428
commit 925d4df8f7
6 changed files with 47 additions and 8 deletions
+1
View File
@@ -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.