Ejemplo n.º 1
0
class Command(BaseCommand):
    help = 'Checkmarx -> SDE import utility.'

    def configure(self):
        self.cx_api = CheckmarxSOAPApi(self.config)
        self.cx_integrator = CheckmarxIntegrator(self.cx_api, self.config)

    def handle(self):
        self.cx_integrator.initialize()
        self.cx_integrator.load_mapping_from_xml()
        self.cx_integrator.parse()
        self.emit.info('Finding file parsed successfully. Starting the import')
        self.cx_integrator.import_findings()
Ejemplo n.º 2
0
 def configure(self):
     self.cx_api = CheckmarxSOAPApi(self.config)
     self.cx_integrator = CheckmarxIntegrator(self.cx_api, self.config)