/// <summary>
 /// Remove the Vulnerability Assessment Rule Baseline
 /// </summary>
 public void ClearVulnerabilityAssessmentRuleBaseline(VulnerabilityAssessmentRuleBaselineModel model, string serverName, string databaseName, ApplyToType applyToType)
 {
     if (applyToType == ApplyToType.Database)
     {
         VulnerabilityAssessmentCommunicator.ClearDatabaseVulnerabilityAssessmentRuleBaseline(model.ResourceGroupName, serverName, databaseName, model.RuleId, model.RuleAppliesToMaster);
     }
     else
     {
         VulnerabilityAssessmentCommunicator.ClearManagedDatabaseVulnerabilityAssessmentRuleBaseline(model.ResourceGroupName, serverName, databaseName, model.RuleId, model.RuleAppliesToMaster);
     }
 }
예제 #2
0
 /// <summary>
 /// Remove the Vulnerability Assessment Rule Baseline
 /// </summary>
 public void ClearDatabaseVulnerabilityAssessmentRuleBaseline(DatabaseVulnerabilityAssessmentRuleBaselineModel model)
 {
     VulnerabilityAssessmentCommunicator.ClearDatabaseVulnerabilityAssessmentRuleBaseline(model.ResourceGroupName, model.ServerName,
                                                                                          model.DatabaseName, model.RuleId, model.RuleAppliesToMaster);
 }