-
Notifications
You must be signed in to change notification settings - Fork 3
List All FileVault Enabled Users
The List All FileVault Enabled Users tool identifies and displays all user accounts on a macOS device that have FileVault enabled. Designed primarily for use within a Jamf extension attribute, this tool simplifies automated reporting and compliance monitoring.
To integrate this tool into a Jamf extension attribute, use the script below:
#!/bin/zsh
# Run the Rocketman tool
result=$(rocketman ListAllFileVaultEnabledUsers)
fileVaultEnabledUsers=$(echo "$result" | tail -n2 | head -n1)
# Check for errors or empty output
if [[ $? -ne 0 || -z "$fileVaultEnabledUsers" ]]; then
result="Rocketman tool failed or returned no output"
fi
echo "<result>$fileVaultEnabledUsers</result>"This tool can also be executed directly from the command line without any parameters:
rocketman ListAllFileVaultEnabledUsersNone. This tool operates without requiring additional parameters or arguments.
Specifies the domain for setting options in local or managed plists.
- Type: string
-
Default:
tech.rocketman.listallfilevaultenabledusers -
Example:
--domain "tech.rocketman.customdomain"
This tool is ideal for:
- Compliance Monitoring: Ensuring all managed devices adhere to FileVault encryption policies.
- Security Audits: Identifying users with active encryption privileges to verify compliance during security reviews.
In an environment that requires full-disk encryption for compliance, this tool can be integrated into Jamf Pro as an extension attribute. The resulting data can be used to create dynamic groups of non-compliant users, streamlining remediation efforts.
- Jamf Integration Recommended: While usable from the CLI, the tool is optimized for use within Jamf Pro extension attributes for reporting and automation.
- A Mac with FileVault off produces an empty result. There are no FileVault-enabled users to list, so the tool prints an empty line rather than reporting an error. An Extension Attribute built on it reports an empty value for those Macs, which is the correct answer rather than a failure.
Tip
Professional setup, custom integrations, and SLA-backed support are available.
➡️ Learn more
-
Encrypt
Encrypt any string. -
App Setup Helper
Enables Screen Recording for apps. -
Break Glass Admin
Manages emergency admin accounts. -
Change Static Group Membership
Adds or removes the Mac from a static group. -
Edit User Profile
Updates building and department info. -
Fetch Database
Reads a stored value for use in a script. -
FileVault Token Revoker
Removes FileVault tokens. -
Get Backdoor Admin Password From Keychain
Retrieves backdoor admin passwords. -
List All FileVault Enabled Users
Lists FileVault-enabled users. -
Network Migration
Moves a Mac between 802.1x profiles. -
Rapid Response
Triggers scripts immediately. -
Rename Computer
Renames Macs via Jamf. -
Reset Jamf Connect Login Screen
Switches to macOS login. -
Secure Token Sharing Tool
Grants secure tokens. -
Self Service Email
Creates pre-filled emails. -
Set Time Zone
Sets time zone and NTP server. -
Set User Icon
Sets a user's account picture. -
Super
Runs SUPER with encrypted credentials. -
Temporary Admin
Grants temporary admin rights. -
Update User Info
Syncs user data with Jamf. -
Upload Jamf Logs
Uploads log files to Jamf. -
User Privilege Management
Adjusts user roles. -
Warning Timer
Blocks with a countdown dialog.