File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
analyzers/DomainToolsIris Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff 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" ,
You can’t perform that action at this time.
0 commit comments