github kunai-project/kunai v0.5.0

latest releases: v0.6.0, kunai-ebpf-v0.6.0, xtask-v0.6.0...
7 months ago

This release introduces several new features, performance improvements, bug fixes, and infrastructure updates focused on enhancing system monitoring, stability, and resource management.

🎉 New Features

  • File System Event Limiting: Implemented a new feature to limit file system related events, improving resource management and preventing event floods. This limit can be configured per-CPU, distinguishing between task-level and global limits for fine-grained control.
  • User/Group Name Resolution: Added the ability to resolve and include user and group names in events, enhancing the context and value of audit logging and security event analysis.
  • Start Event: A new start event is introduced to provide detailed information about the agent startup process as well as system related information.
  • Error Event: Introduced a new error event designed to bubble up important error conditions into Kunai logs, such as filesystem event throttling decisions. These events provide visibility into critical issues affecting system operation.
  • Event Loss Event: Implemented a new event_loss event to report cases where events are lost between the kernel and userland due to the userland component not being able to keep up with high kernel event rates. This event provides important information about system load and potential data loss.

✨ Enhancements

  • Error and Log Event Refactor: Refactored the error event into a more general log event, offering better flexibility and enabling the distinction between informational, warning, and error messages. This provides a more accurate terminology and more flexibility when generating events.
  • Path Structure Rework: Improved the Path structure to simplify path resolution, compute path hashes, and introduce a Path::MapKey struct for generating unique map keys, leading to improved efficiency and better structure handling.

🐞 Bug Fixes

  • Execve Probe Fix: Addressed a rare error in the execve probe by aligning map sizes and offloading some work to try_security_bprm_check function, improving the stability of the probes.
  • User/Group Resolution Bug: Fixed bugs in parsing user/group information and reduced log verbosity to improve ease of debugging.
  • Fixed Public IP Check: Corrected the is_public_ip function to handle specific edge cases.
  • Hostname Handling: Fixed an issue that prevented the hostname from being resolved correctly on RHEL9 systems.

What's Changed

Full Changelog: v0.4.0...v0.5.0

Don't miss a new kunai release

NewReleases is sending notifications on new releases.