waft.warp_client.warp_config.macos_warp_mdm_handler module¶
File to manage and validate macOS MDM settings.
- class waft.warp_client.warp_config.macos_warp_mdm_handler.MacOSMDMHandler(node: BaseNode)¶
Bases:
WarpMDMHandler
Class for MDM handling on macOS.
- apply_mdm()¶
Applies current MDM settings by writing XML or appropriate file and structure
- default_mdm_filepath: PurePath = PurePosixPath('/Library/Managed Preferences/com.cloudflare.warp.plist')¶
- filename = 'com.cloudflare.warp.plist'¶
- property mdm_plist_contents: dict | list[dict]¶
Return contents of MDM plist file as defined in self.mdm_configs
- plist_file = PurePosixPath('/Library/Managed Preferences/com.cloudflare.warp.plist')¶
- read_mdm() str ¶
Read the mdm file from the system into memory.