Log LOGIN_FAILED sessions only example

The Log LOGIN_FAILED sessions only policy contains a single rule that logs an error if a login fails. Other types of errors that the session encounters are ignored.

This policy has one rule and one rule action.
  • Session level criteria: Error != LOGIN_FAILED
  • Rule action = SOFT DISCARD

SR language example

SR_POLICIES
{
        IF (ERROR != 'LOGIN_FAILED')
        {
                SOFT_DISCARD_SESSION
        }
}