Skip to content

Commit

Permalink
update WHERE clause
Browse files Browse the repository at this point in the history
  • Loading branch information
mostlikelee committed Dec 17, 2024
1 parent a528149 commit c0d9f84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/service/osquery_utils/queries.go
Original file line number Diff line number Diff line change
Expand Up @@ -909,7 +909,7 @@ SELECT
path AS installed_path
FROM homebrew_packages
WHERE type = 'cask'
AND NOT EXISTS (SELECT 1 FROM file WHERE file.path LIKE CONCAT(homebrew_packages.path, '/%%%%', '/%%.app%%') LIMIT 1);
AND NOT EXISTS (SELECT 1 FROM file WHERE file.path LIKE CONCAT(homebrew_packages.path, '/%%%%') AND file.path LIKE '/%%.app%%' LIMIT 1);
`),
Platforms: []string{"darwin"},
DirectIngestFunc: directIngestSoftware,
Expand Down

0 comments on commit c0d9f84

Please sign in to comment.