Skip to main content

cmd_webhook_test

Function cmd_webhook_test 

Source
pub fn cmd_webhook_test(name: &str, data_dir: &Path) -> Result<()>
Expand description

Tests a webhook by sending a test event.

§Arguments

  • name - Name of the webhook to test
  • data_dir - Data directory for the audit database

§Errors

Returns an error if the webhook is not found or delivery fails.