Skip to content

Commit 200ea2b

Browse files
pvadali-azFredericHeem
authored andcommitted
[Purview - Scanning] adds new version for scanning 2022-02-01-preview (Azure#17382)
* adds new version for credentials api * adding new version to ReadMe * tagging /credentials * tagging /credential * rearranging ReadMe so that default tag could be detected * rearranging ReadMe so that default tag could be detected * testing avacado * adding 2022-02-01 back to ReadMe * testing avacado readme checker * testing avacado readme checker * testing a new readme file * Revert "testing a new readme file" This reverts commit e5536c9. * testing AzureStorage discriminator * pr feedback * pr feedback * adds description for credential models * fixes typo
1 parent b3b2218 commit 200ea2b

41 files changed

Lines changed: 9316 additions & 4 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
{
2+
"parameters": {
3+
"Endpoint": "{Endpoint}",
4+
"classificationRuleName": "ClassificationRule1",
5+
"api-version": "2022-02-01-preview",
6+
"body": {
7+
"kind": "Custom",
8+
"properties": {
9+
"description": "Let's put a cool desc here",
10+
"classificationName": "MICROSOFT.FINANCIAL.AUSTRALIA.BANK_ACCOUNT_NUMBER",
11+
"columnPatterns": [
12+
{
13+
"pattern": "^data$",
14+
"kind": "Regex"
15+
}
16+
],
17+
"dataPatterns": [
18+
{
19+
"pattern": "^[0-9]{2}-[0-9]{4}-[0-9]{6}-[0-9]{3}$",
20+
"kind": "Regex"
21+
}
22+
],
23+
"minimumPercentageMatch": 60,
24+
"ruleStatus": "Enabled"
25+
}
26+
}
27+
},
28+
"responses": {
29+
"201": {
30+
"headers": {
31+
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888"
32+
},
33+
"body": {
34+
"id": "classificationRules/ClassificationRule1",
35+
"name": "ClassificationRule1",
36+
"kind": "Custom",
37+
"properties": {
38+
"minimumPercentageMatch": 80,
39+
"classificationAction": "Keep",
40+
"description": "second one",
41+
"version": 4,
42+
"classificationName": "MICROSOFT.FINANCIAL.AUSTRALIA.BANK_ACCOUNT_NUMBER",
43+
"ruleStatus": "Enabled",
44+
"createdAt": "2019-12-09T06:43:30.8478469Z",
45+
"lastModifiedAt": "2019-12-09T07:04:53.2807344Z",
46+
"dataPatterns": [
47+
{
48+
"kind": "Regex",
49+
"pattern": "^data1$"
50+
},
51+
{
52+
"kind": "Regex",
53+
"pattern": "^data2$"
54+
}
55+
],
56+
"columnPatterns": [
57+
{
58+
"kind": "Regex",
59+
"pattern": "^column1$"
60+
}
61+
]
62+
}
63+
}
64+
},
65+
"200": {
66+
"headers": {
67+
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888"
68+
},
69+
"body": {
70+
"id": "/subscriptions/433a8dfd-e5d5-4e77-ad86-90acdc75eb1a/resourceGroups/SampleResourceGroup/providers/Microsoft.DataCatalog/DataCatalogs/Catalog1/ClassificationRules/ClassificationRule1",
71+
"name": "ClassificationRule1",
72+
"kind": "Custom",
73+
"properties": {
74+
"minimumPercentageMatch": 80,
75+
"classificationAction": "Keep",
76+
"description": "second one",
77+
"version": 4,
78+
"classificationName": "MICROSOFT.FINANCIAL.AUSTRALIA.BANK_ACCOUNT_NUMBER",
79+
"ruleStatus": "Enabled",
80+
"createdAt": "2019-12-09T06:43:30.8478469Z",
81+
"lastModifiedAt": "2019-12-09T07:04:53.2807344Z",
82+
"dataPatterns": [
83+
{
84+
"kind": "Regex",
85+
"pattern": "^data1$"
86+
},
87+
{
88+
"kind": "Regex",
89+
"pattern": "^data2$"
90+
}
91+
],
92+
"columnPatterns": [
93+
{
94+
"kind": "Regex",
95+
"pattern": "^column1$"
96+
}
97+
]
98+
}
99+
}
100+
}
101+
}
102+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"parameters": {
3+
"Endpoint": "{Endpoint}",
4+
"subscriptionId": "433a8dfd-e5d5-4e77-ad86-90acdc75eb1a",
5+
"resourceGroupName": "SampleResourceGroup",
6+
"dataCatalogName": "Catalog1",
7+
"classificationRuleName": "ClassificationRule1",
8+
"api-version": "2022-02-01-preview"
9+
},
10+
"responses": {
11+
"200": {
12+
"headers": {
13+
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888"
14+
},
15+
"body": {
16+
"id": "/subscriptions/12345678-1234-1234-12345678abc/resourceGroups/SampleResourceGroup/providers/Microsoft.DataCatalog/DataCatalogs/Catalog1/ClassificationRules/ClassificationRule1",
17+
"name": "ClassificationRule1",
18+
"kind": "Custom",
19+
"properties": {
20+
"minimumPercentageMatch": 80,
21+
"classificationAction": "Keep",
22+
"description": "second one",
23+
"version": 4,
24+
"classificationName": "CUSTOM.TEST.TWO",
25+
"ruleStatus": "Enabled",
26+
"createdAt": "2019-12-09T06:43:30.8478469Z",
27+
"lastModifiedAt": "2019-12-09T07:04:53.2807344Z",
28+
"dataPatterns": [
29+
{
30+
"kind": "Regex",
31+
"pattern": "^data1$"
32+
},
33+
{
34+
"kind": "Regex",
35+
"pattern": "^data2$"
36+
}
37+
],
38+
"columnPatterns": [
39+
{
40+
"kind": "Regex",
41+
"pattern": "^column1$"
42+
}
43+
]
44+
}
45+
}
46+
},
47+
"204": {
48+
"headers": {
49+
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888"
50+
}
51+
}
52+
}
53+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"parameters": {
3+
"Endpoint": "{Endpoint}",
4+
"subscriptionId": "12345678-1234-1234-12345678abc",
5+
"resourceGroupName": "SampleResourceGroup",
6+
"dataCatalogName": "Catalog1",
7+
"classificationRuleName": "ClassificationRule1",
8+
"api-version": "2022-02-01-preview"
9+
},
10+
"responses": {
11+
"200": {
12+
"headers": {
13+
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888"
14+
},
15+
"body": {
16+
"id": "/subscriptions/12345678-1234-1234-12345678abc/resourceGroups/SampleResourceGroup/providers/Microsoft.DataCatalog/DataCatalogs/Catalog1/ClassificationRules/ClassificationRule1",
17+
"name": "ClassificationRule1",
18+
"kind": "Custom",
19+
"properties": {
20+
"minimumPercentageMatch": 80,
21+
"classificationAction": "Keep",
22+
"description": "second one",
23+
"version": 4,
24+
"classificationName": "CUSTOM.TEST.TWO",
25+
"ruleStatus": "Enabled",
26+
"createdAt": "2019-12-09T06:43:30.8478469Z",
27+
"lastModifiedAt": "2019-12-09T07:04:53.2807344Z",
28+
"dataPatterns": [
29+
{
30+
"kind": "Regex",
31+
"pattern": "^data1$"
32+
},
33+
{
34+
"kind": "Regex",
35+
"pattern": "^data2$"
36+
}
37+
],
38+
"columnPatterns": [
39+
{
40+
"kind": "Regex",
41+
"pattern": "^column1$"
42+
}
43+
]
44+
}
45+
}
46+
}
47+
}
48+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
{
2+
"parameters": {
3+
"Endpoint": "{Endpoint}",
4+
"api-version": "2022-02-01-preview",
5+
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
6+
"resourceGroupName": "SampleResourceGroup",
7+
"dataCatalogName": "Catalog1"
8+
},
9+
"responses": {
10+
"200": {
11+
"headers": {
12+
"x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba"
13+
},
14+
"body": {
15+
"count": 2,
16+
"nextLink": null,
17+
"value": [
18+
{
19+
"id": "/subscriptions/12345678-1234-1234-12345678abc/resourceGroups/SampleResourceGroup/providers/Microsoft.DataCatalog/DataCatalogs/Catalog1/ClassificationRules/ClassificationRule1",
20+
"name": "ClassificationRule1",
21+
"kind": "Custom",
22+
"properties": {
23+
"minimumPercentageMatch": 80,
24+
"classificationAction": "Keep",
25+
"description": "second one",
26+
"version": 4,
27+
"classificationName": "CUSTOM.TEST.TWO",
28+
"ruleStatus": "Enabled",
29+
"createdAt": "2019-12-09T06:43:30.8478469Z",
30+
"lastModifiedAt": "2019-12-09T07:04:53.2807344Z",
31+
"dataPatterns": [
32+
{
33+
"kind": "Regex",
34+
"pattern": "^data1$"
35+
},
36+
{
37+
"kind": "Regex",
38+
"pattern": "^data2$"
39+
}
40+
],
41+
"columnPatterns": [
42+
{
43+
"kind": "Regex",
44+
"pattern": "^column1$"
45+
}
46+
]
47+
}
48+
},
49+
{
50+
"id": "/subscriptions/12345678-1234-1234-12345678abc/resourceGroups/SampleResourceGroup/providers/Microsoft.DataCatalog/DataCatalogs/Catalog1/ClassificationRules/ClassificationRule2",
51+
"name": "ClassificationRule2",
52+
"kind": "Custom",
53+
"properties": {
54+
"minimumPercentageMatch": 80,
55+
"classificationAction": "Keep",
56+
"description": "second one",
57+
"version": 4,
58+
"classificationName": "CUSTOM.TEST.TWO",
59+
"ruleStatus": "Enabled",
60+
"createdAt": "2019-12-09T06:43:30.8478469Z",
61+
"lastModifiedAt": "2019-12-09T07:04:53.2807344Z",
62+
"dataPatterns": [
63+
{
64+
"kind": "Regex",
65+
"pattern": "^data1$"
66+
},
67+
{
68+
"kind": "Regex",
69+
"pattern": "^data2$"
70+
}
71+
],
72+
"columnPatterns": [
73+
{
74+
"kind": "Regex",
75+
"pattern": "^column1$"
76+
}
77+
]
78+
}
79+
}
80+
]
81+
}
82+
}
83+
}
84+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
{
2+
"parameters": {
3+
"Endpoint": "{Endpoint}",
4+
"api-version": "2022-02-01-preview",
5+
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
6+
"resourceGroupName": "SampleResourceGroup",
7+
"dataCatalogName": "Catalog1",
8+
"classificationRuleName": "ClassificationRule1"
9+
},
10+
"responses": {
11+
"200": {
12+
"headers": {
13+
"x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba"
14+
},
15+
"body": {
16+
"count": 2,
17+
"nextLink": null,
18+
"value": [
19+
{
20+
"id": "/subscriptions/12345678-1234-1234-12345678abc/resourceGroups/SampleResourceGroup/providers/Microsoft.DataCatalog/DataCatalogs/Catalog1/ClassificationRules/ClassificationRule1",
21+
"name": "ClassificationRule1",
22+
"kind": "Custom",
23+
"properties": {
24+
"minimumPercentageMatch": 80,
25+
"classificationAction": "Keep",
26+
"description": "second one",
27+
"version": 2,
28+
"classificationName": "CUSTOM.TEST.TWO",
29+
"ruleStatus": "Enabled",
30+
"createdAt": "2019-12-09T06:43:30.8478469Z",
31+
"lastModifiedAt": "2019-12-09T07:04:53.2807344Z",
32+
"dataPatterns": [
33+
{
34+
"kind": "Regex",
35+
"pattern": "^data1$"
36+
},
37+
{
38+
"kind": "Regex",
39+
"pattern": "^data2$"
40+
}
41+
],
42+
"columnPatterns": [
43+
{
44+
"kind": "Regex",
45+
"pattern": "^column1$"
46+
}
47+
]
48+
}
49+
},
50+
{
51+
"id": "/subscriptions/12345678-1234-1234-12345678abc/resourceGroups/SampleResourceGroup/providers/Microsoft.DataCatalog/DataCatalogs/Catalog1/ClassificationRules/ClassificationRule1",
52+
"name": "ClassificationRule2",
53+
"kind": "Custom",
54+
"properties": {
55+
"minimumPercentageMatch": 80,
56+
"classificationAction": "Keep",
57+
"description": "second one",
58+
"version": 1,
59+
"classificationName": "CUSTOM.TEST.TWO",
60+
"ruleStatus": "Enabled",
61+
"createdAt": "2019-12-09T06:43:30.8478469Z",
62+
"lastModifiedAt": "2019-12-09T07:04:53.2807344Z",
63+
"dataPatterns": [
64+
{
65+
"kind": "Regex",
66+
"pattern": "^data1$"
67+
},
68+
{
69+
"kind": "Regex",
70+
"pattern": "^data2$"
71+
}
72+
],
73+
"columnPatterns": [
74+
{
75+
"kind": "Regex",
76+
"pattern": "^column1$"
77+
}
78+
]
79+
}
80+
}
81+
]
82+
}
83+
}
84+
}
85+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"parameters": {
3+
"Endpoint": "{Endpoint}",
4+
"classificationRuleName": "ClassificationRule1",
5+
"classificationRuleVersion": 3,
6+
"api-version": "2022-02-01-preview",
7+
"action": "Keep"
8+
},
9+
"responses": {
10+
"202": {
11+
"headers": {
12+
"x-ms-request-id": "00000000-0000-0000-0000-00000000000"
13+
},
14+
"body": {
15+
"status": "Accepted"
16+
}
17+
}
18+
}
19+
}

0 commit comments

Comments
 (0)