Repository navigation
Expose device decision context and expand cloud report sections - #74
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cloud reports keep every scoped device searchable in one standalone HTML file, with focused decision fields rather than the full normalized record in every inventory row. Devices shows activity and registration ages, source and link state, ownership, matching and duplicate protection, target IDs, and selected actions with their rule reasons before action limits. Recorded attempts remain separate from candidate selection. Shared names and conflicting target IDs cannot inherit another device's actions.
Current Run, History and Pending Actions use saved action-time snapshots for justification, outcome, timing and target evidence. Older snapshots show missing facts explicitly; the full normalized action records remain in the XML datastore. Cleanup selection, limits, confirmation, persistence and provider calls are unchanged.
Selected-by-OS and inventory summaries are expanded by default. Expandable details wrap across the available width. CleanupMonster requires the published PSWriteHTML 1.42.0 release, which includes the section controls and wrapping fixes from PSWriteHTML#534, including the viewer's nonce-based host policy. Devices starts without filters saved from another report.
Validation: all 300 tests passed on PowerShell 7 and Windows PowerShell 5.1. The unsigned native packages passed import and generation checks on both runtimes. A standalone 52,006-device report with 20,428 candidate reasons supports search across the complete inventory and expandable details through the viewer transformation. The resulting HTML is 52.3 MB; synthetic generation took 104 seconds and peaked at 4.67 GB working set. Narrow layouts, long device names, saved pending evidence and section controls were checked in the browser under the viewer's strict nonce policy. This verifies the local viewer transformation, not a deployed SharePoint site.