Export Audit Events

Title

Download the audit log file

URL Path

vault_rest/audit/export

Method

GET

Last Updated

21 Apr 2021

Summary

This API allows you to download a CSV formatted file containing all audit log entries from MetaDefender Vault .

Use Cases (used by)

Used by any 3rd party application to download audit log entries stored in MetaDefender Vault .

HTTP header parameters

Name

Value

Required

Description

Example

Authorization

The API key of the caller

REQUIRED

This header should have the following format:
Bearer API key obtained from authenticate the API
Example: Bearer OrRnBd9J0AzTiUe4Xrevj6IUoHbdMs

GET /vault_rest/audit/export HTTP/1.1
Host: localhost:8010

Method: GET

Name

Value

Required

Example

locale

Language localization

OPTIONAL

GET /vault_rest/audit/export?locale=locale-en_US HTTP/1.1
Host: localhost:8010

Request Error

400

Bad Request

Invalid HTTP request

401

Invalid parameter

One or more parameters are invalid

403

Forbidden

Authentication credentials incorrect

404

Not found

File was not found in the database

500

Internal Server Error

Server is temporarily unavailable

Response

Example of a successful request:

[Content Stream]

Descriptions of response:

The complete content stream of the CSV file.