Repository navigation
docs: document macOS sensor fields and variants (Refs #362) - #373
Open
SherlockOmss wants to merge 1 commit into
Open
SherlockOmss wants to merge 1 commit into
SherlockOmss wants to merge 1 commit into
Conversation
Drops the ten `#[allow(missing_docs)] // #362` under crates/sensors/macos and documents what they hid: the EndpointSecurity raw records (RawMeta, BtmItemType, RawEsEvent), the socket snapshot, the network-extension wire protocol and error, and the unified-log events and errors. Each doc was checked against the shim, the Swift extension or the classifier that produces the value. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Signed-off-by: SherlockOmss <[email protected]>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #362: the macOS zone (10 markers under
crates/sensors/macos). Docs only; no code or serde attribute changed.What
sensor-macos(endpoint-security/src/raw.rs):RawMeta(which processmetanames forExecand BTM events),BtmItemType, and every field ofRawEsEvent, checked againstshim/es_shim.candffi.rs(path composition for create/rename, lossy UTF-8, empty-as-None, negative pid/signal clamped to 0).sensor-macos-sockets(raw.rs):SocketStateandSocketSnapshotEntry, fromsockets_shim.c.sensor-macos-network-extension:FlowDirection,NeRecordfields (fromFilterDataProvider.swift,DNSProxyProvider.swift,EventPipe.swift) andNetworkExtensionError.sensor-macos-unifiedlog:UnifiedLogEventfields (fromclassify.rs,normalize.rs) andUnifiedLogError.Verified (Linux host)
cargo +nightly fmt --all,cargo clippy --all-targets -- -D warningsandRUSTDOCFLAGS=-D warnings cargo doc --no-depsclean forsensor-macos,sensor-macos-sockets,sensor-macos-unifiedlog,sensor-macos-network-extension(the raw/normalize modules are cross-platform); their unit tests pass;tools/check-docs.pyOK.Not verified
cfg(target_os = "macos")parts (FFI, shims, Swift extension) were read, not built. Themacos-latestCI job is the only compile check of those.🤖 Generated with Claude Code