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
After completing the research on how to integrate the OSLog Framework into the new Wazuh Agent coded in C++, along with validating the configuration options, it is requested to develop this integration as a new Reader of the logcollector module.
Tasks
Extend Logcollector's Setup Function
Parse and validate the macOS-specific configuration options.
Integrate OSLog API
Develop a wrapper to interact with the OSLog framework from C++.
Ensure synchronous retrieval and filtering of logs based on queries, levels, and types.
Develop this library as a standalone library that will be used by logcollector.
Implement macOS Reader
Develop the Reader to process and transmit logs in the standard format.
Handle log rotation detection.
Store the necessary information that will allow collection to resume in case the agent is restarted.
Testing
Write unit tests and integration tests to validate the Reader's behavior with different queries, log levels, and types.
Test the Reader's behavior with multiple configuration entries.
Documentation
Prepare detailed documentation for the macOS Reader, including configuration examples, usage instructions, and limitations.
The text was updated successfully, but these errors were encountered:
This is a C++ wrapper around OSLogStore, handling Objective-C objects with memory management and providing an iterator-like interface for log entries. Including:
• A Pimpl idiom to hide Objective-C headers from the public C++ API.
• Iterator support, each with its own OSLogEnumerator retained/released correctly.
The wrapper is functional, iterates logs in C++ style, and respects Objective-C memory lifetimes. Next steps should be using this class from a log collector reader.
Description
After completing the research on how to integrate the OSLog Framework into the new Wazuh Agent coded in C++, along with validating the configuration options, it is requested to develop this integration as a new Reader of the logcollector module.
Tasks
Setup
FunctionThe text was updated successfully, but these errors were encountered: