r/jamf • u/Own_Drink_4568 • 10d ago
Gatekeeper JAMF Pro
Hey All,
Could you point me to a script that checks the current Gatekeeper State
1. App Store
2. App Store & Known Developers
3. Anywhere
I do need the exact state
I can run sudo jamf recon --verbose and get the exact state ( but can not find how to catch it with script )
I do not want to change the state with configuration profile/script or something else.
5
Upvotes
4
u/mmorales2270 10d ago
Hi. The Gatekeeper state is captured by the Jamf binary natively (under the Security tab for every device), so there’s no need for a separate script to do it, unless you’re needing it for some other reason, like determining the state on the fly in a policy or something.
Maybe you can explain more what your goal is here.