The code intent is to throttle access to profiles show -type enrollment command:
|
hasAlreadyChecked := hasCheckedCloudConfigInPast24Hours(CloudConfigTimerCheck) |
However, this never happens because the file it checks is never created:
/private/var/db/ConfigurationProfiles/Settings/.cloudConfigTimerCheck
Also, the latest manpage states that the limit is 10 times per 23 hours, so the throttling can be reduced to <3 hours per request.
