Skip to content
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

[Hub Generated] Review request for Microsoft.Security to add version stable/2020-01-01 #8805

Merged
merged 13 commits into from
Aug 31, 2020
Merged

[Hub Generated] Review request for Microsoft.Security to add version stable/2020-01-01 #8805

merged 13 commits into from
Aug 31, 2020

Conversation

nitsi
Copy link
Contributor

@nitsi nitsi commented Mar 23, 2020

If you are a MSFT employee you can view your work branch via this link.

Contribution checklist:

@azure-pipelines
Copy link

Pull request contains merge conflicts.

@azure-pipelines
Copy link

No commit pushedDate could be found for PR 8805 in repo Azure/azure-rest-api-specs

@nitsi nitsi added the DoNotMerge <valid label in PR review process> use to hold merge after approval label Mar 23, 2020
@azuresdkci
Copy link
Contributor

Can one of the admins verify this patch?

@ArcturusZhang
Copy link
Member

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@ArcturusZhang
Copy link
Member

Hi @nitsi is this PR ready for review? If so, given that you have the permission to edit labels, it would be best to add a WaitForARMReview label.

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Mar 24, 2020

azure-sdk-for-python - Release

- Breaking Change detected in SDK

⚠️ warning [Logs] [Expand Details]
  • ⚠️ Generate from eae295a with merge commit 8b93500. SDK Automation 13.0.17.20200828.8
  • ⚠️azure-mgmt-security [View full logs]  [Release SDK Changes] Breaking Change Detected
    [build_conf] INFO:packaging_tools:Building template azure-mgmt-security
    [build_conf] INFO:packaging_tools.conf:Skipping default conf since the file exists
    [build_conf] INFO:packaging_tools:Skipping CHANGELOG.md template, since a previous one was found
    [build_conf] INFO:packaging_tools:Template done azure-mgmt-security
    [build_package] /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
    [build_package]   warnings.warn(msg)
    [build_package] warning: no files found matching '*.py' under directory 'tests'
    [build_package] warning: no files found matching '*.yaml' under directory 'tests'
    [build_package] /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
    [build_package]   warnings.warn(msg)
    [build_package] warning: no files found matching '*.py' under directory 'tests'
    [build_package] warning: no files found matching '*.yaml' under directory 'tests'
    [breaking_change_setup] Ignoring mock: markers 'python_version <= "2.7"' don't match your environment
    [ChangeLog] Size of delta 22.674% size of original (original: 167756 chars, delta: 38037 chars)
    [ChangeLog] **Features**
    [ChangeLog] 
    [ChangeLog]   - Model SecureScoreItem has a new parameter weight
    [ChangeLog]   - Added operation AlertsOperations.update_subscription_level_state_to_activate
    [ChangeLog]   - Added operation AlertsOperations.get_resource_group_level
    [ChangeLog]   - Added operation AlertsOperations.list_resource_group_level_by_region
    [ChangeLog]   - Added operation AlertsOperations.update_resource_group_level_state_to_dismiss
    [ChangeLog]   - Added operation AlertsOperations.get_subscription_level
    [ChangeLog]   - Added operation AlertsOperations.update_resource_group_level_state_to_activate
    [ChangeLog]   - Added operation AlertsOperations.list_subscription_level_by_region
    [ChangeLog]   - Added operation AlertsOperations.update_resource_group_level_state_to_resolve
    [ChangeLog]   - Added operation AlertsOperations.update_subscription_level_state_to_resolve
    [ChangeLog]   - Added operation AlertsOperations.update_subscription_level_state_to_dismiss
    [ChangeLog]   - Added operation group SecuritySolutionsOperations
    [ChangeLog]   - Added operation group IotRecommendationTypesOperations
    [ChangeLog]   - Added operation group IotRecommendationsOperations
    [ChangeLog]   - Added operation group ConnectorsOperations
    [ChangeLog]   - Added operation group IotDefenderSettingsOperations
    [ChangeLog]   - Added operation group IotAlertsOperations
    [ChangeLog]   - Added operation group SecuritySolutionsReferenceDataOperations
    [ChangeLog]   - Added operation group IotSensorsOperations
    [ChangeLog]   - Added operation group IotAlertTypesOperations
    [ChangeLog] 
    [ChangeLog] **Breaking changes**
    [ChangeLog] 
    [ChangeLog]   - Model Alert has a new signature
    [ChangeLog]   - Removed operation AlertsOperations.update_subscription_level_alert_state_to_dismiss
    [ChangeLog]   - Removed operation AlertsOperations.get_resource_group_level_alerts
    [ChangeLog]   - Removed operation AlertsOperations.get_subscription_level_alert
    [ChangeLog]   - Removed operation AlertsOperations.list_resource_group_level_alerts_by_region
    [ChangeLog]   - Removed operation AlertsOperations.update_resource_group_level_alert_state_to_dismiss
    [ChangeLog]   - Removed operation AlertsOperations.list_subscription_level_alerts_by_region
    [ChangeLog]   - Removed operation AlertsOperations.update_subscription_level_alert_state_to_reactivate
    [ChangeLog]   - Removed operation AlertsOperations.update_resource_group_level_alert_state_to_reactivate

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Mar 24, 2020

azure-sdk-for-net - Release

️✔️ succeeded [Logs] [Expand Details]

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Mar 24, 2020

azure-cli-extensions

No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Mar 24, 2020

azure-sdk-for-go - Release

️✔️ succeeded [Logs] [Expand Details]

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Mar 24, 2020

azure-sdk-for-js - Release

️✔️ succeeded [Logs] [Expand Details]
  • ️✔️ Generate from eae295a with merge commit 8b93500. SDK Automation 13.0.17.20200828.8
  • ️✔️@azure/arm-security [View full logs]  [Release SDK Changes]
    Only show 100 items here, please refer to log for details.
    [npmPack] npm WARN deprecated [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-node-resolve.
    [npmPack] npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
    [npmPack] npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
    [npmPack] npm notice created a lockfile as package-lock.json. You should commit this file.
    [npmPack] loaded rollup.config.js with warnings
    [npmPack] (!) Unused external imports
    [npmPack] default imported from external module 'rollup' but never used
    [npmPack] 
    [npmPack] ./esm/securityCenter.js → ./dist/arm-security.js...
    [npmPack] created ./dist/arm-security.js in 1.1s
    [npmPack] npm notice 
    [npmPack] npm notice package: @azure/[email protected]
    [npmPack] npm notice === Tarball Contents === 
    [npmPack] npm notice 4.8kB   esm/operations/adaptiveApplicationControls.js                          
    [npmPack] npm notice 634B    esm/models/adaptiveApplicationControlsMappers.js                       
    [npmPack] npm notice 7.9kB   esm/operations/adaptiveNetworkHardenings.js                            
    [npmPack] npm notice 3.2kB   esm/models/adaptiveNetworkHardeningsMappers.js                         
    [npmPack] npm notice 3.0kB   esm/operations/advancedThreatProtection.js                             
    [npmPack] npm notice 3.1kB   esm/models/advancedThreatProtectionMappers.js                          
    [npmPack] npm notice 15.0kB  esm/operations/alerts.js                                               
    [npmPack] npm notice 3.1kB   esm/models/alertsMappers.js                                            
    [npmPack] npm notice 5.5kB   esm/operations/alertsSuppressionRules.js                               
    [npmPack] npm notice 3.1kB   esm/models/alertsSuppressionRulesMappers.js                            
    [npmPack] npm notice 5.0kB   esm/operations/allowedConnections.js                                   
    [npmPack] npm notice 521B    esm/models/allowedConnectionsMappers.js                                
    [npmPack] npm notice 769.1kB dist/arm-security.js                                                   
    [npmPack] npm notice 300.8kB dist/arm-security.min.js                                               
    [npmPack] npm notice 5.3kB   esm/operations/assessments.js                                          
    [npmPack] npm notice 3.1kB   esm/models/assessmentsMappers.js                                       
    [npmPack] npm notice 7.7kB   esm/operations/assessmentsMetadata.js                                  
    [npmPack] npm notice 3.1kB   esm/models/assessmentsMetadataMappers.js                               
    [npmPack] npm notice 8.3kB   esm/operations/automations.js                                          
    [npmPack] npm notice 672B    esm/models/automationsMappers.js                                       
    [npmPack] npm notice 4.4kB   esm/operations/autoProvisioningSettings.js                             
    [npmPack] npm notice 3.1kB   esm/models/autoProvisioningSettingsMappers.js                          
    [npmPack] npm notice 3.3kB   esm/operations/complianceResults.js                                    
    [npmPack] npm notice 3.1kB   esm/models/complianceResultsMappers.js                                 
    [npmPack] npm notice 3.2kB   esm/operations/compliances.js                                          
    [npmPack] npm notice 3.1kB   esm/models/compliancesMappers.js                                       
    [npmPack] npm notice 5.1kB   esm/operations/connectors.js                                           
    [npmPack] npm notice 3.1kB   esm/models/connectorsMappers.js                                        
    [npmPack] npm notice 5.6kB   esm/operations/deviceSecurityGroups.js                                 
    [npmPack] npm notice 3.1kB   esm/models/deviceSecurityGroupsMappers.js                              
    [npmPack] npm notice 5.3kB   esm/operations/discoveredSecuritySolutions.js                          
    [npmPack] npm notice 498B    esm/models/discoveredSecuritySolutionsMappers.js                       
    [npmPack] npm notice 5.3kB   esm/operations/externalSecuritySolutions.js                            
    [npmPack] npm notice 704B    esm/models/externalSecuritySolutionsMappers.js                         
    [npmPack] npm notice 345B    esm/models/index.js                                                    
    [npmPack] npm notice 2.2kB   esm/operations/index.js                                                
    [npmPack] npm notice 4.9kB   esm/operations/informationProtectionPolicies.js                        
    [npmPack] npm notice 3.1kB   esm/models/informationProtectionPoliciesMappers.js                     
    [npmPack] npm notice 3.8kB   esm/operations/iotAlerts.js                                            
    [npmPack] npm notice 444B    esm/models/iotAlertsMappers.js                                         
    [npmPack] npm notice 3.0kB   esm/operations/iotAlertTypes.js                                        
    [npmPack] npm notice 3.1kB   esm/models/iotAlertTypesMappers.js                                     
    [npmPack] npm notice 4.9kB   esm/operations/iotDefenderSettings.js                                  
    [npmPack] npm notice 3.4kB   esm/models/iotDefenderSettingsMappers.js                               
    [npmPack] npm notice 3.9kB   esm/operations/iotRecommendations.js                                   
    [npmPack] npm notice 3.1kB   esm/models/iotRecommendationsMappers.js                                
    [npmPack] npm notice 3.2kB   esm/operations/iotRecommendationTypes.js                               
    [npmPack] npm notice 3.1kB   esm/models/iotRecommendationTypesMappers.js                            
    [npmPack] npm notice 8.9kB   esm/operations/iotSecuritySolution.js                                  
    [npmPack] npm notice 3.1kB   esm/operations/iotSecuritySolutionAnalytics.js                         
    [npmPack] npm notice 3.1kB   esm/models/iotSecuritySolutionAnalyticsMappers.js                      
    [npmPack] npm notice 598B    esm/models/iotSecuritySolutionMappers.js                               
    [npmPack] npm notice 5.3kB   esm/operations/iotSecuritySolutionsAnalyticsAggregatedAlert.js         
    [npmPack] npm notice 571B    esm/models/iotSecuritySolutionsAnalyticsAggregatedAlertMappers.js      
    [npmPack] npm notice 4.3kB   esm/operations/iotSecuritySolutionsAnalyticsRecommendation.js          
    [npmPack] npm notice 532B    esm/models/iotSecuritySolutionsAnalyticsRecommendationMappers.js       
    [npmPack] npm notice 5.0kB   esm/operations/iotSensors.js                                           
    [npmPack] npm notice 3.1kB   esm/models/iotSensorsMappers.js                                        
    [npmPack] npm notice 12.6kB  esm/operations/jitNetworkAccessPolicies.js                             
    [npmPack] npm notice 767B    esm/models/jitNetworkAccessPoliciesMappers.js                          
    [npmPack] npm notice 3.1kB   esm/operations/locations.js                                            
    [npmPack] npm notice 3.1kB   esm/models/locationsMappers.js                                         
    [npmPack] npm notice 223.1kB esm/models/mappers.js                                                  
    [npmPack] npm notice 2.2kB   esm/operations/operations.js                                           
    [npmPack] npm notice 465B    esm/models/operationsMappers.js                                        
    [npmPack] npm notice 17.5kB  esm/models/parameters.js                                               
    [npmPack] npm notice 3.4kB   esm/operations/pricings.js                                             
    [npmPack] npm notice 3.1kB   esm/models/pricingsMappers.js                                          
    [npmPack] npm notice 4.5kB   esm/operations/regulatoryComplianceAssessments.js                      
    [npmPack] npm notice 3.1kB   esm/models/regulatoryComplianceAssessmentsMappers.js                   
    [npmPack] npm notice 4.0kB   esm/operations/regulatoryComplianceControls.js                         
    [npmPack] npm notice 3.1kB   esm/models/regulatoryComplianceControlsMappers.js                      
    [npmPack] npm notice 3.6kB   esm/operations/regulatoryComplianceStandards.js                        
    [npmPack] npm notice 3.1kB   esm/models/regulatoryComplianceStandardsMappers.js                     
    [npmPack] npm notice 976B    rollup.config.js                                                       
    [npmPack] npm notice 4.1kB   esm/operations/secureScoreControlDefinitions.js                        
    [npmPack] npm notice 3.1kB   esm/models/secureScoreControlDefinitionsMappers.js                     
    [npmPack] npm notice 4.2kB   esm/operations/secureScoreControls.js                                  
    [npmPack] npm notice 3.1kB   esm/models/secureScoreControlsMappers.js                               
    [npmPack] npm notice 3.2kB   esm/operations/secureScores.js                                         
    [npmPack] npm notice 3.1kB   esm/models/secureScoresMappers.js                                      
    [npmPack] npm notice 5.2kB   esm/securityCenter.js                                                  
    [npmPack] npm notice 2.7kB   esm/securityCenterContext.js                                           
    [npmPack] npm notice 6.3kB   esm/operations/securityContacts.js                                     
    [npmPack] npm notice 3.1kB   esm/models/securityContactsMappers.js                                  
    [npmPack] npm notice 3.5kB   esm/operations/securitySolutions.js                                    
    [npmPack] npm notice 468B    esm/models/securitySolutionsMappers.js                                 

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Mar 24, 2020

azure-sdk-for-java - Release

No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

@ArcturusZhang
Copy link
Member

You have inconsistency enum definitions between here and the severity in the new alerts.json file, which is causing all SDK generation to fail.

@ArcturusZhang ArcturusZhang added WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required and removed WaitForARMReview labels Mar 25, 2020
@azure-pipelines
Copy link

Pull request contains merge conflicts.

1 similar comment
@azure-pipelines
Copy link

Pull request contains merge conflicts.

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ArcturusZhang
Copy link
Member

There is another enum called Status is blocking the SDK generation, would you please take a look and provide a fix for this? @nitsi

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

}
}
},
"ResourceIdentifier": {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please model resource identifiers using the standard ARM id string format rather than writing a custom model for it. This has the following benefits:

  1. Consistency with other ARM services.
  2. Allows other services (ARM, ARG, ARM Deployments) to programatically understand resource dependencies.
  3. Avoids users of the SDK to have to write resourceId parsing (e.g. if a user wants to fetch a loganalytics resource and pass the id to this field).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, can you explain " standard ARM id string format" ?
ResourceIdentifiers has 2 formatting types, which property "type" is common , and each has its own additional properties.
Do you mean to include only the type property as string, and allow additional properties?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think Anthony is talking about using the standard ARM resource ID string (something like /subscriptions/{id}/resourceGroups/{rg}/providers...) You are basically doing that with Azure Resources, but I definitely see the challenge with LA which is partially in the data plane (due to agent IDs).


In reply to: 437166909 [](ancestors = 437166909)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We definitely should drop "Identifier" from the definition name and the property above (see comment above). It can be confused with the meaning of the id property which is the resource identifier.


In reply to: 439029078 [](ancestors = 439029078,437166909)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See my comment on your other comment about the resourceIdentifiers. It is not just the "ARMResourceId" , there are some identifiers for the resource , ARMResourceId is identifier in terms of AzureResource. There are some more resource identifiers for the resource

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replied on that one. I'm disagreeing with Anthony and agreeing with you, but have a concern about naming.


In reply to: 439064304 [](ancestors = 439064304)

@azure-pipelines
Copy link

Comment was made before the most recent commit for PR 8805 in repo Azure/azure-rest-api-specs

@nitsi nitsi added WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required and removed ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review labels Jun 9, 2020
@nitsi nitsi requested a review from anthony-c-martin June 9, 2020 06:47
"resourceIdentifiers": {
"readOnly": true,
"type": "array",
"description": "The resource identifiers for this alert which can be used to direct the alert to the right product exposure group (tenant, workspace, subscription etc.). There can be multiple identifiers of different type per alert.",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The resource identifiers for this alert [](start = 26, length = 39)

This doesn't seem accurate. The resource identifier for the alert is in the id property of the alert resource. I think you mean something else here. Would impactedResources, affectedResources or something like that be a better fit?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is an array of all the identifiers for the resource: we can have AADIdentifier (which has AadTenantId inside) , AzureResource ( which has AzureResourceId inside) , LogAnalytics ( which has WorkspaceId, WorkspaceSubscriptionId and some more identifiers inside).
So the name - resourceIdentfiers will hold all the identifiers for this resource. not just the "resourceId" itself

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I got that. All I'm saying is that the description text of "The resource identifiers for this alert" is confusing. The text is ambiguous and implies that the alert is being identified by the resourceIdentifiers property. I think part of the issue is the name of the property (schema of the property is fine) I think the name of the name should be changed to something that better captures the relationship between the alert and the resources. Maybe impactedResources, affectedResources, or something like that?


In reply to: 439062511 [](ancestors = 439062511)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed the description, and removed "for this alert". Do you thing it is more clear now?. We use this name internally in schema which we expose to out partners so changing it might be confusing.

@majastrz majastrz added the ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review label Jun 11, 2020
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jun 15, 2020

azure-sdk-for-python-track2 - Release

No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

@nitsi nitsi removed the ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review label Jun 15, 2020
@majastrz
Copy link
Member

@chiragg4u can you take over ARM review on this one also?

"type": "AzureResource"
},
{
"workspaceId": "f419f624-acad-4d89-b86d-f62fa387f019",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did we modeled this differently? Can't we use azureResourceId as workspace is also an Azure resource?

Please work with Gaurav Bhatnagar for continuing the review.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those are different values , or did you mean something else? I'll work with Gaurav

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can the workspace Id be the ARM resource ID which is of the form /subsccriptions/{id}/resourceGroups/{rgname}/..../workspaces/{name}? @yibirnba ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we keep this separately on different properties: WorkspaceId, WorkspaceSubscriptionId, WorkspaceResourceGroup, AgentId , since those are not mandatory fields and we want to show information that we have

"type": "object",
"description": "describes security alert properties.",
"properties": {
"alertType": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please make this enum and list all the possible values

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alertType is not a closed list, there are hundreds of types, and new types are been added often

"type": "AzureResource"
},
{
"workspaceId": "f419f624-acad-4d89-b86d-f62fa387f019",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can the workspace Id be the ARM resource ID which is of the form /subsccriptions/{id}/resourceGroups/{rgname}/..../workspaces/{name}? @yibirnba ?

@ravbhatnagar
Copy link
Contributor

ravbhatnagar commented Jun 23, 2020

Adding new APIs requires a new api-version as per the new versioning guidelines. If you need or think this must be added to the existing api-version, please get sign off from Azure API review board. Adrian hall, Johan Stenberg, Jeffrey Richter etc. can help

@ravbhatnagar ravbhatnagar removed the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Jun 23, 2020
@ravbhatnagar
Copy link
Contributor

Removing ARM Review label as APIs are fine from ARM standpoint.

@ravbhatnagar ravbhatnagar added the ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review label Jun 25, 2020
@ArcturusZhang
Copy link
Member

Hi @nitsi is this PR ready to merge? This LGTM and should be good to merge. If this is ready to merge, please remove the DoNotMerge label and let me know. Thanks

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ArcturusZhang
Copy link
Member

Hi @nitsi do we have any update on this? Please let me know if this is ready to merge

@nitsi
Copy link
Contributor Author

nitsi commented Jul 21, 2020

Hi @nitsi do we have any update on this? Please let me know if this is ready to merge

Not yet, we still have a few things to do before:

  1. Tests
  2. Manifest deployment/update

We will give you an update once we are ready

@nitsi nitsi added Approved-OkToMerge <valid label in PR review process>add this label when assignee approve to merge the updates and removed DoNotMerge <valid label in PR review process> use to hold merge after approval labels Aug 25, 2020
@nitsi
Copy link
Contributor Author

nitsi commented Aug 30, 2020

@ArcturusZhang Please marge

@akning-ms akning-ms merged commit 8b93500 into Azure:master Aug 31, 2020
@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Aug 31, 2020

azure-resource-manager-schemas - Release

failed [Logs] [Expand Details]
  • Generate from eae295a with merge commit 8b93500. Schema Automation 13.0.17.20200828.8
    [AutoRest] FATAL: System.InvalidOperationException: Values specified by 'enum' mismatch those specified by 'x-ms-enum' (name: 'RecommendationType'): 'IoT_ACRAuthentication', 'IoT_AgentSendsUnutilizedMessages', 'IoT_Baseline', 'IoT_EdgeHubMemOptimize', 'IoT_EdgeLoggingOptions', 'IoT_InconsistentModuleSettings', 'IoT_InstallAgent', 'IoT_IPFilter_DenyAll', 'IoT_IPFilter_PermissiveRule', 'IoT_OpenPorts', 'IoT_PermissiveFirewallPolicy', 'IoT_PermissiveInputFirewallRules', 'IoT_PermissiveOutputFirewallRules', 'IoT_PrivilegedDockerOptions', 'IoT_SharedCredentials', 'IoT_VulnerableTLSCipherSuite', 'File', 'FileHash', 'PublisherSignature', 'ProductSignature', 'BinarySignature', 'VersionAndAboveSignature' vs 'IoT_ACRAuthentication', 'IoT_AgentSendsUnutilizedMessages', 'IoT_Baseline', 'IoT_EdgeHubMemOptimize', 'IoT_EdgeLoggingOptions', 'IoT_InconsistentModuleSettings', 'IoT_InstallAgent', 'IoT_IPFilter_DenyAll', 'IoT_IPFilter_PermissiveRule', 'IoT_OpenPorts', 'IoT_PermissiveFirewallPolicy', 'IoT_PermissiveInputFirewallRules', 'IoT_PermissiveOutputFirewallRules', 'IoT_PrivilegedDockerOptions', 'IoT_SharedCredentials', 'IoT_VulnerableTLSCipherSuite'
    [AutoRest]    at AutoRest.Modeler.ObjectBuilder.BuildServiceType(String serviceTypeName, Boolean required) in /home/vsts/work/1/s/autorest.common/src/ObjectBuilder.cs:line 132
    [AutoRest]    at AutoRest.Modeler.SchemaBuilder.ParentBuildServiceType(String serviceTypeName, Boolean required) in /home/vsts/work/1/s/autorest.common/src/SchemaBuilder.cs:line 222
    [AutoRest]    at AutoRest.Modeler.SchemaBuilder.BuildServiceType(String serviceTypeName, Boolean required) in /home/vsts/work/1/s/autorest.common/src/SchemaBuilder.cs:line 51
    [AutoRest]    at AutoRest.Modeler.SchemaBuilder.BuildServiceType(String serviceTypeName, Boolean required) in /home/vsts/work/1/s/autorest.common/src/SchemaBuilder.cs:line 138
    [AutoRest]    at AutoRest.Modeler.ObjectBuilder.BuildServiceType(String serviceTypeName, Boolean required) in /home/vsts/work/1/s/autorest.common/src/ObjectBuilder.cs:line 182
    [AutoRest]    at AutoRest.Modeler.SchemaBuilder.ParentBuildServiceType(String serviceTypeName, Boolean required) in /home/vsts/work/1/s/autorest.common/src/SchemaBuilder.cs:line 222
    [AutoRest]    at AutoRest.Modeler.SchemaBuilder.BuildServiceType(String serviceTypeName, Boolean required) in /home/vsts/work/1/s/autorest.common/src/SchemaBuilder.cs:line 51
    [AutoRest]    at AutoRest.Modeler.SchemaBuilder.BuildServiceType(String serviceTypeName, Boolean required) in /home/vsts/work/1/s/autorest.common/src/SchemaBuilder.cs:line 138
    [AutoRest]    at AutoRest.Modeler.SchemaBuilder.BuildServiceType(String serviceTypeName, Boolean required) in /home/vsts/work/1/s/autorest.common/src/SchemaBuilder.cs:line 138
    [AutoRest]    at AutoRest.Modeler.ObjectBuilder.BuildServiceType(String serviceTypeName, Boolean required) in /home/vsts/work/1/s/autorest.common/src/ObjectBuilder.cs:line 182
    [AutoRest]    at AutoRest.Modeler.SchemaBuilder.ParentBuildServiceType(String serviceTypeName, Boolean required) in /home/vsts/work/1/s/autorest.common/src/SchemaBuilder.cs:line 222
    [AutoRest]    at AutoRest.Modeler.SchemaBuilder.BuildServiceType(String serviceTypeName, Boolean required) in /home/vsts/work/1/s/autorest.common/src/SchemaBuilder.cs:line 51
    [AutoRest]    at AutoRest.Modeler.SchemaBuilder.BuildServiceType(String serviceTypeName, Boolean required) in /home/vsts/work/1/s/autorest.common/src/SchemaBuilder.cs:line 138
    [AutoRest]    at AutoRest.Modeler.SwaggerModeler.BuildCompositeTypes() in /home/vsts/work/1/s/autorest.common/src/SwaggerModeler.cs:line 349
    [AutoRest]    at AutoRest.Modeler.SwaggerModeler.Build(ServiceDefinition serviceDefinition) in /home/vsts/work/1/s/autorest.common/src/SwaggerModeler.cs:line 66
    [AutoRest]    at AutoRest.Modeler.ModelerPlugin.d__1.MoveNext() in /home/vsts/work/1/s/autorest.common/src/Program.cs:line 43
    [AutoRest] --- End of stack trace from previous location where exception was thrown ---
    [AutoRest]    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    [AutoRest]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    [AutoRest]    at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
    [AutoRest]    at NewPlugin.d__20.MoveNext() in /home/vsts/work/1/s/autorest.common/src/common/Plugins/NewPlugin.cs:line 164
    [AutoRest]   Error: Plugin imodeler2 reported failure.
    Failed to run autorest.
    Error: /z/node_modules/.bin/autorest --use=@autorest/[email protected] --version=3.0.6274 --azureresourceschema --multiapi --title=none --pass-thru:subset-reducer --azureresourceschema-folder=/z/work/azure-resource-manager-schemas /z/work/azure-rest-api-specs/specification/security/resource-manager/readme.md FATAL: System.InvalidOperationException: Values specified by 'enum' mismatch those specified by 'x-ms-enum' (name: 'RecommendationType'): 'IoT_ACRAuthentication', 'IoT_AgentSendsUnutilizedMessages', 'IoT_Baseline', 'IoT_EdgeHubMemOptimize', 'IoT_EdgeLoggingOptions', 'IoT_InconsistentModuleSettings', 'IoT_InstallAgent', 'IoT_IPFilter_DenyAll', 'IoT_IPFilter_PermissiveRule', 'IoT_OpenPorts', 'IoT_PermissiveFirewallPolicy', 'IoT_PermissiveInputFirewallRules', 'IoT_PermissiveOutputFirewallRules', 'IoT_PrivilegedDockerOptions', 'IoT_SharedCredentials', 'IoT_VulnerableTLSCipherSuite', 'File', 'FileHash', 'PublisherSignature', 'ProductSignature', 'BinarySignature', 'VersionAndAboveSignature' vs 'IoT_ACRAuthentication', 'IoT_AgentSendsUnutilizedMessages', 'IoT_Baseline', 'IoT_EdgeHubMemOptimize', 'IoT_EdgeLoggingOptions', 'IoT_InconsistentModuleSettings', 'IoT_InstallAgent', 'IoT_IPFilter_DenyAll', 'IoT_IPFilter_PermissiveRule', 'IoT_OpenPorts', 'IoT_PermissiveFirewallPolicy', 'IoT_PermissiveInputFirewallRules', 'IoT_PermissiveOutputFirewallRules', 'IoT_PrivilegedDockerOptions', 'IoT_SharedCredentials', 'IoT_VulnerableTLSCipherSuite'
       at AutoRest.Modeler.ObjectBuilder.BuildServiceType(String serviceTypeName, Boolean required) in /home/vsts/work/1/s/autorest.common/src/ObjectBuilder.cs:line 132
       at AutoRest.Modeler.SchemaBuilder.ParentBuildServiceType(String serviceTypeName, Boolean required) in /home/vsts/work/1/s/autorest.common/src/SchemaBuilder.cs:line 222
       at AutoRest.Modeler.SchemaBuilder.BuildServiceType(String serviceTypeName, Boolean required) in /home/vsts/work/1/s/autorest.common/src/SchemaBuilder.cs:line 51
       at AutoRest.Modeler.SchemaBuilder.BuildServiceType(String serviceTypeName, Boolean required) in /home/vsts/work/1/s/autorest.common/src/SchemaBuilder.cs:line 138
       at AutoRest.Modeler.ObjectBuilder.BuildServiceType(String serviceTypeName, Boolean required) in /home/vsts/work/1/s/autorest.common/src/ObjectBuilder.cs:line 182
       at AutoRest.Modeler.SchemaBuilder.ParentBuildServiceType(String serviceTypeName, Boolean required) in /home/vsts/work/1/s/autorest.common/src/SchemaBuilder.cs:line 222
       at AutoRest.Modeler.SchemaBuilder.BuildServiceType(String serviceTypeName, Boolean required) in /home/vsts/work/1/s/autorest.common/src/SchemaBuilder.cs:line 51
       at AutoRest.Modeler.SchemaBuilder.BuildServiceType(String serviceTypeName, Boolean required) in /home/vsts/work/1/s/autorest.common/src/SchemaBuilder.cs:line 138
       at AutoRest.Modeler.SchemaBuilder.BuildServiceType(String serviceTypeName, Boolean required) in /home/vsts/work/1/s/autorest.common/src/SchemaBuilder.cs:line 138
       at AutoRest.Modeler.ObjectBuilder.BuildServiceType(String serviceTypeName, Boolean required) in /home/vsts/work/1/s/autorest.common/src/ObjectBuilder.cs:line 182
       at AutoRest.Modeler.SchemaBuilder.ParentBuildServiceType(String serviceTypeName, Boolean required) in /home/vsts/work/1/s/autorest.common/src/SchemaBuilder.cs:line 222
       at AutoRest.Modeler.SchemaBuilder.BuildServiceType(String serviceTypeName, Boolean required) in /home/vsts/work/1/s/autorest.common/src/SchemaBuilder.cs:line 51
       at AutoRest.Modeler.SchemaBuilder.BuildServiceType(String serviceTypeName, Boolean required) in /home/vsts/work/1/s/autorest.common/src/SchemaBuilder.cs:line 138
       at AutoRest.Modeler.SwaggerModeler.BuildCompositeTypes() in /home/vsts/work/1/s/autorest.common/src/SwaggerModeler.cs:line 349
       at AutoRest.Modeler.SwaggerModeler.Build(ServiceDefinition serviceDefinition) in /home/vsts/work/1/s/autorest.common/src/SwaggerModeler.cs:line 66
       at AutoRest.Modeler.ModelerPlugin.d__1.MoveNext() in /home/vsts/work/1/s/autorest.common/src/Program.cs:line 43
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
       at NewPlugin.d__20.MoveNext() in /home/vsts/work/1/s/autorest.common/src/common/Plugins/NewPlugin.cs:line 164
      Error: Plugin imodeler2 reported failure.
    , {} 
    Failed to find any diff after autorest so no changed packages was found.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved-OkToMerge <valid label in PR review process>add this label when assignee approve to merge the updates ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review CI-BreakingChange-Python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants