keystonemiddleware.audit package

Module contents

Build open standard audit information based on incoming requests.

AuditMiddleware filter should be placed after keystonemiddleware.auth_token in the pipeline so that it can utilise the information the Identity server provides.

class keystonemiddleware.audit.AuditMiddleware(app, **conf)

Bases: object

Create an audit event based on request/response.

The audit middleware takes in various configuration options such as the ability to skip audit of certain requests. The full list of options can be discovered here: https://docs.openstack.org/developer/keystonemiddleware/audit.html

keystonemiddleware.audit.filter_factory(global_conf, **local_conf)

Return a WSGI filter app for use with paste.deploy.