Provides the WazuhAgentMsGraphApiAuthConfiguration which allows to parse the api_auth subsection of the ms-graph section of the Wazuh local configuration (ossec.conf).

class WazuhAgentMsGraphApiAuthConfiguration(**kwargs)#

Bases: object

Object representation of an agent’s ms-graph.api_auth configuration section.

Wazuh reference: https://documentation.wazuh.com/current/user-manual/reference/ossec-conf/ms-graph-module.html#api-auth

api_type: str | None#

Type of the Microsoft 365 subscription plan. global refers to either a commercial or GCC tenant.

client_id: str | None#

Client ID of the App Registration.

secret_value: str | None#

Secret associated with the App Registration.

tenant_id: str | None#

Tenant ID of the App Registration.