コード例 #1
0
ファイル: tasks.py プロジェクト: ninoseki/IntelOwl
def circlpssl_run(
    analyzer_name,
    job_id,
    observable_name,
    observable_classification,
    additional_config_params,
):
    circl_pssl.run(
        analyzer_name,
        job_id,
        observable_name,
        observable_classification,
        additional_config_params,
    )
コード例 #2
0
 def test_circl_pssl(self,
                     mock_get=None,
                     mock_post=None,
                     sessions_get=None):
     report = circl_pssl.run("CIRCL_PSSL", self.job_id,
                             self.observable_name,
                             self.observable_classification, {})
     self.assertEqual(report.get('success', False), True)