Skip to content

Commit

Permalink
PAPP-34631: getting rid of some lines
Browse files Browse the repository at this point in the history
  • Loading branch information
tapishj-splunk committed Nov 13, 2024
1 parent aee7bf9 commit 53679ab
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ciscotalosintelligence_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand All @@ -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"

Expand Down

0 comments on commit 53679ab

Please sign in to comment.