Update standard-query-library.yml (#17122)

1. Updated 1password query with final version
This commit is contained in:
Brock Walters 2024-02-23 15:58:04 -05:00 committed by GitHub
parent 6efe55d6f7
commit a430194969
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -880,12 +880,12 @@ apiVersion: v1
kind: policy
spec:
name: No 1Password emergency kit stored on desktop or in downloads (macOS)
query: SELECT EXISTS (SELECT 1 FROM file WHERE filename LIKE '%Emergency Kit%.pdf' AND (path LIKE '/Users/%%/Downloads/%%' OR path LIKE '/Users/%%/Desktop/%%'));
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');
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
tags: compliance, built-in
contributors: GuillaumeRoss
contributors: nonpunctual
---
apiVersion: v1
kind: query