fix(harvest): the Windows Update scripts belong to SCRIPTS, not RUNS

This commit is contained in:
Christian Manivong committed 2026-12-01 13:19:42 +01:00
1 parent 6fbf2f7ef6
commit a15e24a38c
1 file changed
+5 -5
+5 -5
View File
@@ -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"