Ejemplo n.º 1
0
 public PowerShellSecurityDescriptorGenerator(ILogger <PowerShellSecurityDescriptorGenerator> logger, IPowerShellSessionProvider sessionProvider)
 {
     this.sessionProvider = sessionProvider;
     this.logger          = logger;
 }
Ejemplo 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;
 }