docs: def event_list(consul_url=None, token=None, **kwargs):
      '''
      List the recent events.
  
      :param consul_url: The Consul server URL.
      :param name: The name of the event to fire.
      :return: List of ACLs
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' consul.event_list
  
      '''
      ret = {}
      query_params = {}
      if not consul_url:
          consul_url = _get_config()
          if not consul_url:
              log.error('No Consul URL found.')
              ret['message'] = 'No Consul URL found.'
              ret['res'] = False
              return ret
  
      if 'name' in kwargs:
          query_params = kwargs['name']
      else:
          raise SaltInvocationError('Required argument "name" is missing.')
  
      function = 'event/list/'
      ret = _query(consul_url=consul_url,
                   token=token,
                   query_params=query_params,
                   function=function)
      return ret