def get_activity_data(self, activity_uuids):
        """Get armis activity data.

        Args:
            activity_uuids (list): list of activity uuid

        Returns:
            list: list of activity
        """
        __method_name = inspect.currentframe().f_code.co_name
        try:
            parameters_activity = {
                "aql": "in:activity",
                "orderBy": "time",
                "from": 0,
                "length": consts.CHUNK_SIZE,
                "fields": ",".join(consts.ACTIVITY_FIELDS),
            }
            aql_formatted_ids = ",".join(str(activity_uuid) for activity_uuid in activity_uuids)
            parameters_activity["aql"] = "in:activity UUID:{}".format(aql_formatted_ids)
            results = self.make_rest_call(
                method="GET",
                url=consts.URL + consts.SEARCH_SUFFIX,
                params=parameters_activity,
                headers=self.header,
                retry_401=consts.RETRY_COUNT_401,
            )
            if ("data" in results) and ("count" in results["data"]) and (results["data"].get("count") == 0):
                logging.warning(consts.LOG_FORMAT.format(__method_name, "Activity Data not found."))
                return []
            if (("results" in results["data"]) and ("total" in results["data"]) and ("next" in results["data"])):
                data = results["data"]["results"]
                for i in data:
                    i["armis_activity_time"] = i["time"]
                return data
            else:
                logging.error(consts.LOG_FORMAT.format(__method_name, "There are no proper keys in activity data."))
                raise ArmisException()

        except KeyError as err:
            logging.error(consts.LOG_FORMAT.format(__method_name, "Key error : {}.".format(err)))
            raise ArmisException()

        except ArmisException:
            raise ArmisException()

        except Exception as err:
            logging.error(consts.LOG_FORMAT.format(__method_name, "Error while fetching Activity : {}.".format(err)))
            raise ArmisException()
Get armis activity data.

        Args:
            activity_uuids (list): list of activity uuid

        Returns:
            list: list of activity
        
Solutions/Armis/Data Connectors/ArmisAlertsActivities/ArmisAlertActivitySentinelConnector/__init__.py