Add LOB (Managed PKG) app deployment visibility via native MDM channel#35
Open
houstontxguy wants to merge 1 commit intogilburns:mainfrom
Open
Add LOB (Managed PKG) app deployment visibility via native MDM channel#35houstontxguy wants to merge 1 commit intogilburns:mainfrom
houstontxguy wants to merge 1 commit intogilburns:mainfrom
Conversation
Adds visibility into Intune LOB apps (managed PKGs) deployed via Apple's native MDM InstallApplication command, which are invisible in the existing IntuneMDMDaemon log parsing. Data sources: - macOS unified log (com.apple.ManagedClient / InstallApplication) - /var/log/install.log - /Library/Receipts/InstallHistory.plist UI: LOB Installs is a 4th filter button (Cmd+4) in the existing sidebar alongside Sync, Recurring, and Health events. Selecting a LOB event shows a detail view with deployment lifecycle timeline, receipt info, and correlated log entries. LOB stats appear in the Analysis Summary header at a glance. Detection filters: - Unified log predicate targets only InstallApplication category events and storedownloadd - Correlation engine skips entries without command UUID - InstallHistory parser accepts only appstored, mdmclient, and GUID-named installer entries New files: LOBModels, UnifiedLogReader, InstallLogParser, InstallHistoryParser, LOBCorrelationEngine, LOBSidebarView, LOBDetailView, DeploymentLifecycleView Modified: Models (DeploymentChannel enum), LogParser (channel tag), ViewController (unified sidebar, LOB filter), ClipLibrary, PolicyDetailView, SyncEventDetailView (channel badges)
41bf63f to
d4a4cb0
Compare
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.
Summary
InstallApplicationcommand, which are currently invisible in IntuneLogWatchcom.apple.ManagedClient/InstallApplicationcategory),/var/log/install.log, and/Library/Receipts/InstallHistory.plistContext
Resolves #34. Full details in that issue.
Intune uses two separate channels for macOS app deployment. The sidecar agent channel (
IntuneMDMDaemon) is already covered. The native MDM channel (mdmclient→InstallApplication) is not — those apps never appear in IntuneMDMDaemon logs.New files (8)
LOBModels.swiftSidebarEventwrapper enum,LOBAppEvent,UnifiedLogEntry,InstallLogEntry,LOBPackageReceipt,ChannelBadge, lifecycle stagesUnifiedLogReader.swiftlog show --style jsonwith InstallApplication predicateInstallLogParser.swift/var/log/install.logInstallHistoryParser.swiftInstallHistory.plist— detects MDM installs viaappstored,mdmclient, GUID display namesLOBCorrelationEngine.swiftLOBSidebarView.swiftLOBEventRowcomponent for LOB events in the unified sidebar listLOBDetailView.swiftDeploymentLifecycleView.swiftModified files (7)
Models.swiftDeploymentChannelenum,deploymentChannelproperty onPolicyExecutionLogParser.swiftAppPolicyResultsReporterfilter, addeddeploymentChannel: .agentViewController.swiftSidebarEvent-based unified selection,EventFilter.lobOnly(⌘4), LOB stats in analysis header, LOB event listClipLibrary.swiftdeploymentChannelto clip snapshot persistenceSyncEventDetailView.swiftPolicyDetailView.swiftproject.pbxprojTest plan
Tested on an Intune-managed Mac with LOB apps pushed from the Intune portal.