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

Introduction

The license endpoint allows you to track the number of licenses found on your devices..

How Does it Work?

Open-AudIT uses the data collected from your devices and matches the software installed with the value provided, it counts the matches calculates how many licenses have been used and how many are left. It allows the use of wildcards on the "match string" field which matches the software.name attribute.

Creating a Licenses Entry

A License entry can be created using the web interface if the current user logged in has a role that contains the licenses::create permission. Go to menu: Manage -> Licenses -> Create Licenses. Also can be created from the Licenses View, using the "Create" button.

To create an entry to track your licenses you have to provide a name, an organization, the number of licenses acquired and the name of the software. On the field "Match String" you have to provide the name of the software that you want to track, you can use the percent sign (%) as a wildcard in the match_string.

 

 

View License Details

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

You will see a list of Licenses. You can view a License by clicking on the blue view icon.

You can also edit or delete the licenses.

 

 

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: Manage -> Database -> List Database, then clicking on the "licenses" table.

A typical entry looks as below.

API / Web Access

You can access the /licenses 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. Licenses 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
ID
Action
Resulting Function
Permission Required
URL Example
Notes
Example Response
POSTn createlicenses::create/licensesInsert a new license entry.licenses_create.json
GETy readlicenses::read/licenses/{id}Returns a license details.licenses_read.json
PATCHy updatelicenses::update/licenses/{id}Update an attribute of a license entry.licenses_update.json
DELETEy deletelicenses::delete/licenses/{id}Delete a license entry.licenses_delete.json
GETn collectionlicenses::read/licensesReturns a list of licenses.licenses_collection.json

Web Application Routes

Request Method
ID
Action
Resulting Function
Permission Required
URL Example
Notes
GETncreatecreate_formlicenses::create/licenses/createDisplays a standard web form for submission to POST /licenses.
GETyupdateupdate_formlicenses::update/licenses/{id}/updateShow the license details with the option to update attributes using PATCH to /licenses/{id}

 

 

 

 

  • No labels