mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 17:08:53 +00:00
Add zoom to self-service for Workstations (#20701)
Adds Zoom as a self-service option. While the UI will not allow for similar installers, attempting arm64 vs. Intel using a pre-install query. https://github.com/fleetdm/confidential/issues/6916 --------- Co-authored-by: Victor Lyuboslavsky <victor.lyuboslavsky@gmail.com>
This commit is contained in:
parent
da3ad28f4c
commit
a8bf2d95c1
3 changed files with 39 additions and 1 deletions
15
it-and-security/lib/macos-arm.queries.yml
Normal file
15
it-and-security/lib/macos-arm.queries.yml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
apiVersion: v1
|
||||
kind: query
|
||||
spec:
|
||||
name: query_apple_silicon
|
||||
query: SELECT 1 FROM system_info WHERE cpu_type = "arm64e";
|
||||
# - name: Determine macOS cpu type as Apple Silicon
|
||||
# automations_enabled: false
|
||||
# description: Returns true if macOS cpu type is Apple Silicon.
|
||||
# discard_data: false
|
||||
# interval: 3600
|
||||
# logging: snapshot
|
||||
# min_osquery_version: ""
|
||||
# observer_can_run: true
|
||||
# platform: "darwin"
|
||||
# query: SELECT 1 FROM system_info WHERE cpu_type = "arm64e";
|
||||
15
it-and-security/lib/macos-intel.queries.yml
Normal file
15
it-and-security/lib/macos-intel.queries.yml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
apiVersion: v1
|
||||
kind: query
|
||||
spec:
|
||||
name: query_apple_silicon
|
||||
query: SELECT 1 FROM system_info WHERE cpu_type = "x86_64h";
|
||||
# - name: Determine macOS cpu type as Intel
|
||||
# automations_enabled: false
|
||||
# description: Returns true if macOS cpu type is Intel.
|
||||
# discard_data: false
|
||||
# interval: 3600
|
||||
# logging: snapshot
|
||||
# min_osquery_version: ""
|
||||
# observer_can_run: true
|
||||
# platform: "darwin"
|
||||
# query: SELECT 1 FROM system_info WHERE cpu_type = "x86_64h";
|
||||
|
|
@ -75,4 +75,12 @@ queries:
|
|||
interval: 300
|
||||
automations_enabled: false
|
||||
observer_can_run: true
|
||||
|
||||
software:
|
||||
- url: https://zoom.us/client/latest/Zoom.pkg?archType=arm64
|
||||
pre_install_query:
|
||||
path: ../lib/macos-arm.queries.yml
|
||||
self_service: true
|
||||
- url: https://zoom.us/client/latest/Zoom.pkg
|
||||
pre_install_query:
|
||||
path: ../lib/macos-intel.queries.yml
|
||||
self_service: true
|
||||
|
|
|
|||
Loading…
Reference in a new issue