HawkEx.CSV.Formatters.AuditLogs (hawk_ex v0.1.0)

Copy Markdown View Source

Built-in CSV formatter for account audit logs.

The formatter exports audit log entries where the account is the recorded resource, ordered newest first.

Summary

Functions

Returns the audit log export header row.

Returns the account-scoped audit log query.

Converts an audit log entry into a CSV row.

Functions

headers()

Returns the audit log export header row.

query(account_id)

Returns the account-scoped audit log query.

to_row(log)

Converts an audit log entry into a CSV row.