Skip to main content

ExportAuditLogsToFile

This Script is part of the Common Scripts Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.5.0 and later.

Uses the Core REST API integration to query the server audit trail logs, and return back a CSV or JSON file.

Script Data#


NameDescription
Script Typepython3
TagsUtility

Dependencies#


This script uses the following commands and scripts.

  • core-api-post

Inputs#


Argument NameDescription
days_backHow many days back to fetch for, supports 1,2,3 or 7 days back.
outputType of File to return, either JSON, or CSV

Outputs#


There are no outputs for this script.