Populate the initial set of exceptions
This commit is contained in:
parent
a544ab1f7e
commit
8931530901
|
@ -15,18 +15,34 @@ SELECT
|
|||
file.mtime,
|
||||
file.uid,
|
||||
file.ctime,
|
||||
REPLACE(file.directory, u.directory, '~') AS homedir,
|
||||
file.gid,
|
||||
hash.sha256,
|
||||
magic.data
|
||||
magic.data,
|
||||
signature.identifier,
|
||||
signature.authority
|
||||
FROM
|
||||
file
|
||||
LEFT JOIN hash ON file.path = hash.path
|
||||
LEFT JOIN users u ON file.uid = u.uid
|
||||
LEFT JOIN magic ON file.path = magic.path
|
||||
LEFT JOIN signature ON file.path = signature.path
|
||||
WHERE
|
||||
(
|
||||
file.path LIKE '/Users/%/Library/%%/.%/%'
|
||||
OR file.path LIKE '/Users/%/Library/.%/%'
|
||||
OR file.path LIKE '/home/%/Library/%%/.%/.%'
|
||||
file.path LIKE '/Users/%/Library/%%/.%/%%'
|
||||
OR file.path LIKE '/Users/%/Library/.%/%%'
|
||||
OR file.path LIKE '/Users/%/Library/%%/.%/.%'
|
||||
)
|
||||
AND file.path NOT LIKE '%/../%'
|
||||
AND file.path NOT LIKE '%/./%'
|
||||
AND NOT homedir IN (
|
||||
'~/Library/Accessibility/.com.apple.RTTTranscripts_SUPPORT/_EXTERNAL_DATA',
|
||||
'~/Library/Finance/.finance_cloud_SUPPORT/_EXTERNAL_DATA',
|
||||
'~/Library/Finance/.finance_local_SUPPORT/_EXTERNAL_DATA',
|
||||
'~/Library/Group Containers/.SiriTodayViewExtension/Library',
|
||||
'~/Library/Group Containers/.SiriTodayViewExtension',
|
||||
'~/Library/Caches/.sigstore/gitsign',
|
||||
'~/Library/GroupContainersAlias/.SiriTodayViewExtension/Library',
|
||||
'~/Library/GroupContainersAlias/.SiriTodayViewExtension'
|
||||
)
|
||||
AND NOT homedir LIKE '~/Library/.icedove/%'
|
||||
|
|
Loading…
Reference in New Issue