Skip to content

Testing Audit

Overview

There's an organisation on staging database called Audit Testing (audit subdomain) meant to be used to test audit functionality. It has one of each possible audit for existing entities and one for deleted ones. That amounts currently to 117 registers (*2).

Debugging Audit Issues

In case of error, the /activities/search endpoint returns the audit id. This can be used to find the offending register on MongoDB:

mongosh -u root -p root
use mg_$SUBDOMAIN;
db.audit_access.find({_id: new ObjectId("$ID")});

Each audit register contains a test_id that relates it to corresponding line and a text comment to label it.

  • Product Matrix - Activity Log and Notifications
Last modified by: Unknown