- 
                Notifications
    You must be signed in to change notification settings 
- Fork 5.5k
Add Microsoft.Security API version 2022-05-01 #19112
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
Conversation
| Hi, @shahafal Thanks for your PR. I am workflow bot for review process. Here are some small tips.  Any feedback about review process or workflow bot, pls contact swagger and tools team. [email protected] | 
| Swagger Validation Report
 | 
| Rule | Message | 
|---|---|
| 'PUT' operation 'Settings_Update' should use method name 'Create'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change. Location: Microsoft.Security/stable/2022-05-01/settings.json#L124 | |
| Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: enabled Location: Microsoft.Security/stable/2022-05-01/settings.json#L252 | |
| Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: enabled Location: Microsoft.Security/stable/2022-05-01/settings.json#L265 | 
️⚠️Avocado: 1 Warnings warning [Detail]   
  
| Rule | Message | 
|---|---|
| The default tag contains multiple API versions swaggers. readme: specification/security/resource-manager/readme.md tag: specification/security/resource-manager/readme.md#tag-package-composite-v3 | 
️️✔️ApiReadinessCheck succeeded [Detail] [Expand]  
  
️️✔️ModelValidation succeeded [Detail] [Expand]  
  
Validation passes for ModelValidation.
️️✔️SemanticValidation succeeded [Detail] [Expand]  
  
Validation passes for SemanticValidation.
️⚠️Cross-Version Breaking Changes: 3 Warnings warning [Detail]   
  
- Compared Swaggers (Based on Oad v0.9.5)- current:stable/2022-05-01/settings.json compared with base:stable/2021-07-01/settings.json
- current:stable/2022-05-01/settings.json compared with base:preview/2017-08-01-preview/settings.json
 
| Rule | Message | 
|---|---|
| The new version is missing a definition that was found in the old version. Was 'DataExportSetting' removed or renamed? New: Microsoft.Security/stable/2022-05-01/settings.json#L156:3 Old: Microsoft.Security/preview/2017-08-01-preview/settings.json#L156:3 | |
| The new version is removing enum value(s) 'DataExportSetting' from the old version. New: Microsoft.Security/stable/2022-05-01/settings.json#L213:9 Old: Microsoft.Security/preview/2017-08-01-preview/settings.json#L196:9 | |
| The new version is removing enum value(s) 'DataExportSetting' from the old version. Old: Microsoft.Security/preview/2017-08-01-preview/settings.json#L125:9 | 
️️✔️CredScan succeeded [Detail] [Expand]  
  
There is no credential detected.
️❌PoliCheck: 0 Errors, 0 Warnings failed [Detail]   
  
️️✔️SDK Track2 Validation succeeded [Detail]   
  
- The following tags are being changed in this PR
| Rule | Message | 
|---|---|
|  | "readme":"security/resource-manager/readme.md", "tag":"package-composite-v3", "details":"Error: Plugin prechecker reported failure." | 
️️✔️PrettierCheck succeeded [Detail] [Expand]  
  
Validation passes for PrettierCheck.
️️✔️SpellCheck succeeded [Detail] [Expand]  
  
Validation passes for SpellCheck.
️️✔️Lint(RPaaS) succeeded [Detail] [Expand]  
  
Validation passes for Lint(RPaaS).
| Swagger Generation Artifacts
 | 
| Hi, @shahafal your PR are labelled with WaitForARMFeedback. A notification email will be sent out shortly afterwards to notify ARM review board([email protected]). | 
| the only change in this PR is the addition of a new name in the SettingName enum, everything else stayed exactly the same as version 2021-07-01 that was published in #15093 | 
| @shahafal - Please create a new PR following this process (and check the box when you submit): [ ] To review changes efficiently, ensure you are using OpenAPIHub to initialize the PR for adding a new version. More details, refer to the wiki. Note: it's fine if you don't want to use OpenAPIHub to set up your new API version PR. In that case, please create it manually by copying the current API version files [unmodified] to the new API version folder and commit that as your first commit of the PR. Apply other changes in subsequent commits. This is required for ARM review. Ref: https://armwiki.azurewebsites.net/rp_onboarding/process/api_review.html#introduction. | 
| "info": { | ||
| "title": "Microsoft Defender for Cloud", | ||
| "description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider", | ||
| "version": "2022-05-01" | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hi @raosuhas ,
please notice that as per @mentat9 request in the comments i started a new PR using OpenAPIHub with the previous version in a separate commit.
i added a link to the new PR in my previous comment ^ and i also pointed to the latest PR in my email to ARM RP API Review (that you responded on)
in case you still missed it - here is the link again #19334
| "MCAS", | ||
| "WDATP", | ||
| "WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW", | ||
| "WDATP_UNIFIED_SOLUTION", | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this the only change ? renaming the enum value ?This would be a breaking change , please get approval if that is required.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the change is not renaming an enum value, it's adding a new value to it WDATP_UNIFIED_SOLUTION.
please notice that i made a very similar change on July 2021 (added the value WDATP_EXCLUDE_LINUX_PUBLIC_PREVIEW to the enum) that was accepted #15093
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🕐
MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.
Changelog
Add a changelog entry for this PR by answering the following questions:
Contribution checklist:
If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist
Otherwise your PR may be subject to ARM review requirements. Complete the following:
Check this box if any of the following apply to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review. Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.
-[ ] To review changes efficiently, ensure you are using OpenAPIHub to initialize the PR for adding a new version. More details, refer to the wiki.
Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.
If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Breaking Change Review Checklist
If any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.
Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
Please follow the link to find more details on PR review process.