public SqlVulnerabilityAssessmentAdapter(IAzureContext context) : base(context)
 {
     Context      = context;
     Subscription = context?.Subscription;
     VulnerabilityAssessmentCommunicator = new VulnerabilityAssessmentEndpointsCommunicator(Context);
     AzureCommunicator = new AzureEndpointsCommunicator(Context);
 }
Ejemplo n.º 2
0
 public SqlAuditAdapter(IAzureContext context)
 {
     Context           = context;
     Subscription      = context?.Subscription;
     Communicator      = new AuditingEndpointsCommunicator(Context);
     AzureCommunicator = new AzureEndpointsCommunicator(Context);
 }
 public SqlThreatDetectionAdapter(IAzureContext context)
 {
     Context = context;
     ThreatDetectionCommunicator = new ThreatDetectionEndpointsCommunicator(Context);
     AzureCommunicator           = new AzureEndpointsCommunicator(Context);
     AuditingAdapter             = new SqlAuditAdapter(context);
 }
 public SqlAdvancedDataSecurityAdapter(IAzureContext context)
 {
     Context      = context;
     Subscription = context?.Subscription;
     SqlThreatDetectionAdapter = new SqlThreatDetectionAdapter(Context);
     AzureCommunicator         = new AzureEndpointsCommunicator(Context);
 }
Ejemplo n.º 5
0
 public SqlAuditAdapter(AzureContext context)
 {
     Context           = context;
     Subscription      = context.Subscription;
     Communicator      = new AuditingEndpointsCommunicator(Context);
     AzureCommunicator = new AzureEndpointsCommunicator(Context);
     IgnoreStorage     = false;
 }
Ejemplo n.º 6
0
 public SqlAuditAdapter(AzureProfile profile, AzureSubscription subscription)
 {
     Profile           = profile;
     Subscription      = subscription;
     Communicator      = new AuditingEndpointsCommunicator(Profile, subscription);
     AzureCommunicator = new AzureEndpointsCommunicator(Profile, subscription);
     IgnoreStorage     = false;
 }
 public SqlAuditAdapter(IAzureContext context, Guid roleAssignmentId = default(Guid))
 {
     Context           = context;
     Subscription      = context?.Subscription;
     Communicator      = new AuditingEndpointsCommunicator(Context);
     AzureCommunicator = new AzureEndpointsCommunicator(Context);
     RoleAssignmentId  = roleAssignmentId;
 }
Ejemplo n.º 8
0
 /// <summary>
 /// Lazy creation of a single instance of a storage client
 /// </summary>
 private StorageManagementClient GetCurrentStorageClient() => StorageClient ?? (StorageClient = AzureEndpointsCommunicator.GetStorageV2Client(Context));
 public DataClassificationAdapter(IAzureContext context)
 {
     Context           = context;
     Communicator      = new DataClassificationEndpointsCommunicator(context);
     AzureCommunicator = new AzureEndpointsCommunicator(Context);
 }