Пример #1
0
def fortiguard_run(
    analyzer_name,
    job_id,
    observable_name,
    observable_classification,
    additional_config_params,
):
    fortiguard.run(
        analyzer_name,
        job_id,
        observable_name,
        observable_classification,
        additional_config_params,
    )
Пример #2
0
 def test_fortiguard(self, mock_get=None, mock_post=None):
     report = fortiguard.run(
         "Fortiguard",
         self.job_id,
         self.observable_name,
         self.observable_classification,
         {},
     )
     self.assertEqual(report.get("success", False), True)
Пример #3
0
 def test_fortiguard(self):
     report = fortiguard.run("Fortiguard", self.job_id,
                             self.observable_name,
                             self.observable_classification, {})
     self.assertEqual(report.get('success', False), True)