Skip to content

Commit

Permalink
Generate docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zeek-bot committed Aug 3, 2024
1 parent 20e7d06 commit 2d35a0d
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 10 deletions.
1 change: 1 addition & 0 deletions script-reference/autogenerated-script-index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@
base/frameworks/files/magic/__load__.zeek </scripts/base/frameworks/files/magic/__load__.zeek>
base/frameworks/telemetry/options.zeek </scripts/base/frameworks/telemetry/options.zeek>
base/bif/__load__.zeek </scripts/base/bif/__load__.zeek>
base/bif/consts.bif.zeek </scripts/base/bif/consts.bif.zeek>
base/bif/telemetry.bif.zeek </scripts/base/bif/telemetry.bif.zeek>
base/bif/zeekygen.bif.zeek </scripts/base/bif/zeekygen.bif.zeek>
base/bif/pcap.bif.zeek </scripts/base/bif/pcap.bif.zeek>
Expand Down
2 changes: 1 addition & 1 deletion scripts/base/bif/__load__.zeek.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ base/bif/__load__.zeek
======================


:Imports: :doc:`base/bif/CPP-load.bif.zeek </scripts/base/bif/CPP-load.bif.zeek>`, :doc:`base/bif/analyzer.bif.zeek </scripts/base/bif/analyzer.bif.zeek>`, :doc:`base/bif/bloom-filter.bif.zeek </scripts/base/bif/bloom-filter.bif.zeek>`, :doc:`base/bif/cardinality-counter.bif.zeek </scripts/base/bif/cardinality-counter.bif.zeek>`, :doc:`base/bif/comm.bif.zeek </scripts/base/bif/comm.bif.zeek>`, :doc:`base/bif/communityid.bif.zeek </scripts/base/bif/communityid.bif.zeek>`, :doc:`base/bif/const.bif.zeek </scripts/base/bif/const.bif.zeek>`, :doc:`base/bif/data.bif.zeek </scripts/base/bif/data.bif.zeek>`, :doc:`base/bif/event.bif.zeek </scripts/base/bif/event.bif.zeek>`, :doc:`base/bif/file_analysis.bif.zeek </scripts/base/bif/file_analysis.bif.zeek>`, :doc:`base/bif/input.bif.zeek </scripts/base/bif/input.bif.zeek>`, :doc:`base/bif/logging.bif.zeek </scripts/base/bif/logging.bif.zeek>`, :doc:`base/bif/messaging.bif.zeek </scripts/base/bif/messaging.bif.zeek>`, :doc:`base/bif/mmdb.bif.zeek </scripts/base/bif/mmdb.bif.zeek>`, :doc:`base/bif/option.bif.zeek </scripts/base/bif/option.bif.zeek>`, :doc:`base/bif/packet_analysis.bif.zeek </scripts/base/bif/packet_analysis.bif.zeek>`, :doc:`base/bif/pcap.bif.zeek </scripts/base/bif/pcap.bif.zeek>`, :doc:`base/bif/reporter.bif.zeek </scripts/base/bif/reporter.bif.zeek>`, :doc:`base/bif/spicy.bif.zeek </scripts/base/bif/spicy.bif.zeek>`, :doc:`base/bif/stats.bif.zeek </scripts/base/bif/stats.bif.zeek>`, :doc:`base/bif/store.bif.zeek </scripts/base/bif/store.bif.zeek>`, :doc:`base/bif/strings.bif.zeek </scripts/base/bif/strings.bif.zeek>`, :doc:`base/bif/supervisor.bif.zeek </scripts/base/bif/supervisor.bif.zeek>`, :doc:`base/bif/telemetry.bif.zeek </scripts/base/bif/telemetry.bif.zeek>`, :doc:`base/bif/top-k.bif.zeek </scripts/base/bif/top-k.bif.zeek>`, :doc:`base/bif/types.bif.zeek </scripts/base/bif/types.bif.zeek>`, :doc:`base/bif/zeek.bif.zeek </scripts/base/bif/zeek.bif.zeek>`, :doc:`base/bif/zeekygen.bif.zeek </scripts/base/bif/zeekygen.bif.zeek>`
:Imports: :doc:`base/bif/CPP-load.bif.zeek </scripts/base/bif/CPP-load.bif.zeek>`, :doc:`base/bif/analyzer.bif.zeek </scripts/base/bif/analyzer.bif.zeek>`, :doc:`base/bif/bloom-filter.bif.zeek </scripts/base/bif/bloom-filter.bif.zeek>`, :doc:`base/bif/cardinality-counter.bif.zeek </scripts/base/bif/cardinality-counter.bif.zeek>`, :doc:`base/bif/comm.bif.zeek </scripts/base/bif/comm.bif.zeek>`, :doc:`base/bif/communityid.bif.zeek </scripts/base/bif/communityid.bif.zeek>`, :doc:`base/bif/const.bif.zeek </scripts/base/bif/const.bif.zeek>`, :doc:`base/bif/consts.bif.zeek </scripts/base/bif/consts.bif.zeek>`, :doc:`base/bif/data.bif.zeek </scripts/base/bif/data.bif.zeek>`, :doc:`base/bif/event.bif.zeek </scripts/base/bif/event.bif.zeek>`, :doc:`base/bif/file_analysis.bif.zeek </scripts/base/bif/file_analysis.bif.zeek>`, :doc:`base/bif/input.bif.zeek </scripts/base/bif/input.bif.zeek>`, :doc:`base/bif/logging.bif.zeek </scripts/base/bif/logging.bif.zeek>`, :doc:`base/bif/messaging.bif.zeek </scripts/base/bif/messaging.bif.zeek>`, :doc:`base/bif/mmdb.bif.zeek </scripts/base/bif/mmdb.bif.zeek>`, :doc:`base/bif/option.bif.zeek </scripts/base/bif/option.bif.zeek>`, :doc:`base/bif/packet_analysis.bif.zeek </scripts/base/bif/packet_analysis.bif.zeek>`, :doc:`base/bif/pcap.bif.zeek </scripts/base/bif/pcap.bif.zeek>`, :doc:`base/bif/reporter.bif.zeek </scripts/base/bif/reporter.bif.zeek>`, :doc:`base/bif/spicy.bif.zeek </scripts/base/bif/spicy.bif.zeek>`, :doc:`base/bif/stats.bif.zeek </scripts/base/bif/stats.bif.zeek>`, :doc:`base/bif/store.bif.zeek </scripts/base/bif/store.bif.zeek>`, :doc:`base/bif/strings.bif.zeek </scripts/base/bif/strings.bif.zeek>`, :doc:`base/bif/supervisor.bif.zeek </scripts/base/bif/supervisor.bif.zeek>`, :doc:`base/bif/telemetry.bif.zeek </scripts/base/bif/telemetry.bif.zeek>`, :doc:`base/bif/top-k.bif.zeek </scripts/base/bif/top-k.bif.zeek>`, :doc:`base/bif/types.bif.zeek </scripts/base/bif/types.bif.zeek>`, :doc:`base/bif/zeek.bif.zeek </scripts/base/bif/zeek.bif.zeek>`, :doc:`base/bif/zeekygen.bif.zeek </scripts/base/bif/zeekygen.bif.zeek>`

Summary
~~~~~~~
Expand Down
15 changes: 15 additions & 0 deletions scripts/base/bif/consts.bif.zeek.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
:tocdepth: 3

base/bif/consts.bif.zeek
========================
.. zeek:namespace:: GLOBAL
:Namespace: GLOBAL

Summary
~~~~~~~

Detailed Interface
~~~~~~~~~~~~~~~~~~

2 changes: 1 addition & 1 deletion scripts/base/bif/event.bif.zeek.rst
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,7 @@ Events
.. zeek:see:: new_packet tcp_packet ipv6_ext_headers
.. zeek:id:: net_done
:source-code: base/init-bare.zeek 5945 5947
:source-code: base/init-bare.zeek 5952 5954

:Type: :zeek:type:`event` (t: :zeek:type:`time`)

Expand Down
3 changes: 3 additions & 0 deletions scripts/base/bif/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ Package: base/bif
:doc:`/scripts/base/bif/__load__.zeek`


:doc:`/scripts/base/bif/consts.bif.zeek`


:doc:`/scripts/base/bif/telemetry.bif.zeek`

Functions for accessing counter metrics from script land.
Expand Down
38 changes: 30 additions & 8 deletions scripts/base/init-bare.zeek.rst
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ Redefinable Options
parsing of the connection is suspended.
:zeek:id:`SSL::max_alerts_per_record`: :zeek:type:`count` :zeek:attr:`&redef` Maximum number of Alert messages parsed from an SSL record with
content_type alert (21).
:zeek:id:`Telemetry::callback_timeout`: :zeek:type:`interval` :zeek:attr:`&redef` Maximum amount of time for CivetWeb HTTP threads to
wait for metric callbacks to complete on the IO loop.
:zeek:id:`Telemetry::civetweb_threads`: :zeek:type:`count` :zeek:attr:`&redef` Number of CivetWeb threads to use.
:zeek:id:`Threading::heartbeat_interval`: :zeek:type:`interval` :zeek:attr:`&redef` The heartbeat interval used by the threading framework.
:zeek:id:`Tunnel::delay_gtp_confirmation`: :zeek:type:`bool` :zeek:attr:`&redef` With this set, the GTP analyzer waits until the most-recent upflow
and downflow packets are a valid GTPv1 encapsulation before
Expand Down Expand Up @@ -1244,6 +1247,25 @@ Redefinable Options
content_type alert (21). The remaining alerts are discarded. For
TLS 1.3 connections, this is implicitly 1 as defined by RFC 8446.

.. zeek:id:: Telemetry::callback_timeout
:source-code: base/init-bare.zeek 5889 5889

:Type: :zeek:type:`interval`
:Attributes: :zeek:attr:`&redef`
:Default: ``5.0 secs``

Maximum amount of time for CivetWeb HTTP threads to
wait for metric callbacks to complete on the IO loop.

.. zeek:id:: Telemetry::civetweb_threads
:source-code: base/init-bare.zeek 5892 5892

:Type: :zeek:type:`count`
:Attributes: :zeek:attr:`&redef`
:Default: ``2``

Number of CivetWeb threads to use.

.. zeek:id:: Threading::heartbeat_interval
:source-code: base/init-bare.zeek 2913 2913

Expand Down Expand Up @@ -1425,7 +1447,7 @@ Redefinable Options
.. zeek:id:: bits_per_uid
:source-code: base/init-bare.zeek 5898 5898
:source-code: base/init-bare.zeek 5905 5905

:Type: :zeek:type:`count`
:Attributes: :zeek:attr:`&redef`
Expand Down Expand Up @@ -1466,7 +1488,7 @@ Redefinable Options
be reported via :zeek:see:`content_gap`.

.. zeek:id:: digest_salt
:source-code: base/init-bare.zeek 5906 5906
:source-code: base/init-bare.zeek 5913 5913

:Type: :zeek:type:`string`
:Attributes: :zeek:attr:`&redef`
Expand Down Expand Up @@ -1644,7 +1666,7 @@ Redefinable Options
means "forever", which resists evasion, but can lead to state accrual.

.. zeek:id:: global_hash_seed
:source-code: base/init-bare.zeek 5893 5893
:source-code: base/init-bare.zeek 5900 5900

:Type: :zeek:type:`string`
:Attributes: :zeek:attr:`&redef`
Expand Down Expand Up @@ -1701,7 +1723,7 @@ Redefinable Options
.. zeek:see:: conn_stats
.. zeek:id:: io_poll_interval_default
:source-code: base/init-bare.zeek 5923 5923
:source-code: base/init-bare.zeek 5930 5930

:Type: :zeek:type:`count`
:Attributes: :zeek:attr:`&redef`
Expand All @@ -1720,7 +1742,7 @@ Redefinable Options
.. zeek:see:: io_poll_interval_live
.. zeek:id:: io_poll_interval_live
:source-code: base/init-bare.zeek 5938 5938
:source-code: base/init-bare.zeek 5945 5945

:Type: :zeek:type:`count`
:Attributes: :zeek:attr:`&redef`
Expand Down Expand Up @@ -1960,7 +1982,7 @@ Redefinable Options
was observed.

.. zeek:id:: max_find_all_string_length
:source-code: base/init-bare.zeek 5910 5910
:source-code: base/init-bare.zeek 5917 5917

:Type: :zeek:type:`int`
:Attributes: :zeek:attr:`&redef`
Expand Down Expand Up @@ -2190,7 +2212,7 @@ Redefinable Options
Time to wait before timing out an RPC request.

.. zeek:id:: running_under_test
:source-code: base/init-bare.zeek 5942 5942
:source-code: base/init-bare.zeek 5949 5949

:Type: :zeek:type:`bool`
:Attributes: :zeek:attr:`&redef`
Expand Down Expand Up @@ -3361,7 +3383,7 @@ State Variables
.. zeek:see:: dns_skip_all_auth dns_skip_addl
.. zeek:id:: done_with_network
:source-code: base/init-bare.zeek 5944 5944
:source-code: base/init-bare.zeek 5951 5951

:Type: :zeek:type:`bool`
:Default: ``F``
Expand Down

0 comments on commit 2d35a0d

Please sign in to comment.