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[change]
optional , nil allowed

Summary count of actions with change (semantics is different for each report type)

Validations:

  • Must be a Integer

host_report[nochange]
optional , nil allowed

Summary count of actions without change (semantics is different for each report type)

Validations:

  • Must be a Integer

host_report[failure]
optional , nil allowed

Summary count of actions with failure (semantics is different for each report type)

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 (will be detected from SSL cert for HTTPS requests)

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