code: def get_events_list(self, num_items=100, params=None):
          
          if params and set(params.keys()) - VALID_EVENT_PARAMS:
              self.log.error("Invalid alarm query parameters: {set(params.keys()) - VALID_ALARM_PARAMS}")
              return None
          return self._retrieve_items(item_type="events", num_items=num_items, params=params)
docs: Get events as list of dictionaries
          :param int num_items: Max items to retrieve
          :param dict params: Additional params dictionary according to:
              https://www.alienvault.com/documentation/api/usm-anywhere-api.htm#/events
          :returns list: list of events