Parameter

Parametername Beschreibung
location_id
optional

Scope nach Standorten

Validations:

  • Must be a Integer

organization_id
optional

Scope nach Organisationen

Validations:

  • Must be a Integer

policy
verpflichtend

Validations:

  • Must be a Hash

policy[name]
verpflichtend

Policy name

Validations:

  • Must be a String

policy[description]
optional , nil erlaubt

Policy description

Validations:

  • Must be a String

policy[scap_content_id]
verpflichtend

Policy SCAP content ID

Validations:

  • Must be a Integer

policy[scap_content_profile_id]
verpflichtend

Policy SCAP content profile ID

Validations:

  • Must be a Integer

policy[period]
optional , nil erlaubt

Policy schedule period (weekly, monthly, custom)

Validations:

  • Must be a String

policy[weekday]
optional , nil erlaubt

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

Validations:

  • Must be a String

policy[day_of_month]
optional , nil erlaubt

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

Validations:

  • Must be a Integer

policy[cron_line]
optional , nil erlaubt

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

Validations:

  • Must be a String

policy[hostgroup_ids]
optional , nil erlaubt

Apply policy to host groups

Validations:

  • Must be an array of any type

policy[host_ids]
optional , nil erlaubt

Apply policy to hosts

Validations:

  • Must be an array of any type

policy[tailoring_file_id]
optional , nil erlaubt

Tailoring file ID

Validations:

  • Must be a Integer

policy[tailoring_file_profile_id]
optional , nil erlaubt

Tailoring file profile ID

Validations:

  • Must be a Integer

policy[location_ids]
optional , nil erlaubt

Standorte durch angegebene Kennungen ERSETZEN

Validations:

  • Must be an array of any type

policy[organization_ids]
optional , nil erlaubt

Organisationen durch angegebene Kennungen ERSETZEN

Validations:

  • Must be an array of any type