Skip to content

Commit 1a636d5

Browse files
Removed a non-existent service and removed fqdn since it isn't actually supported yet.
1 parent a8a17a2 commit 1a636d5

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

analyzers/DomainToolsIris/domaintoolsiris_analyzer.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -240,17 +240,11 @@ def domaintools(self, data):
240240

241241
APP_PARAMETERS = {"app_partner": "cortex", "app_name": "Iris", "app_version": 1}
242242

243-
if self.service == "investigate-domain" and self.data_type in [
244-
"domain",
245-
"fqdn",
246-
]:
247-
response = api.iris_investigate(data, **APP_PARAMETERS).response()
248-
if response["results_count"]:
249-
response = self.format_single_domain(response.get("results")[0])
250-
elif self.service == "threat-profile" and self.data_type in ["domain", "fqdn"]:
243+
if self.service == "investigate-domain" and self.data_type in ["domain"]:
251244
response = api.iris_investigate(data, **APP_PARAMETERS).response()
252245
if response["results_count"]:
253246
response = self.format_single_domain(response.get("results")[0])
247+
254248
elif self.service == "pivot" and self.data_type in ["hash", "ip", "mail"]:
255249
iris_investigate_args_map = {
256250
"ip": "ip",

0 commit comments

Comments
 (0)