Skip to content

Commit

Permalink
Add zoom to self-service for Workstations (#20701)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
spokanemac and getvictor authored Jul 25, 2024
1 parent da3ad28 commit a8bf2d9
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 1 deletion.
15 changes: 15 additions & 0 deletions it-and-security/lib/macos-arm.queries.yml
Original file line number Diff line number Diff line change
@@ -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 changes: 15 additions & 0 deletions it-and-security/lib/macos-intel.queries.yml
Original file line number Diff line number Diff line change
@@ -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";
10 changes: 9 additions & 1 deletion it-and-security/teams/workstations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a8bf2d9

Please sign in to comment.