-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding Vulnerability Assessment APIs on managed instance #3075
Conversation
Adding Vulnerability Assessment APIs on managed instance
AutoRest linter results for SDK Related Validation Errors/WarningsThese errors are reported by the SDK team's validation tools, reachout to ADX Swagger Reviewers directly for any questions or concerns. File: specification/sql/resource-manager/readme.md
|
AutoRest linter results for ARM Related Validation Errors/WarningsThese errors are reported by the ARM team's validation tools, reachout to ARM RP API Review directly for any questions or concerns. File: specification/sql/resource-manager/readme.md
|
The linter validation failed with a few errors. https://travis-ci.org/Azure/azure-rest-api-specs/jobs/379065871#L761
Very subtle difference but the first description has a |
Automation for azure-sdk-for-goA PR has been created for you based on this PR content. Once this PR will be merged, content will be added to your service PR: |
Automation for azure-sdk-for-nodeA PR has been created for you based on this PR content. Once this PR will be merged, content will be added to your service PR: |
Automation for azure-libraries-for-javaA PR has been created for you based on this PR content. Once this PR will be merged, content will be added to your service PR: |
Automation for azure-sdk-for-pythonEncountered a Subprocess error: (azure-sdk-for-python)
Command: ['/usr/local/bin/autorest', '/tmp/tmplhnevnnm/rest/specification/sql/resource-manager/readme.md', '--multiapi', '--python', '--python-mode=update', '--python-sdks-folder=/tmp/tmplhnevnnm/sdk', '--use=@microsoft.azure/autorest.python@~3.0', '--version=preview'] AutoRest code generation utility [version: 2.0.4262; node: v7.10.1]
(C) 2018 Microsoft Corporation.
https://aka.ms/autorest
There is a new version of AutoRest available (2.0.4280).
> You can install the newer version with with npm install -g autorest@latest
Loading AutoRest core '/root/.autorest/@microsoft.azure_autorest-core@2.0.4280/node_modules/@microsoft.azure/autorest-core/dist' (2.0.4280)
Loading AutoRest extension '@microsoft.azure/autorest.python' (~3.0->3.0.51)
Loading AutoRest extension '@microsoft.azure/autorest.modeler' (2.3.44->2.3.44)
ERROR (Fatal/DuplicateModelCollsion): Duplicated model name with non-identical definitions
- file:///tmp/tmplhnevnnm/rest/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/managedDatabaseVulnerabilityAssessments.json:224:4 ($.definitions.DatabaseVulnerabilityAssessmentProperties)
- file:///tmp/tmplhnevnnm/rest/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/databaseVulnerabilityAssessmentScans.json:280:4 ($.definitions.DatabaseVulnerabilityAssessmentProperties)
- file:///tmp/tmplhnevnnm/rest/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/databaseVulnerabilityAssessments.json:212:4 ($.definitions.DatabaseVulnerabilityAssessmentProperties)
Process() cancelled due to exception : Cancellation requested.
Cancellation requested. |
Linter looks good now but there are also example validation errors in https://travis-ci.org/Azure/azure-rest-api-specs/jobs/381382464 , can you fix? :) |
Added needed changes to Swagger Azure/azure-sdk-for-net#4327 (review)
One last model warning: https://travis-ci.org/Azure/azure-rest-api-specs/jobs/381535630#L768 I am waiting to approve until the API is ready in production. @ravbhatnagar , please approve design. |
Are we still waiting on ARM review for this? |
@jhendrixMSFT - yes. And the API is now exposed so we can merge it |
@yaakoviyun great I'll wrap up my review shortly. There are a few model validation errors, could you have a quick look here. |
Ping @yaakoviyun there is just one model validation failure, it's in an example. Not blocking but would be great to have this clean before merging. |
Is there a possibility in the future of adding |
The APIs are not yet ready for exposure. This got a low priority tag now. |
Automation for azure-sdk-for-rubyNothing to generate for azure-sdk-for-ruby |
update swagger of servicelinker
Adding Vulnerability Assessment APIs on managed instance
Those APIs are the same as the Vulnerability Assessment APIs on regular Azure db with the difference of using "/managedInstances/{managed instance name}/" instead of "/servers/{server name}/"
The Vulnerability Assessment APIs on regular Azure db are approved and can be found at:
https://github.com/Azure/azure-rest-api-specs/blob/master/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/databaseVulnerabilityAssessmentBaselines.json
https://github.com/Azure/azure-rest-api-specs/blob/master/specification/sql/resource-manager/Microsoft.Sql/preview/2017-03-01-preview/databaseVulnerabilityAssessments.json
https://github.com/Azure/azure-rest-api-specs/blob/master/specification/sql/resource-manager/Microsoft.Sql/preview/2017-10-01-preview/databaseVulnerabilityAssessmentScans.json