Provides the WazuhAgentGithubConfiguration which allows to parse the github section of the Wazuh local configuration (ossec.conf).

class WazuhAgentGithubConfiguration(**kwargs)#

Bases: object

Object representation of an agent’s github configuration section.

Wazuh reference: https://documentation.wazuh.com/current/user-manual/reference/ossec-conf/github-module.html

api_auth: list[WazuhAgentGithubApiAuthConfiguration]#

List of credential definitions.

curl_max_size: int#

The maximum accepted response size in bytes.

enabled: bool = True#

Indicates whether the module is enabled or not.

event_type: str | None#

Event types the module collects:

web: returns web (non-Git) events.

git: returns Git events.

all: returns both web and Git events.

interval: int#

Frequency in seconds in which the module will be triggered.

only_future_events: bool = True#

Indicates wether only future events are being collected or not.

time_delay: int#

Delay in seconds the module will wait before collecting logs.