Skip to content

Commit 5a3c54c

Browse files
Updated 1Password policy to only search 1 level deep for performance reasons. (#18003)
#17827 Updated 1Password policy to only search one level deep for performance reasons. --------- Co-authored-by: Noah Talerman <[email protected]>
1 parent 3de9a16 commit 5a3c54c

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/01-Using-Fleet/standard-query-library/standard-query-library.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -879,9 +879,9 @@ spec:
879879
apiVersion: v1
880880
kind: policy
881881
spec:
882-
name: No 1Password emergency kit stored on desktop or in downloads (macOS)
883-
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'));
884-
description: "Looks for PDF files with file names typically used by 1Password for emergency recovery kits."
882+
name: No 1Password emergency kit stored in desktop, documents, or downloads folders (macOS)
883+
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/%'));
884+
description: "Looks for PDF files with file names typically used by 1Password for emergency recovery kits. To protect the performance of your devices, the search is one level deep and limited to the Desktop, Documents, Downloads, and Shared folders."
885885
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."
886886
platform: darwin
887887
tags: compliance, built-in

it-and-security/lib/macos-device-health.policies.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@
5353
description: This policy checks if maximum amount of time (in minutes) the device is allowed to sit idle before the screen is locked. End users can select any value less than the specified maximum.
5454
resolution: An an IT admin, deploy a macOS, screen saver profile with the maxInactivity option set to 20 minutes.
5555
platform: darwin
56-
- name: macOS - No 1Password emergency kit stored on desktop or in downloads
57-
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'));
56+
- name: macOS - No 1Password emergency kit stored in desktop, documents, or downloads folders
57+
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/%'));
5858
critical: false
59-
description: "Looks for PDF files with file names typically used by 1Password for emergency recovery kits."
59+
description: "Looks for PDF files with file names typically used by 1Password for emergency recovery kits. To protect the performance of your devices, the search is one level deep and limited to the Desktop, Documents, Downloads, and Shared folders."
6060
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."
6161
platform: darwin

0 commit comments

Comments
 (0)