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"