Integrations

Audit Operations

Introduction

Below are the basic operations that can be performed via API regarding Audit. All calls are located in Minerva. For more details on the endpoints, see Swagger

Indexing an audit

Allows creating the audit specified in the data provided.

It consists of the following call:

POST https://{{host}}/gateway/api/admin/minerva/audit/save

Get all existing audit

This endpoint allows obtaining all existing audit in Anjana.

GET https://{{host}}/gateway/api/admin/minerva/audit/getAll

Get the audit of a user

This endpoint will allow obtaining the existing audit for the specified user.

GET https://{{host}}/gateway/api/admin/minerva/audit/getAll/{username}

Get all audit for a given object

This endpoint will allow obtaining all the audit for the specified object on the given subtype. The information returned will be that which exactly matches what was provided; that is, if the object id is not specified, the audit that has the specified subtype and an empty (null) object identifier will be returned.

GET https://{{host}}/gateway/api/admin/minerva/audit/getAll/{objectSubType}/{objectId}