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

    def configure(self):
        vc_api = VeracodeAPI(self.config)
        self.vc_integrator = VeracodeIntegrator(vc_api, self.config)

    def handle(self):
        self.vc_integrator.initialize()
        self.vc_integrator.load_mapping_from_xml()
        self.vc_integrator.parse()
        self.emit.info('Finding file parsed successfully. Starting the import')
        self.vc_integrator.import_findings()