示例#1
0
def abuseipdb_run(
    analyzer_name,
    job_id,
    observable_name,
    observable_classification,
    additional_config_params,
):
    abuseipdb.run(
        analyzer_name,
        job_id,
        observable_name,
        observable_classification,
        additional_config_params,
    )
示例#2
0
 def test_abuseipdb(self, mock_get=None, mock_post=None):
     report = abuseipdb.run(
         "AbuseIPDB",
         self.job_id,
         self.observable_name,
         self.observable_classification,
         {},
     )
     self.assertEqual(report.get("success", False), True)
示例#3
0
 def test_abuseipdb(self):
     report = abuseipdb.run("AbuseIPDB", self.job_id, self.observable_name,
                            self.observable_classification, {})
     self.assertEqual(report.get('success', False), True)