From a15e24a38cb23de2095e7e48b0ce74b638b0cf9b Mon Sep 17 00:00:00 2001 From: Christian Manivong Date: Tue, 1 Dec 2026 13:19:42 +0100 Subject: [PATCH] fix(harvest): the Windows Update scripts belong to SCRIPTS, not RUNS --- tools/harvest.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/harvest.py b/tools/harvest.py index 08600cd..dd91a84 100644 --- a/tools/harvest.py +++ b/tools/harvest.py @@ -67,6 +67,11 @@ SCRIPTS = { "windows_features": windows_features._PS_WINDOWS_FEATURES, "host_events": host_events.host_events_script(time.time() - 7 * 86400), "event_channels": event_channels._PS_EVENT_CHANNELS, + # The search takes minutes and keeps its reading under HKLM\SOFTWARE\napalm-windows, + # which the pending reading after it reads back. Nothing is installed. + "wu_search": windows_update._PS_WU_SEARCH, + "wu_pending": windows_update._PS_WU_PENDING, + "wu_history": windows_update._PS_WU_HISTORY, } # Recorded only with --runs: streamed, long, and two of them change the host. @@ -75,11 +80,6 @@ RUNS = { "dism_scanhealth": (repairs._PS_DISM_SCAN, repairs.DISM_LIMIT), "defender_signature_update": (repairs._PS_SIGNATURE_UPDATE, repairs.SIGNATURE_LIMIT), "defender_quick_scan": (repairs._PS_QUICK_SCAN, repairs.QUICK_SCAN_LIMIT), - # The search takes minutes and keeps its reading under HKLM\SOFTWARE\napalm-windows, - # which the pending reading after it reads back. Nothing is installed. - "wu_search": windows_update._PS_WU_SEARCH, - "wu_pending": windows_update._PS_WU_PENDING, - "wu_history": windows_update._PS_WU_HISTORY, } OUT = pathlib.Path(__file__).parent / "harvest-out"