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

id
required

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

oval_content
required

Validations:

  • Must be a Hash

oval_content[name]
optional

OVAL content name

Validations:

  • Must be a String

oval_content[scap_file]
optional , nil allowed

XML containing OVAL content

Validations:

  • Must be a File

oval_content[original_filename]
optional , nil allowed

Original file name of the OVAL content file

Validations:

  • Must be a String

oval_content[url]
optional , nil allowed

URL of the OVAL content file

Validations:

  • Must be a String

oval_content[location_ids]
optional , nil allowed

REPLACE locations with given ids

Validations:

  • Must be an array of any type

oval_content[organization_ids]
optional , nil allowed

REPLACE organizations with given ids.

Validations:

  • Must be an array of any type