Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/usr/bin/profiles show -type enrollment not being throttled #61

Open
getvictor opened this issue Jan 15, 2025 · 0 comments
Open

/usr/bin/profiles show -type enrollment not being throttled #61

getvictor opened this issue Jan 15, 2025 · 0 comments

Comments

@getvictor
Copy link

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.

image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant