<!-- @(#) $Id$
  -  Official Cisco IOS rules for OSSEC.
  -
  -  Copyright (C) 2009 Trend Micro Inc.
  -  All rights reserved.
  -
  -  This program is a free software; you can redistribute it
  -  and/or modify it under the terms of the GNU General Public
  -  License (version 2) as published by the FSF - Free Software
  -  Foundation.
  -  
  -  License details: http://www.ossec.net/en/licensing.html
  -->


<group name="syslog,cisco_ios,">
  <rule id="4700" level="0">
    <decoded_as>cisco-ios</decoded_as>
    <description>Grouping of Cisco IOS rules.</description>
  </rule>

  <rule id="4710" level="9">
    <if_sid>4700</if_sid>
    <id>-0-</id>
    <description>Cisco IOS emergency message.</description>
  </rule>
                

  <rule id="4711" level="5">
    <if_sid>4700</if_sid>
    <id>-1-</id>
    <description>Cisco IOS alert message.</description>
  </rule>

  <rule id="4712" level="5">
    <if_sid>4700</if_sid>
    <id>-2-</id>
    <description>Cisco IOS critical message.</description>
  </rule>
  
  <rule id="4713" level="4">
    <if_sid>4700</if_sid>
    <id>-3-</id>
    <description>Cisco IOS error message.</description>
  </rule>

  <rule id="4714" level="4">
    <if_sid>4700</if_sid>
    <id>-4-</id>
    <description>Cisco IOS warning message.</description>
  </rule>

  <rule id="4715" level="0">
    <if_sid>4700</if_sid>
    <id>-5-</id>
    <description>Cisco IOS notification message.</description>
  </rule>

  <rule id="4716" level="0">
    <if_sid>4700</if_sid>
    <id>-6-</id>
    <description>Cisco IOS informational message.</description>
  </rule>

  <rule id="4717" level="0">
    <if_sid>4700</if_sid>
    <id>-7-</id>
    <description>Cisco IOS debug message.</description>
  </rule>
  
  <rule id="4721" level="3">
    <if_sid>4715</if_sid>
    <id>^%SYS-5-CONFIG</id>
    <description>Cisco IOS router configuration changed.</description>
    <group>config_changed,</group>
  </rule>

  <rule id="4722" level="3">
    <if_sid>4715</if_sid>
    <id>^%SEC_LOGIN-5-LOGIN_SUCCESS</id>
    <description>Successful login to the router.</description>
    <group>authentication_success,</group>
  </rule>

  <rule id="4724" level="9">
    <if_sid>4714</if_sid>
    <id>^%SEC_LOGIN-4-LOGIN_FAILED</id>
    <description>Failed login to the router.</description>
    <group>authentication_failed,</group>
  </rule>

</group> <!-- SYSLOG,CISCO IOS -->


<!-- EOF -->
