Skip to main content
This page documents all events that plugins can subscribe to through the hook system. For conceptual information about how event hooks work, see Event Hooks.

Task events

Events fired during the task lifecycle. The id field carries the task_id.
EventDescription
TaskCreatedA new analysis task has been created and queued
TaskStartingA task is about to begin execution
TaskCompletedA task finished successfully
TaskFailedA task failed during execution
TaskCanceledA task was canceled (timeout or manual)

Plugin events

Events related to plugin process lifecycle and output. The id field carries the plugin_id (except for PluginResultAvailable, which carries source and result_name instead). The daemon publishes these events on per-plugin event channels that other plugins can subscribe to.
EventDescription
PluginStartedA plugin process has started and is ready
PluginStoppedA plugin process has stopped
PluginResultAvailableA plugin produced an analysis result. The source field identifies the originating plugin and result_name identifies the result. Handle via on_event

Sample events

Events fired during sample processing. The id field carries the sample_id.
EventDescription
SampleStartedA sample analysis session has started
SampleStoppedA sample analysis session has stopped
SampleResultProducedA sample produced an analysis result

System events

Events for system-wide occurrences. Broadcast on the shared daemon event channel to all plugins.
EventDescription
DaemonShutdownThe daemon is shutting down
ConfigReloadedSystem configuration has been reloaded