txhaflaire / JamfCheck

A native SwiftUI macOS application that check's Jamf Pro, Jamf School, Jamf Now, Jamf Connect and Jamf Protect on it's state
MIT License
82 stars 4 forks source link

Ability to hide buttons for the JAMF tools not setup on device/in organisation #15

Open mjabroux opened 1 day ago

mjabroux commented 1 day ago

Hello,

Thanks for the hard work! Loving this tool so far! Would it be possible to pick and choose/remove the JAMF tools that we do not use in our organisation? (i.e.: if we do not use Jamf protect/Jamf connect, have the ability to hide the buttons)

Screenshot 2024-10-03 at 17 13 41
txhaflaire commented 20 hours ago

Hey!

Thats already possible today, although i have not documented it.

As example deploy this config using Jamf

com.txhaflaire.JamfCheck

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>jamfConnectEnabled</key>
    <true/>
    <key>jamfProEnabled</key>
    <true/>
    <key>jamfProtectEnabled</key>
    <false/>
</dict>
</plist>