Ejemplo n.º 1
0
def robtex_run(
    analyzer_name,
    job_id,
    observable_name,
    observable_classification,
    additional_config_params,
):
    robtex.run(
        analyzer_name,
        job_id,
        observable_name,
        observable_classification,
        additional_config_params,
    )
Ejemplo n.º 2
0
 def test_robtex_fdns(self, mock_get=None, mock_post=None):
     report = robtex.run(
         "Robtex_Forward_PDNS_Query",
         self.job_id,
         self.observable_name,
         self.observable_classification,
         {},
     )
     self.assertEqual(report.get("success", False), True)
Ejemplo n.º 3
0
 def test_robtex_rdns(self, mock_get=None, mock_post=None):
     report = robtex.run("Robtex_Reverse_PDNS_Query", self.job_id,
                         self.observable_name,
                         self.observable_classification, {})
     self.assertEqual(report.get('success', False), True)