osquery / osquery/osquery

macOS apps table does not include iOS and iPad apps

Open
#7,189 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug macOS virtual tables
Dominant language
C++
Stars
23.6k
Forks
2.6k
Avg merge
6d 7h
Merged PRs (30d)
14

Description

Bug report

The new m1 macs can install iOS and iPad apps. But, these don't appear in our apps table.

I suspect this because they don't appear in the LaunchServices api calls we use to enumerate them. Not sure if that will change.

https://github.com/osquery/osquery/blob/master/osquery/tables/system/darwin/apps.mm#L220-L250

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in osquery/tables/system/darwin/apps.mm around lines 220-250 and inspect how the LaunchServices API calls enumerate applications. Determine whether iOS and iPad apps on M1 Macs are available through that path, then verify that the apps table reports them. Done means the table includes those apps, with appropriate coverage for the relevant macOS behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, macos
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.