Skip to content

Commit 32c178f

Browse files
aditdalvimsyyc
andauthored
[Hub Generated] [Microsoft.Security] Publish private branch 'aditdalvi-security-Microsoft.Security-2022-11-20-preview' to add version stable/2023-11-15 (#25515)
* Initial commit * Update api-version to GA and set displayName to read-only * Fix validation errors * More APIs and changes to operationIds * Fix prettier failures * Try fixing Prettier again * Add more properties to the response * Fix semantic validation * Update examples * Add 202 Accepted as a response in onboarding * Add x-ms-long-running-operation * Fix more linting issues * Fix more linting issues * Remove 202 for now to see if pipeline runs * Put 202 back * Add provisioning state * Add 201 response * Update descriptions * Update example * Modifications based on feedback from PMs, designers and NDA customers * Fix model validation * Update PR based on #24938 * Fix build errors * Address feedback from ARM reviewer * Fix reference * fix readme.python.md * Update example header value * Address PR feedback * Update description based on PR feedback --------- Co-authored-by: Yuchao Yan <[email protected]>
1 parent b09b155 commit 32c178f

8 files changed

+669
-1
lines changed

specification/security/resource-manager/Microsoft.Security/stable/2023-11-15/apiCollections.json

Lines changed: 474 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
4+
"resourceGroupName": "rg1",
5+
"serviceName": "apimService1",
6+
"apiId": "echo-api",
7+
"api-version": "2023-11-15"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/providers/Microsoft.Security/apiCollections/echo-api",
13+
"name": "echo-api",
14+
"type": "Microsoft.Security/apiCollections",
15+
"properties": {
16+
"provisioningState": "Succeeded",
17+
"displayName": "Echo API",
18+
"discoveredVia": "/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1",
19+
"baseUrl": "https://apimservice1.azure-api.net/echo",
20+
"numberOfApiEndpoints": 6,
21+
"numberOfInactiveApiEndpoints": 3,
22+
"numberOfUnauthenticatedApiEndpoints": 1,
23+
"numberOfExternalApiEndpoints": 3,
24+
"numberOfApiEndpointsWithSensitiveDataExposed": 1,
25+
"sensitivityLabel": "Highly Confidential"
26+
}
27+
}
28+
}
29+
}
30+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
4+
"resourceGroupName": "rg1",
5+
"serviceName": "apimService1",
6+
"api-version": "2023-11-15"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"id": "/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/providers/Microsoft.Security/apiCollections/echo-api",
14+
"name": "echo-api",
15+
"type": "Microsoft.Security/apiCollections",
16+
"properties": {
17+
"provisioningState": "Succeeded",
18+
"displayName": "Echo API",
19+
"discoveredVia": "/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1",
20+
"baseUrl": "https://apimservice1.azure-api.net/echo",
21+
"numberOfApiEndpoints": 6,
22+
"numberOfInactiveApiEndpoints": 3,
23+
"numberOfUnauthenticatedApiEndpoints": 1,
24+
"numberOfExternalApiEndpoints": 3,
25+
"numberOfApiEndpointsWithSensitiveDataExposed": 1,
26+
"sensitivityLabel": "Highly Confidential"
27+
}
28+
}
29+
],
30+
"nextLink": "https://management.azure.com/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/providers/Microsoft.Security/apiCollections?api-version=2023-11-15&$skipToken=ac943fd6a934"
31+
}
32+
}
33+
}
34+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
4+
"resourceGroupName": "rg1",
5+
"api-version": "2023-11-15"
6+
},
7+
"responses": {
8+
"200": {
9+
"body": {
10+
"value": [
11+
{
12+
"id": "/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/providers/Microsoft.Security/apiCollections/echo-api",
13+
"name": "echo-api",
14+
"type": "Microsoft.Security/apiCollections",
15+
"properties": {
16+
"provisioningState": "Succeeded",
17+
"displayName": "Echo API",
18+
"discoveredVia": "/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1",
19+
"baseUrl": "https://apimservice1.azure-api.net/echo",
20+
"numberOfApiEndpoints": 6,
21+
"numberOfInactiveApiEndpoints": 3,
22+
"numberOfUnauthenticatedApiEndpoints": 1,
23+
"numberOfExternalApiEndpoints": 3,
24+
"numberOfApiEndpointsWithSensitiveDataExposed": 1,
25+
"sensitivityLabel": "Highly Confidential"
26+
}
27+
}
28+
],
29+
"nextLink": "https://management.azure.com/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.Security/apiCollections?api-version=2023-11-15&$skipToken=ac943fd6a934"
30+
}
31+
}
32+
}
33+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
4+
"api-version": "2023-11-15"
5+
},
6+
"responses": {
7+
"200": {
8+
"body": {
9+
"value": [
10+
{
11+
"id": "/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/providers/Microsoft.Security/apiCollections/echo-api",
12+
"name": "echo-api",
13+
"type": "Microsoft.Security/apiCollections",
14+
"properties": {
15+
"provisioningState": "Succeeded",
16+
"displayName": "Echo API",
17+
"discoveredVia": "/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1",
18+
"baseUrl": "https://apimservice1.azure-api.net/echo",
19+
"numberOfApiEndpoints": 6,
20+
"numberOfInactiveApiEndpoints": 3,
21+
"numberOfUnauthenticatedApiEndpoints": 1,
22+
"numberOfExternalApiEndpoints": 3,
23+
"numberOfApiEndpointsWithSensitiveDataExposed": 1,
24+
"sensitivityLabel": "Highly Confidential"
25+
}
26+
}
27+
],
28+
"nextLink": "https://management.azure.com/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/providers/Microsoft.Security/apiCollections?api-version=2023-11-15&$skipToken=ac943fd6a934"
29+
}
30+
}
31+
}
32+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
4+
"resourceGroupName": "rg1",
5+
"serviceName": "apimService1",
6+
"apiId": "echo-api",
7+
"api-version": "2023-11-15"
8+
},
9+
"responses": {
10+
"200": {},
11+
"204": {}
12+
}
13+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
4+
"resourceGroupName": "rg1",
5+
"serviceName": "apimService1",
6+
"apiId": "echo-api",
7+
"api-version": "2023-11-15"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/providers/Microsoft.Security/apiCollections/echo-api",
13+
"name": "echo-api",
14+
"type": "Microsoft.Security/apiCollections",
15+
"properties": {
16+
"provisioningState": "Succeeded",
17+
"displayName": "Echo API",
18+
"discoveredVia": "/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1",
19+
"baseUrl": "https://apimservice1.azure-api.net/echo",
20+
"numberOfApiEndpoints": 6,
21+
"numberOfInactiveApiEndpoints": 3,
22+
"numberOfUnauthenticatedApiEndpoints": 1,
23+
"numberOfExternalApiEndpoints": 3,
24+
"numberOfApiEndpointsWithSensitiveDataExposed": 1,
25+
"sensitivityLabel": "Highly Confidential"
26+
}
27+
}
28+
},
29+
"201": {
30+
"headers": {
31+
"Location": "https://management.azure.com/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/providers/Microsoft.Security/apiCollections/echo-api?api-version=2023-11-15&$asyncScope=eyJydSI6NTM4MjczMzI4NDQ3MjA1NzY2fQ=="
32+
},
33+
"body": {
34+
"id": "/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/providers/Microsoft.Security/apiCollections/echo-api",
35+
"name": "echo-api",
36+
"type": "Microsoft.Security/apiCollections",
37+
"properties": {
38+
"provisioningState": "InProgress"
39+
}
40+
}
41+
}
42+
}
43+
}

specification/security/resource-manager/readme.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,15 @@ tag: package-composite-v3
8686
The following packages may be composed from multiple api-versions.
8787
8888
89+
### Tag: package-2023-11-15
90+
91+
These settings apply only when `--tag=package-2023-11-15` is specified on the command line.
92+
93+
``` yaml $(tag) == 'package-2023-11-15'
94+
input-file:
95+
- Microsoft.Security/stable/2023-11-15/apiCollections.json
96+
```
97+
8998
### Tag: package-preview-2023-09
9099

91100
These settings apply only when `--tag=package-preview-2023-09` is specified on the command line.
@@ -417,7 +426,7 @@ input-file:
417426
- Microsoft.Security/preview/2022-01-01-preview/governanceRules.json
418427
- Microsoft.Security/preview/2022-01-01-preview/governanceAssignments.json
419428
- Microsoft.Security/preview/2022-07-01-preview/applications.json
420-
- Microsoft.Security/preview/2022-11-20-preview/apiCollections.json
429+
- Microsoft.Security/stable/2023-11-15/apiCollections.json
421430
- Microsoft.Security/preview/2023-02-01-preview/sqlVulnerabilityAssessmentsScanOperations.json
422431
- Microsoft.Security/preview/2023-02-01-preview/sqlVulnerabilityAssessmentsScanResultsOperations.json
423432
- Microsoft.Security/preview/2023-02-01-preview/sqlVulnerabilityAssessmentsBaselineRuleOperations.json

0 commit comments

Comments
 (0)