Cargo Features

endpoint-sec has no features set by default.

[dependencies]
endpoint-sec = { version = "0.4.1", features = ["audit_token_from_pid", "max", "macos_14_0_0", "macos_13_3_0", "macos_13_0_0", "macos_12_0_0", "macos_11_3_0", "macos_11_0_0", "macos_10_15_4", "macos_10_15_1"] }
default

The default feature activates nothing to ensure developers are aware of what they use. This means this crate supports Endpoint Security from macOS 10.15.0
by default.

audit_token_from_pid

Expose AuditToken::from_pid()

max = macos_14_0_0

Updated to the maximum version each time a new one is introduced
When adding a new max version, remember to update the CI to test it too.

macos_14_0_0 max? = macos_13_3_0

Enables macos_14_0_0 of endpoint-sec-sys

macos_13_3_0 macos_14_0_0? = macos_13_0_0

Enables macos_13_3_0 of endpoint-sec-sys

macos_13_0_0 macos_13_3_0? = macos_12_0_0

Enables macos_13_0_0 of endpoint-sec-sys

macos_12_0_0 macos_13_0_0? = macos_11_3_0

Enables macos_12_0_0 of endpoint-sec-sys

macos_11_3_0 macos_12_0_0? = macos_11_0_0

Enables macos_11_3_0 of endpoint-sec-sys

macos_11_0_0 macos_11_3_0? = macos_10_15_4

Enables macos_11_0_0 of endpoint-sec-sys

Affects event_exec::Fd, message::Thread, message::ThreadState

macos_10_15_4 macos_11_0_0? = macos_10_15_1

Enables macos_10_15_4 of endpoint-sec-sys

macos_10_15_1 macos_10_15_4?

Enables macos_10_15_1 of endpoint-sec-sys