/// <summary> /// Initializes a new instance of the <see cref="AzskAuditProcessor"/> class. /// </summary> /// <param name="blobStorage">Blob Storage implementation.</param> /// <param name="db">Joseki database implementation.</param> /// <param name="cache">Checks cache object.</param> /// <param name="postProcessor">ExtractOwnershipProcessor.</param> public AzskAuditProcessor(IBlobStorageProcessor blobStorage, IJosekiDatabase db, ChecksCache cache, ExtractOwnershipProcessor postProcessor) { this.blobStorage = blobStorage; this.db = db; this.cache = cache; this.extractOwnershipProcessor = postProcessor; }
/// <summary> /// Initializes a new instance of the <see cref="TrivyAuditProcessor"/> class. /// </summary> /// <param name="blobStorage">Blob Storage implementation.</param> /// <param name="db">Joseki database implementation.</param> /// <param name="cache">CVE cache object.</param> public TrivyAuditProcessor(IBlobStorageProcessor blobStorage, IJosekiDatabase db, CveCache cache) { this.blobStorage = blobStorage; this.db = db; this.cache = cache; }
/// <summary> /// Initializes a new instance of the <see cref="ScannerContainersWatchman"/> class. /// </summary> /// <param name="blobStorage">The Blob Storage.</param> /// <param name="scheduler">The scheduler assistant.</param> /// <param name="config">Joseki Backend configuration.</param> public ScannerContainersWatchman(IBlobStorageProcessor blobStorage, SchedulerAssistant scheduler, ConfigurationParser config) { this.blobStorage = blobStorage; this.scheduler = scheduler; this.config = config.Get(); }