Param name | Description |
---|---|
location_id optional |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|
search optional |
filter results Validations:
|
order optional |
Sort and order by a searchable field, e.g. '<field> DESC' Validations:
|
page optional |
Page number, starting at 1 Validations:
|
per_page optional |
Number of results per page to return, 'all' to return all results Validations:
|
Param name | Description |
---|---|
location_id optional |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|
id required |
Validations:
|
Param name | Description |
---|---|
location_id optional |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|
oval_policy required |
Validations:
|
oval_policy[name] required |
OVAL Policy name Validations:
|
oval_policy[oval_content_id] required |
Policy OVAL content ID Validations:
|
oval_policy[description] optional , nil allowed |
OVAL Policy description Validations:
|
oval_policy[period] optional , nil allowed |
OVAL Policy schedule period (weekly, monthly, custom) Validations:
|
oval_policy[weekday] optional , nil allowed |
OVAL Policy schedule weekday (only if period == “weekly”) Validations:
|
oval_policy[day_of_month] optional , nil allowed |
OVAL Policy schedule day of month (only if period == “monthly”) Validations:
|
oval_policy[cron_line] optional , nil allowed |
OVAL Policy schedule cron line (only if period == “custom”) Validations:
|
oval_policy[location_ids] optional , nil allowed |
REPLACE locations with given ids Validations:
|
oval_policy[organization_ids] optional , nil allowed |
REPLACE organizations with given ids. Validations:
|
Param name | Description |
---|---|
location_id optional |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|
id required |
Validations:
|
oval_policy required |
Validations:
|
oval_policy[name] optional |
OVAL Policy name Validations:
|
oval_policy[oval_content_id] optional |
Policy OVAL content ID Validations:
|
oval_policy[description] optional , nil allowed |
OVAL Policy description Validations:
|
oval_policy[period] optional , nil allowed |
OVAL Policy schedule period (weekly, monthly, custom) Validations:
|
oval_policy[weekday] optional , nil allowed |
OVAL Policy schedule weekday (only if period == “weekly”) Validations:
|
oval_policy[day_of_month] optional , nil allowed |
OVAL Policy schedule day of month (only if period == “monthly”) Validations:
|
oval_policy[cron_line] optional , nil allowed |
OVAL Policy schedule cron line (only if period == “custom”) Validations:
|
oval_policy[location_ids] optional , nil allowed |
REPLACE locations with given ids Validations:
|
oval_policy[organization_ids] optional , nil allowed |
REPLACE organizations with given ids. Validations:
|
Param name | Description |
---|---|
location_id optional |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|
id required |
Validations:
|
Param name | Description |
---|---|
location_id optional |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|
id required |
Validations:
|
hostgroup_ids optional |
Array of hostgroup IDs Validations:
|
Param name | Description |
---|---|
location_id optional |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|
id required |
Validations:
|
host_ids optional |
Array of host IDs Validations:
|
Param name | Description |
---|---|
location_id optional |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|
id required |
Validations:
|