base/frameworks/spicy/init-framework.zeek
- Spicy
- Namespace
Spicy
Summary
Functions
Disable a specific Spicy file analyzer if not already inactive. |
|
Disable a specific Spicy protocol analyzer if not already inactive. |
|
Enable a specific Spicy file analyzer if not already active. |
|
Enable a specific Spicy protocol analyzer if not already active. |
|
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
Returns current resource usage as reported by the Spicy runtime system.