parameters: (self)
docstring: Start monitoring the authentication-log file
          for login attempts & possible password brute-force.
  
          Args:
              None
  
          Raises:
              None
  
          Returns:
              None
docstring_summary: Start monitoring the authentication-log file
          for login attempts & possible password brute-force.
docstring_tokens: Start monitoring the authentication - log file for login attempts & possible password brute - force .
function: def run(self):
          """
          Start monitoring the authentication-log file
          for login attempts & possible password brute-force.
  
          Args:
              None
  
          Raises:
              None
  
          Returns:
              None
          """
          if self.log_file:  # if path of auth-log file is valid
              # Rotate & parse the log file
              self.parse_log_file()
              # Analyze the log for brute-force
              self.check_brute_force()
              # Empty the dict to rotate the log-file
              self.user_to_count.clear()
function_tokens: def run ( self ) : if self . log_file : # if path of auth-log file is valid # Rotate & parse the log file self . parse_log_file ( ) # Analyze the log for brute-force self . check_brute_force ( ) # Empty the dict to rotate the log-file self . user_to_count . clear ( )