From b75167f4fe4ff1a1d4602882ddb550d70665e9e7 Mon Sep 17 00:00:00 2001 From: Craig Comstock Date: Tue, 9 Jan 2024 10:56:09 -0600 Subject: [PATCH] Craigs-MacBook-Pro.local --- policy-not-kept.cf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/policy-not-kept.cf b/policy-not-kept.cf index d24dc49..5456e6a 100644 --- a/policy-not-kept.cf +++ b/policy-not-kept.cf @@ -3,9 +3,9 @@ bundle agent policy_not_kept meta: "tags" slist => { "autorun" }; -# commands: -# windows:: -# "C:\Windows\System32\cmd.exe /c exit 1"; -# !windows:: -# "/bin/false"; + commands: + windows.!policy_not_kept:: + "C:\Windows\System32\cmd.exe /c exit 1"; + !windows.!policy_not_kept:: + "/bin/false"; }