Provides the WazuhAgentOS class, which allows to parse the os section of a wazuh agent response json dictionary.

class WazuhAgentOS(**kwargs)#

Bases: object

Object representation of an Wazuh agent’s operating system information.

architecture: str#

The architecture of processor.

codename: str#

Codename of the operating system e.g. “Oracular Oriole”, “Trixie”, etc.

kernel_information: str#

Information regarding the kernel of the operating system. (uname)

major: str#

Major version of the operating system.

minor: str#

Minor version of the operating system.

name: str#

Name of the operating system.

platform: str#

Name of the operating system’s platform.

version: str#

Version of the operating system.