Params

Param name Description
location_id
optional

Scope by locations

Validations:

  • Integer

organization_id
optional

Scope by organizations

Validations:

  • Integer

report
required

Validations:

  • Hash

report[host]
required

Hostname or certname

Validations:

  • String

report[reported_at]
required

UTC time of report

Validations:

  • String

report[status]
required

Hash of status type totals

Validations:

  • Hash

report[metrics]
required

Hash of report metrics, can be just {}

Validations:

  • Hash

report[logs]
optional , nil allowed

Optional array of log hashes

Validations:

  • Must be an array of any type