パラメーター

パラメーター名 記述
policy
必須

Validations:

  • Must be a Hash

policy[name]
必須

Policy name

Validations:

  • Must be a String

policy[description]
任意 , nil可

Policy description

Validations:

  • Must be a String

policy[scap_content_id]
必須

Policy SCAP content ID

Validations:

  • Must be a Integer

policy[scap_content_profile_id]
必須

Policy SCAP content profile ID

Validations:

  • Must be a Integer

policy[period]
任意 , nil可

Policy schedule period (weekly, monthly, custom)

Validations:

  • Must be a String

policy[weekday]
任意 , nil可

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

Validations:

  • Must be a String

policy[day_of_month]
任意 , nil可

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

Validations:

  • Must be a Integer

policy[cron_line]
任意 , nil可

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

Validations:

  • Must be a String

policy[hostgroup_ids]
任意 , nil可

Apply policy to host groups

Validations:

  • Must be an array of any type

policy[host_ids]
任意 , nil可

Apply policy to hosts

Validations:

  • Must be an array of any type

policy[tailoring_file_id]
任意 , nil可

Tailoring file ID

Validations:

  • Must be a Integer

policy[tailoring_file_profile_id]
任意 , nil可

Tailoring file profile ID

Validations:

  • Must be a Integer

policy[location_ids]
任意 , nil可

ロケーションを指定された ID に置き換えます

Validations:

  • Must be an array of any type

policy[organization_ids]
任意 , nil可

組織を指定された ID に置き換えます。

Validations:

  • Must be an array of any type