Ejemplo n.º 1
0
 /// <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;
 }
Ejemplo n.º 2
0
 /// <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;
 }
Ejemplo n.º 3
0
 /// <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();
 }