Merge pull request #9 from alexprotsenko/patch-17

Update SQLAssessmentAPITutorialNotebook.ipynb
This commit is contained in:
Altana Tsedenova
2020-07-15 20:31:11 +03:00
committed by GitHub
@@ -485,7 +485,6 @@
"cell_type": "code",
"source": [
"#Create new rule with cmd probe type. It runs 'dir' cmd command and checks that resulted list is'n empty.\r\n",
"# !!! Complete the prerequisites below before running this block.\r\n",
"#Make sure that xp_cmdshell is enabled\r\n",
"Invoke-SqlAssessment $serverInstance -configuration $(join-path $samplesPath \"CustomRuleCmdShellProbe.json\")"
],
@@ -513,7 +512,6 @@
"source": [
"#Create new rule with Powershell probe type.\r\n",
"#It runs query to get major PS version\r\n",
"# !!! Complete the prerequisites below before running this block.\r\n",
"#Make sure that xp_cmdshell is enabled and PS execution policy is RemoteSigned or Unrestricted.\r\n",
"Invoke-SqlAssessment $serverInstance -configuration $(join-path $samplesPath \"CustomRulePowerShellProbe.json\")"
],
@@ -538,7 +536,7 @@
"cell_type": "code",
"source": [
"#Create new rule with Registry probe\r\n",
"# !!! Complete the prerequisites below before running this block.\r\n",
"#Make sure that xp_cmdshell is enabled\r\n",
"Invoke-SqlAssessment $serverInstance -configuration $(join-path $samplesPath \"CustomRuleRegistryProbe.json\")"
],
"metadata": {
@@ -564,7 +562,6 @@
"cell_type": "code",
"source": [
"#Create new rule with WMI probe\r\n",
"# !!! Complete the prerequisites below before running this block.\r\n",
"#Make sure that xp_cmdshell is enabled.\r\n",
"Invoke-SqlAssessment $serverInstance -configuration $(join-path $samplesPath \"CustomRuleWmiProbe.json\")"
],
@@ -615,4 +612,4 @@
}
}
]
}
}