def test_fortiguard(self, mock_get=None, mock_post=None): report = fortiguard.Fortiguard( "Fortiguard", self.job_id, self.observable_name, self.observable_classification, {}, ).start() self.assertEqual(report.get("success", False), True)
def fortiguard_run( analyzer_name, job_id, observable_name, observable_classification, additional_config_params, ): fortiguard.Fortiguard( analyzer_name, job_id, observable_name, observable_classification, additional_config_params, ).start()