Provides the WazuhAgentUpgradeConfiguration which allows to parse the
agent-upgrade section of the Wazuh local configuration (ossec.conf).
- class WazuhAgentUpgradeConfiguration(**kwargs)#
Bases:
objectObject representation of an agent’s agent-upgrade configuration section.
Wazuh reference: https://documentation.wazuh.com/current/user-manual/reference/ossec-conf/agent-upgrade.html#agent-side
- ca_store: list[str]#
List of paths to CA certificates. CA certificates are required for the verification of a WPK package’s signature.
- ca_verification: bool = True#
Indicates whether the signature of incoming WPK upgrade packages will be verified or not.
- enabled: bool = True#
Indicates whether agent upgrades are enabled or not.
- notification_wait_factor: float | None#
Time increase factor between successive notifications.
- notification_wait_max: str | None#
Maximum time allowed between successive notifications. Can use second, minute and hour format.
- notification_wait_start: str | None#
Initial time that the agent will wait to retry sending the upgrade confirmation if the first attempt remains unanswered. Can use second, minute and hour format.