From a75be93c05287dcdb5e214a52317a521ae8083f6 Mon Sep 17 00:00:00 2001 From: Christian Manivong Date: Tue, 1 Dec 2026 13:23:31 +0100 Subject: [PATCH] fix(harvest): the posture script belongs to SCRIPTS; imports sorted --- napalm_windows/windows.py | 2 +- tools/harvest.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/napalm_windows/windows.py b/napalm_windows/windows.py index 43022a9..c7b87f3 100644 --- a/napalm_windows/windows.py +++ b/napalm_windows/windows.py @@ -32,8 +32,8 @@ from napalm_windows.host_basics import WindowsHostBasicsMixin from napalm_windows.host_events import WindowsHostEventsMixin from napalm_windows.host_firewall import WindowsHostFirewallMixin from napalm_windows.logins import WindowsLoginsMixin -from napalm_windows.repairs import WindowsRepairsMixin from napalm_windows.posture import WindowsPostureMixin +from napalm_windows.repairs import WindowsRepairsMixin from napalm_windows.scheduled_tasks import WindowsScheduledJobsMixin from napalm_windows.services import WindowsServicesMixin from napalm_windows.storage import WindowsStorageMixin diff --git a/tools/harvest.py b/tools/harvest.py index fc74d4c..8c99471 100644 --- a/tools/harvest.py +++ b/tools/harvest.py @@ -73,6 +73,7 @@ SCRIPTS = { "wu_search": windows_update._PS_WU_SEARCH, "wu_pending": windows_update._PS_WU_PENDING, "wu_history": windows_update._PS_WU_HISTORY, + "posture": posture._PS_POSTURE, } # Recorded only with --runs: streamed, long, and two of them change the host. @@ -81,7 +82,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), - "posture": posture._PS_POSTURE, } OUT = pathlib.Path(__file__).parent / "harvest-out"