Ejemplo n.º 1
0
def onyphe_run(
    analyzer_name,
    job_id,
    observable_name,
    observable_classification,
    additional_config_params,
):
    onyphe.run(
        analyzer_name,
        job_id,
        observable_name,
        observable_classification,
        additional_config_params,
    )
Ejemplo n.º 2
0
 def test_onyphe(self, mock_get=None, mock_post=None):
     report = onyphe.run(
         "ONYPHE",
         self.job_id,
         self.observable_name,
         self.observable_classification,
         {},
     )
     self.assertEqual(report.get("success", False), True)