microsoft / mdatp-devicecontrol

Microsoft Defender for Endpoint Device Control tools, samples, and resources.
https://learn.microsoft.com/en-us/microsoft-365/security/defender-endpoint/device-control-removable-storage-protection?view=o365-worldwide
MIT License
45 stars 36 forks source link

[macOS] Require a $type field for groups #24

Closed bryan-lipinski closed 1 year ago

bryan-lipinski commented 1 year ago

Add a $type field for groups to enable future parity with the Windows implementation which has multiple kinds of groups: Device, File, Process, Network, VPNConnection, and PrintJob. While the macOS implementation only supports Device groups, adding the $type field will enable easier deserialization of the policy when other group types are added later.