Skip to main content

audit_log_discover_windows

Function audit_log_discover_windows 

Source
pub(crate) fn audit_log_discover_windows(
    include_self: bool,
    include_foreign: bool,
    windows: &[Value],
)
Expand description

Audit trail for DiscoverWindows — reagent P1 on PR #2810: this tool discloses exe_path (a full filesystem path, typically embedding the OS username) for windows belonging to OTHER AgentMux instances/users on a shared machine — the exact same disclosure-across-a-human-boundary risk audit_log_capture_window above already exists to log, but this tool shipped with none. Same shape, same file (a single window-related audit trail is easier to review than two): best-effort, never blocks the tool’s own result.