code: def all_es_aliases(self):
          
  
          r = self.requests.get(self.url + "/_aliases", headers=HEADER_JSON, verify=False)
          try:
              r.raise_for_status()
          except requests.exceptions.HTTPError as ex:
              logger.warning("Something went wrong when retrieving aliases on %s.",
                             self.anonymize_url(self.index_url))
              logger.warning(ex)
              return
  
          aliases = []
          for index in r.json().keys():
              aliases.extend(list(r.json()[index]['aliases'].keys()))
  
          aliases = list(set(aliases))
          return aliases
docs: List all aliases used in ES