mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 00:45:19 +00:00
Update standard-query-library.yml (#17782)
- Policy's fail when they return no results
This commit is contained in:
parent
7ae21d2fda
commit
3c33e83085
@ -880,7 +880,7 @@ apiVersion: v1
|
||||
kind: policy
|
||||
spec:
|
||||
name: No 1Password emergency kit stored on desktop or in downloads (macOS)
|
||||
query: SELECT 1 FROM file WHERE filename LIKE '%Emergency Kit%.pdf' AND (path LIKE '/Users/%%/Desktop/%%' OR path LIKE '/Users/%%/Documents/%%' OR path LIKE '/Users/%%/Downloads/%%' OR path LIKE '/Users/Shared');
|
||||
query: SELECT 1 WHERE NOT EXISTS (SELECT 1 FROM file WHERE filename LIKE '%Emergency Kit%.pdf' AND (path LIKE '/Users/%%/Desktop/%%' OR path LIKE '/Users/%%/Documents/%%' OR path LIKE '/Users/%%/Downloads/%%' OR path LIKE '/Users/Shared'));
|
||||
description: "Looks for PDF files with file names typically used by 1Password for emergency recovery kits."
|
||||
resolution: "Delete 1Password emergency kits from your computer, and empty the trash. 1Password emergency kits should only be printed and stored in a physically secure location."
|
||||
platform: darwin
|
||||
|
Loading…
Reference in New Issue
Block a user