Skip to content

Commit 5f5b59e

Browse files
authored
Dev security microsoft.security 2022 07 01 preview for Applications resource (#19443)
* Adds base for updating Microsoft.Security from version preview/2021-12-01-preview to version 2022-07-01-preview * Updates readme * Updates API version in new specs and examples * Update and rename securityConnectors.json to applications.json * Update applications.json * Update applications.json * Update applications.json * Update applications.json * Update applications.json * Create ListBySubscriptionApplications_example * Create ListBySecurityConnectorGovernanceRules_example.json * Delete DeleteSecurityConnector_example.json * Delete GetSecurityConnectorSingleResource_example.json * Delete GetSecurityConnectorsResourceGroup_example.json * Delete GetSecurityConnectorsSubscription_example.json * Delete PatchSecurityConnector_example.json * Rename ListBySecurityConnectorGovernanceRules_example.json to ListBySecurityConnectorApplications_example.json * Delete PutSecurityConnector_example.json * Create GetGovernanceRule_example.json * Rename specification/security/resource-manager/Microsoft.Security/preview/2022-07-01-preview/examples/SecurityConnectors/GetGovernanceRule_example.json to specification/security/resource-manager/Microsoft.Security/preview/2022-07-01-preview/examples/Applications/GetGovernanceRule_example.json * Rename specification/security/resource-manager/Microsoft.Security/preview/2022-07-01-preview/examples/SecurityConnectors/ListBySecurityConnectorApplications_example.json to specification/security/resource-manager/Microsoft.Security/preview/2022-07-01-preview/examples/Applications/ListBySecurityConnectorApplications_example.json * Rename specification/security/resource-manager/Microsoft.Security/preview/2022-07-01-preview/examples/SecurityConnectors/ListBySubscriptionApplications_example to specification/security/resource-manager/Microsoft.Security/preview/2022-07-01-preview/examples/Applications/ListBySubscriptionApplications_example * Create GetSecurityConnectorApplication_example.json * Rename GetGovernanceRule_example.json to GetApplication_example.json * Create DeleteGovernanceRule_example.json * Rename DeleteGovernanceRule_example.json to DeleteApplication_example.json * Create DeleteSecurityConnectorApplication_example.json * Create PutGovernanceRule_example.json * Update DeleteApplication_example.json * Update DeleteSecurityConnectorApplication_example.json * Update GetApplication_example.json * Update GetSecurityConnectorApplication_example.json * Update PutGovernanceRule_example.json * Create PutSecurityConnectorApplication_example.json * Rename PutGovernanceRule_example.json to PutApplication_example.json * Update ListBySubscriptionApplications_example * Update readme.md * Update readme.md * Update readme.md * Update readme.md * Update readme.md * Update applications.json * Update applications.json * Rename ListBySubscriptionApplications_example to ListBySubscriptionApplications_example.json * Update applications.json * Update readme.md * Update readme.md * Update readme.md * Update readme.md * Update readme.md * Update applications.json * Update applications.json * Update GetApplication_example.json * Update GetSecurityConnectorApplication_example.json * Update PutSecurityConnectorApplication_example.json * Update PutApplication_example.json * Update ListBySubscriptionApplications_example.json * Update ListBySecurityConnectorApplications_example.json * Update applications.json
1 parent 353d84d commit 5f5b59e

10 files changed

+904
-1
lines changed

specification/security/resource-manager/Microsoft.Security/preview/2022-07-01-preview/applications.json

Lines changed: 537 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-07-01-preview",
4+
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
5+
"applicationId": "ad9a8e26-29d9-4829-bb30-e597a58cdbb8"
6+
},
7+
"responses": {
8+
"200": {},
9+
"204": {}
10+
}
11+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-07-01-preview",
4+
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
5+
"resourceGroupName": "gcpResourceGroup",
6+
"securityConnectorName": "gcpconnector",
7+
"applicationId": "ad9a8e26-29d9-4829-bb30-e597a58cdbb8"
8+
},
9+
"responses": {
10+
"200": {},
11+
"204": {}
12+
}
13+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-07-01-preview",
4+
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
5+
"applicationId": "ad9a8e26-29d9-4829-bb30-e597a58cdbb8"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"id": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/applications/ad9a8e26-29d9-4829-bb30-e597a58cdbb8",
11+
"name": "ad9a8e26-29d9-4829-bb30-e597a58cdbb8",
12+
"type": "Microsoft.Security/applications",
13+
"properties": {
14+
"displayName": "Admin's application",
15+
"description": "An application on critical recommendations",
16+
"sourceResourceType": "Assessments",
17+
"conditionSets": [
18+
{
19+
"conditions": [
20+
{
21+
"property": "$.Id",
22+
"value": "-bil-",
23+
"operator": "contains"
24+
}
25+
]
26+
}
27+
]
28+
}
29+
}
30+
}
31+
}
32+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-07-01-preview",
4+
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
5+
"resourceGroupName": "gcpResourceGroup",
6+
"securityConnectorName": "gcpconnector",
7+
"applicationId": "ad9a8e26-29d9-4829-bb30-e597a58cdbb8"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourcegroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector/providers/Microsoft.Security/applications/ad9a8e26-29d9-4829-bb30-e597a58cdbb8",
13+
"name": "ad9a8e26-29d9-4829-bb30-e597a58cdbb8",
14+
"type": "Microsoft.Security/applications",
15+
"properties": {
16+
"displayName": "GCP Admin's application",
17+
"description": "An application on critical GCP recommendations",
18+
"sourceResourceType": "Assessments",
19+
"conditionSets": [
20+
{
21+
"conditions": [
22+
{
23+
"property": "$.Id",
24+
"value": "-bil-",
25+
"operator": "contains"
26+
}
27+
]
28+
}
29+
]
30+
}
31+
}
32+
}
33+
}
34+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-07-01-preview",
4+
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
5+
"resourceGroupName": "gcpResourceGroup",
6+
"securityConnectorName": "gcpconnector"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"id": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourcegroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector/providers/Microsoft.Security/applications/ad9a8e26-29d9-4829-bb30-e597a58cdbb8",
14+
"name": "ad9a8e26-29d9-4829-bb30-e597a58cdbb8",
15+
"type": "Microsoft.Security/applications",
16+
"properties": {
17+
"displayName": "Admin's GCP application",
18+
"description": "An application on critical GCP recommendations",
19+
"sourceResourceType": "Assessments",
20+
"conditionSets": [
21+
{
22+
"conditions": [
23+
{
24+
"property": "$.Id",
25+
"value": "-bil-",
26+
"operator": "contains"
27+
}
28+
]
29+
}
30+
]
31+
}
32+
},
33+
{
34+
"id": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourcegroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector/providers/Microsoft.Security/applications/4106f43c-6d82-4fc8-a92c-dcfe50799d1d",
35+
"name": "4106f43c-6d82-4fc8-a92c-dcfe50799d1d",
36+
"type": "Microsoft.Security/applications",
37+
"properties": {
38+
"displayName": "GCP Admin's application",
39+
"description": "An application on critical GCP recommendations",
40+
"sourceResourceType": "Assessments",
41+
"conditionSets": [
42+
{
43+
"conditions": [
44+
{
45+
"property": "$.Id",
46+
"value": "-prod-",
47+
"operator": "contains"
48+
}
49+
]
50+
}
51+
]
52+
}
53+
}
54+
]
55+
}
56+
}
57+
}
58+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-07-01-preview",
4+
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"value": [
10+
{
11+
"id": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/applications/ad9a8e26-29d9-4829-bb30-e597a58cdbb8",
12+
"name": "ad9a8e26-29d9-4829-bb30-e597a58cdbb8",
13+
"type": "Microsoft.Security/applications",
14+
"properties": {
15+
"displayName": "Admin's application",
16+
"description": "An application on critical recommendations",
17+
"sourceResourceType": "Assessments",
18+
"conditionSets": [
19+
{
20+
"conditions": [
21+
{
22+
"property": "$.Id",
23+
"value": "-bil-",
24+
"operator": "contains"
25+
}
26+
]
27+
}
28+
]
29+
}
30+
},
31+
{
32+
"id": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/applications/4106f43c-6d82-4fc8-a92c-dcfe50799d1d",
33+
"name": "4106f43c-6d82-4fc8-a92c-dcfe50799d1d",
34+
"type": "Microsoft.Security/applications",
35+
"properties": {
36+
"displayName": "Admin's application",
37+
"description": "An application on critical recommendations",
38+
"sourceResourceType": "Assessments",
39+
"conditionSets": [
40+
{
41+
"conditions": [
42+
{
43+
"property": "$.Id",
44+
"value": "-prod-",
45+
"operator": "contains"
46+
}
47+
]
48+
}
49+
]
50+
}
51+
}
52+
]
53+
}
54+
}
55+
}
56+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-07-01-preview",
4+
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
5+
"applicationId": "ad9a8e26-29d9-4829-bb30-e597a58cdbb8",
6+
"application": {
7+
"properties": {
8+
"displayName": "Admin's application",
9+
"description": "An application on critical recommendations",
10+
"sourceResourceType": "Assessments",
11+
"conditionSets": [
12+
{
13+
"conditions": [
14+
{
15+
"property": "$.Id",
16+
"value": "-bil-",
17+
"operator": "contains"
18+
}
19+
]
20+
}
21+
]
22+
}
23+
}
24+
},
25+
"responses": {
26+
"200": {
27+
"body": {
28+
"id": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/applications/ad9a8e26-29d9-4829-bb30-e597a58cdbb8",
29+
"name": "1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
30+
"type": "Microsoft.Security/applications",
31+
"properties": {
32+
"displayName": "Admin's application",
33+
"description": "An application on critical recommendations",
34+
"sourceResourceType": "Assessments",
35+
"conditionSets": [
36+
{
37+
"conditions": [
38+
{
39+
"property": "$.Id",
40+
"value": "-dev-",
41+
"operator": "contains"
42+
}
43+
]
44+
}
45+
]
46+
}
47+
}
48+
},
49+
"201": {
50+
"body": {
51+
"id": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/applications/ad9a8e26-29d9-4829-bb30-e597a58cdbb8",
52+
"name": "1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
53+
"type": "Microsoft.Security/applications",
54+
"properties": {
55+
"displayName": "Admin's application",
56+
"description": "An application on critical recommendations",
57+
"sourceResourceType": "Assessments",
58+
"conditionSets": [
59+
{
60+
"conditions": [
61+
{
62+
"property": "$.Id",
63+
"value": "-stg-",
64+
"operator": "contains"
65+
}
66+
]
67+
}
68+
]
69+
}
70+
}
71+
}
72+
}
73+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
{
2+
"parameters": {
3+
"api-version": "2022-07-01-preview",
4+
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
5+
"resourceGroupName": "gcpResourceGroup",
6+
"securityConnectorName": "gcpconnector",
7+
"applicationId": "ad9a8e26-29d9-4829-bb30-e597a58cdbb8",
8+
"application": {
9+
"properties": {
10+
"displayName": "GCP Admin's application",
11+
"description": "An application on critical GCP recommendations",
12+
"sourceResourceType": "Assessments",
13+
"conditionSets": [
14+
{
15+
"conditions": [
16+
{
17+
"property": "$.Id",
18+
"value": "-prod-",
19+
"operator": "contains"
20+
}
21+
]
22+
}
23+
]
24+
}
25+
}
26+
},
27+
"responses": {
28+
"200": {
29+
"body": {
30+
"id": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourcegroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector/providers/Microsoft.Security/applications/ad9a8e26-29d9-4829-bb30-e597a58cdbb8",
31+
"name": "1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
32+
"type": "Microsoft.Security/applications",
33+
"properties": {
34+
"displayName": "GCP Admin's application",
35+
"description": "An application on critical GCP recommendations",
36+
"sourceResourceType": "Assessments",
37+
"conditionSets": [
38+
{
39+
"conditions": [
40+
{
41+
"property": "$.Id",
42+
"value": "-bil-",
43+
"operator": "contains"
44+
}
45+
]
46+
}
47+
]
48+
}
49+
}
50+
},
51+
"201": {
52+
"body": {
53+
"id": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourcegroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector/providers/Microsoft.Security/applications/ad9a8e26-29d9-4829-bb30-e597a58cdbb8",
54+
"name": "1f3afdf9-d0c9-4c3d-847f-89da613e70a8",
55+
"type": "Microsoft.Security/applications",
56+
"properties": {
57+
"displayName": "GCP Admin's application",
58+
"description": "An application on critical GCP recommendations",
59+
"sourceResourceType": "Assessments",
60+
"conditionSets": [
61+
{
62+
"conditions": [
63+
{
64+
"property": "$.Id",
65+
"value": "-pricing-",
66+
"operator": "contains"
67+
}
68+
]
69+
}
70+
]
71+
}
72+
}
73+
}
74+
}
75+
}

0 commit comments

Comments
 (0)