參數

參數名字 描述
location_id
選填

位置範圍

Validations:

  • Must be a Integer

organization_id
選填

組織範圍

Validations:

  • Must be a Integer

search
選填

篩選結果

Validations:

  • Must be a String

order
選填

Sort field and order, eg. ‘id DESC’

Validations:

  • Must be a String

page
選填

頁數,從 1 開始

Validations:

  • Must be a number.

per_page
選填

每頁要傳回的結果數量

Validations:

  • Must be a number.

Search fields

Field name 類型 Possible values
compliance_policy string
compliance_status compliant, incompliant, inconclusive
comply_with string
environment string
eventful true, false
host string
host_id integer
hostgroup string
hostgroup_fullname string
hostgroup_title string
inconclusive_with string
last_for host, policy
last_report datetime
location string
location_id integer
log text
not_comply_with string
openscap_proxy string
organization string
organization_id integer
origin string
policy string
reported datetime
resource text
xccdf_rule_failed string
xccdf_rule_name text
xccdf_rule_othered string
xccdf_rule_passed string