def __init__(self): self.config = Config() self.NEXUS_URL_OLD = self.config.NEXUS_URL_OLD self.NEXUS_URL_NEW = self.config.NEXUS_URL_NEW self.const = Constants() self.utils = Utils() self.maven = [] self.gradle = []
def __init__(self): self.es = elastic() self.const = Constants() self.utils = Utils() self.config = Config()
def __init__(self): self.const = Constants() self.config = Config()
def __init__(self): self.const = Constants() self.utils = Utils()
import shutil import uuid import time import json import os mrc = MyRemoteCallbacks() config = Config() java = Java() dc = DependencyCheck() go = GoLang() node = NodeJs() repos = mrc.scan_repos() command = Command() const = Constants() gp = Gosecparser() fsbp = Fsbparser() dcp = Dependencycheckparser() np = Npmauditparser() utils = Utils() java_repos = [] go_repos = [] node_repos = [] repos_to_scan = [] def scan_complete(): """ """
def __init__(self): self.java = Java() self.const = Constants() self.utils = Utils() self.config = Config()
def __init__(self): self.config = Constants() self.es = Elasticsearch([self.config.ES_URL]) self.es.indices.create(index="patronus", ignore=400)