Table: jumpcloud_device_macos_app - Query JumpCloud macOS Apps using SQL
JumpCloud is a cloud-based directory service that connects users to their workstations, applications, files, and networks. macOS Apps in JumpCloud refers to the applications installed on macOS devices managed by JumpCloud. This offers an overview of the software landscape across all macOS devices in an organization.
Table Usage Guide
The jumpcloud_device_macos_app
table provides insights into macOS Apps within JumpCloud's directory service. As a system administrator, explore app-specific details through this table, including app names, versions, and associated macOS devices. Utilize it to uncover information about apps, such as their distribution across devices, outdated versions, and the need for updates or replacements.
Important Notes
- To query all applications installed in a Windows or a Linux device, use the
jumpcloud_device_windows_program
andjumpcloud_device_linux_package
tables respectively.
Examples
Basic info
Explore the details of macOS applications across devices to gain insights into application usage patterns, such as the last time an application was opened. This can be particularly useful for IT administrators to understand software usage and manage resources efficiently.
select name, version, last_opened_time, path, device_idfrom jumpcloud_device_macos_app;
select name, version, last_opened_time, path, device_idfrom jumpcloud_device_macos_app;
Get the device information
Explore which applications are installed on specific devices, including their versions and last accessed times. This can help in maintaining up-to-date software across all devices.
select d.display_name as device_name, d.serial_number, a.name as app, a.version as app_version, a.last_opened_timefrom jumpcloud_device_macos_app as a join jumpcloud_device as d on d.id = a.device_id;
select d.display_name as device_name, d.serial_number, a.name as app, a.version as app_version, a.last_opened_timefrom jumpcloud_device_macos_app as a join jumpcloud_device as d on d.id = a.device_id;
List devices with tailscale app installed
Determine the devices that have the Tailscale app installed to manage and monitor software versions and usage. This is beneficial for ensuring software compliance and identifying potential security risks.
select d.display_name as device_name, d.serial_number, a.name as app, a.version as app_version, a.last_opened_timefrom jumpcloud_device_macos_app as a join jumpcloud_device as d on d.id = a.device_idwhere a.name = 'Tailscale.app';
select d.display_name as device_name, d.serial_number, a.name as app, a.version as app_version, a.last_opened_timefrom jumpcloud_device_macos_app as a join jumpcloud_device as d on d.id = a.device_idwhere a.name = 'Tailscale.app';
List computers with an older version of zoom app (< 5.12)
This query is useful to identify which computers are running an outdated version of the Zoom app, specifically versions older than 5.12. This information can help in maintaining software updates and ensuring all devices are running the most secure and efficient version of the application.
select d.display_name as device_name, d.serial_number, a.name as app, a.version as app_version, a.last_opened_timefrom jumpcloud_device_macos_app as a join jumpcloud_device as d on d.id = a.device_idwhere a.name = 'zoom.us.app' and string_to_array(split_part(a.version, ' ', 1), '.') :: int [ ] < string_to_array('5.12', '.') :: int [ ];
Error: SQLite does not support string_to_arrayand split functions.
List all apps used in last 24 hours
Discover the applications that have been accessed in the last 24 hours. This can help in monitoring user activity and ensuring software usage compliance.
select name, version, last_opened_time, device_idfrom jumpcloud_device_macos_appwhere last_opened_time >= (current_timestamp - interval '1 day')order by last_opened_time desc;
select name, version, last_opened_time, device_idfrom jumpcloud_device_macos_appwhere last_opened_time >= datetime('now', '-1 day')order by last_opened_time desc;
Schema for jumpcloud_device_macos_app
Name | Type | Operators | Description |
---|---|---|---|
_ctx | jsonb | Steampipe context in JSON form. | |
applescript_enabled | boolean | True if the applescript is enabled for the app. | |
bundle_executable | text | Specifies the bundle executable. | |
bundle_identifier | text | The bundle identifier of the app. | |
bundle_name | text | The bundle version of the app. | |
bundle_package_type | text | The bundle package type of the app. | |
bundle_version | text | The bundle version. | |
category | text | The app category. | |
collection_time | timestamp with time zone | The time when the data was collected by the JumpCloud agent. | |
compiler | text | The app complier. | |
copyright | text | The copyright information of the app. | |
development_region | text | The development region of the app. | |
device_id | text | = | A JumpCloud generated unique identifier for the device. |
display_name | text | The display name of the app. | |
element | text | Specifies the app element. | |
environment | text | The app environment. | |
info_string | text | The app information. | |
last_opened_time | timestamp with time zone | The time when the app was last opened. | |
minimum_system_version | text | The minimum OS version required to install the app. | |
name | text | The name of the app. | |
organization_id | text | =, !=, ~~, ~~*, !~~, !~~* | Specifies the ID of the organization. |
path | text | Specifies the device path where the app was installed. | |
sp_connection_name | text | =, !=, ~~, ~~*, !~~, !~~* | Steampipe connection name. |
sp_ctx | jsonb | Steampipe context in JSON form. | |
title | text | Title of the resource. | |
version | text | The installed version of the app. |
Export
This table is available as a standalone Exporter CLI. Steampipe exporters are stand-alone binaries that allow you to extract data using Steampipe plugins without a database.
You can download the tarball for your platform from the Releases page, but it is simplest to install them with the steampipe_export_installer.sh
script:
/bin/sh -c "$(curl -fsSL https://steampipe.io/install/export.sh)" -- jumpcloud
You can pass the configuration to the command with the --config
argument:
steampipe_export_jumpcloud --config '<your_config>' jumpcloud_device_macos_app