Skip to main content

cmd_webhook_export

Function cmd_webhook_export 

Source
pub fn cmd_webhook_export(
    domain: &str,
    output: Option<&Path>,
    data_dir: &Path,
) -> Result<()>
Expand description

Exports webhook audit logs for a domain (GDPR compliance).

§Arguments

  • domain - Domain to export logs for
  • output - Output file path (optional, prints to stdout if not specified)
  • data_dir - Data directory for the audit database

§Errors

Returns an error if the audit database cannot be accessed.