Skip to content

Commit

Permalink
Add new version for scanning 2021-10-01-preview (for dns change) (Azu…
Browse files Browse the repository at this point in the history
…re#16447)

* add new version for dns change

* address check failures

* fix readme path

Co-authored-by: Parv Saxena <[email protected]>
  • Loading branch information
2 people authored and LeiWang3 committed Mar 31, 2022
1 parent a0e5e97 commit ecc9f71
Show file tree
Hide file tree
Showing 37 changed files with 8,552 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
{
"parameters": {
"Endpoint": "{Endpoint}",
"classificationRuleName": "ClassificationRule1",
"api-version": "2021-10-01-preview",
"body": {
"kind": "Custom",
"properties": {
"description": "Let's put a cool desc here",
"classificationName": "MICROSOFT.FINANCIAL.AUSTRALIA.BANK_ACCOUNT_NUMBER",
"columnPatterns": [
{
"pattern": "^data$",
"kind": "Regex"
}
],
"dataPatterns": [
{
"pattern": "^[0-9]{2}-[0-9]{4}-[0-9]{6}-[0-9]{3}$",
"kind": "Regex"
}
],
"minimumPercentageMatch": 60,
"ruleStatus": "Enabled"
}
}
},
"responses": {
"201": {
"headers": {
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888"
},
"body": {
"id": "classificationRules/ClassificationRule1",
"name": "ClassificationRule1",
"kind": "Custom",
"properties": {
"minimumPercentageMatch": 80,
"classificationAction": "Keep",
"description": "second one",
"version": 4,
"classificationName": "MICROSOFT.FINANCIAL.AUSTRALIA.BANK_ACCOUNT_NUMBER",
"ruleStatus": "Enabled",
"createdAt": "2019-12-09T06:43:30.8478469Z",
"lastModifiedAt": "2019-12-09T07:04:53.2807344Z",
"dataPatterns": [
{
"kind": "Regex",
"pattern": "^data1$"
},
{
"kind": "Regex",
"pattern": "^data2$"
}
],
"columnPatterns": [
{
"kind": "Regex",
"pattern": "^column1$"
}
]
}
}
},
"200": {
"headers": {
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888"
},
"body": {
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataCatalog/DataCatalogs/Catalog1/ClassificationRules/ClassificationRule1",
"name": "ClassificationRule1",
"kind": "Custom",
"properties": {
"minimumPercentageMatch": 80,
"classificationAction": "Keep",
"description": "second one",
"version": 4,
"classificationName": "MICROSOFT.FINANCIAL.AUSTRALIA.BANK_ACCOUNT_NUMBER",
"ruleStatus": "Enabled",
"createdAt": "2019-12-09T06:43:30.8478469Z",
"lastModifiedAt": "2019-12-09T07:04:53.2807344Z",
"dataPatterns": [
{
"kind": "Regex",
"pattern": "^data1$"
},
{
"kind": "Regex",
"pattern": "^data2$"
}
],
"columnPatterns": [
{
"kind": "Regex",
"pattern": "^column1$"
}
]
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"parameters": {
"Endpoint": "{Endpoint}",
"subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
"resourceGroupName": "SampleResourceGroup",
"dataCatalogName": "Catalog1",
"classificationRuleName": "ClassificationRule1",
"api-version": "2021-10-01-preview"
},
"responses": {
"200": {
"headers": {
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888"
},
"body": {
"id": "/subscriptions/12345678-1234-1234-12345678abc/resourceGroups/SampleResourceGroup/providers/Microsoft.DataCatalog/DataCatalogs/Catalog1/ClassificationRules/ClassificationRule1",
"name": "ClassificationRule1",
"kind": "Custom",
"properties": {
"minimumPercentageMatch": 80,
"classificationAction": "Keep",
"description": "second one",
"version": 4,
"classificationName": "CUSTOM.TEST.TWO",
"ruleStatus": "Enabled",
"createdAt": "2019-12-09T06:43:30.8478469Z",
"lastModifiedAt": "2019-12-09T07:04:53.2807344Z",
"dataPatterns": [
{
"kind": "Regex",
"pattern": "^data1$"
},
{
"kind": "Regex",
"pattern": "^data2$"
}
],
"columnPatterns": [
{
"kind": "Regex",
"pattern": "^column1$"
}
]
}
}
},
"204": {
"headers": {
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"parameters": {
"Endpoint": "{Endpoint}",
"subscriptionId": "12345678-1234-1234-12345678abc",
"resourceGroupName": "SampleResourceGroup",
"dataCatalogName": "Catalog1",
"classificationRuleName": "ClassificationRule1",
"api-version": "2021-10-01-preview"
},
"responses": {
"200": {
"headers": {
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888"
},
"body": {
"id": "/subscriptions/12345678-1234-1234-12345678abc/resourceGroups/SampleResourceGroup/providers/Microsoft.DataCatalog/DataCatalogs/Catalog1/ClassificationRules/ClassificationRule1",
"name": "ClassificationRule1",
"kind": "Custom",
"properties": {
"minimumPercentageMatch": 80,
"classificationAction": "Keep",
"description": "second one",
"version": 4,
"classificationName": "CUSTOM.TEST.TWO",
"ruleStatus": "Enabled",
"createdAt": "2019-12-09T06:43:30.8478469Z",
"lastModifiedAt": "2019-12-09T07:04:53.2807344Z",
"dataPatterns": [
{
"kind": "Regex",
"pattern": "^data1$"
},
{
"kind": "Regex",
"pattern": "^data2$"
}
],
"columnPatterns": [
{
"kind": "Regex",
"pattern": "^column1$"
}
]
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
{
"parameters": {
"Endpoint": "{Endpoint}",
"api-version": "2021-10-01-preview",
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"resourceGroupName": "SampleResourceGroup",
"dataCatalogName": "Catalog1"
},
"responses": {
"200": {
"headers": {
"x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba"
},
"body": {
"count": 2,
"nextLink": null,
"value": [
{
"id": "/subscriptions/12345678-1234-1234-12345678abc/resourceGroups/SampleResourceGroup/providers/Microsoft.DataCatalog/DataCatalogs/Catalog1/ClassificationRules/ClassificationRule1",
"name": "ClassificationRule1",
"kind": "Custom",
"properties": {
"minimumPercentageMatch": 80,
"classificationAction": "Keep",
"description": "second one",
"version": 4,
"classificationName": "CUSTOM.TEST.TWO",
"ruleStatus": "Enabled",
"createdAt": "2019-12-09T06:43:30.8478469Z",
"lastModifiedAt": "2019-12-09T07:04:53.2807344Z",
"dataPatterns": [
{
"kind": "Regex",
"pattern": "^data1$"
},
{
"kind": "Regex",
"pattern": "^data2$"
}
],
"columnPatterns": [
{
"kind": "Regex",
"pattern": "^column1$"
}
]
}
},
{
"id": "/subscriptions/12345678-1234-1234-12345678abc/resourceGroups/SampleResourceGroup/providers/Microsoft.DataCatalog/DataCatalogs/Catalog1/ClassificationRules/ClassificationRule2",
"name": "ClassificationRule2",
"kind": "Custom",
"properties": {
"minimumPercentageMatch": 80,
"classificationAction": "Keep",
"description": "second one",
"version": 4,
"classificationName": "CUSTOM.TEST.TWO",
"ruleStatus": "Enabled",
"createdAt": "2019-12-09T06:43:30.8478469Z",
"lastModifiedAt": "2019-12-09T07:04:53.2807344Z",
"dataPatterns": [
{
"kind": "Regex",
"pattern": "^data1$"
},
{
"kind": "Regex",
"pattern": "^data2$"
}
],
"columnPatterns": [
{
"kind": "Regex",
"pattern": "^column1$"
}
]
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
{
"parameters": {
"Endpoint": "{Endpoint}",
"api-version": "2021-10-01-preview",
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"resourceGroupName": "SampleResourceGroup",
"dataCatalogName": "Catalog1",
"classificationRuleName": "ClassificationRule1"
},
"responses": {
"200": {
"headers": {
"x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba"
},
"body": {
"count": 2,
"nextLink": null,
"value": [
{
"id": "/subscriptions/12345678-1234-1234-12345678abc/resourceGroups/SampleResourceGroup/providers/Microsoft.DataCatalog/DataCatalogs/Catalog1/ClassificationRules/ClassificationRule1",
"name": "ClassificationRule1",
"kind": "Custom",
"properties": {
"minimumPercentageMatch": 80,
"classificationAction": "Keep",
"description": "second one",
"version": 2,
"classificationName": "CUSTOM.TEST.TWO",
"ruleStatus": "Enabled",
"createdAt": "2019-12-09T06:43:30.8478469Z",
"lastModifiedAt": "2019-12-09T07:04:53.2807344Z",
"dataPatterns": [
{
"kind": "Regex",
"pattern": "^data1$"
},
{
"kind": "Regex",
"pattern": "^data2$"
}
],
"columnPatterns": [
{
"kind": "Regex",
"pattern": "^column1$"
}
]
}
},
{
"id": "/subscriptions/12345678-1234-1234-12345678abc/resourceGroups/SampleResourceGroup/providers/Microsoft.DataCatalog/DataCatalogs/Catalog1/ClassificationRules/ClassificationRule1",
"name": "ClassificationRule2",
"kind": "Custom",
"properties": {
"minimumPercentageMatch": 80,
"classificationAction": "Keep",
"description": "second one",
"version": 1,
"classificationName": "CUSTOM.TEST.TWO",
"ruleStatus": "Enabled",
"createdAt": "2019-12-09T06:43:30.8478469Z",
"lastModifiedAt": "2019-12-09T07:04:53.2807344Z",
"dataPatterns": [
{
"kind": "Regex",
"pattern": "^data1$"
},
{
"kind": "Regex",
"pattern": "^data2$"
}
],
"columnPatterns": [
{
"kind": "Regex",
"pattern": "^column1$"
}
]
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"parameters": {
"Endpoint": "{Endpoint}",
"classificationRuleName": "ClassificationRule1",
"classificationRuleVersion": 3,
"api-version": "2021-10-01-preview",
"action": "Keep"
},
"responses": {
"202": {
"headers": {
"x-ms-request-id": "00000000-0000-0000-0000-00000000000"
},
"body": {
"status": "Accepted"
}
}
}
}
Loading

0 comments on commit ecc9f71

Please sign in to comment.