You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This objective aims to migrate 4.X Cloud integration modules to Wazuh agent 5.0, focusing on maintaining the functionality and integrating it with the new agent modules.
Functional requirements
The list of modules to migrate is the following:
GitHub
Microsoft Graph
Office 365
Module functionality must remain the same as in 4.X, we should only refactor the minimum necessary to allow the modules to integrate its IO with 5.0 agent.
The configuration should be adapted to the new yml format and revisited for clarity. Only renaming is allowed.
Non-functional requirements
The modules performance must remain the same or better as in 4.X.
We cannot add nor change libraries, dependencies or frameworks.
Implementation restrictions
The modules must use the same technology.
Testing
The migration must include unit tests.
Documentation
The modules must include technical documentation adapted to 5.0 standards.
Future developments
AWS
GCP
Plan
Spike
The spike phase focuses on creating generic agent modules to facilitate code reuse and ensure compatibility with Wazuh Agent 5.0. The tasks are as follows:
Develop a generic agent module for HTTPS requests:
Implement the module in C++ using coroutines.
Perform HTTPS requests and handle responses.
Enqueue the result as a stateless message.
Design the architecture of the modules:
Define class methods and configuration structures.
Ensure the design supports flexibility for integration with specific modules.
Development
In the development phase, we will build specific modules for each cloud integration, leveraging the generic modules and adapting configurations accordingly. The tasks for each module are as follows:
Develop GitHub module:
Write the configuration parser.
Extend the generic module with GitHub API-specific functionalities.
Implement necessary unit tests.
Document the module following Wazuh 5.0 standards.
Develop Microsoft Graph (MS-Graph) module:
Write the configuration parser.
Extend the generic module with Microsoft Graph API-specific functionalities.
Implement necessary unit tests.
Document the module following Wazuh 5.0 standards.
Develop Office 365 module:
Write the configuration parser.
Extend the generic module with Office 365 API-specific functionalities.
Implement necessary unit tests.
Document the module following Wazuh 5.0 standards.
The text was updated successfully, but these errors were encountered:
This is a proposal to be discussed. Please be consistent with the names and maintain a convention, both in these modules and with existing ones.
GitHub
github:
enabled: trueinterval: 1mtime_delay: 1mmax_payload_size: 1M# coming from <curl_max_size>enable_bookmark: true # coming from <only_future_events>, please think the same for Logcollectorapi_auth:
- org_name: dummy1token: ghp_oiasd6efbvptrfdua8fyepnfdc78ewf324jg # coming from <api_token>
- org_name: dummy2token: ghp_oiasd6efbvptrfdua8fyepnfdc78ewf324jgapi_parameters:
event_type: git
MS-Graph
ms_graph:
enabled: trueenable_bookmark: true # coming from <only_future_events>, please think the same for Logcollectormax_payload_size: 10M# coming from <curl_max_size>, please use the same in GitHubrun_on_start: trueinterval: 5mversion: v1.0api_auth:
- client_id: your_client_idtenant_id: your_tenant_idsecret: your_secret_value # coming from <secret_value>api_type: global
- client_id: your_client_id_2tenant_id: your_tenant_id_2secret: your_secret_value_2 # coming from <secret_value>api_type: gcc-highresources:
- name: securityrelationships:
- alerts_v2
- incidents
- name: auditLogsrelationships:
- signIns
- name: deviceManagementrelationships:
- auditEvents
Office365
office365:
enabled: trueinterval: 1mmax_payload_size: 1M# coming from <curl_max_size>, please use the same in the restenable_bookmark: true # coming from <only_future_events>, please think the same for Logcollectorapi_auth:
- client_id: your_client_idtenant_id: your_tenant_idsecret: your_secret_value # coming from <client_secret>api_type: global
- client_id: your_client_id_2tenant_id: your_tenant_id_2secret: your_secret_value_2 # coming from <client_secret>api_type: commercialsubscriptions:
- Audit.AzureActiveDirectory
- Audit.General
Description
This objective aims to migrate 4.X Cloud integration modules to Wazuh agent 5.0, focusing on maintaining the functionality and integrating it with the new agent modules.
Functional requirements
yml
format and revisited for clarity. Only renaming is allowed.Non-functional requirements
Implementation restrictions
Testing
Documentation
Future developments
Plan
Spike
The spike phase focuses on creating generic agent modules to facilitate code reuse and ensure compatibility with Wazuh Agent 5.0. The tasks are as follows:
Development
In the development phase, we will build specific modules for each cloud integration, leveraging the generic modules and adapting configurations accordingly. The tasks for each module are as follows:
The text was updated successfully, but these errors were encountered: