base/frameworks/spicy/init-framework.zeek

Spicy
Namespace

Spicy

Summary

Functions

Spicy::disable_file_analyzer: function

Disable a specific Spicy file analyzer if not already inactive.

Spicy::disable_protocol_analyzer: function

Disable a specific Spicy protocol analyzer if not already inactive.

Spicy::enable_file_analyzer: function

Enable a specific Spicy file analyzer if not already active.

Spicy::enable_protocol_analyzer: function

Enable a specific Spicy protocol analyzer if not already active.

Spicy::resource_usage: function

Returns current resource usage as reported by the Spicy runtime system.

Detailed Interface

Functions

Spicy::disable_file_analyzer
Type

function (tag: Files::Tag) : bool

Disable a specific Spicy file analyzer if not already inactive. If this analyzer replaces an standard analyzer, that one will automatically be re-enabled.

Parameters

tag – analyzer to toggle

Returns

true if the operation succeeded

Spicy::disable_protocol_analyzer
Type

function (tag: Analyzer::Tag) : bool

Disable a specific Spicy protocol analyzer if not already inactive. If this analyzer replaces an standard analyzer, that one will automatically be re-enabled.

Parameters

tag – analyzer to toggle

Returns

true if the operation succeeded

Spicy::enable_file_analyzer
Type

function (tag: Files::Tag) : bool

Enable a specific Spicy file analyzer if not already active. If this analyzer replaces an standard analyzer, that one will automatically be disabled.

Parameters

tag – analyzer to toggle

Returns

true if the operation succeeded

Spicy::enable_protocol_analyzer
Type

function (tag: Analyzer::Tag) : bool

Enable a specific Spicy protocol analyzer if not already active. If this analyzer replaces an standard analyzer, that one will automatically be disabled.

Parameters

tag – analyzer to toggle

Returns

true if the operation succeeded

Spicy::resource_usage
Type

function () : Spicy::ResourceUsage

Returns current resource usage as reported by the Spicy runtime system.