Skip to main content

4.60. Analyst - Query audit logs

Id 4.60.
Description

As an Analyst,

 

I need to be able to analyse the audit logs,

 

So that I perform advanced analytics on changes performed on the system.

Priority Medium
Actors Analyst
API Calls GET /admin/audit-logs
Linked Processes
Status Implemented

Preconditions

  1. The User must be authenticated and have the Analyst role.

Postconditions

  1. The System returns the requested audit logs.

Main flow

  1. The User triggers the retrieval of audit logs via the APIs (GET).
  2. The system returns the requested audit logs.

Exceptions

[400 Bad Request] Invalid input:

If mandatory fields are missing or invalid, the system returns an error message.

[500 Internal Server Error] System Error

If the system fails to save changes due to an internal error, it displays an appropriate message and logs the error for further investigation.