Skip to content

Instantly share code, notes, and snippets.

@W00t3k
Forked from xorrior/SampleRules.plist
Created January 19, 2018 16:41
Show Gist options
  • Save W00t3k/07f5bd938e44fbc478d2e77ef87d1048 to your computer and use it in GitHub Desktop.
Save W00t3k/07f5bd938e44fbc478d2e77ef87d1048 to your computer and use it in GitHub Desktop.
Sample Plist for emond
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<dict>
<key>name</key>
<string>sample rule</string>
<key>enabled</key>
<true/>
<key>eventTypes</key>
<array>
<string>startup</string>
</array>
<key>allowPartialCriterionMatch</key>
<false/>
<key>criterion</key>
<array>
<dict>
<key>operator</key>
<string>True</string>
</dict>
</array>
<key>actions</key>
<array>
<dict>
<key>message</key>
<string>Event Monitor started at ${builtin:now}</string>
<key>type</key>
<string>Log</string>
<key>logLevel</key>
<string>Notice</string>
<key>logType</key>
<string>syslog</string>
</dict>
</array>
</dict>
</array>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment