Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
99c84da
Initial commit
aditdalvi Aug 4, 2023
def807a
Update api-version to GA and set displayName to read-only
aditdalvi Aug 4, 2023
7897ffa
Fix validation errors
aditdalvi Aug 8, 2023
5bf103a
More APIs and changes to operationIds
aditdalvi Aug 9, 2023
7c2e1c8
Fix prettier failures
aditdalvi Aug 9, 2023
3ae01aa
Try fixing Prettier again
aditdalvi Aug 9, 2023
11a04f6
Add more properties to the response
aditdalvi Aug 9, 2023
61cf0b7
Fix semantic validation
aditdalvi Aug 9, 2023
5533a89
Update examples
aditdalvi Aug 9, 2023
c699cd7
Add 202 Accepted as a response in onboarding
aditdalvi Aug 11, 2023
4769e64
Add x-ms-long-running-operation
aditdalvi Aug 11, 2023
c9fc1b7
Fix more linting issues
aditdalvi Aug 11, 2023
b208a73
Fix more linting issues
aditdalvi Aug 11, 2023
5c1b190
Remove 202 for now to see if pipeline runs
aditdalvi Aug 11, 2023
57fb554
Put 202 back
aditdalvi Aug 11, 2023
d07042c
Add provisioning state
aditdalvi Aug 13, 2023
b39b7bf
Add 201 response
aditdalvi Aug 13, 2023
b0b0b15
Update descriptions
aditdalvi Aug 13, 2023
3ee9c99
Update example
aditdalvi Aug 13, 2023
562888e
Modifications based on feedback from PMs, designers and NDA customers
aditdalvi Aug 16, 2023
95a8009
Fix model validation
aditdalvi Aug 16, 2023
561d7dd
Update PR based on https://github.com/Azure/azure-rest-api-specs/pull…
aditdalvi Aug 16, 2023
536e4e3
Fix build errors
aditdalvi Aug 16, 2023
91f5eb2
Address feedback from ARM reviewer
aditdalvi Aug 18, 2023
a2603b0
Fix reference
aditdalvi Aug 18, 2023
99296da
fix readme.python.md
msyyc Aug 23, 2023
a3513a6
Merge branch 'main' into aditdalvi-security-Microsoft.Security-2022-1…
msyyc Aug 23, 2023
335c7d5
Update example header value
aditdalvi Aug 24, 2023
d13ffe7
Address PR feedback
aditdalvi Sep 8, 2023
a1b7543
Update description based on PR feedback
aditdalvi Sep 11, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"parameters": {
"subscriptionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"resourceGroupName": "rg1",
"serviceName": "apimService1",
"apiId": "echo-api",
"api-version": "2023-11-15"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/providers/Microsoft.Security/apiCollections/echo-api",
"name": "echo-api",
"type": "Microsoft.Security/apiCollections",
"properties": {
"provisioningState": "Succeeded",
"displayName": "Echo API",
"discoveredVia": "/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1",
"baseUrl": "https://apimservice1.azure-api.net/echo",
"numberOfApiEndpoints": 6,
"numberOfInactiveApiEndpoints": 3,
"numberOfUnauthenticatedApiEndpoints": 1,
"numberOfExternalApiEndpoints": 3,
"numberOfApiEndpointsWithSensitiveDataExposed": 1,
"sensitivityLabel": "Highly Confidential"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"parameters": {
"subscriptionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"resourceGroupName": "rg1",
"serviceName": "apimService1",
"api-version": "2023-11-15"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/providers/Microsoft.Security/apiCollections/echo-api",
"name": "echo-api",
"type": "Microsoft.Security/apiCollections",
"properties": {
"provisioningState": "Succeeded",
"displayName": "Echo API",
"discoveredVia": "/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1",
"baseUrl": "https://apimservice1.azure-api.net/echo",
"numberOfApiEndpoints": 6,
"numberOfInactiveApiEndpoints": 3,
"numberOfUnauthenticatedApiEndpoints": 1,
"numberOfExternalApiEndpoints": 3,
"numberOfApiEndpointsWithSensitiveDataExposed": 1,
"sensitivityLabel": "Highly Confidential"
}
}
],
"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"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"parameters": {
"subscriptionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"resourceGroupName": "rg1",
"api-version": "2023-11-15"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/providers/Microsoft.Security/apiCollections/echo-api",
"name": "echo-api",
"type": "Microsoft.Security/apiCollections",
"properties": {
"provisioningState": "Succeeded",
"displayName": "Echo API",
"discoveredVia": "/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1",
"baseUrl": "https://apimservice1.azure-api.net/echo",
"numberOfApiEndpoints": 6,
"numberOfInactiveApiEndpoints": 3,
"numberOfUnauthenticatedApiEndpoints": 1,
"numberOfExternalApiEndpoints": 3,
"numberOfApiEndpointsWithSensitiveDataExposed": 1,
"sensitivityLabel": "Highly Confidential"
}
}
],
"nextLink": "https://management.azure.com/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.Security/apiCollections?api-version=2023-11-15&$skipToken=ac943fd6a934"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parameters": {
"subscriptionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"api-version": "2023-11-15"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/providers/Microsoft.Security/apiCollections/echo-api",
"name": "echo-api",
"type": "Microsoft.Security/apiCollections",
"properties": {
"provisioningState": "Succeeded",
"displayName": "Echo API",
"discoveredVia": "/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1",
"baseUrl": "https://apimservice1.azure-api.net/echo",
"numberOfApiEndpoints": 6,
"numberOfInactiveApiEndpoints": 3,
"numberOfUnauthenticatedApiEndpoints": 1,
"numberOfExternalApiEndpoints": 3,
"numberOfApiEndpointsWithSensitiveDataExposed": 1,
"sensitivityLabel": "Highly Confidential"
}
}
],
"nextLink": "https://management.azure.com/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/providers/Microsoft.Security/apiCollections?api-version=2023-11-15&$skipToken=ac943fd6a934"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"subscriptionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"resourceGroupName": "rg1",
"serviceName": "apimService1",
"apiId": "echo-api",
"api-version": "2023-11-15"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"parameters": {
"subscriptionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"resourceGroupName": "rg1",
"serviceName": "apimService1",
"apiId": "echo-api",
"api-version": "2023-11-15"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/providers/Microsoft.Security/apiCollections/echo-api",
"name": "echo-api",
"type": "Microsoft.Security/apiCollections",
"properties": {
"provisioningState": "Succeeded",
"displayName": "Echo API",
"discoveredVia": "/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1",
"baseUrl": "https://apimservice1.azure-api.net/echo",
"numberOfApiEndpoints": 6,
"numberOfInactiveApiEndpoints": 3,
"numberOfUnauthenticatedApiEndpoints": 1,
"numberOfExternalApiEndpoints": 3,
"numberOfApiEndpointsWithSensitiveDataExposed": 1,
"sensitivityLabel": "Highly Confidential"
}
}
},
"201": {
"headers": {
"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=="
},
"body": {
"id": "/subscriptions/3fa85f64-5717-4562-b3fc-2c963f66afa6/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/providers/Microsoft.Security/apiCollections/echo-api",
"name": "echo-api",
"type": "Microsoft.Security/apiCollections",
"properties": {
"provisioningState": "InProgress"
}
}
}
}
}
11 changes: 10 additions & 1 deletion specification/security/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,15 @@ tag: package-composite-v3
The following packages may be composed from multiple api-versions.


### Tag: package-2023-11-15

These settings apply only when `--tag=package-2023-11-15` is specified on the command line.

``` yaml $(tag) == 'package-2023-11-15'
input-file:
- Microsoft.Security/stable/2023-11-15/apiCollections.json
```

### Tag: package-preview-2023-09

These settings apply only when `--tag=package-preview-2023-09` is specified on the command line.
Expand Down Expand Up @@ -416,7 +425,7 @@ input-file:
- Microsoft.Security/preview/2022-01-01-preview/governanceRules.json
- Microsoft.Security/preview/2022-01-01-preview/governanceAssignments.json
- Microsoft.Security/preview/2022-07-01-preview/applications.json
- Microsoft.Security/preview/2022-11-20-preview/apiCollections.json
- Microsoft.Security/stable/2023-11-15/apiCollections.json
- Microsoft.Security/preview/2023-02-01-preview/sqlVulnerabilityAssessmentsScanOperations.json
- Microsoft.Security/preview/2023-02-01-preview/sqlVulnerabilityAssessmentsScanResultsOperations.json
- Microsoft.Security/preview/2023-02-01-preview/sqlVulnerabilityAssessmentsBaselineRuleOperations.json
Expand Down
8 changes: 4 additions & 4 deletions specification/security/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ default-api-version: "2023-01-01"
multiapi: true
batch:
- tag: package-preview-2023-03-only
- tag: package-preview-2023-02
- tag: package-preview-2023-02-only
- tag: package-preview-2023-01-only
- tag: package-2023-01
- tag: package-preview-2022-08
Expand Down Expand Up @@ -86,12 +86,12 @@ namespace: azure.mgmt.security.v2023_03_01_preview
output-folder: $(python-sdks-folder)/security/azure-mgmt-security/azure/mgmt/security/v2023_03_01_preview
```

### Tag: package-preview-2023-02 and python
### Tag: package-preview-2023-02-only and python

These settings apply only when `--tag=package-preview-2023-02 --python` is specified on the command line.
These settings apply only when `--tag=package-preview-2023-02-only --python` is specified on the command line.
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.

``` yaml $(tag) == 'package-preview-2023-02' && $(python)
``` yaml $(tag) == 'package-preview-2023-02-only' && $(python)
namespace: azure.mgmt.security.v2023_02_01_preview
output-folder: $(python-sdks-folder)/security/azure-mgmt-security/azure/mgmt/security/v2023_02_01_preview
```
Expand Down