Exemple #1
0
def greynoise_run(
    analyzer_name,
    job_id,
    observable_name,
    observable_classification,
    additional_config_params,
):
    greynoise.run(
        analyzer_name,
        job_id,
        observable_name,
        observable_classification,
        additional_config_params,
    )
 def test_greynoise(self, mock_get=None, mock_post=None):
     report = greynoise.run(
         "GreyNoise",
         self.job_id,
         self.observable_name,
         self.observable_classification,
         {},
     )
     self.assertEqual(report.get("success", False), True)
Exemple #3
0
 def test_greynoise(self):
     report = greynoise.run("Greynoise", self.job_id, self.observable_name,
                            self.observable_classification, {})
     self.assertEqual(report.get('success', False), True)