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
43 stars 36 forks source link

macOS: Tags should be strings #30

Closed bryan-lipinski closed 1 year ago

bryan-lipinski commented 1 year ago

Tags are internally represented as uint64_t. The JSON deserialization code is agnostic of the underlying format being string vs. numeric.

Tags were originally added to the schema as numeric, but JSON doesn't support 64 bit numerics. Consequently, update the schema to use a string representation to enable 64 bit tags.