{"id":715,"date":"2017-12-14T09:07:37","date_gmt":"2017-12-14T09:07:37","guid":{"rendered":"https:\/\/pandorafms.com\/library\/?p=715"},"modified":"2017-12-14T09:09:02","modified_gmt":"2017-12-14T09:09:02","slug":"snort-events","status":"publish","type":"post","link":"https:\/\/pandorafms.com\/library\/snort-events\/","title":{"rendered":"SNORT events (#)"},"content":{"rendered":"<p class=\"description_pui\">Get snort events from a MySQL database.<\/p>\n<h2>Module data<\/h2>\n<pre>\r\nmodule_begin\r\nmodule_name IDS_WEBAPP_Attack\r\nmodule_description SNORT total events for category 'web-application-attack'\r\nmodule_type generic_data_inc\r\nmodule_exec echo \"select COUNT(sig_id) from signature, event where event.signature = sig_id AND signature.sig_class_id = 4;\" | mysql -u snort -ppassword -D snort | tail -1\r\nmodule_end\r\n<\/pre>\n<pre>\r\nmodule_begin\r\nmodule_name IDS_Events\r\nmodule_description SNORT total events\r\nmodule_type generic_data_inc\r\nmodule_exec echo \"select COUNT(sig_id) from signature\" | mysql -u snort -ppassword -D snort | tail -1\r\nmodule_end\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Get snort events from a MySQL database. Module data module_begin module_name IDS_WEBAPP_Attack module_description SNORT total events for category &#8216;web-application-attack&#8217; module_type generic_data_inc module_exec echo &#8220;select COUNT(sig_id) from signature, event where event.signature = sig_id AND signature.sig_class_id = 4;&#8221; | mysql -u snort -ppassword -D snort | tail -1 module_end module_begin module_name IDS_Events module_description SNORT total events module_type [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[44,8],"tags":[162],"_links":{"self":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts\/715"}],"collection":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/comments?post=715"}],"version-history":[{"count":0,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts\/715\/revisions"}],"wp:attachment":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/media?parent=715"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/categories?post=715"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/tags?post=715"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}