GET /api/audits
Llista totes les auditories

GET /api/hosts/:host_id/audits
Llista totes les auditories per a un amfitrió donat

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

search
optional

filtra els resultats

Validations:

  • Must be a String

order
optional

Sort field and order, eg. ‘id DESC’

Validations:

  • Must be a String

page
optional

Page number, starting at 1

Validations:

  • Must be a number.

per_page
optional

Nombre de resultats per pàgina a retornar

Validations:

  • Must be a number.

Search fields

Field name Tipus Possible values
action
auditable_id
changes
comment
host
hostgroup
hostgroup_title
id
interface_fqdn
interface_ip
interface_mac
location
location_id
organization
organization_id
os
os_title
parameter
partition_table
provisioning_template
puppetclass
remote_address
request_uuid
setting
time
type operatingsystem, setting, role, user, auth_source, compute_resource, host, interface, location, organization, os, override_value, parameter, partition_table, smart_class_parameter, subnet, provisioning_template
user
username

GET /api/audits/:id
Mostra una auditoria

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.