Sample regex for audit tests for Aruba devices

 

The following devices have been tested:

  • Aruba 2530 8 PoE+ Switch
  • Aruba 2930M 24G PoE

 

# Audit tests Regex
1 Access_Control_Lists_ACLs ^\s*ip access-list
2 Login_Banner ^\s*banner motd .*
3 PasswordStrength ^\s*password complexity
4 Password_Aging ^\s*password configuration aging*
5 Secure_Shell_SSH ^\s*no ip ssh*
6 Simple_Network_Time_Protocol_SNTP ^\s*sntp
7 SNMPv ^\s*snmp-server community.*
8 SNMP_V_V_Disabled <snmp-server enable>
9 Syslog_Event_Logging ^\s*logging\s\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}
10 Telnet_Access_Control ^\s*no telnet-server*
11 Web Based Configuration ^\s*no web-management*