linotp.controllers.audit module

audit controller - to search the audit trail

class linotp.controllers.audit.AuditController(*args, **kw)[source]

Bases: linotp.lib.base.BaseController

this is the controller for doing some audit stuff

https://server/audit/<functionname>
search()[source]

This functions searches within the audit trail It returns the audit information for the given search pattern

method:
audit/search
arguments:

key, value pairs as search patterns.

  • outform - optional: if set to “csv”, than the token list will be

    given in CSV

or: Usually the key=values will be locally AND concatenated.
it a parameter or=true is passed, the filters will be OR concatenated.
The Flexigrid provides us the following parameters:
(‘page’, u‘1’), (‘rp’, u‘25’), (‘sortname’, u’number’), (‘sortorder’, u’asc’), (‘query’, u’‘), (‘qtype’, u’serial’)]
returns:
JSON response or csv format