MDATP Linux agent latest relea... Note

MDATP Linux agent latest release reporting

This solution automates the process of finding the latest Microsoft Defender for Endpoint for Linux package available in configured Microsoft repositories. It runs on Windows using PowerShell and generates a structured Excel report for operational review. The tool queries packages.microsoft.com, checks both RPM and APT repository metadata, and identifies the most recent mdatp package. It captures essential details like source URLs, architecture, and timestamps. The automation creates two worksheets: "Latest Releases" and "Configuration," and can continue processing even if individual repositories fail. The report's scope is limited to package availability in configured repositories and is for visibility and review purposes only. It does not confirm package deployment on endpoints or validate environmental compatibility. The solution comprises a scheduler, collector, source handler, processing engine, and output writer, orchestrated by Windows Task Scheduler and PowerShell. The end-to-end processing involves initializing the environment, loading target configurations, constructing repository endpoints, processing metadata from both RPM and APT systems, selecting the latest package, normalizing the output, and isolating any failures. Finally, it publishes the Excel workbook and can be scheduled for recurring execution. The report provides version, architecture, status, source URLs, and timestamps for each target OS and channel. It also documents the target systems and URL patterns used. The setup requires PowerShell 7.6.2 minimum and the ImportExcel module. Validation involves checking script execution, report accuracy, and task scheduler success. Assumptions highlight that the report is not a compliance view and preview packages need careful management.