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:
JD 2024-07-25 12:50:04 -06:00 committed by GitHub
parent da3ad28f4c
commit a8bf2d95c1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 39 additions and 1 deletions

View 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";

View 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";

View file

@ -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