Skip to content

Commit 2db2bee

Browse files
Ameer-azamazbuzha
andauthored
[Hub Generated] Review request for Microsoft.Security to add version preview/2023-03-01-preview (#23227)
* Adds base for updating Microsoft.Security from version preview/2022-08-01-preview to version 2023-03-01-preview * Updates readme * Updates API version in new specs and examples * 03 version changes * change readme tag * update composite v3 --------- Co-authored-by: Ameer Abu Zhaia <[email protected]>
1 parent 09119c0 commit 2db2bee

File tree

9 files changed

+2029
-1
lines changed

9 files changed

+2029
-1
lines changed

custom-words.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2769,3 +2769,5 @@ Overprovisioning
27692769
Unprepares
27702770
Unpreparing
27712771
typespec
2772+
DSPM
2773+
Dspm
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-03-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,44 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-03-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+
"environmentData": {
28+
"environmentType": "AwsAccount"
29+
},
30+
"hierarchyIdentifier": "exampleHierarchyId",
31+
"environmentName": "AWS",
32+
"offerings": [
33+
{
34+
"offeringType": "CspmMonitorAws",
35+
"nativeCloudConnection": {
36+
"cloudRoleArn": "arn:aws:iam::00000000:role/ASCMonitor"
37+
}
38+
}
39+
]
40+
}
41+
}
42+
}
43+
}
44+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-03-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/exampleSecurityConnectorAws",
13+
"name": "exampleSecurityConnectorAws",
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+
"environmentData": {
30+
"environmentType": "AwsAccount"
31+
},
32+
"environmentName": "AWS",
33+
"offerings": [
34+
{
35+
"offeringType": "CspmMonitorAws",
36+
"nativeCloudConnection": {
37+
"cloudRoleArn": "arn:aws:iam::00000000:role/ASCMonitor"
38+
}
39+
}
40+
]
41+
}
42+
},
43+
{
44+
"id": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/securityConnectors/exampleSecurityConnectorAwsOrganization",
45+
"name": "exampleSecurityConnectorAwsOrganization",
46+
"type": "Microsoft.Security/securityConnectors",
47+
"etag": "etag value",
48+
"kind": "",
49+
"location": "Central US",
50+
"tags": {},
51+
"systemData": {
52+
"createdBy": "[email protected]",
53+
"createdByType": "User",
54+
"createdAt": "2021-12-15T13:47:50.328Z",
55+
"lastModifiedBy": "[email protected]",
56+
"lastModifiedByType": "User",
57+
"lastModifiedAt": "2021-12-15T13:47:50.328Z"
58+
},
59+
"properties": {
60+
"hierarchyIdentifier": "exampleHierarchyId",
61+
"environmentData": {
62+
"environmentType": "AwsAccount",
63+
"organizationalData": {
64+
"organizationMembershipType": "Organization",
65+
"stacksetName": "myStackSetName",
66+
"excludedAccountIds": [
67+
"excludedAccountIdExample"
68+
]
69+
}
70+
},
71+
"environmentName": "AWS",
72+
"offerings": [
73+
{
74+
"offeringType": "CspmMonitorAws",
75+
"nativeCloudConnection": {
76+
"cloudRoleArn": "arn:aws:iam::00000000:role/ASCMonitor"
77+
}
78+
}
79+
]
80+
}
81+
},
82+
{
83+
"id": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup/providers/Microsoft.Security/securityConnectors/exampleSecurityConnectorGcp",
84+
"name": "exampleSecurityConnectorGcp",
85+
"type": "Microsoft.Security/securityConnectors",
86+
"etag": "etag value",
87+
"kind": "",
88+
"location": "Central US",
89+
"tags": {},
90+
"systemData": {
91+
"createdBy": "[email protected]",
92+
"createdByType": "User",
93+
"createdAt": "2021-12-15T13:47:50.328Z",
94+
"lastModifiedBy": "[email protected]",
95+
"lastModifiedByType": "User",
96+
"lastModifiedAt": "2021-12-15T13:47:50.328Z"
97+
},
98+
"properties": {
99+
"hierarchyIdentifier": "exampleHierarchyId",
100+
"environmentData": {
101+
"environmentType": "GcpProject",
102+
"projectDetails": {
103+
"projectNumber": "exampleHierarchyId",
104+
"projectId": "My-0GCP-Project",
105+
"workloadIdentityPoolId": "My-workload-identity-federation-pool-id"
106+
}
107+
},
108+
"environmentName": "GCP",
109+
"offerings": [
110+
{
111+
"offeringType": "CspmMonitorGcp",
112+
"nativeCloudConnection": {
113+
"workloadIdentityProviderId": "My workload identity provider Id",
114+
"serviceAccountEmailAddress": "[email protected]"
115+
}
116+
}
117+
]
118+
}
119+
}
120+
]
121+
}
122+
}
123+
}
124+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,181 @@
1+
{
2+
"parameters": {
3+
"api-version": "2023-03-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/exampleResourceGroup1/providers/Microsoft.Security/securityConnectors/exampleSecurityConnectorAws",
12+
"name": "exampleSecurityConnectorAws",
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+
"hierarchyIdentifier": "exampleHierarchyId",
28+
"environmentData": {
29+
"environmentType": "AwsAccount"
30+
},
31+
"environmentName": "AWS",
32+
"offerings": [
33+
{
34+
"offeringType": "CspmMonitorAws",
35+
"nativeCloudConnection": {
36+
"cloudRoleArn": "arn:aws:iam::00000000:role/ASCMonitor"
37+
}
38+
}
39+
]
40+
}
41+
},
42+
{
43+
"id": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup2/providers/Microsoft.Security/securityConnectors/exampleSecurityConnectorAwsOrganization",
44+
"name": "exampleSecurityConnectorAwsOrganization",
45+
"type": "Microsoft.Security/securityConnectors",
46+
"etag": "etag value",
47+
"kind": "",
48+
"location": "Central US",
49+
"tags": {},
50+
"systemData": {
51+
"createdBy": "[email protected]",
52+
"createdByType": "User",
53+
"createdAt": "2021-12-15T13:47:50.328Z",
54+
"lastModifiedBy": "[email protected]",
55+
"lastModifiedByType": "User",
56+
"lastModifiedAt": "2021-12-15T13:47:50.328Z"
57+
},
58+
"properties": {
59+
"hierarchyIdentifier": "exampleHierarchyId",
60+
"environmentData": {
61+
"environmentType": "AwsAccount",
62+
"organizationalData": {
63+
"organizationMembershipType": "Organization",
64+
"stacksetName": "myStackSetName",
65+
"excludedAccountIds": [
66+
"excludedAccountIdExample"
67+
]
68+
}
69+
},
70+
"environmentName": "AWS",
71+
"offerings": [
72+
{
73+
"offeringType": "CspmMonitorAws",
74+
"nativeCloudConnection": {
75+
"cloudRoleArn": "arn:aws:iam::00000000:role/ASCMonitor"
76+
}
77+
}
78+
]
79+
}
80+
},
81+
{
82+
"id": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup3/providers/Microsoft.Security/securityConnectors/exampleSecurityConnectorGithub",
83+
"name": "githubTest",
84+
"etag": "etag value",
85+
"type": "Microsoft.Security/securityconnectors",
86+
"location": "centralus",
87+
"kind": "",
88+
"tags": {},
89+
"systemData": {
90+
"createdBy": "[email protected]",
91+
"createdByType": "User",
92+
"createdAt": "2021-12-15T13:47:50.328Z",
93+
"lastModifiedBy": "[email protected]",
94+
"lastModifiedByType": "User",
95+
"lastModifiedAt": "2021-12-15T13:47:50.328Z"
96+
},
97+
"properties": {
98+
"hierarchyIdentifier": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup3/providers/Microsoft.SecurityDevops/githubConnectors/exampleGithubConnector",
99+
"environmentName": "Github",
100+
"environmentData": {
101+
"environmentType": "GithubScope"
102+
},
103+
"offerings": [
104+
{
105+
"offeringType": "CspmMonitorGithub"
106+
}
107+
]
108+
}
109+
},
110+
{
111+
"id": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup3/providers/Microsoft.Security/securityConnectors/exampleSecurityConnectorAzureDevOpsConnectors",
112+
"name": "AzureDevOpsTest",
113+
"etag": "etag value",
114+
"type": "Microsoft.Security/securityconnectors",
115+
"location": "centralus",
116+
"kind": "",
117+
"tags": {},
118+
"systemData": {
119+
"createdBy": "[email protected]",
120+
"createdByType": "User",
121+
"createdAt": "2021-12-15T13:47:50.328Z",
122+
"lastModifiedBy": "[email protected]",
123+
"lastModifiedByType": "User",
124+
"lastModifiedAt": "2021-12-15T13:47:50.328Z"
125+
},
126+
"properties": {
127+
"hierarchyIdentifier": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup3/providers/Microsoft.SecurityDevops/azureDevOpsConnectors/exampleAzureDevOpsConnector",
128+
"environmentName": "Github",
129+
"environmentData": {
130+
"environmentType": "GithubScope"
131+
},
132+
"offerings": [
133+
{
134+
"offeringType": "CspmMonitorGithub"
135+
}
136+
]
137+
}
138+
},
139+
{
140+
"id": "/subscriptions/a5caac9c-5c04-49af-b3d0-e204f40345d5/resourceGroups/exampleResourceGroup3/providers/Microsoft.Security/securityConnectors/exampleSecurityConnectorGcp",
141+
"name": "exampleSecurityConnectorGcp",
142+
"type": "Microsoft.Security/securityConnectors",
143+
"etag": "etag value",
144+
"kind": "",
145+
"location": "Central US",
146+
"tags": {},
147+
"systemData": {
148+
"createdBy": "[email protected]",
149+
"createdByType": "User",
150+
"createdAt": "2021-12-15T13:47:50.328Z",
151+
"lastModifiedBy": "[email protected]",
152+
"lastModifiedByType": "User",
153+
"lastModifiedAt": "2021-12-15T13:47:50.328Z"
154+
},
155+
"properties": {
156+
"hierarchyIdentifier": "exampleHierarchyId",
157+
"environmentData": {
158+
"environmentType": "GcpProject",
159+
"projectDetails": {
160+
"projectNumber": "exampleHierarchyId",
161+
"projectId": "My-0GCP-Project",
162+
"workloadIdentityPoolId": "6c78da41157548d3b1d8b3c72effdf8c"
163+
}
164+
},
165+
"environmentName": "GCP",
166+
"offerings": [
167+
{
168+
"offeringType": "CspmMonitorGcp",
169+
"nativeCloudConnection": {
170+
"workloadIdentityProviderId": "My workload identity provider Id",
171+
"serviceAccountEmailAddress": "[email protected]"
172+
}
173+
}
174+
]
175+
}
176+
}
177+
]
178+
}
179+
}
180+
}
181+
}

0 commit comments

Comments
 (0)