mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 08:55:24 +00:00
More robust version handling for macOS software (#10703)
This should get version numbers for more apps on macOS. Notably, 1Password includes helper apps that were getting vulnerability false positives because we were not picking up the versions. Addresses #10702. # Checklist for submitter If some of the following don't apply, delete the relevant line. - [x] Changes file added for user-visible changes in `changes/` or `orbit/changes/`. See [Changes files](https://fleetdm.com/docs/contributing/committing-changes#changes-files) for more information. - [x] Manual QA for all new/changed functionality
This commit is contained in:
parent
40c5bb1c25
commit
c6c5e6c61b
1
changes/macos-app-version
Normal file
1
changes/macos-app-version
Normal file
@ -0,0 +1 @@
|
||||
* Improve version detection for macOS apps. This fixes some false positives in macOS vulnerability detection.
|
@ -609,7 +609,7 @@ var softwareMacOS = DetailQuery{
|
||||
Query: withCachedUsers(`WITH cached_users AS (%s)
|
||||
SELECT
|
||||
name AS name,
|
||||
bundle_short_version AS version,
|
||||
COALESCE(NULLIF(bundle_short_version, ''), bundle_version) AS version,
|
||||
'Application (macOS)' AS type,
|
||||
bundle_identifier AS bundle_identifier,
|
||||
'apps' AS source,
|
||||
|
Loading…
Reference in New Issue
Block a user