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

host_report
required

Validations:

  • Must be a Hash

host_report[host]
required

Hostname of the report's host origin

Validations:

  • Must be a String

host_report[format]
optional , nil allowed

Format of the report, e.g. Ansible

Validations:

  • Must be one of: plain, puppet, ansible.

host_report[reported_at]
required

UTC time of the report

Validations:

  • Must be a String

host_report[applied]
optional , nil allowed

Number of applied resources or tasks

Validations:

  • Must be a Integer

host_report[failed]
optional , nil allowed

Number of failed resources or tasks

Validations:

  • Must be a Integer

host_report[pending]
optional , nil allowed

Number of pending resources or tasks

Validations:

  • Must be a Integer

host_report[other]
optional , nil allowed

Number of other resources or tasks

Validations:

  • Must be a Integer

host_report[body]
required

String with JSON formatted body of the report

Validations:

  • Must be a String

host_report[proxy]
optional , nil allowed

Hostname of the proxy processed the report

Validations:

  • Must be a String

host_report[keywords]
optional , nil allowed

A list of keywords to associate with the report for better searching

Validations:

  • Must be an array of String