osmates policy
Show the keys your organization manages through its MDM.
osmates policy [--json]An organization sets keys of the com.osmates.OSMates domain in a configuration profile. A managed key wins over your settings in every edition, and a request it forbids fails with the key's name.
Arguments
--jsonPrint machine-readable JSON.
JSON output
With --json, it prints an object with these fields.
JSON Schema: /schemas/0/cli/policy.json
domainstringRequiredmanagedarray of objectsRequiredmanaged[].allowedbooleanmanaged[].countintegermanaged[].egressstringOne of
open,allowlist,blocked.managed[].folderstringmanaged[].keystringRequiredOne of
AllowShares,AllowClipboard,AllowDragAndDrop,AllowRemoteLocal,AllowRemoteNetwork,AllowRemoteTailnet,AllowRemoteCloudClients,RequiredEgress,EgressRules,AuditExportFolder,AuditExportKeep,ImageRepositories,AllowOtherMachineSources,ImageSigningKeys.managed[].keysarray of stringsmanaged[].repositoriesarray of stringsmanaged[].rulesarray of stringsmanaged[].settingstringRequiredproblemsarray of objectsRequiredproblems[].keystringRequiredOne of
AllowShares,AllowClipboard,AllowDragAndDrop,AllowRemoteLocal,AllowRemoteNetwork,AllowRemoteTailnet,AllowRemoteCloudClients,RequiredEgress,EgressRules,AuditExportFolder,AuditExportKeep,ImageRepositories,AllowOtherMachineSources,ImageSigningKeys.problems[].reasonstringRequired
Exit statuses
Its exit status is one of these.
| Status | Meaning |
|---|---|
| 0 | The command did what it was asked. |
| 1 | The command failed; with --json, standard error's last line is the error object. |
| 64 | The command line is wrong, as ArgumentParser found before the command ran. |
| 65 | What was given is wrong, found while the command ran; the same command fails until it changes. |
| 75 | The same command can work later with nothing changed, as while an update finishes. |
| 130 | Control-C cancelled what the command started. |