Provides the WazuhAgentOffice365ApiAuthConfiguration which allows to parse the auth_config subsection of the office365 section of the Wazuh local configuration (ossec.conf).

class WazuhAgentOffice365ApiAuthConfiguration(**kwargs)#

Bases: object

Object representation of an agent’s office365.auth_config configuration section.

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

api_type: str | None#

The configured Microsoft 365 subscription plan type.

client_id: str | None#

Azure App Registration id.

client_secret: str | None#

Client secret value.

client_secret_path: str | None#

Path of the client secret file.

tenant_id: str | None#

Azure tenant id.