GET /api/audits
List all audits

GET /api/hosts/:host_id/audits
List all audits for a given host

Params

Param name Description
location_id
optional

Scope by locations

Validations:

  • Integer

organization_id
optional

Scope by organizations

Validations:

  • Integer

search
optional

filter results

Validations:

  • String

order
optional

sort results

Validations:

  • String

page
optional

paginate results

Validations:

  • String

per_page
optional

number of entries per request

Validations:

  • String

Search fields

Field name Type Possible values
action create, update, delete
changes text
host string
hostgroup string
hostgroup_title string
interface_fqdn string
interface_ip string
interface_mac string
location string
location_id integer
organization string
organization_id integer
os string
os_title string
parameter string
partition_table string
provisioning_template string
puppetclass string
remote_address string
time datetime
type role, ptable, provisioning_template, user, filter, katello/repository, hostgroup, smart_proxy, katello/host/content_facet, katello/host/subscription_facet, lookup_value, model, domain, realm, environment, architecture, image, subnet, usergroup, hostgroup_class, puppetclass, medium, katello/content_view, katello/kt_environment, compute_resource, host, interface, location, os, organization, override_value, partition_table, smart_class_parameter, smart_variable, parameter
user string
username string

GET /api/audits/:id
Show an audit

Params

Param name Description
location_id
optional

Scope by locations

Validations:

  • Integer

organization_id
optional

Scope by organizations

Validations:

  • Integer

id
required

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, ‘‘, ‘-’ with no leading or trailing space..