File tree Expand file tree Collapse file tree
samples/manage/sql-assessment-api/notebooks Expand file tree Collapse file tree Original file line number Diff line number Diff line change 485485 "cell_type" : " code" ,
486486 "source" : [
487487 " #Create new rule with cmd probe type. It runs 'dir' cmd command and checks that resulted list is'n empty.\r\n " ,
488- " # !!! Complete the prerequisites below before running this block.\r\n " ,
489488 " #Make sure that xp_cmdshell is enabled\r\n " ,
490489 " Invoke-SqlAssessment $serverInstance -configuration $(join-path $samplesPath \" CustomRuleCmdShellProbe.json\" )"
491490 ],
513512 "source" : [
514513 " #Create new rule with Powershell probe type.\r\n " ,
515514 " #It runs query to get major PS version\r\n " ,
516- " # !!! Complete the prerequisites below before running this block.\r\n " ,
517515 " #Make sure that xp_cmdshell is enabled and PS execution policy is RemoteSigned or Unrestricted.\r\n " ,
518516 " Invoke-SqlAssessment $serverInstance -configuration $(join-path $samplesPath \" CustomRulePowerShellProbe.json\" )"
519517 ],
538536 "cell_type" : " code" ,
539537 "source" : [
540538 " #Create new rule with Registry probe\r\n " ,
541- " # !!! Complete the prerequisites below before running this block. \r\n " ,
539+ " #Make sure that xp_cmdshell is enabled \r\n " ,
542540 " Invoke-SqlAssessment $serverInstance -configuration $(join-path $samplesPath \" CustomRuleRegistryProbe.json\" )"
543541 ],
544542 "metadata" : {
564562 "cell_type" : " code" ,
565563 "source" : [
566564 " #Create new rule with WMI probe\r\n " ,
567- " # !!! Complete the prerequisites below before running this block.\r\n " ,
568565 " #Make sure that xp_cmdshell is enabled.\r\n " ,
569566 " Invoke-SqlAssessment $serverInstance -configuration $(join-path $samplesPath \" CustomRuleWmiProbe.json\" )"
570567 ],
615612 }
616613 }
617614 ]
618- }
615+ }
You can’t perform that action at this time.
0 commit comments