mirror of https://github.com/MISP/misp-modules
chg: [tests] historical records in threatcrowd
parent
6dda2d08c0
commit
513e8eabc6
|
@ -464,7 +464,7 @@ class TestExpansions(unittest.TestCase):
|
|||
def test_threatcrowd(self):
|
||||
query_types = ('domain', 'ip-src', 'md5', 'whois-registrant-email')
|
||||
query_values = ('circl.lu', '185.194.93.14', '616eff3e9a7575ae73821b4668d2801c', 'hostmaster@eurodns.com')
|
||||
results = ('185.194.93.14', 'cve.circl.lu', 'devilreturns.com', 'navabi.lu')
|
||||
results = ('149.13.33.4', 'cve.circl.lu', 'devilreturns.com', 'navabi.lu')
|
||||
for query_type, query_value, result in zip(query_types, query_values, results):
|
||||
query = {"module": "threatcrowd", query_type: query_value}
|
||||
response = self.misp_modules_post(query)
|
||||
|
|
Loading…
Reference in New Issue