Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

oval_policy
required

Validations:

  • Must be a Hash

oval_policy[name]
required

OVAL Policy name

Validations:

  • Must be a String

oval_policy[oval_content_id]
required

Policy OVAL content ID

Validations:

  • Must be a Integer

oval_policy[description]
optional , nil allowed

OVAL Policy description

Validations:

  • Must be a String

oval_policy[period]
optional , nil allowed

OVAL Policy schedule period (weekly, monthly, custom)

Validations:

  • Must be a String

oval_policy[weekday]
optional , nil allowed

OVAL Policy schedule weekday (only if period == “weekly”)

Validations:

  • Must be a String

oval_policy[day_of_month]
optional , nil allowed

OVAL Policy schedule day of month (only if period == “monthly”)

Validations:

  • Must be a Integer

oval_policy[cron_line]
optional , nil allowed

OVAL Policy schedule cron line (only if period == “custom”)

Validations:

  • Must be a String

oval_policy[location_ids]
optional , nil allowed

REPLACE locations with given ids

Validations:

  • Must be an array of any type

oval_policy[organization_ids]
optional , nil allowed

REPLACE organizations with given ids.

Validations:

  • Must be an array of any type