Hi all,
I've been trying to create a policy rule that would look for the presence of the following statements (Cisco Devices):
line aux o
access-class 22 in
line vty 0 4
access-class 22 in
The problem is that it's not recognizing access-class 22 in as a string that should exist at each block, it reports no violation as long as it finds it at least once in the config file and I'm not sure what I did wrong. I tried playing with the parenthesis but that didn't help, I tried multiple things, including the string matching that I'm showing in the attached image. I'd really appreciate your inputs!