GET /api/audits
Vypsat všechny audity

GET /api/hosts/:host_id/audits
Vypsat všechny audity pro daného hostitele

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

výsledky filtru

Validations:

  • Must be a String

order
optional

Sort field and order, eg. ‘id DESC’

Validations:

  • Must be a String

page
optional

Číslo stránky, začíná od jedničky

Validations:

  • Must be a number.

per_page
optional

Počet výsledků na stránku

Validations:

  • Must be a number.

Search fields

Název kolonky Typ Možné hodnoty
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
Zobrazit audit

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.