Skip to content

Commit c521e9c

Browse files
[Hub Generated] Public private branch 'dev-security-Microsoft.Security-2021-07-01' (#16435)
* Adds base for updating Microsoft.Security from version preview/2021-05-01-preview to version 2021-07-01 * Updates readme * Updates API version in new specs and examples * Adding securityConnectors private API * Update the readme.md * adding custom word * Update Security Connector model in examples * Update main security connectors model with new organizational data properties, update examples as well. * added new offerings * fix pathing * fix offering name in all examples * add docs for patch endpoint * add system data resource * Remove duplication * Resolve tools issues * Change bool to boolean * Fix model validation errors * Fix lint error * CR fixes. Move systemData to root of object. Export identity type to definition * remove extra bracket * fix bracketing and pathing * lint fixes * fix camel case for linting * Fix systemData examples Co-authored-by: Sapir Elmakayes <[email protected]> Co-authored-by: Sapir Elmakayes <[email protected]>
1 parent 8c89a65 commit c521e9c

File tree

9 files changed

+884
-0
lines changed

9 files changed

+884
-0
lines changed

custom-words.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2408,4 +2408,7 @@ pmem
24082408
rawphysical
24092409
rawvirtual
24102410
sesparse
2411+
stackset
2412+
CSPM
2413+
autoprovisioning
24112414
schemagroups
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-07-01-preview",
4+
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
5+
"resourceGroupName": "myRg",
6+
"securityConnectorName": "mySecurityConnectorName"
7+
},
8+
"responses": {
9+
"200": {},
10+
"204": {}
11+
}
12+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-07-01-preview",
4+
"subscriptionId": "a5caac9c-5c04-49af-b3d0-e204f40345d5",
5+
"resourceGroupName": "exampleResourceGroup",
6+
"securityConnectorName": "exampleSecurityConnectorName"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"id": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/securityConnectors/exampleSecurityConnectorName",
12+
"name": "exampleSecurityConnectorName",
13+
"type": "Microsoft.Security/securityConnectors",
14+
"etag": "etag value",
15+
"kind": "",
16+
"location": "Central US",
17+
"tags": {},
18+
"systemData": {
19+
"createdBy": "[email protected]",
20+
"createdByType": "User",
21+
"createdAt": "2021-08-31T13:47:50.328Z",
22+
"lastModifiedBy": "[email protected]",
23+
"lastModifiedByType": "User",
24+
"lastModifiedAt": "2021-08-31T13:47:50.328Z"
25+
},
26+
"properties": {
27+
"organizationalData": null,
28+
"hierarchyIdentifier": "exampleHierarchyId",
29+
"cloudName": "AWS",
30+
"offerings": [
31+
{
32+
"offeringType": "CspmMonitorAws",
33+
"nativeCloudConnection": {
34+
"cloudRoleArn": "arn:aws:iam::00000000:role/ASCMonitor"
35+
}
36+
}
37+
]
38+
}
39+
}
40+
}
41+
}
42+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-07-01-preview",
4+
"subscriptionId": "a5caac9c-5c04-49af-b3d0-e204f40345d5",
5+
"resourceGroupName": "exampleResourceGroup"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"value": [
11+
{
12+
"id": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/securityConnectors/exampleSecurityConnectorName",
13+
"name": "exampleSecurityConnectorName",
14+
"type": "Microsoft.Security/securityConnectors",
15+
"etag": "etag value",
16+
"kind": "",
17+
"location": "Central US",
18+
"tags": {},
19+
"systemData": {
20+
"createdBy": "[email protected]",
21+
"createdByType": "User",
22+
"createdAt": "2021-08-31T13:47:50.328Z",
23+
"lastModifiedBy": "[email protected]",
24+
"lastModifiedByType": "User",
25+
"lastModifiedAt": "2021-08-31T13:47:50.328Z"
26+
},
27+
"properties": {
28+
"hierarchyIdentifier": "exampleHierarchyId",
29+
"organizationalData": null,
30+
"cloudName": "AWS",
31+
"offerings": [
32+
{
33+
"offeringType": "CspmMonitorAws",
34+
"nativeCloudConnection": {
35+
"cloudRoleArn": "arn:aws:iam::00000000:role/ASCMonitor"
36+
}
37+
}
38+
]
39+
}
40+
}
41+
]
42+
}
43+
}
44+
}
45+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-07-01-preview",
4+
"subscriptionId": "a5caac9c-5c04-49af-b3d0-e204f40345d5"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"value": [
10+
{
11+
"id": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/securityConnectors/exampleSecurityConnectorName",
12+
"name": "exampleSecurityConnectorName",
13+
"type": "Microsoft.Security/securityConnectors",
14+
"etag": "etag value",
15+
"location": "Central US",
16+
"tags": {},
17+
"systemData": {
18+
"createdBy": "[email protected]",
19+
"createdByType": "User",
20+
"createdAt": "2021-08-31T13:47:50.328Z",
21+
"lastModifiedBy": "[email protected]",
22+
"lastModifiedByType": "User",
23+
"lastModifiedAt": "2021-08-31T13:47:50.328Z"
24+
},
25+
"properties": {
26+
"hierarchyIdentifier": "exampleHierarchyId",
27+
"organizationalData": null,
28+
"cloudName": "AWS",
29+
"offerings": [
30+
{
31+
"offeringType": "CspmMonitorAws",
32+
"nativeCloudConnection": {
33+
"cloudRoleArn": "arn:aws:iam::00000000:role/ASCMonitor"
34+
}
35+
}
36+
]
37+
}
38+
}
39+
]
40+
}
41+
}
42+
}
43+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-07-01-preview",
4+
"subscriptionId": "a5caac9c-5c04-49af-b3d0-e204f40345d5",
5+
"securityConnectorName": "exampleSecurityConnectorName",
6+
"resourceGroupName": "exampleResourceGroup",
7+
"securityConnector": {
8+
"location": "Central US",
9+
"etag": "etag value (must be supplied for update)",
10+
"tags": {},
11+
"properties": {
12+
"hierarchyIdentifier": "exampleHierarchyId",
13+
"cloudName": "AWS",
14+
"offerings": [
15+
{
16+
"offeringType": "CspmMonitorAws",
17+
"nativeCloudConnection": {
18+
"cloudRoleArn": "arn:aws:iam::00000000:role/ASCMonitor"
19+
}
20+
}
21+
]
22+
}
23+
}
24+
},
25+
"responses": {
26+
"200": {
27+
"body": {
28+
"id": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/securityConnectors/exampleSecurityConnectorName",
29+
"name": "exampleSecurityConnectorName",
30+
"type": "Microsoft.Security/securityConnectors",
31+
"location": "Central US",
32+
"kind": "",
33+
"etag": "etag value",
34+
"tags": {},
35+
"systemData": {
36+
"createdBy": "[email protected]",
37+
"createdByType": "User",
38+
"createdAt": "2021-08-31T13:47:50.328Z",
39+
"lastModifiedBy": "[email protected]",
40+
"lastModifiedByType": "User",
41+
"lastModifiedAt": "2021-08-31T13:47:50.328Z"
42+
},
43+
"properties": {
44+
"hierarchyIdentifier": "exampleHierarchyId",
45+
"organizationalData": null,
46+
"cloudName": "AWS",
47+
"offerings": [
48+
{
49+
"offeringType": "CspmMonitorAws",
50+
"nativeCloudConnection": {
51+
"cloudRoleArn": "arn:aws:iam::00000000:role/ASCMonitor"
52+
}
53+
}
54+
]
55+
}
56+
}
57+
}
58+
}
59+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-07-01-preview",
4+
"subscriptionId": "a5caac9c-5c04-49af-b3d0-e204f40345d5",
5+
"securityConnectorName": "exampleSecurityConnectorName",
6+
"resourceGroupName": "exampleResourceGroup",
7+
"securityConnector": {
8+
"location": "Central US",
9+
"etag": "etag value (must be supplied for update)",
10+
"tags": {},
11+
"properties": {
12+
"hierarchyIdentifier": "exampleHierarchyId",
13+
"cloudName": "AWS",
14+
"offerings": [
15+
{
16+
"offeringType": "CspmMonitorAws",
17+
"nativeCloudConnection": {
18+
"cloudRoleArn": "arn:aws:iam::00000000:role/ASCMonitor"
19+
}
20+
}
21+
]
22+
}
23+
}
24+
},
25+
"responses": {
26+
"200": {
27+
"body": {
28+
"id": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/securityConnectors/exampleSecurityConnectorName",
29+
"name": "exampleSecurityConnectorName",
30+
"type": "Microsoft.Security/securityConnectors",
31+
"location": "Central US",
32+
"kind": "",
33+
"etag": "",
34+
"tags": {},
35+
"systemData": {
36+
"createdBy": "[email protected]",
37+
"createdByType": "User",
38+
"createdAt": "2021-08-31T13:47:50.328Z",
39+
"lastModifiedBy": "[email protected]",
40+
"lastModifiedByType": "User",
41+
"lastModifiedAt": "2021-08-31T13:47:50.328Z"
42+
},
43+
"properties": {
44+
"hierarchyIdentifier": "exampleHierarchyId",
45+
"organizationalData": null,
46+
"cloudName": "AWS",
47+
"offerings": [
48+
{
49+
"offeringType": "CspmMonitorAws",
50+
"nativeCloudConnection": {
51+
"cloudRoleArn": "arn:aws:iam::00000000:role/ASCMonitor"
52+
}
53+
}
54+
]
55+
}
56+
}
57+
},
58+
"201": {
59+
"body": {
60+
"id": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/securityConnectors/exampleSecurityConnectorName",
61+
"name": "exampleSecurityConnectorName",
62+
"type": "Microsoft.Security/securityConnectors",
63+
"location": "Central US",
64+
"kind": "",
65+
"etag": "",
66+
"tags": {},
67+
"systemData": {
68+
"createdBy": "[email protected]",
69+
"createdByType": "User",
70+
"createdAt": "2021-08-31T13:47:50.328Z",
71+
"lastModifiedBy": "[email protected]",
72+
"lastModifiedByType": "User",
73+
"lastModifiedAt": "2021-08-31T13:47:50.328Z"
74+
},
75+
"properties": {
76+
"hierarchyIdentifier": "exampleHierarchyId",
77+
"organizationalData": null,
78+
"cloudName": "AWS",
79+
"offerings": [
80+
{
81+
"offeringType": "CspmMonitorAws",
82+
"nativeCloudConnection": {
83+
"cloudRoleArn": "arn:aws:iam::00000000:role/ASCMonitor"
84+
}
85+
}
86+
]
87+
}
88+
}
89+
}
90+
}
91+
}

0 commit comments

Comments
 (0)