Skip to main content
Dotset CLI API Documentation / tollgate / AuditExporter

Class: AuditExporter

Defined in: src/tollgate/audit/exporter.ts:70 Audit exporter for generating compliance reports.

Constructors

Constructor

new AuditExporter(logger): AuditExporter;
Defined in: src/tollgate/audit/exporter.ts:71

Parameters

logger

Returns

AuditExporter

Methods

exportCef()

exportCef(options): string;
Defined in: src/tollgate/audit/exporter.ts:177 Exports audit records in CEF (Common Event Format). CEF is widely supported by SIEM systems like Splunk, ArcSight, and QRadar. Format: CEF:Version|Device Vendor|Device Product|Device Version|Signature ID|Name|Severity|Extension

Parameters

options
ExportOptions = {} Export options

Returns

string CEF formatted string with one event per line

exportCsv()

exportCsv(options): string;
Defined in: src/tollgate/audit/exporter.ts:109 Exports audit records as CSV.

Parameters

options
ExportOptions = {} Export options

Returns

string CSV string with headers

exportJsonLines()

exportJsonLines(options): string;
Defined in: src/tollgate/audit/exporter.ts:81 Exports audit records as JSON Lines (JSONL). Each line is a complete JSON object, suitable for log aggregation systems.

Parameters

options
ExportOptions = {} Export options

Returns

string JSONL string with one record per line