Repository navigation
docs: document Windows sensor fields and variants (Refs #362) - #374
Open
SherlockOmss wants to merge 1 commit into
Open
SherlockOmss wants to merge 1 commit into
SherlockOmss wants to merge 1 commit into
Conversation
Removes the 16 `#[allow(missing_docs)] // #362` under crates/sensors/windows (eventlog counters and record types, sockets `ListenerEntry`, minifilter `Body`, `Message` and `WireError`) and documents what they hid. Each doc was checked against the parser or the code that fills the field: which Event Log element it reads, when it is empty, and which event ids reach each counter. Docs only; no code change. 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, Windows zone. Removes the 16
#[allow(missing_docs)] // #362undercrates/sensors/windowsand documents what they hid.What
eventlog: the 11EventLogCountersfields name the event ids that reach each counter (applocker_blockssums four channels); the record types (LogonEvent,DefenderLogEvent,LogClearedRecord,TerminalSessionEvent, task, service, account, AppLocker, WDAC, Kerberos) documentrecord_id,event_idand the remaining fields.sockets:ListenerEntry::{pid, ppid, local}.minifilter:Body(path format and truncation said once on the enum), its variant fields,Message::{pid, tid, counters, body}and everyWireErrorvariant and field.Each doc was read against the parser or the code that fills the field (which element is read, the 0/empty/
Nonefallback,time_created_nsunit, which ids a poll target filters). Existing docs were kept. The shared rule is said once on the type, not copied per field.Verified (Linux host)
cargo +nightly fmt --all;cargo clippy -p sensor-windows-eventlog -p sensor-windows-sockets -p sensor-windows-minifilter --all-targets -- -D warnings;RUSTDOCFLAGS="-D warnings" cargo docon the same three crates;tools/check-docs.py. All clean. No#[allow(missing_docs)]is left undercrates/sensors/windows.Not verified
cfg(windows)code was not compiled. This PR changes only doc comments.FILETIMEdetails were checked inwire.rsandevents.rs, not against a running driver.🤖 Generated with Claude Code