Esempio n. 1
0
 public PowerShellSecurityDescriptorGenerator(ILogger <PowerShellSecurityDescriptorGenerator> logger, IPowerShellSessionProvider sessionProvider)
 {
     this.sessionProvider = sessionProvider;
     this.logger          = logger;
 }
Esempio n. 2
0
 public PowershellNotificationChannel(ILogger <PowershellNotificationChannel> logger, IOptionsSnapshot <AuditOptions> auditSettings, ChannelWriter <Action> queue, IPowerShellSessionProvider sessionProvider)
     : base(logger, queue)
 {
     this.NotificationChannelDefinitions = auditSettings.Value.NotificationChannels.Powershell;
     this.sessionProvider = sessionProvider;
 }