Disable SQL Audit completely


Is there a way to disable Audit feature? I don’t need it and it’s too annoying to debug things since it throws a lot of errors because it seems not fully compatible with mssql.

Thanks in advance

You can configure the Base SQLAudit module in pi.cfg, that does nothing:

PI_AUDIT_MODULE = "privacyidea.lib.auditmodules.base"

Alternatively you can specify another database (like a mysql DB) to save the audit to.

1 Like