Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⭐️ add macos.systemExtensions as new resource #4371

Merged
merged 4 commits into from
Jul 23, 2024

Conversation

chris-rock
Copy link
Member

List all macOS system extensions

cnquery> macos.systemExtensions
macos.systemExtensions: [
  0: macos.systemExtension teamID="P3FGV63VK7" identifier="io.kandji.KandjiAgent.ESF-Extension" version="1.8.10" state="activated_enabled"
  1: macos.systemExtension teamID="X9E956P446" identifier="com.crowdstrike.falcon.Agent" version="7.17" state="activated_enabled"
  2: macos.systemExtension teamID="2MMRE5MTB8" identifier="com.obsproject.obs-studio.mac-camera-extension" version="30.1.2" state="activated_waiting_for_user"
  3: macos.systemExtension teamID="X9E956P446" identifier="com.crowdstrike.falcon.Agent" version="7.16" state="terminated_waiting_to_uninstall_on_reboot"
  4: macos.systemExtension teamID="P3FGV63VK7" identifier="io.kandji.KandjiAgent.ESF-Extension" version="1.8.9" state="terminated_waiting_to_uninstall_on_reboot"
  5: macos.systemExtension teamID="DE8Y96K9QP" identifier="com.cisco.anyconnect.macos.acsockext" version="4.9.06037" state="activated_enabled"
]

To list extensions that are not mdm managed:

cnquery> macos.systemExtensions.where(mdmManaged == false )
macos.systemExtensions.where: [
  0: macos.systemExtension teamID="2MMRE5MTB8" identifier="com.obsproject.obs-studio.mac-camera-extension" version="30.1.2" state="activated_waiting_for_user"
  1: macos.systemExtension teamID="DE8Y96K9QP" identifier="com.cisco.anyconnect.macos.acsockext" version="4.9.06037" state="activated_enabled"
]

@chris-rock chris-rock force-pushed the chris-rock/macos-systemextensions branch from 417c148 to 751074e Compare July 21, 2024 20:03
Copy link
Contributor

github-actions bot commented Jul 21, 2024

Test Results

3 079 tests  ±0   3 078 ✅ ±0   1m 32s ⏱️ -12s
  363 suites ±0       1 💤 ±0 
   27 files   ±0       0 ❌ ±0 

Results for commit 724b38c. ± Comparison against base commit a2151b8.

♻️ This comment has been updated with latest results.

@chris-rock chris-rock force-pushed the chris-rock/macos-systemextensions branch from 751074e to 724b38c Compare July 22, 2024 21:27
chris-rock and others added 2 commits July 23, 2024 00:01
Co-authored-by: Tim Smith <tsmith84@gmail.com>
Co-authored-by: Tim Smith <tsmith84@gmail.com>
Copy link
Contributor

@misterpantz misterpantz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good help text, @chris-rock! I just updated the boolean descriptions to fit our standard... hope to get them all consisten eventually

providers/os/resources/os.lr Outdated Show resolved Hide resolved
providers/os/resources/os.lr Outdated Show resolved Hide resolved
providers/os/resources/os.lr Outdated Show resolved Hide resolved
Co-authored-by: Letha <letha@mondoo.com>
@imilchev imilchev merged commit e7dec11 into main Jul 23, 2024
8 checks passed
@imilchev imilchev deleted the chris-rock/macos-systemextensions branch July 23, 2024 09:59
@github-actions github-actions bot locked and limited conversation to collaborators Jul 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants