public IncidentsController(
     AzureSentinelApiConfiguration azureConfig,
     AuthenticationService authenticationService)
 {
     _azureConfig           = azureConfig;
     _authenticationService = authenticationService;
 }
        public AuthenticationService(AzureSentinelApiConfiguration azureConfig)
        {
            _azureConfig = azureConfig;

            _authContext = new AuthenticationContext("https://login.microsoftonline.com/" + _azureConfig.TenantId);
            _credential  = new ClientCredential(_azureConfig.AppId, _azureConfig.AppSecret);
        }
Ejemplo n.º 3
0
 public DataConnectorsController(
     AzureSentinelApiConfiguration azureConfig,
     AuthenticationService authenticationService
     )
 {
     _azureConfig           = azureConfig;
     _authenticationService = authenticationService;
 }
 public AlertRuleTemplatesController(AuthenticationService authenticationService, AzureSentinelApiConfiguration azureConfig)
 {
     _authenticationService = authenticationService;
     _azureConfig           = azureConfig;
 }