Param name | Description |
---|---|
search optional |
filter results Validations:
|
order optional |
sort results Validations:
|
page optional |
paginate results Validations:
|
per_page optional |
number of entries per request Validations:
|
Param name | Description |
---|---|
id required |
Validations:
|
Param name | Description |
---|---|
policy required |
Validations:
|
policy[name] required |
Policy name Validations:
|
policy[description] optional , nil allowed |
Policy description Validations:
|
policy[scap_content_id] required |
Policy SCAP content ID Validations:
|
policy[scap_content_profile_id] required |
Policy SCAP content profile ID Validations:
|
policy[period] optional , nil allowed |
Policy schedule period (weekly, monthly, custom) Validations:
|
policy[weekday] optional , nil allowed |
Policy schedule weekday (only if period == “weekly”) Validations:
|
policy[day_of_month] optional , nil allowed |
Policy schedule day of month (only if period == “monthly”) Validations:
|
policy[cron_line] optional , nil allowed |
Policy schedule cron line (only if period == “custom”) Validations:
|
policy[hostgroup_ids] optional , nil allowed |
Apply policy to host groups Validations:
|
policy[tailoring_file_id] optional , nil allowed |
Tailoring file ID Validations:
|
policy[tailoring_file_profile_id] optional , nil allowed |
Tailoring file profile ID Validations:
|
policy[location_ids] optional , nil allowed |
REPLACE locations with given ids Validations:
|
policy[organization_ids] optional , nil allowed |
REPLACE organizations with given ids. Validations:
|
Param name | Description |
---|---|
id required |
Validations:
|
policy required |
Validations:
|
policy[name] optional |
Policy name Validations:
|
policy[description] optional , nil allowed |
Policy description Validations:
|
policy[scap_content_id] optional |
Policy SCAP content ID Validations:
|
policy[scap_content_profile_id] optional |
Policy SCAP content profile ID Validations:
|
policy[period] optional , nil allowed |
Policy schedule period (weekly, monthly, custom) Validations:
|
policy[weekday] optional , nil allowed |
Policy schedule weekday (only if period == “weekly”) Validations:
|
policy[day_of_month] optional , nil allowed |
Policy schedule day of month (only if period == “monthly”) Validations:
|
policy[cron_line] optional , nil allowed |
Policy schedule cron line (only if period == “custom”) Validations:
|
policy[hostgroup_ids] optional , nil allowed |
Apply policy to host groups Validations:
|
policy[tailoring_file_id] optional , nil allowed |
Tailoring file ID Validations:
|
policy[tailoring_file_profile_id] optional , nil allowed |
Tailoring file profile ID Validations:
|
policy[location_ids] optional , nil allowed |
REPLACE locations with given ids Validations:
|
policy[organization_ids] optional , nil allowed |
REPLACE organizations with given ids. Validations:
|
Param name | Description |
---|---|
id required |
Validations:
|
Param name | Description |
---|---|
id required |
Validations:
|
Param name | Description |
---|---|
id required |
Validations:
|