{"id":1819,"date":"2013-09-07T10:00:22","date_gmt":"2013-09-07T09:00:22","guid":{"rendered":"http:\/\/mccltd.net\/blog\/?p=1819"},"modified":"2013-09-07T10:00:22","modified_gmt":"2013-09-07T09:00:22","slug":"cisco-eem-applet-prevent-debug-being-enabled-by-exec-users","status":"publish","type":"post","link":"http:\/\/darenmatthews.com\/blog\/?p=1819","title":{"rendered":"Cisco EEM Applet &#8211; Prevent debug being enabled by exec users"},"content":{"rendered":"<p>CLI EVENT DETECTOR:<br \/>\nThe EEM applet prevents the &#8220;debugging&#8221; command being executed on the CLI. Any attempt will store the system clock and user\u2019s on the flash.<!--more--><br \/>\nevent manager applet Stop_Debug<br \/>\nevent cli pattern &#8220;debug&#8221; sync no skip yes<br \/>\naction 1.0 cli command &#8220;enable&#8221;<br \/>\naction 2.0 cli command &#8220;sh users | append flash:Debug&#8221;<br \/>\naction 3.0 cli command &#8220;sh clock | append flash:Debug_clock&#8221;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CLI EVENT DETECTOR: The EEM applet prevents the &#8220;debugging&#8221; command being executed on the CLI. Any attempt will store the system clock and user\u2019s on the flash.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[83,67],"tags":[],"_links":{"self":[{"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1819"}],"collection":[{"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1819"}],"version-history":[{"count":1,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1819\/revisions"}],"predecessor-version":[{"id":1820,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1819\/revisions\/1820"}],"wp:attachment":[{"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1819"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1819"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1819"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}