mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 01:18:42 +00:00
Update "No 1Password recovery kits..." policy (#8800)
* Update "No 1Password recovery kits..." policy - Update policy in standard query library shown on fleetdm.com - Update policy in standard templates shown in Fleet UI * Update policy template shown in UI * Commit Sharvil's exits to standard query library * Commit Sharvil's edits to policy templates
This commit is contained in:
parent
ff9206655a
commit
acb297d505
2 changed files with 2 additions and 2 deletions
|
|
@ -880,7 +880,7 @@ apiVersion: v1
|
|||
kind: policy
|
||||
spec:
|
||||
name: No 1Password emergency kit stored on desktop or in downloads (macOS)
|
||||
query: SELECT 1 WHERE NOT EXISTS (SELECT 1 FROM file WHERE filename like '%%Emergency Kit%%.pdf' AND (path LIKE '/Users/%%/Downloads/%%' OR path LIKE '/Users/%%/Desktop/%%'));
|
||||
query: SELECT EXISTS(SELECT 1 FROM file WHERE filename like '%Emergency Kit%.pdf' AND (path LIKE '/Users/%%/Downloads/%%' OR path LIKE '/Users/%%/Desktop/%%')) as does_1p_ek_exist;
|
||||
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
|
||||
|
|
|
|||
|
|
@ -426,7 +426,7 @@ export const DEFAULT_POLICIES: IPolicyNew[] = [
|
|||
{
|
||||
key: 38,
|
||||
query:
|
||||
"SELECT 1 WHERE NOT EXISTS (SELECT 1 FROM file WHERE filename like '%%Emergency Kit%%.pdf' AND (path LIKE '/Users/%%/Downloads/%%' OR path LIKE '/Users/%%/Desktop/%%'));",
|
||||
"SELECT EXISTS(SELECT 1 FROM file WHERE filename like '%Emergency Kit%.pdf' AND (path LIKE '/Users/%%/Downloads/%%' OR path LIKE '/Users/%%/Desktop/%%')) as does_1p_ek_exist;",
|
||||
name: "No 1Password emergency kit stored on desktop or in downloads (macOS)",
|
||||
description:
|
||||
"Looks for PDF files with file names typically used by 1Password for emergency recovery kits.",
|
||||
|
|
|
|||
Loading…
Reference in a new issue