參數

參數名字 描述
location_id
選填

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
選填

Set the current organization context for the request

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
compliance_status compliant, incompliant, inconclusive
comply_with string
environment
eventful true, false
host
host_id
hostgroup
hostgroup_fullname
hostgroup_title
inconclusive_with string
last_for host, policy
last_report
location
location_id
log
not_comply_with string
openscap_proxy
organization
organization_id
origin
policy
reported
resource
xccdf_rule_failed string
xccdf_rule_name
xccdf_rule_othered string
xccdf_rule_passed string