Skip to content

Commit 1059736

Browse files
Update README.md
1 parent ac59e17 commit 1059736

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

samples/manage/sql-assessment-api/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Demonstrates how to make a custom ruleset containing two checks. The sample cont
3434
"type": "Database", //This check targets Database object
3535
"version": "[13.0,)", //Applies to SQL Server 2016 and higher
3636
//Another example: "[12.0,13.0)" reads as "any SQL Server version >= 12.0 and < 13.0"
37-
"platform": "/^(Windows|Linux)$/", //Applies to SQL Server on Windows and Linux
37+
"platform": "Windows, Linux", //Applies to SQL Server on Windows and Linux
3838
"engineEdition": "OnPremises, ManagedInstance", //Applies to SQL on Premises and Azure SQL Managed Instance. Here you can also filter specific editions of SQL Server
3939
"name": { "not": "/^(master|tempdb|model)$/" } //Applies to any database excluding master, tempdb, and msdb
4040
},
@@ -67,7 +67,7 @@ Demonstrates how to make a custom ruleset containing two checks. The sample cont
6767
"target": { //Probes have their own target, usually to separate implementation for different versions, editions, or platforms. Probe targets work the same way as rule targets do.
6868
"type": "Database",
6969
"version": "(,12.0)", //This target is for SQL Server of versions prior to 2014
70-
"platform": "/^(Windows|Linux)$/",
70+
"platform": "Windows, Linux",
7171
"engineEdition": "OnPremises, ManagedInstance"
7272
},
7373
"implementation": { //Implementation object with a T-SQL query. This probe is used in many rules, that's why the query return so many fields
@@ -79,7 +79,7 @@ Demonstrates how to make a custom ruleset containing two checks. The sample cont
7979
"target": {
8080
"type": "Database",
8181
"version": "[12.0, 13.0)",
82-
"platform": "/^(Windows|Linux)$/",
82+
"platform": "Windows, Linux",
8383
"engineEdition": "OnPremises, ManagedInstance"
8484
},
8585
"implementation": {
@@ -91,7 +91,7 @@ Demonstrates how to make a custom ruleset containing two checks. The sample cont
9191
"target": {
9292
"type": "Database",
9393
"version": "[13.0,)",
94-
"platform": "/^(Windows|Linux)$/",
94+
"platform": "Windows, Linux",
9595
"engineEdition": "OnPremises, ManagedInstance"
9696
},
9797
"implementation": {

0 commit comments

Comments
 (0)