From 53679ab711413a7c54f1c5ff7720d47a1280b8e5 Mon Sep 17 00:00:00 2001 From: Tapish Jain Date: Wed, 13 Nov 2024 14:18:36 -0800 Subject: [PATCH] PAPP-34631: getting rid of some lines --- ciscotalosintelligence_connector.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/ciscotalosintelligence_connector.py b/ciscotalosintelligence_connector.py index 115e60d..af03086 100644 --- a/ciscotalosintelligence_connector.py +++ b/ciscotalosintelligence_connector.py @@ -246,7 +246,6 @@ def _handle_ip_reputation(self, param): ip_request = self.format_ip_type(ip_addr) except Exception as exc: return action_result.set_status(phantom.APP_ERROR, f"Please provide a valid IP Address. Error: {exc}") - self.debug_print(f"ip request is {ip_request}") payload = {"urls": {"endpoint": [ip_request]}, "app_info": self._appinfo} @@ -255,7 +254,6 @@ def _handle_ip_reputation(self, param): return action_result.get_status() summary = action_result.update_summary({}) - summary["Message"] = "IP WORKED" threat_level = action_result.get_data()[0]["Threat_Level"] summary["Message"] = f"{ip} has a {threat_level} threat level"