diff --git a/AGENTS-TASKS.md b/AGENTS-TASKS.md index 3beaaa0..1a8cec9 100644 --- a/AGENTS-TASKS.md +++ b/AGENTS-TASKS.md @@ -1,6 +1,6 @@ # Win Diagnostics migration tracker -Follow [AGENTS.md](AGENTS.md). This repository owns collection, normalization, +Follow [AGENT.md](AGENT.md). This repository owns collection, normalization, generic diagnostic analysis, evidence correlation, and structured results. Report layout, branding, historical incidents, and organisational conclusions belong elsewhere. Do not introduce Typst, Reportist, or macro-repository dependencies. @@ -16,19 +16,20 @@ This roadmap must remain usable from a standalone checkout. Legacy repositories are migration sources, not runtime dependencies. Coordinate public contracts with consumers; keep implementation and tests in their owning repository. -## Baseline — 2026-09-15 +## Initial planning baseline — 2026-09-15 Only instructions, README, license, ignore rules, and Jenkins scaffolding are tracked. No collector, schema, analysis engine, or fixture tests have been migrated. -Jenkins currently checks `AGENT.md`, but the actual file is `AGENTS.md`. +At initial planning Jenkins checked `AGENT.md` while instructions used `AGENTS.md`. +The checkout now uses `AGENT.md`; see the latest handoff for current status. ## Pass 0 — Inventory and baselines - [x] WD0.1 Read repository instructions and inspect tracked files, README, and Jenkins scaffold. - [x] WD0.2 Create this phased tracker and link it from the README using the actual instruction filename. -- [ ] WD0.3 Inventory the legacy `WindowsMaintenanceReport.ps1` collection functions and output modes; record source revision, licenses, supported Windows/PowerShell versions, privileges, and dependencies. -- [ ] WD0.4 Classify the legacy renderer's `modules/diagnostics-normalize.typ`, diagnostic rules, and watchlist entries. Assign generic normalization/analysis here; leave incident-specific interpretation and report prose to beffroi-reports. -- [ ] WD0.5 Review and sanitize legacy fixtures before reuse; establish expected observations, findings, severity, confidence, and incomplete-collection behavior for a representative slice. +- [x] WD0.3 Inventory the legacy `WindowsMaintenanceReport.ps1` collection functions and output modes; record source revision, licenses, supported Windows/PowerShell versions, privileges, and dependencies. +- [x] WD0.4 Classify the legacy renderer's `modules/diagnostics-normalize.typ`, diagnostic rules, and watchlist entries. Assign generic normalization/analysis here; leave incident-specific interpretation and report prose to beffroi-reports. +- [x] WD0.5 Review and sanitize legacy fixtures before reuse; establish expected observations, findings, severity, confidence, and incomplete-collection behavior for a representative slice. Exit: the selected slice has explicit ownership, source provenance, and repeatable expected results. Existing legacy fixtures are not assumed sanitized. @@ -92,3 +93,12 @@ valid diagnostic result independently of reporting tools. - Validation: documentation links, task IDs, and whitespace checked; no diagnostic implementation tests exist or were run. - Open: full source inventory, sanitization review, and behavioral baselines; Jenkins filename mismatch is tracked in WD4.1. - Next: WD0.3–WD0.5, then the smallest useful WD1 contract slice. + +### 2026-09-15 — Inventory and executable baseline pass + +- Completed WD0.3–WD0.5 for the initial offline slice: collector/function inventory, 53 event-rule and seven watchlist ownership decisions, five reviewed synthetic fixtures, and expected legacy snapshots. +- Evidence: [migration inventory](docs/migration-inventory.md), `tests/fixtures/legacy/`, `tests/legacy-baseline.json`. +- Validation: macro command `python3 scripts/check-legacy-baseline.py --output /tmp/beffroi-baseline-verified` passed all five snapshots and semantic assertions. This runs pinned legacy analysis, not a migrated engine. +- Environment: Typst 0.15.1; PowerShell unavailable, so native Windows collection remains untested. Advisory URLs were not revalidated. +- Preserved concurrent checkout updates: instructions are now `AGENT.md`; README/tracker links now match. Jenkins file-presence checks pass locally; WD4.1 still requires future schema/analysis CI. +- Next: WD1 schema/examples, then one offline normalization slice. Full diagnostic rules and Windows validation remain open. diff --git a/README.md b/README.md index 6ce1bb7..695c7f6 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Win Diagnostics does not generate reports or PDFs; diagnostic collection and int The project is being progressively rebuilt from the previous `WinDiagnostics` tooling with a cleaner separation between collection, analysis and reporting. -See [AGENTS.md](AGENTS.md) for repository ownership and development rules. +See [AGENT.md](AGENT.md) for repository ownership and development rules. [AGENTS-TASKS.md](AGENTS-TASKS.md) tracks migration passes, completed work, acceptance criteria, and the next-pass handoff. diff --git a/docs/migration-inventory.md b/docs/migration-inventory.md new file mode 100644 index 0000000..300aabe --- /dev/null +++ b/docs/migration-inventory.md @@ -0,0 +1,233 @@ +# Legacy diagnostics inventory and first contract decisions + +## Source and scope + +Inspected 2026-09-15 at pinned revisions: + +- WinDiagnostics: `1de4d425ecca3a97bcbffd4c8b5ebec464810ac8`. +- typst_reporter: `1d381904fff3d378a7c0e04588e75310a9b7ed60`. + +This inventories the collector and normalization/analysis source for the initial +offline migration slice. It records existing behavior, not an endorsement of +medical, security, or vendor remediation advice. External advisory URLs have not +been revalidated; advisory review remains required before rule publication. + +## Collection boundary + +The collector requires PowerShell 5.1 or later and native Windows APIs. It uses +CIM, registry, event logs, storage/Defender cmdlets, and native Windows commands. +Some APIs may be unavailable; elevated checks include storage reliability, +DISM `/CheckHealth`, and SFC `/verifyonly`. It writes JSON and temporary probe/SFC +files; it does not run repair commands. Native behavior has not been executed on +this Linux host (PowerShell is unavailable). + +`-Compact`, `-Mid`, and `-Full` are mutually exclusive; omitted means Full. +`-OutputDirectory` defaults to writable Documents, then TEMP. Output filenames +contain hostname and collection timestamp; the script returns the saved path. +`-EventLogDays` defaults to 7 (1–3650), `-MaxEventErrors` to 100 (1–5000), and +`-JsonDepth` to 12 (3–100). Output is UTF-8 without BOM, capture schema 2. + +The capture envelope is `schema_version`, `report_type`, `mode`, `generated_at`, +`completed_at`, `host`, `parameters`, `warnings`, `summary`, and `sections`. +Full adds `diagnostic_collection`. Section envelopes contain `status`, `count`, +`data`, and `error`; event sections additionally record `limit` and `truncated`. +Native command records retain executable, arguments, exit code, and output. + +### Collector function inventory + +All functions below belong to win-diagnostics; retain implementation provenance +and separate collection plumbing from normalization/analysis during extraction. + +- `Test-IsAdministrator` +- `Test-DirectoryWritable` +- `Get-InstalledPrograms` +- `Get-StartupRegistryEntries` +- `Get-ProblemDevices` +- `Invoke-ReportSection` +- `New-SkippedSection` +- `New-UnavailableSection` +- `Get-StorageReport` +- `Get-DefenderReport` +- `Invoke-NativeCommand` + +`Get-CompactData` is nested in Compact mode. The top-level mode branches populate +sections and summary; these are substantial collection logic, not just CLI glue. + +### Typst normalizer function inventory + +- `get` +- `value-text` +- `enabled` +- `legacy-incomplete` +- `first` +- `section` +- `section-data` +- `section-first` +- `section-count` +- `section-status` +- `number` +- `bool-text` +- `is-leap-year` +- `date-index` +- `datetime-day` +- `datetime-second` +- `display-time` +- `display-date` +- `fade-weight` +- `event-rule` +- `capture` +- `event-summary` +- `event-sections` +- `windows-level` +- `raw-events` +- `group-events` +- `catalog-correlation` +- `command-output` +- `object-lines` +- `watchlist-catalog` +- `watch-matches` +- `watchlist-findings` +- `reliability-events` +- `normalize` + +Classification: + +- Evidence access/conversion: `get`, `first`, `section*`, `number`, `enabled`, + `legacy-incomplete`, `command-output`, `raw-events`, `event-sections`, + `reliability-events`, and date parsing belong to win-diagnostics. +- Rules: `fade-weight`, `event-rule`, `group-events`, `catalog-correlation`, + `watch-matches`, and matching in `watchlist-findings` belong to win-diagnostics. +- Presentation: `value-text`, `bool-text`, `display-time`, `display-date`, + `windows-level`, `event-summary`, and `object-lines` must be split: retain typed + facts in diagnostics; move report-facing formatting into the report adapter. +- `normalize` combines all three concerns. Its technical findings and evidence + coverage belong here; health headline prose, display inventory/excerpts, and + report-ready remediation belong to beffroi-reports. Generic display widgets + belong to Reportist. Do not port the entire function as the public interface. +- Helpers `capture`, `is-leap-year`, `date-index`, and `watchlist-catalog` support + their owning normalization/rule operation; no runtime Typst/YAML imports should + remain in the diagnostic engine merely to reproduce legacy implementation. + +## Rule-by-rule ownership + +All provider/ID matchers below describe generic technical events. Diagnostic +matching, evidence, severity, confidence, and any fading stay in win-diagnostics. +Report-ready `remediation`, `resolution_steps`, and recipient-facing recommendations +move to the adapter/content layer. Preserve rationale/reference provenance for +review; event IDs alone must not become unsupported root-cause claims. + +| Provider | ID | Existing severity | Fading | Owner | +| --- | --- | --- | --- | --- | +| Microsoft-Windows-WER-SystemErrorReporting | 1001 | critical | no | win-diagnostics | +| volmgr | 162 | info | no | win-diagnostics | +| stornvme | 11 | critical | no | win-diagnostics | +| Microsoft-Windows-TPM-WMI | 1040 | critical | no | win-diagnostics | +| Service Control Manager | 7000 | warning | yes | win-diagnostics | +| Service Control Manager | 7009 | warning | yes | win-diagnostics | +| Microsoft-Windows-NDIS | 10317 | warning | no | win-diagnostics | +| Application Error | 1000 | warning | yes | win-diagnostics | +| Microsoft-Windows-WindowsUpdateClient | 20 | warning | yes | win-diagnostics | +| Application Hang | 1002 | warning | yes | win-diagnostics | +| MsiInstaller | 1043 | warning | yes | win-diagnostics | +| Volsnap | 36 | warning | no | win-diagnostics | +| Service Control Manager | 7043 | warning | yes | win-diagnostics | +| Microsoft-Windows-DistributedCOM | 10010 | info | no | win-diagnostics | +| EventLog | 6008 | warning | no | win-diagnostics | +| Service Control Manager | 7023 | warning | yes | win-diagnostics | +| MsiInstaller | 11704 | warning | yes | win-diagnostics | +| MsiInstaller | 11722 | warning | yes | win-diagnostics | +| VSS | 12344 | warning | no | win-diagnostics | +| .NET Runtime | 1022 | info | no | win-diagnostics | +| Waterfox Default Browser Agent | 5 | info | no | win-diagnostics | +| Microsoft-Windows-Kernel-Boot | 29 | warning | no | win-diagnostics | +| Service Control Manager | 7031 | warning | no | win-diagnostics | +| Microsoft-Windows-DeviceAssociationService | 3505 | warning | no | win-diagnostics | +| Microsoft-Windows-HAL | 15 | warning | no | win-diagnostics | +| Microsoft-Windows-HAL | 21 | warning | no | win-diagnostics | +| usbaudio2 | 38 | warning | no | win-diagnostics | +| ESENT | 419 | critical | no | win-diagnostics | +| ESENT | 474 | critical | no | win-diagnostics | +| ESENT | 907 | critical | no | win-diagnostics | +| ESENT | 908 | critical | no | win-diagnostics | +| Microsoft-Windows-Defrag | 264 | warning | no | win-diagnostics | +| Microsoft-Windows-WLAN-AutoConfig | 10002 | info | no | win-diagnostics | +| Microsoft-Windows-DistributedCOM | 10016 | info | no | win-diagnostics | +| Netwtw10 | 6062 | info | no | win-diagnostics | +| Microsoft-Windows-Hyper-V-Hypervisor | 167 | warning | no | win-diagnostics | +| volmgr | 161 | warning | no | win-diagnostics | +| Microsoft-Windows-WinRM | 10149 | info | no | win-diagnostics | +| winsrvext | 100 | info | no | win-diagnostics | +| Netwtw10 | 5005 | warning | no | win-diagnostics | +| Netwtw10 | 5032 | warning | no | win-diagnostics | +| Netwtw10 | 5002 | warning | no | win-diagnostics | +| Netwtw10 | 5010 | warning | no | win-diagnostics | +| Microsoft-Windows-Perflib | 1008 | warning | no | win-diagnostics | +| Microsoft-Windows-WMI | 63 | info | no | win-diagnostics | +| Microsoft-Windows-Winlogon | 6004 | warning | no | win-diagnostics | +| Microsoft-Windows-RestartManager | 10010 | info | no | win-diagnostics | +| Microsoft-Windows-Search | 10024 | warning | no | win-diagnostics | +| Microsoft-Windows-CodeIntegrity | 3116 | info | no | win-diagnostics | +| Microsoft-Windows-CodeIntegrity | 3099 | info | no | win-diagnostics | +| Microsoft-Windows-CodeIntegrity | 3085 | info | no | win-diagnostics | +| Microsoft-Windows-CodeIntegrity | 3076 | warning | no | win-diagnostics | +| Microsoft-Windows-CodeIntegrity | 3077 | warning | no | win-diagnostics | + +Unknown events remain `unanalysed`. The normalizer also implements device status, +DISM/SFC text interpretation, disk headroom/health, firewall state, unsigned-driver +signals, coverage gaps, and catalog event correlation outside the YAML catalog. +These require individual regression cases before extraction is complete. + +### Watchlist entries + +| Entry | Matcher owner | Report content owner | Caveat | +| --- | --- | --- | --- | +| `winring0` | win-diagnostics | beffroi-reports | Candidate/advisory; retain evidence and matching prerequisites. | +| `dell-dbutil` | win-diagnostics | beffroi-reports | Candidate/advisory; retain evidence and matching prerequisites. | +| `gigabyte-oc-guru` | win-diagnostics | beffroi-reports | Candidate/advisory; retain evidence and matching prerequisites. | +| `intel-wifi-observed` | win-diagnostics | beffroi-reports | Separate capture-specific adapter context. | +| `obs-overlay` | win-diagnostics | beffroi-reports | Candidate/advisory; retain evidence and matching prerequisites. | +| `obs-audio-hooks` | win-diagnostics | beffroi-reports | Candidate/advisory; retain evidence and matching prerequisites. | +| `smb1` | win-diagnostics | beffroi-reports | Candidate/advisory; retain evidence and matching prerequisites. | + +The catalog has seven generic candidate matchers, not private incident IDs. +Vendor-specific matching is not inherently organisation-specific. The +`intel-wifi-observed` prose contains capture-specific AX200/AX210 context; retain +that context in beffroi-reports rather than a generic diagnostic title. All +matches need their limitations preserved; zero-weight advisories must not become +confirmed failures or silently alter health scoring. + +## First diagnostic contract decisions (draft, not implemented) + +1. Keep the raw capture schema version distinct from the new diagnostic schema + version. A schema-2 capture does not imply diagnostic contract version 2. +2. Preserve the raw capture as an input artifact; observations reference its + relative artifact path and JSON Pointer. Findings reference observation IDs. +3. Use typed values and explicit collection state. Do not use `"Unavailable"`, + `"Yes"`, or formatted prose as substitutes for typed values/status fields. +4. Findings carry stable IDs, severity, confidence, title, technical description, + and evidence references. Keep recommendations and executive summaries out. +5. Retain unsupported/unknown events and partial collection. A missing section + cannot establish health. Define how summary-only captures differ from records. +6. Use collection time as the explicit analysis reference time; never use wall + clock time implicitly for fading. Document rounding/timezone compatibility. + +Next: implement the versioned schema and valid/invalid examples, then offline +normalization for one fixture. Field names/CLI are still proposals, not a released +interface. Full native collection support remains a later Windows validation gate. + +## Provenance and fixture review + +The five files in `tests/fixtures/legacy/` are copied unchanged from +`typst_reporter/tools/fixtures/` at the revision above. Their accompanying MIT +notice is retained. All string values were reviewed: hostnames/users are explicit +TEST/SYNTHETIC/CI placeholders, device identities are synthetic, paths are generic +Windows/driver paths, and software names are intentional rule inputs. No real +incident capture, hostname, serial number, account, IP, or network identifier was +imported. This review applies to these five files only. + +`tests/legacy-baseline.json` records observed legacy output for comparison; it is +not the new diagnostic schema or proof that legacy conclusions are correct. +The macro repository's `scripts/check-legacy-baseline.py` reproduces it using the +pinned legacy source in a temporary directory. Fixtures remain independently +usable by future component tests; this migration-only baseline runner is not a +component runtime dependency. diff --git a/tests/fixtures/legacy/LICENSE b/tests/fixtures/legacy/LICENSE new file mode 100644 index 0000000..ddc9766 --- /dev/null +++ b/tests/fixtures/legacy/LICENSE @@ -0,0 +1,9 @@ +MIT License + +Copyright (c) 2026 Beffroi + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/tests/fixtures/legacy/windiagnostics-v1.json b/tests/fixtures/legacy/windiagnostics-v1.json new file mode 100644 index 0000000..42215c9 --- /dev/null +++ b/tests/fixtures/legacy/windiagnostics-v1.json @@ -0,0 +1,186 @@ +{ + "schema_version": 1, + "report_type": "windows_system_maintenance", + "mode": "Full", + "generated_at": "2026-09-14T16:00:00+02:00", + "completed_at": "2026-09-14T16:01:00+02:00", + "host": { + "computer_name": "TEST-PC", + "user_name": "CI", + "administrator": true, + "powershell_version": "7.6.6" + }, + "parameters": { + "event_log_days": 7, + "max_event_errors": 100 + }, + "warnings": [], + "summary": null, + "sections": { + "operating_system": { + "status": "ok", + "count": 1, + "data": [ + { + "Caption": "Microsoft Windows 11 Pro", + "Version": "10.0.26200", + "BuildNumber": "26200", + "OSArchitecture": "64-bit", + "free_memory_gb": 12.5, + "total_memory_gb": 31.8 + } + ], + "error": null + }, + "computer_system": { + "status": "ok", + "count": 1, + "data": [ + { + "Manufacturer": "Test Vendor", + "Model": "Test Model", + "SystemType": "x64-based PC", + "total_physical_memory_gb": 31.82 + } + ], + "error": null + }, + "cpu": { + "status": "ok", + "count": 1, + "data": [ + { + "Name": "Test CPU", + "NumberOfCores": 8, + "NumberOfLogicalProcessors": 16 + } + ], + "error": null + }, + "uptime": { + "status": "ok", + "count": 1, + "data": [ + { + "last_boot": "2026-09-13T12:00:00+02:00", + "days": 1, + "hours": 4, + "minutes": 0 + } + ], + "error": null + }, + "storage": { + "status": "ok", + "count": 1, + "data": [ + { + "logical_volumes": [ + { + "DeviceID": "C:", + "VolumeName": "Windows", + "FileSystem": "NTFS", + "size_gb": 1000.0, + "free_gb": 400.0, + "free_percent": 40.0 + }, + { + "DeviceID": "D:", + "VolumeName": "Data", + "FileSystem": "NTFS", + "size_gb": 2000.0, + "free_gb": 1200.0, + "free_percent": 60.0 + } + ], + "physical_disks": [], + "storage_health": [], + "reliability_counters": [], + "reliability_requires_admin": true + } + ], + "error": null + }, + "installed_programs": {"status": "ok", "count": 42, "data": [], "error": null}, + "appx_packages": {"status": "ok", "count": 20, "data": [], "error": null}, + "automatic_services": {"status": "ok", "count": 80, "data": [], "error": null}, + "signed_drivers": {"status": "ok", "count": 150, "data": [], "error": null}, + "hotfixes": {"status": "ok", "count": 12, "data": [], "error": null}, + "non_microsoft_scheduled_tasks": {"status": "ok", "count": 8, "data": [], "error": null}, + "startup_programs": {"status": "ok", "count": 6, "data": [], "error": null}, + "active_tcp_listeners": {"status": "ok", "count": 15, "data": [], "error": null}, + "problem_devices": {"status": "ok", "count": 0, "data": [], "error": null}, + "firewall_profiles": { + "status": "ok", + "count": 3, + "data": [ + {"Name": "Domain", "Enabled": true, "DefaultInboundAction": "NotConfigured", "DefaultOutboundAction": "NotConfigured"}, + {"Name": "Private", "Enabled": true, "DefaultInboundAction": "NotConfigured", "DefaultOutboundAction": "NotConfigured"}, + {"Name": "Public", "Enabled": true, "DefaultInboundAction": "NotConfigured", "DefaultOutboundAction": "NotConfigured"} + ], + "error": null + }, + "defender": { + "status": "ok", + "count": 1, + "data": [ + { + "AntivirusEnabled": true, + "AntispywareEnabled": true, + "RealTimeProtectionEnabled": true, + "BehaviorMonitorEnabled": true, + "IoavProtectionEnabled": true, + "NISEnabled": true, + "AntivirusSignatureLastUpdated": "2026-09-14T12:00:00+02:00" + } + ], + "error": null + }, + "battery": {"status": "ok", "count": 0, "data": [], "error": null}, + "component_store": { + "status": "ok", + "count": 1, + "data": [ + { + "executable": "DISM.exe", + "arguments": ["/Online", "/Cleanup-Image", "/CheckHealth"], + "exit_code": 0, + "output": ["No component store corruption detected."] + } + ], + "error": null + }, + "system_file_check": { + "status": "ok", + "count": 1, + "data": [ + { + "executable": "sfc.exe", + "arguments": ["/verifyonly"], + "exit_code": 0, + "output": ["Windows Resource Protection did not find any integrity violations."] + } + ], + "error": null + }, + "recent_system_errors": { + "status": "ok", + "count": 1, + "data": [ + { + "TimeCreated": "2026-09-14T15:00:00+02:00", + "Id": 7000, + "ProviderName": "Service Control Manager", + "Message": "The TestService service failed to start due to the following error: The system cannot find the file specified." + } + ], + "error": null + }, + "recent_application_errors": {"status": "ok", "count": 0, "data": [], "error": null}, + "ip_configuration": {"status": "ok", "count": 1, "data": [], "error": null}, + "dns_servers": {"status": "ok", "count": 1, "data": [], "error": null}, + "power_plan": {"status": "ok", "count": 1, "data": [], "error": null}, + "top_processes_by_memory": {"status": "ok", "count": 30, "data": [], "error": null}, + "important_directories": {"status": "ok", "count": 1, "data": [], "error": null} + } +} diff --git a/tests/fixtures/legacy/windiagnostics-v2-compact.json b/tests/fixtures/legacy/windiagnostics-v2-compact.json new file mode 100644 index 0000000..905e2ad --- /dev/null +++ b/tests/fixtures/legacy/windiagnostics-v2-compact.json @@ -0,0 +1,49 @@ +{ + "schema_version": 2, + "report_type": "windows_system_maintenance", + "mode": "Compact", + "generated_at": "2026-09-15T12:00:00Z", + "host": { + "computer_name": "SYNTHETIC-V2", + "administrator": false + }, + "parameters": { + "event_log_days": 30, + "max_event_errors": 3 + }, + "warnings": [], + "summary": { + "memory": { + "total_gb": 16, + "free_gb": null + }, + "devices": { + "problem_count": 0 + }, + "software": { + "desktop_program_count": 0 + } + }, + "sections": { + "operating_system": { + "status": "unavailable", + "count": 0, + "error": "Synthetic unavailable check" + }, + "computer_system": { + "status": "unavailable", + "count": 0, + "error": "Synthetic unavailable check" + }, + "problem_devices": { + "status": "unavailable", + "count": 0, + "error": "Synthetic unavailable check" + }, + "installed_programs": { + "status": "unavailable", + "count": 0, + "error": "Synthetic unavailable check" + } + } +} \ No newline at end of file diff --git a/tests/fixtures/legacy/windiagnostics-v2-full.json b/tests/fixtures/legacy/windiagnostics-v2-full.json new file mode 100644 index 0000000..c02cf78 --- /dev/null +++ b/tests/fixtures/legacy/windiagnostics-v2-full.json @@ -0,0 +1,384 @@ +{ + "schema_version": 2, + "report_type": "windows_system_maintenance", + "mode": "Full", + "generated_at": "2026-09-15T12:00:00Z", + "host": { + "computer_name": "SYNTHETIC-V2", + "administrator": true + }, + "parameters": { + "event_log_days": 30, + "max_event_errors": 3 + }, + "warnings": [], + "summary": null, + "sections": { + "operating_system": { + "status": "ok", + "count": 0, + "data": [], + "error": null + }, + "computer_system": { + "status": "ok", + "count": 0, + "data": [], + "error": null + }, + "problem_devices": { + "status": "ok", + "count": 0, + "data": [], + "error": null + }, + "component_store": { + "status": "ok", + "count": 0, + "data": [], + "error": null + }, + "system_file_check": { + "status": "ok", + "count": 0, + "data": [], + "error": null + }, + "recent_system_events": { + "status": "ok", + "count": 3, + "data": [ + { + "TimeCreated": "2026-09-14T12:00:00Z", + "ProviderName": "Synthetic provider", + "Id": 123, + "Level": 2, + "LevelDisplayName": "Localized level", + "Message": "Synthetic Unicode \u00e9 # [test] C:\\Windows" + }, + { + "TimeCreated": "2026-09-14T12:00:00Z", + "ProviderName": "Synthetic provider", + "Id": 123, + "Level": 3, + "LevelDisplayName": "Localized level", + "Message": "Synthetic Unicode \u00e9 # [test] C:\\Windows" + }, + { + "TimeCreated": "2026-09-14T12:00:00Z", + "ProviderName": "Synthetic provider", + "Id": 123, + "Level": 3, + "LevelDisplayName": "Localized level", + "Message": "Synthetic Unicode \u00e9 # [test] C:\\Windows" + } + ], + "error": null, + "limit": 3, + "truncated": false + }, + "recent_system_errors": { + "status": "ok", + "count": 1, + "data": [ + { + "TimeCreated": "2026-09-14T12:00:00Z", + "ProviderName": "Synthetic provider", + "Id": 123, + "Level": 1, + "LevelDisplayName": "Localized level", + "Message": "Synthetic Unicode \u00e9 # [test] C:\\Windows" + } + ], + "error": null + }, + "recent_application_events": { + "status": "ok", + "count": 0, + "data": [], + "error": null, + "limit": 3, + "truncated": true + }, + "code_integrity": { + "status": "ok", + "count": 1, + "data": [ + { + "TimeCreated": "2026-09-14T12:00:00Z", + "ProviderName": "Synthetic provider", + "Id": 123, + "Level": 4, + "LevelDisplayName": "Localized level", + "Message": "Synthetic Unicode \u00e9 # [test] C:\\Windows" + } + ], + "error": null + }, + "storage": { + "status": "ok", + "count": 1, + "data": [ + { + "storage_health": [ + { + "status": "unavailable", + "error": "Synthetic API failure" + } + ], + "reliability_counters": [ + { + "status": "skipped", + "error": "Synthetic elevation gap" + } + ] + } + ], + "error": null + }, + "defender": { + "status": "ok", + "count": 1, + "data": [ + { + "available": false, + "error": "Synthetic unavailable Defender" + } + ], + "error": null + }, + "signed_drivers": { + "status": "ok", + "count": 1, + "data": [ + { + "Name": null, + "DeviceID": "synthetic", + "State": "Stopped", + "Message": "Synthetic evidence" + } + ], + "error": null + }, + "system_drivers": { + "status": "ok", + "count": 1, + "data": [ + { + "Name": null, + "DeviceID": "synthetic", + "State": "Stopped", + "Message": "Synthetic evidence" + } + ], + "error": null + }, + "services": { + "status": "ok", + "count": 1, + "data": [ + { + "Name": null, + "DeviceID": "synthetic", + "State": "Stopped", + "Message": "Synthetic evidence" + } + ], + "error": null + }, + "storage_disks": { + "status": "ok", + "count": 1, + "data": [ + { + "Name": null, + "DeviceID": "synthetic", + "State": "Stopped", + "Message": "Synthetic evidence" + } + ], + "error": null + }, + "storage_pnp_devices": { + "status": "ok", + "count": 1, + "data": [ + { + "Name": null, + "DeviceID": "synthetic", + "State": "Stopped", + "Message": "Synthetic evidence" + } + ], + "error": null + }, + "enabled_windows_features": { + "status": "ok", + "count": 1, + "data": [ + { + "Name": null, + "DeviceID": "synthetic", + "State": "Stopped", + "Message": "Synthetic evidence" + } + ], + "error": null + }, + "reliability_records": { + "status": "ok", + "count": 1, + "data": [ + { + "Name": null, + "DeviceID": "synthetic", + "State": "Stopped", + "Message": "Synthetic evidence" + } + ], + "error": null + }, + "minidumps": { + "status": "ok", + "count": 1, + "data": [ + { + "Name": null, + "DeviceID": "synthetic", + "State": "Stopped", + "Message": "Synthetic evidence" + } + ], + "error": null + }, + "driver_store": { + "status": "unavailable", + "count": 1, + "data": [ + { + "executable": "synthetic.exe", + "arguments": [ + "/test" + ], + "exit_code": 5, + "output": [ + "\u00c9chec # [test] C:\\Windows" + ] + } + ], + "error": null + }, + "filter_drivers": { + "status": "unavailable", + "count": 1, + "data": [ + { + "executable": "synthetic.exe", + "arguments": [ + "/test" + ], + "exit_code": 5, + "output": [ + "\u00c9chec # [test] C:\\Windows" + ] + } + ], + "error": null + }, + "filter_instances": { + "status": "unavailable", + "count": 1, + "data": [ + { + "executable": "synthetic.exe", + "arguments": [ + "/test" + ], + "exit_code": 5, + "output": [ + "\u00c9chec # [test] C:\\Windows" + ] + } + ], + "error": null + }, + "upper_filters": { + "status": "unavailable", + "count": 1, + "data": [ + { + "executable": "synthetic.exe", + "arguments": [ + "/test" + ], + "exit_code": 5, + "output": [ + "\u00c9chec # [test] C:\\Windows" + ] + } + ], + "error": null + }, + "lower_filters": { + "status": "unavailable", + "count": 1, + "data": [ + { + "executable": "synthetic.exe", + "arguments": [ + "/test" + ], + "exit_code": 5, + "output": [ + "\u00c9chec # [test] C:\\Windows" + ] + } + ], + "error": null + }, + "boot_configuration": { + "status": "unavailable", + "count": 1, + "data": [ + { + "executable": "synthetic.exe", + "arguments": [ + "/test" + ], + "exit_code": 5, + "output": [ + "\u00c9chec # [test] C:\\Windows" + ] + } + ], + "error": null + } + }, + "diagnostic_collection": { + "operating_system": true, + "computer_system": true, + "problem_devices": true, + "component_store": true, + "system_file_check": true, + "recent_system_events": true, + "recent_system_errors": true, + "recent_application_events": true, + "code_integrity": true, + "storage": true, + "defender": true, + "signed_drivers": true, + "system_drivers": true, + "services": true, + "storage_disks": true, + "storage_pnp_devices": true, + "enabled_windows_features": true, + "reliability_records": true, + "minidumps": true, + "driver_store": false, + "filter_drivers": false, + "filter_instances": false, + "upper_filters": false, + "lower_filters": false, + "boot_configuration": false + } +} \ No newline at end of file diff --git a/tests/fixtures/legacy/windiagnostics-v2-partial.json b/tests/fixtures/legacy/windiagnostics-v2-partial.json new file mode 100644 index 0000000..ba5a023 --- /dev/null +++ b/tests/fixtures/legacy/windiagnostics-v2-partial.json @@ -0,0 +1,348 @@ +{ + "schema_version": 2, + "report_type": "windows_system_maintenance", + "mode": "Mid", + "generated_at": "2026-09-15T12:00:00Z", + "host": { + "computer_name": "SYNTHETIC-V2", + "administrator": false + }, + "parameters": { + "event_log_days": 30, + "max_event_errors": 3 + }, + "warnings": [], + "summary": null, + "sections": { + "operating_system": { + "status": "ok", + "count": 0, + "data": [], + "error": null + }, + "computer_system": { + "status": "ok", + "count": 0, + "data": [], + "error": null + }, + "problem_devices": { + "status": "ok", + "count": 0, + "data": [], + "error": null + }, + "component_store": { + "status": "ok", + "count": 0, + "data": [], + "error": null + }, + "system_file_check": { + "status": "skipped", + "count": 0, + "data": [], + "error": null + }, + "recent_system_events": { + "status": "ok", + "count": 3, + "data": [ + { + "TimeCreated": "2026-09-14T12:00:00Z", + "ProviderName": "Synthetic provider", + "Id": 123, + "Level": 2, + "LevelDisplayName": "Localized level", + "Message": "Synthetic Unicode \u00e9 # [test] C:\\Windows" + }, + { + "TimeCreated": "2026-09-14T12:00:00Z", + "ProviderName": "Synthetic provider", + "Id": 123, + "Level": 3, + "LevelDisplayName": "Localized level", + "Message": "Synthetic Unicode \u00e9 # [test] C:\\Windows" + }, + { + "TimeCreated": "2026-09-14T12:00:00Z", + "ProviderName": "Synthetic provider", + "Id": 123, + "Level": 3, + "LevelDisplayName": "Localized level", + "Message": "Synthetic Unicode \u00e9 # [test] C:\\Windows" + } + ], + "error": null, + "limit": 3, + "truncated": false + }, + "recent_system_errors": { + "status": "ok", + "count": 1, + "data": [ + { + "TimeCreated": "2026-09-14T12:00:00Z", + "ProviderName": "Synthetic provider", + "Id": 123, + "Level": 1, + "LevelDisplayName": "Localized level", + "Message": "Synthetic Unicode \u00e9 # [test] C:\\Windows" + } + ], + "error": null + }, + "recent_application_events": { + "status": "ok", + "count": 0, + "data": [], + "error": null, + "limit": 3, + "truncated": true + }, + "code_integrity": { + "status": "unavailable", + "count": 0, + "data": [], + "error": null + }, + "storage": { + "status": "ok", + "count": 1, + "data": [ + { + "storage_health": [ + { + "status": "unavailable", + "error": "Synthetic API failure" + } + ], + "reliability_counters": [ + { + "status": "skipped", + "error": "Synthetic elevation gap" + } + ] + } + ], + "error": null + }, + "defender": { + "status": "ok", + "count": 1, + "data": [ + { + "available": false, + "error": "Synthetic unavailable Defender" + } + ], + "error": null + }, + "signed_drivers": { + "status": "ok", + "count": 1, + "data": [ + { + "Name": null, + "DeviceID": "synthetic", + "State": "Stopped", + "Message": "Synthetic evidence" + } + ], + "error": null + }, + "system_drivers": { + "status": "ok", + "count": 1, + "data": [ + { + "Name": null, + "DeviceID": "synthetic", + "State": "Stopped", + "Message": "Synthetic evidence" + } + ], + "error": null + }, + "services": { + "status": "unexpected", + "count": 1, + "data": [ + { + "Name": null, + "DeviceID": "synthetic", + "State": "Stopped", + "Message": "Synthetic evidence" + } + ], + "error": null + }, + "storage_disks": { + "status": "ok", + "count": 1, + "data": [ + { + "Name": null, + "DeviceID": "synthetic", + "State": "Stopped", + "Message": "Synthetic evidence" + } + ], + "error": null + }, + "storage_pnp_devices": { + "status": "ok", + "count": 1, + "data": [ + { + "Name": null, + "DeviceID": "synthetic", + "State": "Stopped", + "Message": "Synthetic evidence" + } + ], + "error": null + }, + "enabled_windows_features": { + "status": "ok", + "count": 1, + "data": [ + { + "Name": null, + "DeviceID": "synthetic", + "State": "Stopped", + "Message": "Synthetic evidence" + } + ], + "error": null + }, + "reliability_records": { + "status": "ok", + "count": 1, + "data": [ + { + "Name": null, + "DeviceID": "synthetic", + "State": "Stopped", + "Message": "Synthetic evidence" + } + ], + "error": null + }, + "minidumps": { + "status": "ok", + "count": 1, + "data": [ + { + "Name": null, + "DeviceID": "synthetic", + "State": "Stopped", + "Message": "Synthetic evidence" + } + ], + "error": null + }, + "driver_store": { + "status": "unavailable", + "count": 1, + "data": [ + { + "executable": "synthetic.exe", + "arguments": [ + "/test" + ], + "exit_code": null, + "output": [ + "\u00c9chec # [test] C:\\Windows" + ] + } + ], + "error": null + }, + "filter_drivers": { + "status": "unavailable", + "count": 1, + "data": [ + { + "executable": "synthetic.exe", + "arguments": [ + "/test" + ], + "exit_code": 5, + "output": [ + "\u00c9chec # [test] C:\\Windows" + ] + } + ], + "error": null + }, + "filter_instances": { + "status": "unavailable", + "count": 1, + "data": [ + { + "executable": "synthetic.exe", + "arguments": [ + "/test" + ], + "exit_code": 5, + "output": [ + "\u00c9chec # [test] C:\\Windows" + ] + } + ], + "error": null + }, + "upper_filters": { + "status": "unavailable", + "count": 1, + "data": [ + { + "executable": "synthetic.exe", + "arguments": [ + "/test" + ], + "exit_code": 5, + "output": [ + "\u00c9chec # [test] C:\\Windows" + ] + } + ], + "error": null + }, + "lower_filters": { + "status": "unavailable", + "count": 1, + "data": [ + { + "executable": "synthetic.exe", + "arguments": [ + "/test" + ], + "exit_code": 5, + "output": [ + "\u00c9chec # [test] C:\\Windows" + ] + } + ], + "error": null + }, + "boot_configuration": { + "status": "unavailable", + "count": 1, + "data": [ + { + "executable": "synthetic.exe", + "arguments": [ + "/test" + ], + "exit_code": 5, + "output": [ + "\u00c9chec # [test] C:\\Windows" + ] + } + ], + "error": null + } + } +} \ No newline at end of file diff --git a/tests/fixtures/legacy/windiagnostics-watchlist.json b/tests/fixtures/legacy/windiagnostics-watchlist.json new file mode 100644 index 0000000..81feadb --- /dev/null +++ b/tests/fixtures/legacy/windiagnostics-watchlist.json @@ -0,0 +1,403 @@ +{ + "schema_version": 2, + "report_type": "windows_system_maintenance", + "mode": "Full", + "generated_at": "2026-09-15T12:00:00Z", + "host": { + "computer_name": "SYNTHETIC-WATCHLIST", + "administrator": true + }, + "parameters": { + "event_log_days": 30, + "max_event_errors": 3 + }, + "warnings": [], + "summary": null, + "sections": { + "operating_system": { + "status": "ok", + "count": 0, + "data": [], + "error": null + }, + "computer_system": { + "status": "ok", + "count": 0, + "data": [], + "error": null + }, + "problem_devices": { + "status": "ok", + "count": 0, + "data": [], + "error": null + }, + "component_store": { + "status": "ok", + "count": 0, + "data": [], + "error": null + }, + "system_file_check": { + "status": "ok", + "count": 0, + "data": [], + "error": null + }, + "recent_system_events": { + "status": "ok", + "count": 3, + "data": [ + { + "TimeCreated": "2026-09-14T12:00:00Z", + "ProviderName": "Synthetic provider", + "Id": 123, + "Level": 2, + "LevelDisplayName": "Localized level", + "Message": "Synthetic Unicode \u00e9 # [test] C:\\Windows" + }, + { + "TimeCreated": "2026-09-14T12:00:00Z", + "ProviderName": "Synthetic provider", + "Id": 123, + "Level": 3, + "LevelDisplayName": "Localized level", + "Message": "Synthetic Unicode \u00e9 # [test] C:\\Windows" + }, + { + "TimeCreated": "2026-09-14T12:00:00Z", + "ProviderName": "Synthetic provider", + "Id": 123, + "Level": 3, + "LevelDisplayName": "Localized level", + "Message": "Synthetic Unicode \u00e9 # [test] C:\\Windows" + } + ], + "error": null, + "limit": 3, + "truncated": false + }, + "recent_system_errors": { + "status": "ok", + "count": 1, + "data": [ + { + "TimeCreated": "2026-09-14T12:00:00Z", + "ProviderName": "Synthetic provider", + "Id": 123, + "Level": 1, + "LevelDisplayName": "Localized level", + "Message": "Synthetic Unicode \u00e9 # [test] C:\\Windows" + } + ], + "error": null + }, + "recent_application_events": { + "status": "ok", + "count": 0, + "data": [], + "error": null, + "limit": 3, + "truncated": true + }, + "code_integrity": { + "status": "ok", + "count": 1, + "data": [ + { + "TimeCreated": "2026-09-14T12:00:00Z", + "ProviderName": "Synthetic provider", + "Id": 123, + "Level": 4, + "LevelDisplayName": "Localized level", + "Message": "Synthetic Unicode \u00e9 # [test] C:\\Windows" + } + ], + "error": null + }, + "storage": { + "status": "ok", + "count": 1, + "data": [ + { + "storage_health": [ + { + "status": "unavailable", + "error": "Synthetic API failure" + } + ], + "reliability_counters": [ + { + "status": "skipped", + "error": "Synthetic elevation gap" + } + ] + } + ], + "error": null + }, + "defender": { + "status": "ok", + "count": 1, + "data": [ + { + "available": false, + "error": "Synthetic unavailable Defender" + } + ], + "error": null + }, + "signed_drivers": { + "status": "ok", + "count": 1, + "data": [ + { + "Name": null, + "DeviceID": "synthetic", + "State": "Stopped", + "Message": "Synthetic evidence" + } + ], + "error": null + }, + "system_drivers": { + "status": "ok", + "count": 2, + "data": [ + { + "Name": "WinRing0_1_2_0", + "PathName": "C:\\Drivers\\WinRing0x64.sys", + "State": "Stopped" + }, + { + "Name": "dbutil", + "PathName": "C:\\Windows\\Temp\\dbutil_2_3.sys", + "State": "Running" + } + ], + "error": null + }, + "services": { + "status": "ok", + "count": 1, + "data": [ + { + "Name": "NahimicService", + "State": "Running" + } + ], + "error": null + }, + "storage_disks": { + "status": "ok", + "count": 1, + "data": [ + { + "Name": null, + "DeviceID": "synthetic", + "State": "Stopped", + "Message": "Synthetic evidence" + } + ], + "error": null + }, + "storage_pnp_devices": { + "status": "ok", + "count": 1, + "data": [ + { + "Name": null, + "DeviceID": "synthetic", + "State": "Stopped", + "Message": "Synthetic evidence" + } + ], + "error": null + }, + "enabled_windows_features": { + "status": "ok", + "count": 1, + "data": [ + { + "FeatureName": "SMB1Protocol-Client", + "State": 2 + } + ], + "error": null + }, + "reliability_records": { + "status": "ok", + "count": 1, + "data": [ + { + "Name": null, + "DeviceID": "synthetic", + "State": "Stopped", + "Message": "Synthetic evidence" + } + ], + "error": null + }, + "minidumps": { + "status": "ok", + "count": 1, + "data": [ + { + "Name": null, + "DeviceID": "synthetic", + "State": "Stopped", + "Message": "Synthetic evidence" + } + ], + "error": null + }, + "driver_store": { + "status": "unavailable", + "count": 1, + "data": [ + { + "executable": "synthetic.exe", + "arguments": [ + "/test" + ], + "exit_code": 5, + "output": [ + "\u00c9chec # [test] C:\\Windows" + ] + } + ], + "error": null + }, + "filter_drivers": { + "status": "unavailable", + "count": 1, + "data": [ + { + "executable": "synthetic.exe", + "arguments": [ + "/test" + ], + "exit_code": 5, + "output": [ + "\u00c9chec # [test] C:\\Windows" + ] + } + ], + "error": null + }, + "filter_instances": { + "status": "unavailable", + "count": 1, + "data": [ + { + "executable": "synthetic.exe", + "arguments": [ + "/test" + ], + "exit_code": 5, + "output": [ + "\u00c9chec # [test] C:\\Windows" + ] + } + ], + "error": null + }, + "upper_filters": { + "status": "unavailable", + "count": 1, + "data": [ + { + "executable": "synthetic.exe", + "arguments": [ + "/test" + ], + "exit_code": 5, + "output": [ + "\u00c9chec # [test] C:\\Windows" + ] + } + ], + "error": null + }, + "lower_filters": { + "status": "unavailable", + "count": 1, + "data": [ + { + "executable": "synthetic.exe", + "arguments": [ + "/test" + ], + "exit_code": 5, + "output": [ + "\u00c9chec # [test] C:\\Windows" + ] + } + ], + "error": null + }, + "boot_configuration": { + "status": "unavailable", + "count": 1, + "data": [ + { + "executable": "synthetic.exe", + "arguments": [ + "/test" + ], + "exit_code": 5, + "output": [ + "\u00c9chec # [test] C:\\Windows" + ] + } + ], + "error": null + }, + "installed_programs": { + "status": "ok", + "count": 3, + "data": [ + { + "DisplayName": "OBS Studio", + "DisplayVersion": "32.0" + }, + { + "DisplayName": "RivaTuner Statistics Server", + "DisplayVersion": "7.3.7" + }, + { + "DisplayName": "GIGABYTE OC GURU II", + "DisplayVersion": "2.08" + } + ], + "error": null + } + }, + "diagnostic_collection": { + "operating_system": true, + "computer_system": true, + "problem_devices": true, + "component_store": true, + "system_file_check": true, + "recent_system_events": true, + "recent_system_errors": true, + "recent_application_events": true, + "code_integrity": true, + "storage": true, + "defender": true, + "signed_drivers": true, + "system_drivers": true, + "services": true, + "storage_disks": true, + "storage_pnp_devices": true, + "enabled_windows_features": true, + "reliability_records": true, + "minidumps": true, + "driver_store": false, + "filter_drivers": false, + "filter_instances": false, + "upper_filters": false, + "lower_filters": false, + "boot_configuration": false + } +} diff --git a/tests/legacy-baseline.json b/tests/legacy-baseline.json new file mode 100644 index 0000000..3e51c0b --- /dev/null +++ b/tests/legacy-baseline.json @@ -0,0 +1,2043 @@ +{ + "windiagnostics-v1": { + "schema_version": 1, + "mode": "Full", + "collection_incomplete": false, + "analysis_confidence": 90.0, + "health_score": 98.0, + "event_counts": { + "critical": 0, + "error": 1, + "warning": 0, + "information": 0, + "unknown": 0 + }, + "issue_counts": { + "critical": 0, + "warning": 1, + "unanalysed": 0 + }, + "system": { + "os": "Microsoft Windows 11 Pro", + "version": "10.0.26200", + "build": "26200", + "manufacturer": "Test Vendor", + "model": "Test Model", + "cpu": "Test CPU", + "cores": 8, + "threads": 16, + "ram_total_gb": 31.82, + "ram_free_gb": 12.5, + "uptime": "1d 4h 0m" + }, + "findings": [ + { + "severity": "warning", + "title": "Service Control Manager · Event 7000", + "detail": "A configured service or driver failed to start.", + "evidence": "The TestService service failed to start due to the following error: The system cannot find the file specified.", + "event_key": "Service Control Manager/7000", + "remediation": "Identify the named service, verify that its executable path exists, then repair, update, or remove the owning application or driver. Reboot and confirm the service starts without a new Event 7000.", + "resolution_steps": [], + "reference_url": "https://learn.microsoft.com/en-us/troubleshoot/windows-client/setup-upgrade-and-drivers/system-log-event-id-7000-7026", + "reference_label": "Microsoft Event 7000 guidance", + "confidence": 90, + "count": 1, + "weight_factor": 1.0, + "age_days": 0, + "fading": true + } + ], + "event_groups": [ + { + "time": "2026-09-14T15:00:00+02:00", + "id": "7000", + "provider": "Service Control Manager", + "message": "The TestService service failed to start due to the following error: The system cannot find the file specified.", + "log": "System", + "source_section": "recent_system_errors", + "level": 2, + "level_display": "Unknown", + "count": 1, + "messages": [ + "The TestService service failed to start due to the following error: The system cannot find the file specified." + ], + "occurrences": [ + { + "time": "2026-09-14T15:00:00+02:00", + "id": "7000", + "provider": "Service Control Manager", + "message": "The TestService service failed to start due to the following error: The system cannot find the file specified.", + "log": "System", + "source_section": "recent_system_errors", + "level": 2, + "level_display": "Unknown" + } + ], + "severity": "warning", + "rationale": "A configured service or driver failed to start.", + "remediation": "Identify the named service, verify that its executable path exists, then repair, update, or remove the owning application or driver. Reboot and confirm the service starts without a new Event 7000.", + "resolution_steps": [], + "reference_url": "https://learn.microsoft.com/en-us/troubleshoot/windows-client/setup-upgrade-and-drivers/system-log-event-id-7000-7026", + "reference_label": "Microsoft Event 7000 guidance", + "confidence": 90, + "weight_factor": 1.0, + "age_days": 0, + "fading": true, + "display_time": "2026-09-14 13:00:00 UTC" + } + ], + "coverage": [ + { + "section": "operating_system", + "use": "Retained in source; no specific analysis", + "records": 1, + "severity": "info" + }, + { + "section": "computer_system", + "use": "Retained in source; no specific analysis", + "records": 1, + "severity": "info" + }, + { + "section": "cpu", + "use": "Retained in source; no specific analysis", + "records": 1, + "severity": "info" + }, + { + "section": "uptime", + "use": "Retained in source; no specific analysis", + "records": 1, + "severity": "info" + }, + { + "section": "storage", + "use": "Structured health evidence", + "records": 1, + "severity": "info" + }, + { + "section": "installed_programs", + "use": "Inventory count", + "records": 42, + "severity": "info" + }, + { + "section": "appx_packages", + "use": "Inventory count", + "records": 20, + "severity": "info" + }, + { + "section": "automatic_services", + "use": "Inventory count", + "records": 80, + "severity": "info" + }, + { + "section": "signed_drivers", + "use": "Count and selected fields (up to 3 records)", + "records": 150, + "severity": "info" + }, + { + "section": "hotfixes", + "use": "Inventory count", + "records": 12, + "severity": "info" + }, + { + "section": "non_microsoft_scheduled_tasks", + "use": "Inventory count", + "records": 8, + "severity": "info" + }, + { + "section": "startup_programs", + "use": "Inventory count", + "records": 6, + "severity": "info" + }, + { + "section": "active_tcp_listeners", + "use": "Inventory count", + "records": 15, + "severity": "info" + }, + { + "section": "problem_devices", + "use": "Structured health evidence", + "records": 0, + "severity": "info" + }, + { + "section": "firewall_profiles", + "use": "Structured health evidence", + "records": 3, + "severity": "info" + }, + { + "section": "defender", + "use": "Structured health evidence", + "records": 1, + "severity": "info" + }, + { + "section": "battery", + "use": "Structured health evidence", + "records": 0, + "severity": "info" + }, + { + "section": "component_store", + "use": "Structured health evidence", + "records": 1, + "severity": "info" + }, + { + "section": "system_file_check", + "use": "Structured health evidence", + "records": 1, + "severity": "info" + }, + { + "section": "recent_system_errors", + "use": "Grouped by log, provider, ID and Windows level; truncation: unknown; limit: unknown", + "records": 1, + "severity": "info" + }, + { + "section": "recent_application_errors", + "use": "Grouped by log, provider, ID and Windows level; truncation: unknown; limit: unknown", + "records": 0, + "severity": "info" + }, + { + "section": "ip_configuration", + "use": "Retained in source; no specific analysis", + "records": 1, + "severity": "info" + }, + { + "section": "dns_servers", + "use": "Retained in source; no specific analysis", + "records": 1, + "severity": "info" + }, + { + "section": "power_plan", + "use": "Retained in source; no specific analysis", + "records": 1, + "severity": "info" + }, + { + "section": "top_processes_by_memory", + "use": "Retained in source; no specific analysis", + "records": 30, + "severity": "info" + }, + { + "section": "important_directories", + "use": "Retained in source; no specific analysis", + "records": 1, + "severity": "info" + }, + { + "section": "system_drivers", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "services", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "storage_disks", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "storage_pnp_devices", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "driver_store", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "filter_drivers", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "filter_instances", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "upper_filters", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "lower_filters", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "boot_configuration", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "enabled_windows_features", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "reliability_records", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "minidumps", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "bios", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "memory_modules", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "motherboard", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "gpus", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "code_integrity", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + } + ] + }, + "windiagnostics-v2-compact": { + "schema_version": 2, + "mode": "Compact", + "collection_incomplete": true, + "analysis_confidence": 50, + "health_score": 98.0, + "event_counts": { + "critical": 0, + "error": 0, + "warning": 0, + "information": 0, + "unknown": 0 + }, + "issue_counts": { + "critical": 0, + "warning": 5, + "unanalysed": 0 + }, + "system": { + "os": "Unknown", + "version": "Unknown", + "build": "Unknown", + "manufacturer": "Unknown", + "model": "Unknown", + "cpu": "Unknown", + "cores": "?", + "threads": "?", + "ram_total_gb": 16, + "ram_free_gb": 0, + "uptime": "Unanalysed" + }, + "findings": [ + { + "severity": "warning", + "title": "Collector coverage: operating_system", + "detail": "unavailable: Synthetic unavailable check", + "confidence": 100, + "weight_factor": 0 + }, + { + "severity": "warning", + "title": "Collector coverage: computer_system", + "detail": "unavailable: Synthetic unavailable check", + "confidence": 100, + "weight_factor": 0 + }, + { + "severity": "warning", + "title": "Collector coverage: problem_devices", + "detail": "unavailable: Synthetic unavailable check", + "confidence": 100, + "weight_factor": 0 + }, + { + "severity": "warning", + "title": "Collector coverage: installed_programs", + "detail": "unavailable: Synthetic unavailable check", + "confidence": 100, + "weight_factor": 0 + }, + { + "severity": "warning", + "title": "Diagnostic coverage is incomplete", + "detail": "The collector was not elevated. Administrator-only checks, including DISM and SFC, may be skipped and are not evidence of healthy system files.", + "confidence": 100, + "resolution_steps": [ + "Run WinDiagnostics Full from an elevated PowerShell session.", + "Review the new DISM, SFC, and other previously skipped results before closing the investigation." + ] + } + ], + "event_groups": [], + "coverage": [ + { + "section": "summary", + "use": "Compact summary; check individual collection states", + "records": 1, + "severity": "info" + }, + { + "section": "operating_system", + "use": "unavailable: Synthetic unavailable check", + "records": "Unavailable", + "severity": "warning" + }, + { + "section": "computer_system", + "use": "unavailable: Synthetic unavailable check", + "records": "Unavailable", + "severity": "warning" + }, + { + "section": "problem_devices", + "use": "unavailable: Synthetic unavailable check", + "records": "Unavailable", + "severity": "warning" + }, + { + "section": "installed_programs", + "use": "unavailable: Synthetic unavailable check", + "records": "Unavailable", + "severity": "warning" + } + ] + }, + "windiagnostics-v2-full": { + "schema_version": 2, + "mode": "Full", + "collection_incomplete": true, + "analysis_confidence": 50, + "health_score": 98.0, + "event_counts": { + "critical": 0, + "error": 1, + "warning": 2, + "information": 1, + "unknown": 0 + }, + "issue_counts": { + "critical": 0, + "warning": 6, + "unanalysed": 2 + }, + "system": { + "os": "Unknown", + "version": "Unknown", + "build": "Unknown", + "manufacturer": "Unknown", + "model": "Unknown", + "cpu": "Unknown", + "cores": "?", + "threads": "?", + "ram_total_gb": 0, + "ram_free_gb": 0, + "uptime": "Unanalysed" + }, + "findings": [ + { + "severity": "warning", + "title": "Collector coverage: driver_store", + "detail": "unavailable: No result collected", + "confidence": 100, + "weight_factor": 0 + }, + { + "severity": "warning", + "title": "Collector coverage: filter_drivers", + "detail": "unavailable: No result collected", + "confidence": 100, + "weight_factor": 0 + }, + { + "severity": "warning", + "title": "Collector coverage: filter_instances", + "detail": "unavailable: No result collected", + "confidence": 100, + "weight_factor": 0 + }, + { + "severity": "warning", + "title": "Collector coverage: upper_filters", + "detail": "unavailable: No result collected", + "confidence": 100, + "weight_factor": 0 + }, + { + "severity": "warning", + "title": "Collector coverage: lower_filters", + "detail": "unavailable: No result collected", + "confidence": 100, + "weight_factor": 0 + }, + { + "severity": "warning", + "title": "Collector coverage: boot_configuration", + "detail": "unavailable: No result collected", + "confidence": 100, + "weight_factor": 0 + }, + { + "severity": "unanalysed", + "title": "Synthetic provider · Event 123", + "detail": "No reviewed interpretation is available for this event.", + "evidence": "Synthetic Unicode é # [test] C:\\Windows", + "event_key": "Synthetic provider/123", + "remediation": "Add a reviewed provider/ID rule before attempting cleanup.", + "resolution_steps": [ + "Review the raw event and add a rule to config/diagnostics-rules.yaml.", + "Re-run the report after the rule has been reviewed." + ], + "reference_url": "", + "reference_label": "", + "confidence": 20, + "count": 1, + "weight_factor": 1.0, + "age_days": null, + "fading": false + }, + { + "severity": "unanalysed", + "title": "Synthetic provider · Event 123", + "detail": "No reviewed interpretation is available for this event.", + "evidence": "Synthetic Unicode é # [test] C:\\Windows", + "event_key": "Synthetic provider/123", + "remediation": "Add a reviewed provider/ID rule before attempting cleanup.", + "resolution_steps": [ + "Review the raw event and add a rule to config/diagnostics-rules.yaml.", + "Re-run the report after the rule has been reviewed." + ], + "reference_url": "", + "reference_label": "", + "confidence": 20, + "count": 2, + "weight_factor": 1.0, + "age_days": null, + "fading": false + } + ], + "event_groups": [ + { + "time": "2026-09-14T12:00:00Z", + "id": "123", + "provider": "Synthetic provider", + "message": "Synthetic Unicode é # [test] C:\\Windows", + "log": "System", + "source_section": "recent_system_events", + "level": 2, + "level_display": "Localized level", + "count": 1, + "messages": [ + "Synthetic Unicode é # [test] C:\\Windows" + ], + "occurrences": [ + { + "time": "2026-09-14T12:00:00Z", + "id": "123", + "provider": "Synthetic provider", + "message": "Synthetic Unicode é # [test] C:\\Windows", + "log": "System", + "source_section": "recent_system_events", + "level": 2, + "level_display": "Localized level" + } + ], + "severity": "unanalysed", + "rationale": "No reviewed interpretation is available for this event.", + "remediation": "Add a reviewed provider/ID rule before attempting cleanup.", + "resolution_steps": [ + "Review the raw event and add a rule to config/diagnostics-rules.yaml.", + "Re-run the report after the rule has been reviewed." + ], + "reference_url": "", + "reference_label": "", + "confidence": 20, + "weight_factor": 1.0, + "age_days": null, + "fading": false, + "display_time": "2026-09-14 12:00:00 UTC" + }, + { + "time": "2026-09-14T12:00:00Z", + "id": "123", + "provider": "Synthetic provider", + "message": "Synthetic Unicode é # [test] C:\\Windows", + "log": "System", + "source_section": "recent_system_events", + "level": 3, + "level_display": "Localized level", + "count": 2, + "messages": [ + "Synthetic Unicode é # [test] C:\\Windows" + ], + "occurrences": [ + { + "time": "2026-09-14T12:00:00Z", + "id": "123", + "provider": "Synthetic provider", + "message": "Synthetic Unicode é # [test] C:\\Windows", + "log": "System", + "source_section": "recent_system_events", + "level": 3, + "level_display": "Localized level" + }, + { + "time": "2026-09-14T12:00:00Z", + "id": "123", + "provider": "Synthetic provider", + "message": "Synthetic Unicode é # [test] C:\\Windows", + "log": "System", + "source_section": "recent_system_events", + "level": 3, + "level_display": "Localized level" + } + ], + "severity": "unanalysed", + "rationale": "No reviewed interpretation is available for this event.", + "remediation": "Add a reviewed provider/ID rule before attempting cleanup.", + "resolution_steps": [ + "Review the raw event and add a rule to config/diagnostics-rules.yaml.", + "Re-run the report after the rule has been reviewed." + ], + "reference_url": "", + "reference_label": "", + "confidence": 20, + "weight_factor": 1.0, + "age_days": null, + "fading": false, + "display_time": "2026-09-14 12:00:00 UTC" + }, + { + "time": "2026-09-14T12:00:00Z", + "id": "123", + "provider": "Synthetic provider", + "message": "Synthetic Unicode é # [test] C:\\Windows", + "log": "Code Integrity", + "source_section": "code_integrity", + "level": 4, + "level_display": "Localized level", + "count": 1, + "messages": [ + "Synthetic Unicode é # [test] C:\\Windows" + ], + "occurrences": [ + { + "time": "2026-09-14T12:00:00Z", + "id": "123", + "provider": "Synthetic provider", + "message": "Synthetic Unicode é # [test] C:\\Windows", + "log": "Code Integrity", + "source_section": "code_integrity", + "level": 4, + "level_display": "Localized level" + } + ], + "severity": "info", + "rationale": "Informational record retained without a reviewed interpretation; no fault inferred.", + "remediation": "Add a reviewed provider/ID rule before attempting cleanup.", + "resolution_steps": [ + "Review the raw event and add a rule to config/diagnostics-rules.yaml.", + "Re-run the report after the rule has been reviewed." + ], + "reference_url": "", + "reference_label": "", + "confidence": 20, + "weight_factor": 1.0, + "age_days": null, + "fading": false, + "display_time": "2026-09-14 12:00:00 UTC" + } + ], + "coverage": [ + { + "section": "operating_system", + "use": "Retained in source; no specific analysis", + "records": 0, + "severity": "info" + }, + { + "section": "computer_system", + "use": "Retained in source; no specific analysis", + "records": 0, + "severity": "info" + }, + { + "section": "problem_devices", + "use": "Structured health evidence", + "records": 0, + "severity": "info" + }, + { + "section": "component_store", + "use": "Structured health evidence", + "records": 0, + "severity": "info" + }, + { + "section": "system_file_check", + "use": "Structured health evidence", + "records": 0, + "severity": "info" + }, + { + "section": "recent_system_events", + "use": "Grouped by log, provider, ID and Windows level; truncation: no; limit: 3", + "records": 3, + "severity": "info" + }, + { + "section": "recent_system_errors", + "use": "Retained in source; no specific analysis", + "records": 1, + "severity": "info" + }, + { + "section": "recent_application_events", + "use": "Grouped by log, provider, ID and Windows level; truncation: yes; records omitted; limit: 3", + "records": 0, + "severity": "info" + }, + { + "section": "code_integrity", + "use": "Grouped by log, provider, ID and Windows level; truncation: unknown; limit: unknown", + "records": 1, + "severity": "info" + }, + { + "section": "storage", + "use": "Structured health evidence", + "records": 1, + "severity": "info" + }, + { + "section": "defender", + "use": "Structured health evidence", + "records": 1, + "severity": "info" + }, + { + "section": "signed_drivers", + "use": "Count and selected fields (up to 3 records)", + "records": 1, + "severity": "info" + }, + { + "section": "system_drivers", + "use": "Count and watchlist review; full records in source", + "records": 1, + "severity": "info" + }, + { + "section": "services", + "use": "Count and watchlist review; full records in source", + "records": 1, + "severity": "info" + }, + { + "section": "storage_disks", + "use": "Count and selected fields (up to 3 records)", + "records": 1, + "severity": "info" + }, + { + "section": "storage_pnp_devices", + "use": "Count and watchlist review; full records in source", + "records": 1, + "severity": "info" + }, + { + "section": "enabled_windows_features", + "use": "Count and selected fields (up to 3 records)", + "records": 1, + "severity": "info" + }, + { + "section": "reliability_records", + "use": "Reviewed failure events; successful updates omitted", + "records": 1, + "severity": "info" + }, + { + "section": "minidumps", + "use": "Count and selected fields (up to 3 records)", + "records": 1, + "severity": "info" + }, + { + "section": "driver_store", + "use": "unavailable: No verified result", + "records": "Unavailable", + "severity": "warning" + }, + { + "section": "filter_drivers", + "use": "unavailable: No verified result", + "records": "Unavailable", + "severity": "warning" + }, + { + "section": "filter_instances", + "use": "unavailable: No verified result", + "records": "Unavailable", + "severity": "warning" + }, + { + "section": "upper_filters", + "use": "unavailable: No verified result", + "records": "Unavailable", + "severity": "warning" + }, + { + "section": "lower_filters", + "use": "unavailable: No verified result", + "records": "Unavailable", + "severity": "warning" + }, + { + "section": "boot_configuration", + "use": "unavailable: No verified result", + "records": "Unavailable", + "severity": "warning" + }, + { + "section": "storage.storage_health", + "use": "unavailable: Synthetic API failure", + "records": "Unavailable", + "severity": "warning" + }, + { + "section": "storage.reliability_counters", + "use": "skipped: Synthetic elevation gap", + "records": "Unavailable", + "severity": "warning" + }, + { + "section": "defender", + "use": "unavailable: Synthetic unavailable Defender", + "records": "Unavailable", + "severity": "warning" + }, + { + "section": "installed_programs", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "appx_packages", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "automatic_services", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "hotfixes", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "non_microsoft_scheduled_tasks", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "startup_programs", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "active_tcp_listeners", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "bios", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "cpu", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "memory_modules", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "motherboard", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "gpus", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + } + ] + }, + "windiagnostics-v2-partial": { + "schema_version": 2, + "mode": "Mid", + "collection_incomplete": true, + "analysis_confidence": 50, + "health_score": 96.0, + "event_counts": { + "critical": 0, + "error": 1, + "warning": 2, + "information": 0, + "unknown": 0 + }, + "issue_counts": { + "critical": 0, + "warning": 10, + "unanalysed": 2 + }, + "system": { + "os": "Unknown", + "version": "Unknown", + "build": "Unknown", + "manufacturer": "Unknown", + "model": "Unknown", + "cpu": "Unknown", + "cores": "?", + "threads": "?", + "ram_total_gb": 0, + "ram_free_gb": 0, + "uptime": "Unanalysed" + }, + "findings": [ + { + "severity": "warning", + "title": "Collector coverage: system_file_check", + "detail": "skipped: No result collected", + "confidence": 100, + "weight_factor": 0 + }, + { + "severity": "warning", + "title": "Collector coverage: code_integrity", + "detail": "unavailable: No result collected", + "confidence": 100, + "weight_factor": 0 + }, + { + "severity": "warning", + "title": "Collector coverage: services", + "detail": "unexpected: No result collected", + "confidence": 100, + "weight_factor": 0 + }, + { + "severity": "warning", + "title": "Collector coverage: driver_store", + "detail": "unavailable: No result collected", + "confidence": 100, + "weight_factor": 0 + }, + { + "severity": "warning", + "title": "Collector coverage: filter_drivers", + "detail": "unavailable: No result collected", + "confidence": 100, + "weight_factor": 0 + }, + { + "severity": "warning", + "title": "Collector coverage: filter_instances", + "detail": "unavailable: No result collected", + "confidence": 100, + "weight_factor": 0 + }, + { + "severity": "warning", + "title": "Collector coverage: upper_filters", + "detail": "unavailable: No result collected", + "confidence": 100, + "weight_factor": 0 + }, + { + "severity": "warning", + "title": "Collector coverage: lower_filters", + "detail": "unavailable: No result collected", + "confidence": 100, + "weight_factor": 0 + }, + { + "severity": "warning", + "title": "Collector coverage: boot_configuration", + "detail": "unavailable: No result collected", + "confidence": 100, + "weight_factor": 0 + }, + { + "severity": "warning", + "title": "Diagnostic coverage is incomplete", + "detail": "The collector was not elevated. Administrator-only checks, including DISM and SFC, may be skipped and are not evidence of healthy system files.", + "confidence": 100, + "resolution_steps": [ + "Run WinDiagnostics Full from an elevated PowerShell session.", + "Review the new DISM, SFC, and other previously skipped results before closing the investigation." + ] + }, + { + "severity": "unanalysed", + "title": "Synthetic provider · Event 123", + "detail": "No reviewed interpretation is available for this event.", + "evidence": "Synthetic Unicode é # [test] C:\\Windows", + "event_key": "Synthetic provider/123", + "remediation": "Add a reviewed provider/ID rule before attempting cleanup.", + "resolution_steps": [ + "Review the raw event and add a rule to config/diagnostics-rules.yaml.", + "Re-run the report after the rule has been reviewed." + ], + "reference_url": "", + "reference_label": "", + "confidence": 20, + "count": 1, + "weight_factor": 1.0, + "age_days": null, + "fading": false + }, + { + "severity": "unanalysed", + "title": "Synthetic provider · Event 123", + "detail": "No reviewed interpretation is available for this event.", + "evidence": "Synthetic Unicode é # [test] C:\\Windows", + "event_key": "Synthetic provider/123", + "remediation": "Add a reviewed provider/ID rule before attempting cleanup.", + "resolution_steps": [ + "Review the raw event and add a rule to config/diagnostics-rules.yaml.", + "Re-run the report after the rule has been reviewed." + ], + "reference_url": "", + "reference_label": "", + "confidence": 20, + "count": 2, + "weight_factor": 1.0, + "age_days": null, + "fading": false + } + ], + "event_groups": [ + { + "time": "2026-09-14T12:00:00Z", + "id": "123", + "provider": "Synthetic provider", + "message": "Synthetic Unicode é # [test] C:\\Windows", + "log": "System", + "source_section": "recent_system_events", + "level": 2, + "level_display": "Localized level", + "count": 1, + "messages": [ + "Synthetic Unicode é # [test] C:\\Windows" + ], + "occurrences": [ + { + "time": "2026-09-14T12:00:00Z", + "id": "123", + "provider": "Synthetic provider", + "message": "Synthetic Unicode é # [test] C:\\Windows", + "log": "System", + "source_section": "recent_system_events", + "level": 2, + "level_display": "Localized level" + } + ], + "severity": "unanalysed", + "rationale": "No reviewed interpretation is available for this event.", + "remediation": "Add a reviewed provider/ID rule before attempting cleanup.", + "resolution_steps": [ + "Review the raw event and add a rule to config/diagnostics-rules.yaml.", + "Re-run the report after the rule has been reviewed." + ], + "reference_url": "", + "reference_label": "", + "confidence": 20, + "weight_factor": 1.0, + "age_days": null, + "fading": false, + "display_time": "2026-09-14 12:00:00 UTC" + }, + { + "time": "2026-09-14T12:00:00Z", + "id": "123", + "provider": "Synthetic provider", + "message": "Synthetic Unicode é # [test] C:\\Windows", + "log": "System", + "source_section": "recent_system_events", + "level": 3, + "level_display": "Localized level", + "count": 2, + "messages": [ + "Synthetic Unicode é # [test] C:\\Windows" + ], + "occurrences": [ + { + "time": "2026-09-14T12:00:00Z", + "id": "123", + "provider": "Synthetic provider", + "message": "Synthetic Unicode é # [test] C:\\Windows", + "log": "System", + "source_section": "recent_system_events", + "level": 3, + "level_display": "Localized level" + }, + { + "time": "2026-09-14T12:00:00Z", + "id": "123", + "provider": "Synthetic provider", + "message": "Synthetic Unicode é # [test] C:\\Windows", + "log": "System", + "source_section": "recent_system_events", + "level": 3, + "level_display": "Localized level" + } + ], + "severity": "unanalysed", + "rationale": "No reviewed interpretation is available for this event.", + "remediation": "Add a reviewed provider/ID rule before attempting cleanup.", + "resolution_steps": [ + "Review the raw event and add a rule to config/diagnostics-rules.yaml.", + "Re-run the report after the rule has been reviewed." + ], + "reference_url": "", + "reference_label": "", + "confidence": 20, + "weight_factor": 1.0, + "age_days": null, + "fading": false, + "display_time": "2026-09-14 12:00:00 UTC" + } + ], + "coverage": [ + { + "section": "operating_system", + "use": "Retained in source; no specific analysis", + "records": 0, + "severity": "info" + }, + { + "section": "computer_system", + "use": "Retained in source; no specific analysis", + "records": 0, + "severity": "info" + }, + { + "section": "problem_devices", + "use": "Structured health evidence", + "records": 0, + "severity": "info" + }, + { + "section": "component_store", + "use": "Structured health evidence", + "records": 0, + "severity": "info" + }, + { + "section": "system_file_check", + "use": "skipped: No verified result", + "records": "Unavailable", + "severity": "warning" + }, + { + "section": "recent_system_events", + "use": "Grouped by log, provider, ID and Windows level; truncation: no; limit: 3", + "records": 3, + "severity": "info" + }, + { + "section": "recent_system_errors", + "use": "Retained in source; no specific analysis", + "records": 1, + "severity": "info" + }, + { + "section": "recent_application_events", + "use": "Grouped by log, provider, ID and Windows level; truncation: yes; records omitted; limit: 3", + "records": 0, + "severity": "info" + }, + { + "section": "code_integrity", + "use": "unavailable: No verified result; truncation: unknown; limit: unknown", + "records": "Unavailable", + "severity": "warning" + }, + { + "section": "storage", + "use": "Structured health evidence", + "records": 1, + "severity": "info" + }, + { + "section": "defender", + "use": "Structured health evidence", + "records": 1, + "severity": "info" + }, + { + "section": "signed_drivers", + "use": "Count and selected fields (up to 3 records)", + "records": 1, + "severity": "info" + }, + { + "section": "system_drivers", + "use": "Count and watchlist review; full records in source", + "records": 1, + "severity": "info" + }, + { + "section": "services", + "use": "unexpected: No verified result", + "records": "Unavailable", + "severity": "warning" + }, + { + "section": "storage_disks", + "use": "Count and selected fields (up to 3 records)", + "records": 1, + "severity": "info" + }, + { + "section": "storage_pnp_devices", + "use": "Count and watchlist review; full records in source", + "records": 1, + "severity": "info" + }, + { + "section": "enabled_windows_features", + "use": "Count and selected fields (up to 3 records)", + "records": 1, + "severity": "info" + }, + { + "section": "reliability_records", + "use": "Reviewed failure events; successful updates omitted", + "records": 1, + "severity": "info" + }, + { + "section": "minidumps", + "use": "Count and selected fields (up to 3 records)", + "records": 1, + "severity": "info" + }, + { + "section": "driver_store", + "use": "unavailable: No verified result", + "records": "Unavailable", + "severity": "warning" + }, + { + "section": "filter_drivers", + "use": "unavailable: No verified result", + "records": "Unavailable", + "severity": "warning" + }, + { + "section": "filter_instances", + "use": "unavailable: No verified result", + "records": "Unavailable", + "severity": "warning" + }, + { + "section": "upper_filters", + "use": "unavailable: No verified result", + "records": "Unavailable", + "severity": "warning" + }, + { + "section": "lower_filters", + "use": "unavailable: No verified result", + "records": "Unavailable", + "severity": "warning" + }, + { + "section": "boot_configuration", + "use": "unavailable: No verified result", + "records": "Unavailable", + "severity": "warning" + }, + { + "section": "storage.storage_health", + "use": "unavailable: Synthetic API failure", + "records": "Unavailable", + "severity": "warning" + }, + { + "section": "storage.reliability_counters", + "use": "skipped: Synthetic elevation gap", + "records": "Unavailable", + "severity": "warning" + }, + { + "section": "defender", + "use": "unavailable: Synthetic unavailable Defender", + "records": "Unavailable", + "severity": "warning" + }, + { + "section": "installed_programs", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "appx_packages", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "automatic_services", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "hotfixes", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "non_microsoft_scheduled_tasks", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "startup_programs", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "active_tcp_listeners", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "bios", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "cpu", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "memory_modules", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "motherboard", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "gpus", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + } + ] + }, + "windiagnostics-watchlist": { + "schema_version": 2, + "mode": "Full", + "collection_incomplete": true, + "analysis_confidence": 50, + "health_score": 98.0, + "event_counts": { + "critical": 0, + "error": 1, + "warning": 2, + "information": 1, + "unknown": 0 + }, + "issue_counts": { + "critical": 0, + "warning": 12, + "unanalysed": 2 + }, + "system": { + "os": "Unknown", + "version": "Unknown", + "build": "Unknown", + "manufacturer": "Unknown", + "model": "Unknown", + "cpu": "Unknown", + "cores": "?", + "threads": "?", + "ram_total_gb": 0, + "ram_free_gb": 0, + "uptime": "Unanalysed" + }, + "findings": [ + { + "severity": "warning", + "title": "Collector coverage: driver_store", + "detail": "unavailable: No result collected", + "confidence": 100, + "weight_factor": 0 + }, + { + "severity": "warning", + "title": "Collector coverage: filter_drivers", + "detail": "unavailable: No result collected", + "confidence": 100, + "weight_factor": 0 + }, + { + "severity": "warning", + "title": "Collector coverage: filter_instances", + "detail": "unavailable: No result collected", + "confidence": 100, + "weight_factor": 0 + }, + { + "severity": "warning", + "title": "Collector coverage: upper_filters", + "detail": "unavailable: No result collected", + "confidence": 100, + "weight_factor": 0 + }, + { + "severity": "warning", + "title": "Collector coverage: lower_filters", + "detail": "unavailable: No result collected", + "confidence": 100, + "weight_factor": 0 + }, + { + "severity": "warning", + "title": "Collector coverage: boot_configuration", + "detail": "unavailable: No result collected", + "confidence": 100, + "weight_factor": 0 + }, + { + "severity": "warning", + "title": "WinRing0 low-level driver: documented vulnerability", + "watch_id": "winring0", + "detail": "Microsoft documents WinRing0 as vulnerable. The filename is a candidate match; this inventory cannot verify the binary hash or whether it was exploited. Evidence: system_drivers / C:\\Drivers\\WinRing0x64.sys (version Unknown; state Stopped).", + "confidence": 85, + "weight_factor": 0, + "resolution_steps": [ + "Identify the owning hardware utility and obtain its supported replacement driver. Check Microsoft Defender and the vendor advisory; retain driver blocking." + ], + "reference_url": "https://support.microsoft.com/en-us/windows/security/threat-malware-protection/microsoft-defender-antivirus-alert-vulnerabledriver-winnt-winring0", + "reference_label": "Known-issue advisory", + "matched_records": [ + { + "section": "system_drivers", + "identity": "C:\\Drivers\\WinRing0x64.sys", + "version": "Unknown", + "state": "Stopped" + } + ] + }, + { + "severity": "warning", + "title": "Dell dbutil_2_3 driver: CVE-2021-21551 candidate", + "watch_id": "dell-dbutil", + "detail": "Dell documents an access-control vulnerability in dbutil_2_3.sys. File identity and remediation state still need verification; this is not proof of exploitation. Evidence: system_drivers / C:\\Windows\\Temp\\dbutil_2_3.sys (version Unknown; state Running).", + "confidence": 85, + "weight_factor": 0, + "resolution_steps": [ + "Use Dell DSA-2021-088 guidance to verify and remediate the utility driver and its owning update tools." + ], + "reference_url": "https://www.dell.com/support/kbdoc/en-us/000186020/additional-information-regarding-dsa-2021-088-dell-client-platform-security-update-for-an-insufficient-access-control-vulnerability-in-the-dell-dbutil-driver", + "reference_label": "Known-issue advisory", + "matched_records": [ + { + "section": "system_drivers", + "identity": "C:\\Windows\\Temp\\dbutil_2_3.sys", + "version": "Unknown", + "state": "Running" + } + ] + }, + { + "severity": "warning", + "title": "GIGABYTE OC GURU II 2.08: documented driver vulnerability", + "watch_id": "gigabyte-oc-guru", + "detail": "The vendor lists this exact software version as affected by low-level driver vulnerabilities. Other versions are not inferred to be affected. Evidence: installed_programs / GIGABYTE OC GURU II (version 2.08; state Unknown).", + "confidence": 85, + "weight_factor": 0, + "resolution_steps": [ + "Follow the vendor advisory for a supported replacement or removal of the affected utility." + ], + "reference_url": "https://www.gigabyte.com/uk/Support/Security/1801", + "reference_label": "Known-issue advisory", + "matched_records": [ + { + "section": "installed_programs", + "identity": "GIGABYTE OC GURU II", + "version": "2.08", + "state": "Unknown" + } + ] + }, + { + "severity": "warning", + "title": "OBS and overlay tools: documented capture conflict", + "watch_id": "obs-overlay", + "detail": "OBS lists these overlay tools as possible hook conflicts. Co-installation does not prove simultaneous use or a current capture failure. Evidence: installed_programs / RivaTuner Statistics Server (version 7.3.7; state Unknown).", + "confidence": 85, + "weight_factor": 0, + "resolution_steps": [ + "If capture fails, test with the overlay closed or disabled. RTSS 7.3.2 and newer offer the Microsoft Detours API hooking compatibility option." + ], + "reference_url": "https://obsproject.com/kb/game-capture-troubleshooting", + "reference_label": "Known-issue advisory", + "matched_records": [ + { + "section": "installed_programs", + "identity": "RivaTuner Statistics Server", + "version": "7.3.7", + "state": "Unknown" + } + ] + }, + { + "severity": "warning", + "title": "OBS and audio enhancement software: documented conflict", + "watch_id": "obs-audio-hooks", + "detail": "OBS lists Nahimic and Sonic Radar among applications that can interfere with it. Installation alone does not establish that a conflict is active. Evidence: services / NahimicService (version Unknown; state Running).", + "confidence": 85, + "weight_factor": 0, + "resolution_steps": [ + "For reproducible OBS problems, test with the relevant enhancement software closed, using its supported controls." + ], + "reference_url": "https://obsproject.com/kb/known-conflicts", + "reference_label": "Known-issue advisory", + "matched_records": [ + { + "section": "services", + "identity": "NahimicService", + "version": "Unknown", + "state": "Running" + } + ] + }, + { + "severity": "warning", + "title": "SMBv1 enabled: documented security risk", + "watch_id": "smb1", + "detail": "Microsoft documents significant security vulnerabilities in SMBv1. This warning concerns the enabled protocol, not its age or evidence of an attack. Evidence: enabled_windows_features / SMB1Protocol-Client (version Unknown; state 2).", + "confidence": 85, + "weight_factor": 0, + "resolution_steps": [ + "Identify legacy dependencies and migrate them to SMB2/3 before disabling SMBv1 through supported Windows feature management." + ], + "reference_url": "https://learn.microsoft.com/en-us/windows-server/storage/file-server/troubleshoot/detect-enable-and-disable-smbv1-v2-v3", + "reference_label": "Known-issue advisory", + "matched_records": [ + { + "section": "enabled_windows_features", + "identity": "SMB1Protocol-Client", + "version": "Unknown", + "state": "2" + } + ] + }, + { + "severity": "unanalysed", + "title": "Synthetic provider · Event 123", + "detail": "No reviewed interpretation is available for this event.", + "evidence": "Synthetic Unicode é # [test] C:\\Windows", + "event_key": "Synthetic provider/123", + "remediation": "Add a reviewed provider/ID rule before attempting cleanup.", + "resolution_steps": [ + "Review the raw event and add a rule to config/diagnostics-rules.yaml.", + "Re-run the report after the rule has been reviewed." + ], + "reference_url": "", + "reference_label": "", + "confidence": 20, + "count": 1, + "weight_factor": 1.0, + "age_days": null, + "fading": false + }, + { + "severity": "unanalysed", + "title": "Synthetic provider · Event 123", + "detail": "No reviewed interpretation is available for this event.", + "evidence": "Synthetic Unicode é # [test] C:\\Windows", + "event_key": "Synthetic provider/123", + "remediation": "Add a reviewed provider/ID rule before attempting cleanup.", + "resolution_steps": [ + "Review the raw event and add a rule to config/diagnostics-rules.yaml.", + "Re-run the report after the rule has been reviewed." + ], + "reference_url": "", + "reference_label": "", + "confidence": 20, + "count": 2, + "weight_factor": 1.0, + "age_days": null, + "fading": false + } + ], + "event_groups": [ + { + "time": "2026-09-14T12:00:00Z", + "id": "123", + "provider": "Synthetic provider", + "message": "Synthetic Unicode é # [test] C:\\Windows", + "log": "System", + "source_section": "recent_system_events", + "level": 2, + "level_display": "Localized level", + "count": 1, + "messages": [ + "Synthetic Unicode é # [test] C:\\Windows" + ], + "occurrences": [ + { + "time": "2026-09-14T12:00:00Z", + "id": "123", + "provider": "Synthetic provider", + "message": "Synthetic Unicode é # [test] C:\\Windows", + "log": "System", + "source_section": "recent_system_events", + "level": 2, + "level_display": "Localized level" + } + ], + "severity": "unanalysed", + "rationale": "No reviewed interpretation is available for this event.", + "remediation": "Add a reviewed provider/ID rule before attempting cleanup.", + "resolution_steps": [ + "Review the raw event and add a rule to config/diagnostics-rules.yaml.", + "Re-run the report after the rule has been reviewed." + ], + "reference_url": "", + "reference_label": "", + "confidence": 20, + "weight_factor": 1.0, + "age_days": null, + "fading": false, + "display_time": "2026-09-14 12:00:00 UTC" + }, + { + "time": "2026-09-14T12:00:00Z", + "id": "123", + "provider": "Synthetic provider", + "message": "Synthetic Unicode é # [test] C:\\Windows", + "log": "System", + "source_section": "recent_system_events", + "level": 3, + "level_display": "Localized level", + "count": 2, + "messages": [ + "Synthetic Unicode é # [test] C:\\Windows" + ], + "occurrences": [ + { + "time": "2026-09-14T12:00:00Z", + "id": "123", + "provider": "Synthetic provider", + "message": "Synthetic Unicode é # [test] C:\\Windows", + "log": "System", + "source_section": "recent_system_events", + "level": 3, + "level_display": "Localized level" + }, + { + "time": "2026-09-14T12:00:00Z", + "id": "123", + "provider": "Synthetic provider", + "message": "Synthetic Unicode é # [test] C:\\Windows", + "log": "System", + "source_section": "recent_system_events", + "level": 3, + "level_display": "Localized level" + } + ], + "severity": "unanalysed", + "rationale": "No reviewed interpretation is available for this event.", + "remediation": "Add a reviewed provider/ID rule before attempting cleanup.", + "resolution_steps": [ + "Review the raw event and add a rule to config/diagnostics-rules.yaml.", + "Re-run the report after the rule has been reviewed." + ], + "reference_url": "", + "reference_label": "", + "confidence": 20, + "weight_factor": 1.0, + "age_days": null, + "fading": false, + "display_time": "2026-09-14 12:00:00 UTC" + }, + { + "time": "2026-09-14T12:00:00Z", + "id": "123", + "provider": "Synthetic provider", + "message": "Synthetic Unicode é # [test] C:\\Windows", + "log": "Code Integrity", + "source_section": "code_integrity", + "level": 4, + "level_display": "Localized level", + "count": 1, + "messages": [ + "Synthetic Unicode é # [test] C:\\Windows" + ], + "occurrences": [ + { + "time": "2026-09-14T12:00:00Z", + "id": "123", + "provider": "Synthetic provider", + "message": "Synthetic Unicode é # [test] C:\\Windows", + "log": "Code Integrity", + "source_section": "code_integrity", + "level": 4, + "level_display": "Localized level" + } + ], + "severity": "info", + "rationale": "Informational record retained without a reviewed interpretation; no fault inferred.", + "remediation": "Add a reviewed provider/ID rule before attempting cleanup.", + "resolution_steps": [ + "Review the raw event and add a rule to config/diagnostics-rules.yaml.", + "Re-run the report after the rule has been reviewed." + ], + "reference_url": "", + "reference_label": "", + "confidence": 20, + "weight_factor": 1.0, + "age_days": null, + "fading": false, + "display_time": "2026-09-14 12:00:00 UTC" + } + ], + "coverage": [ + { + "section": "operating_system", + "use": "Retained in source; no specific analysis", + "records": 0, + "severity": "info" + }, + { + "section": "computer_system", + "use": "Retained in source; no specific analysis", + "records": 0, + "severity": "info" + }, + { + "section": "problem_devices", + "use": "Structured health evidence", + "records": 0, + "severity": "info" + }, + { + "section": "component_store", + "use": "Structured health evidence", + "records": 0, + "severity": "info" + }, + { + "section": "system_file_check", + "use": "Structured health evidence", + "records": 0, + "severity": "info" + }, + { + "section": "recent_system_events", + "use": "Grouped by log, provider, ID and Windows level; truncation: no; limit: 3", + "records": 3, + "severity": "info" + }, + { + "section": "recent_system_errors", + "use": "Retained in source; no specific analysis", + "records": 1, + "severity": "info" + }, + { + "section": "recent_application_events", + "use": "Grouped by log, provider, ID and Windows level; truncation: yes; records omitted; limit: 3", + "records": 0, + "severity": "info" + }, + { + "section": "code_integrity", + "use": "Grouped by log, provider, ID and Windows level; truncation: unknown; limit: unknown", + "records": 1, + "severity": "info" + }, + { + "section": "storage", + "use": "Structured health evidence", + "records": 1, + "severity": "info" + }, + { + "section": "defender", + "use": "Structured health evidence", + "records": 1, + "severity": "info" + }, + { + "section": "signed_drivers", + "use": "Count and selected fields (up to 3 records)", + "records": 1, + "severity": "info" + }, + { + "section": "system_drivers", + "use": "Count and watchlist review; full records in source", + "records": 2, + "severity": "info" + }, + { + "section": "services", + "use": "Count and watchlist review; full records in source", + "records": 1, + "severity": "info" + }, + { + "section": "storage_disks", + "use": "Count and selected fields (up to 3 records)", + "records": 1, + "severity": "info" + }, + { + "section": "storage_pnp_devices", + "use": "Count and watchlist review; full records in source", + "records": 1, + "severity": "info" + }, + { + "section": "enabled_windows_features", + "use": "Count and selected fields (up to 3 records)", + "records": 1, + "severity": "info" + }, + { + "section": "reliability_records", + "use": "Reviewed failure events; successful updates omitted", + "records": 1, + "severity": "info" + }, + { + "section": "minidumps", + "use": "Count and selected fields (up to 3 records)", + "records": 1, + "severity": "info" + }, + { + "section": "driver_store", + "use": "unavailable: No verified result", + "records": "Unavailable", + "severity": "warning" + }, + { + "section": "filter_drivers", + "use": "unavailable: No verified result", + "records": "Unavailable", + "severity": "warning" + }, + { + "section": "filter_instances", + "use": "unavailable: No verified result", + "records": "Unavailable", + "severity": "warning" + }, + { + "section": "upper_filters", + "use": "unavailable: No verified result", + "records": "Unavailable", + "severity": "warning" + }, + { + "section": "lower_filters", + "use": "unavailable: No verified result", + "records": "Unavailable", + "severity": "warning" + }, + { + "section": "boot_configuration", + "use": "unavailable: No verified result", + "records": "Unavailable", + "severity": "warning" + }, + { + "section": "installed_programs", + "use": "Inventory count", + "records": 3, + "severity": "info" + }, + { + "section": "storage.storage_health", + "use": "unavailable: Synthetic API failure", + "records": "Unavailable", + "severity": "warning" + }, + { + "section": "storage.reliability_counters", + "use": "skipped: Synthetic elevation gap", + "records": "Unavailable", + "severity": "warning" + }, + { + "section": "defender", + "use": "unavailable: Synthetic unavailable Defender", + "records": "Unavailable", + "severity": "warning" + }, + { + "section": "appx_packages", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "automatic_services", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "hotfixes", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "non_microsoft_scheduled_tasks", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "startup_programs", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "active_tcp_listeners", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "bios", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "cpu", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "memory_modules", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "motherboard", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + }, + { + "section": "gpus", + "use": "Not supplied in this capture", + "records": "Unavailable", + "severity": "info" + } + ] + } +}