This repository was archived by the owner on Oct 13, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,28 @@ Instructs Zeek to flip the directionality of the current connection.
5959
6060Returns the number of packets seen so far on the current side of the current connection.
6161
62+ .. _spicy_has_analyzer:
63+
64+ .. rubric:: ``function zeek::has_analyzer(analyzer: string, if_enabled: bool = True) : bool``
65+
66+ Checks if there is a Zeek analyzer of a given name.
67+
68+ analyzer: the Zeek-side name of the analyzer to check for
69+ if_enabled: if true, only checks for analyzers that are enabled
70+
71+ Returns the type of the analyzer if it exists, or ``Undef`` if it does not.
72+
73+ .. _spicy_analyzer_type:
74+
75+ .. rubric:: ``function zeek::analyzer_type(analyzer: string, if_enabled: bool = True) : AnalyzerType``
76+
77+ Returns the type of a Zeek analyzer of a given name.
78+
79+ analyzer: the Zeek-side name of the analyzer to check
80+ if_enabled: if true, only checks for analyzers that are enabled
81+
82+ Returns the type of the analyzer if it exists, or ``Undef`` if it does not.
83+
6284.. _spicy_protocol_begin:
6385
6486.. rubric:: ``function zeek::protocol_begin(analyzer: optional<string>, protocol: spicy::Protocol = spicy::Protocol::TCP)``
You can’t perform that action at this time.
0 commit comments