#security-framework #macos #events #endpoint #wrapper #monitoring

endpoint-sec

High-level Rust wrappers around the Endpoint Security Framework

7 unstable releases (3 breaking)

0.4.1 Sep 19, 2024
0.4.0 Jun 21, 2024
0.3.4 Jan 22, 2024
0.3.2 Nov 30, 2023
0.2.0 Jul 12, 2023

#140 in Development tools

Download history 448/week @ 2024-08-22 391/week @ 2024-08-29 385/week @ 2024-09-05 513/week @ 2024-09-12 578/week @ 2024-09-19 455/week @ 2024-09-26 933/week @ 2024-10-03 796/week @ 2024-10-10 972/week @ 2024-10-17 954/week @ 2024-10-24 868/week @ 2024-10-31 608/week @ 2024-11-07 591/week @ 2024-11-14 576/week @ 2024-11-21 643/week @ 2024-11-28 347/week @ 2024-12-05

2,235 downloads per month

MIT/Apache

345KB
5.5K SLoC

Endpoint Security - Rust bindings

Endpoint Security (abbreviated ES here) is a framework provided by Apple for macOS machines for monitoring system events for potentially malicious activity, see the official documentation for the exact details.

This repository is composed of two Rust crates:

endpoint-sec-sys is the raw events translated from C to Rust, with some additional types that have to exist in the crate because of the orphan rules. While you can use the crate directly, no effort have been made to make it easy nor correct.

endpoint-sec contains the higher level wrappers. They're much safer and more ergonomic to use but incur a slight overhead cost in certain methods (not all, not even most of them).

MSRV

Current MSRV is 1.70.0. It can be updated in any minor version, though we'll try to be conservative with it.

Contributing

All contributions are welcome, provided they respect the Rust Code of Conduct. Opening an issue to signal a bug is a contribution!

License

Dual licensed under Apache 2 and MIT, see the LICENSE-APACHE and LICENSE-MIT files.

Dependencies

~185KB