Child pages
  • Devices
Skip to end of metadata
Go to start of metadata


Devices are the core item of interest to Open-AudIT.

How Does it Work?

A device in Open-AudIT has an Open-AudIT specific name. This is distinct from its hostname, dns hostname, sysName or any other retrieved attribute. Open-AudIT will populate the name attribute based on the information it has determined about a device. The name can be overwritten by the user at any time. Where possible, the first option will be chosen and where possible on subsequent audits, will be changed to the first option: hostname, dns_hostname, sysName, IP address.

Creating a Devices Entry

Open-AudIT can have devices created directly from the web interface. This is useful for devices that 1 - Will not respond to a network scan, 2 - are not on the network, 3 - are not network capable (think ID Access Tokens).

A device can be created using the web interface if a user has a role that contains the devices::create permission. Go to menu: Manage-> Devices -> Create Devices. There is also a create button on the collection page.



Open-AudIT automatically populates attributes of devices that have been found during the audit process. However, it is possible to add devices manually in 3 different ways: 

  1. Manual input.
    Filling in the relevant attributes for the device.

  2. Copy and paste an audit report.
    We can add devices by pasting the text found in an audit report.

  3. Upload an audit report file.
    Upload a report file containing devices information.


View Device Details

Go to menu:  Manage -> Devices -> List Devices.

You will see a list of devices. This view allows you export the list of devices in CSV and JSON format.



You can view all the device's details by clicking on the blue view icon.


Import Multiple Devices

It is possible to import one or many devices using a CSV file, Audit Script Result, or a NMIS Nodes file.

Go to menu:  Manage -> Devices -> Import Devices from CSV (can also choose Audit Script Result or NMIS Nodes file.)

Below is an example of the required CSV format:

The minimum required attributes for attributes are 'name' and 'org_id'.

You should not include the edited_by and edited_date fields. These will be automatically set.

If you include the "id" field and set it with a number, that item will be updated rather than created.

You should use a header line containing the names of the columns you wish to populate, then your data lines below that.

Export Devices

Go to menu:  Manage -> Devices -> Export Devices.

It is possible to export the devices details in generated CSV format files. 

Firstly,  we have to find the devices that we want to export, this can be done from search box, we can specify the IP address or hostname, the search function accepts partial matching. It can be left blank if you want to list all the devices.

The devices that match with the criteria will be listed in the second box. Select the device or devices (multiple selection is available) that we want to export.

Once we have the list of devices that we want to export, we select the relevant details of the devices from the 4 different sections (Devices, Software, Hardware and Settings).

Finally, we obtain a CSV file with our results by pressing the "Export" button. 


Database Schema

The schema for the database is below. It can also be found in the application if the user has database::read permission by going to menu: Admin -> Database -> List Tables, then clicking on the "system" table.

A typical entry looks as below.

API / Web Access

You can access the /summaries collection using the normal Open-AudIT JSON based API. Just like any other collection. Please see the API documentation for further details.

Access is provided as part of a roles permissions. Summaries is a standard resource and can have create, read, update and delete permissions.

The API routes below are usable from both a JSON Restful API and the web interface. The Web application routes are specifically designed to be called from the web interface (a browser).

API Routes

Request Method
Resulting Function
Permission Required
URL Example
Example Response
POSTn createdevices::create/devicesInsert a new (manual) devices entry. 
GETy readdevices::read/devices/{id}Returns a devices details. 
PATCHy updatedevices::update/devices/{id}Update an attribute of a devices entry. 
DELETEy deletedevices::delete/devices/{id}Delete a devices entry. 
GETn collectiondevices::read/devicesReturns a list of devices. 
POSTnimportimportdevices::create/devices/importImport multiple devices using a CSV. 

Web Application Routes

Request Method
Resulting Function
Permission Required
URL Example
GETncreatecreate_formdevices::create/devices/createDisplays a standard web form for submission to POST /devices.
GETyupdateupdate_formdevices::update/devices/{id}Show the devices details with the option to update attributes using PATCH to /devices/{id}
GETnimportimport_formdevices::create/devices/importDisplays a standard web form for submission to POST /devices/import.