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

release-securityinsights-Microsoft.SecurityInsights-2022-11-01-preview #21267

Conversation

anat-gilenson
Copy link
Contributor

Please note all PRs to this branch have already been reviewed and approved by Swagger team and ARM. No need for addition ARM review.

@openapi-workflow-bot
Copy link

Hi, @anat-gilenson Thanks for your PR. I am workflow bot for review process. Here are some small tips.

  • Please ensure to do self-check against checklists in first PR comment.
  • PR assignee is the person auto-assigned and responsible for your current PR reviewing and merging.
  • For specs comparison cross API versions, Use API Specs Comparison Report Generator
  • If there is CI failure(s), to fix CI error(s) is mandatory for PR merging; or you need to provide justification in PR comment for explanation. How to fix?

  • Any feedback about review process or workflow bot, pls contact swagger and tools team. vscswagger@microsoft.com

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Oct 25, 2022

    Swagger Validation Report

    ️🔄BreakingChange inProgress [Detail]
    ️🔄Breaking Change(Cross-Version) inProgress [Detail]
    ️⌛CredScan pending [Detail]
    ️🔄LintDiff inProgress [Detail]
    ️🔄Avocado inProgress [Detail]
    ️🔄ApiReadinessCheck inProgress [Detail]
    ️🔄~[Staging] ServiceAPIReadinessTest inProgress [Detail]
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️🔄SemanticValidation inProgress [Detail]
    ️⌛PoliCheck pending [Detail]
    ️🔄PrettierCheck inProgress [Detail]
    ️🔄SpellCheck inProgress [Detail]
    ️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
    Validation passes for Lint(RPaaS).
    ️️✔️CadlValidation succeeded [Detail] [Expand]
    Validation passes for CadlValidation.
    ️⌛PR Summary pending [Detail]
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Oct 25, 2022

    Swagger Generation Artifacts

    ️️✔️ApiDocPreview succeeded [Detail] [Expand]
     Please click here to preview with your @microsoft account. 
    ️️✔️SDK Breaking Change Tracking succeeded [Detail] [Expand]

    Breaking Changes Tracking



    ️️✔️ azure-sdk-for-net-track2 succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from b20e403. SDK Automation 14.0.0
      command	pwsh ./eng/scripts/Automation-Sdk-Init.ps1 ../azure-sdk-for-net_tmp/initInput.json ../azure-sdk-for-net_tmp/initOutput.json
      warn	File azure-sdk-for-net_tmp/initOutput.json not found to read
      command	pwsh ./eng/scripts/Invoke-GenerateAndBuildV2.ps1 ../azure-sdk-for-net_tmp/generateInput.json ../azure-sdk-for-net_tmp/generateOutput.json
    • ️✔️Azure.ResourceManager.SecurityInsights [View full logs]  [Release SDK Changes]
      info	[Changelog]
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from b20e403. SDK Automation 14.0.0
      command	sh scripts/automation_init.sh ../azure-sdk-for-python_tmp/initInput.json ../azure-sdk-for-python_tmp/initOutput.json
      cmderr	[automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed.
      command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
      cmderr	[automation_generate.sh]
      cmderr	[automation_generate.sh] npm notice New patch version of npm available! 8.19.2 -> 8.19.3
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.19.3>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g npm@8.19.3` to update!
      cmderr	[automation_generate.sh] npm notice
    • ️✔️track2_azure-mgmt-securityinsight [View full logs]  [Release SDK Changes]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog]   - Added operation group GetOperations
      info	[Changelog]   - Added operation group GetRecommendationsOperations
      info	[Changelog]   - Added operation group UpdateOperations
      info	[Changelog]   - Model AlertDetailsOverride has a new parameter alert_dynamic_properties
      info	[Changelog]   - Model NrtAlertRule has a new parameter sentinel_entities_mappings
      info	[Changelog]   - Model NrtAlertRuleTemplate has a new parameter sentinel_entities_mappings
      info	[Changelog]   - Model NrtAlertRuleTemplateProperties has a new parameter sentinel_entities_mappings
      info	[Changelog]   - Model QueryBasedAlertRuleTemplateProperties has a new parameter sentinel_entities_mappings
      info	[Changelog]   - Model ScheduledAlertRule has a new parameter sentinel_entities_mappings
      info	[Changelog]   - Model ScheduledAlertRuleCommonProperties has a new parameter sentinel_entities_mappings
      info	[Changelog]   - Model ScheduledAlertRuleProperties has a new parameter sentinel_entities_mappings
      info	[Changelog]   - Model ScheduledAlertRuleTemplate has a new parameter sentinel_entities_mappings
      info	[Changelog]   - Model SecurityAlertTimelineItem has a new parameter intent
      info	[Changelog]   - Model SecurityAlertTimelineItem has a new parameter techniques
    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from b20e403. SDK Automation 14.0.0
      command	sh .scripts/automation_init.sh ../azure-sdk-for-js_tmp/initInput.json ../azure-sdk-for-js_tmp/initOutput.json
      warn	File azure-sdk-for-js_tmp/initOutput.json not found to read
      command	sh .scripts/automation_generate.sh ../azure-sdk-for-js_tmp/generateInput.json ../azure-sdk-for-js_tmp/generateOutput.json
    • ️✔️@azure/arm-securityinsight [View full logs]  [Release SDK Changes]
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Added operation group Get
      info	[Changelog]   - Added operation group GetRecommendations
      info	[Changelog]   - Added operation group Update
      info	[Changelog]   - Added Interface AlertPropertyMapping
      info	[Changelog]   - Added Interface Content
      info	[Changelog]   - Added Interface GetRecommendationsListOptionalParams
      info	[Changelog]   - Added Interface GetSingleRecommendationOptionalParams
      info	[Changelog]   - Added Interface Instructions
      info	[Changelog]   - Added Interface Recommendation
      info	[Changelog]   - Added Interface RecommendationList
      info	[Changelog]   - Added Interface RecommendationPatch
      info	[Changelog]   - Added Interface RecommendedAction
      info	[Changelog]   - Added Interface SentinelEntityMapping
      info	[Changelog]   - Added Interface UpdateRecommendationOptionalParams
      info	[Changelog]   - Added Type Alias AlertProperty
      info	[Changelog]   - Added Type Alias Category
      info	[Changelog]   - Added Type Alias Context
      info	[Changelog]   - Added Type Alias GetRecommendationsListResponse
      info	[Changelog]   - Added Type Alias GetSingleRecommendationResponse
      info	[Changelog]   - Added Type Alias Priority
      info	[Changelog]   - Added Type Alias State
      info	[Changelog]   - Added Type Alias UpdateRecommendationResponse
      info	[Changelog]   - Interface AlertDetailsOverride has a new optional parameter alertDynamicProperties
      info	[Changelog]   - Interface NrtAlertRule has a new optional parameter sentinelEntitiesMappings
      info	[Changelog]   - Interface NrtAlertRuleTemplate has a new optional parameter sentinelEntitiesMappings
      info	[Changelog]   - Interface QueryBasedAlertRuleTemplateProperties has a new optional parameter sentinelEntitiesMappings
      info	[Changelog]   - Interface ScheduledAlertRule has a new optional parameter sentinelEntitiesMappings
      info	[Changelog]   - Interface ScheduledAlertRuleCommonProperties has a new optional parameter sentinelEntitiesMappings
      info	[Changelog]   - Interface ScheduledAlertRuleTemplate has a new optional parameter sentinelEntitiesMappings
      info	[Changelog]   - Interface SecurityAlertTimelineItem has a new optional parameter intent
      info	[Changelog]   - Interface SecurityAlertTimelineItem has a new optional parameter techniques
      info	[Changelog]   - Class SecurityInsights has a new parameter get
      info	[Changelog]   - Class SecurityInsights has a new parameter getRecommendations
      info	[Changelog]   - Class SecurityInsights has a new parameter update
      info	[Changelog]   - Added Enum KnownAlertProperty
      info	[Changelog]   - Added Enum KnownCategory
      info	[Changelog]   - Added Enum KnownContext
      info	[Changelog]   - Added Enum KnownPriority
      info	[Changelog]   - Added Enum KnownState
    ️⚠️ azure-sdk-for-java warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from b20e403. SDK Automation 14.0.0
      command	./eng/mgmt/automation/init.sh ../azure-sdk-for-java_tmp/initInput.json ../azure-sdk-for-java_tmp/initOutput.json
      cmderr	[init.sh] [notice] A new release of pip available: 22.3 -> 22.3.1
      cmderr	[init.sh] [notice] To update, run: pip install --upgrade pip
      cmderr	[init.sh] [notice] A new release of pip available: 22.3 -> 22.3.1
      cmderr	[init.sh] [notice] To update, run: pip install --upgrade pip
      command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
      warn	No file changes detected after generation
      warn	No package detected after generation
    ️❌ azure-resource-manager-schemas failed [Detail]
    • Failed [Logs]Release - Generate from b20e403. Schema Automation 14.0.0
      command	.sdkauto/initScript.sh ../azure-resource-manager-schemas_tmp/initInput.json ../azure-resource-manager-schemas_tmp/initOutput.json
      cmderr	[initScript.sh]
      cmderr	[initScript.sh] npm WARN old lockfile The package-lock.json file was created with an old version of npm,
      cmderr	[initScript.sh] npm WARN old lockfile so supplemental metadata must be fetched from the registry.
      cmderr	[initScript.sh] npm WARN old lockfile
      cmderr	[initScript.sh] npm WARN old lockfile This is a one-time fix-up, please be patient...
      cmderr	[initScript.sh] npm WARN old lockfile
      warn	File azure-resource-manager-schemas_tmp/initOutput.json not found to read
      command	.sdkauto/generateScript.sh ../azure-resource-manager-schemas_tmp/generateInput.json ../azure-resource-manager-schemas_tmp/generateOutput.json
      warn	No file changes detected after generation
    • securityinsights/resource-manager [View full logs
    ️❌ azure-powershell failed [Detail]
    • Failed [Logs]Release - Generate from b20e403. SDK Automation 14.0.0
      command	sh ./tools/SwaggerCI/init.sh ../azure-powershell_tmp/initInput.json ../azure-powershell_tmp/initOutput.json
      command	pwsh ./tools/SwaggerCI/psci.ps1 ../azure-powershell_tmp/generateInput.json ../azure-powershell_tmp/generateOutput.json
    • Az.securityinsights [View full logs]  [Release SDK Changes]
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Oct 25, 2022

    Generated ApiView

    Language Package Name ApiView Link
    Python track2_azure-mgmt-securityinsight Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.
    .Net Azure.ResourceManager.SecurityInsights Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.
    JavaScript @azure/arm-securityinsight Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.

    @AzureRestAPISpecReview AzureRestAPISpecReview added BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required CI-MissingBaseCommit new-api-version resource-manager labels Oct 25, 2022
    @openapi-workflow-bot
    Copy link

    Hi @anat-gilenson, one or multiple breaking change(s) is detected in your PR. Please check out the breaking change(s), and provide business justification in the PR comment and @ PR assignee why you must have these change(s), and how external customer impact can be mitigated. Please ensure to follow breaking change policy to request breaking change review and approval before proceeding swagger PR review.
    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.
    If you want to know the production traffic statistic, please see ARM Traffic statistic.
    If you think it is false positive breaking change, please provide the reasons in the PR comment, report to Swagger Tooling Team via https://aka.ms/swaggerfeedback.
    Note: To avoid breaking change, you can refer to Shift Left Solution for detecting breaking change in early phase at your service code repository.

    @anat-gilenson
    Copy link
    Contributor Author

    /azp run

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Nov 7, 2022

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️❌Breaking Change(Cross-Version): 56 Errors, 10 Warnings failed [Detail]
    compared swaggers (via Oad v0.10.1)] new version base version
    AlertRules.json 2022-11-01-preview(0f7b70b) 2022-08-01(main)
    AlertRules.json 2022-11-01-preview(0f7b70b) 2022-10-01-preview(main)
    AutomationRules.json 2022-11-01-preview(0f7b70b) 2022-08-01(main)
    AutomationRules.json 2022-11-01-preview(0f7b70b) 2022-10-01-preview(main)
    Bookmarks.json 2022-11-01-preview(0f7b70b) 2022-08-01(main)
    Bookmarks.json 2022-11-01-preview(0f7b70b) 2022-10-01-preview(main)
    Enrichment.json 2022-11-01-preview(0f7b70b) 2022-10-01-preview(main)
    Entities.json 2022-11-01-preview(0f7b70b) 2022-10-01-preview(main)
    EntityQueries.json 2022-11-01-preview(0f7b70b) 2022-10-01-preview(main)
    EntityQueryTemplates.json 2022-11-01-preview(0f7b70b) 2022-10-01-preview(main)
    FileImports.json 2022-11-01-preview(0f7b70b) 2022-10-01-preview(main)
    Incidents.json 2022-11-01-preview(0f7b70b) 2022-08-01(main)
    Incidents.json 2022-11-01-preview(0f7b70b) 2022-10-01-preview(main)
    Metadata.json 2022-11-01-preview(0f7b70b) 2022-10-01-preview(main)
    OfficeConsents.json 2022-11-01-preview(0f7b70b) 2022-10-01-preview(main)
    OnboardingStates.json 2022-11-01-preview(0f7b70b) 2022-08-01(main)
    OnboardingStates.json 2022-11-01-preview(0f7b70b) 2022-10-01-preview(main)
    SecurityMLAnalyticsSettings.json 2022-11-01-preview(0f7b70b) 2022-10-01-preview(main)
    Settings.json 2022-11-01-preview(0f7b70b) 2022-10-01-preview(main)
    SourceControls.json 2022-11-01-preview(0f7b70b) 2022-10-01-preview(main)
    ThreatIntelligence.json 2022-11-01-preview(0f7b70b) 2022-08-01(main)
    ThreatIntelligence.json 2022-11-01-preview(0f7b70b) 2022-10-01-preview(main)
    Watchlists.json 2022-11-01-preview(0f7b70b) 2022-08-01(main)
    Watchlists.json 2022-11-01-preview(0f7b70b) 2022-10-01-preview(main)
    AlertTypes.json 2022-11-01-preview(0f7b70b) 2022-08-01(main)
    AlertTypes.json 2022-11-01-preview(0f7b70b) 2022-10-01-preview(main)
    EntityTypes.json 2022-11-01-preview(0f7b70b) 2022-08-01(main)
    EntityTypes.json 2022-11-01-preview(0f7b70b) 2022-10-01-preview(main)
    IncidentTypes.json 2022-11-01-preview(0f7b70b) 2022-08-01(main)
    IncidentTypes.json 2022-11-01-preview(0f7b70b) 2022-10-01-preview(main)
    RelationTypes.json 2022-11-01-preview(0f7b70b) 2022-10-01-preview(main)
    ThreatIntelligenceTypes.json 2022-11-01-preview(0f7b70b) 2022-10-01-preview(main)
    dataConnectors.json 2022-11-01-preview(0f7b70b) 2022-10-01-preview(main)
    operations.json 2022-11-01-preview(0f7b70b) 2022-08-01(main)
    operations.json 2022-11-01-preview(0f7b70b) 2022-10-01-preview(main)

    The following breaking changes are detected by comparison with the latest stable version:

    Only 30 items are listed, please refer to log for more details.

    Rule Message
    1025 - RequiredStatusChange The 'required' status changed from the old version('False') to the new version('True').
    New: Microsoft.SecurityInsights/preview/2022-11-01-preview/AlertRules.json#L1576:7
    Old: Microsoft.SecurityInsights/stable/2022-08-01/AlertRules.json#L1072:7
    1025 - RequiredStatusChange The 'required' status changed from the old version('False') to the new version('True').
    New: Microsoft.SecurityInsights/preview/2022-11-01-preview/AutomationRules.json#L1199:7
    Old: Microsoft.SecurityInsights/stable/2022-08-01/AutomationRules.json#L846:7
    1025 - RequiredStatusChange The 'required' status changed from the old version('False') to the new version('True').
    New: Microsoft.SecurityInsights/preview/2022-11-01-preview/Watchlists.json#L481:7
    Old: Microsoft.SecurityInsights/stable/2022-08-01/Watchlists.json#L469:7
    1047 - XmsEnumChanged The new version has a different x-ms-enum 'name' than the previous one.
    New: preview/2022-11-01-preview/common/EntityTypes.json#L240:9
    Old: stable/2022-08-01/common/EntityTypes.json#L240:9
    1047 - XmsEnumChanged The new version has a different x-ms-enum 'name' than the previous one.
    New: preview/2022-11-01-preview/common/EntityTypes.json#L240:9
    Old: stable/2022-08-01/common/EntityTypes.json#L240:9
    1047 - XmsEnumChanged The new version has a different x-ms-enum 'name' than the previous one.
    New: preview/2022-11-01-preview/common/EntityTypes.json#L240:9
    Old: stable/2022-08-01/common/EntityTypes.json#L240:9
    1047 - XmsEnumChanged The new version has a different x-ms-enum 'name' than the previous one.
    New: Microsoft.SecurityInsights/preview/2022-11-01-preview/Incidents.json#L1038:9
    Old: Microsoft.SecurityInsights/stable/2022-08-01/Incidents.json#L1049:9
    1047 - XmsEnumChanged The new version has a different x-ms-enum 'name' than the previous one.
    New: preview/2022-11-01-preview/common/EntityTypes.json#L271:5
    Old: stable/2022-08-01/common/EntityTypes.json#L269:5
    1047 - XmsEnumChanged The new version has a different x-ms-enum 'name' than the previous one.
    New: preview/2022-11-01-preview/common/EntityTypes.json#L240:9
    Old: stable/2022-08-01/common/EntityTypes.json#L240:9
    1047 - XmsEnumChanged The new version has a different x-ms-enum 'name' than the previous one.
    New: preview/2022-11-01-preview/common/EntityTypes.json#L240:9
    Old: stable/2022-08-01/common/EntityTypes.json#L240:9
    1047 - XmsEnumChanged The new version has a different x-ms-enum 'name' than the previous one.
    New: preview/2022-11-01-preview/common/EntityTypes.json#L240:9
    Old: stable/2022-08-01/common/EntityTypes.json#L240:9
    1047 - XmsEnumChanged The new version has a different x-ms-enum 'name' than the previous one.
    New: preview/2022-11-01-preview/common/EntityTypes.json#L240:9
    Old: stable/2022-08-01/common/EntityTypes.json#L240:9
    1047 - XmsEnumChanged The new version has a different x-ms-enum 'name' than the previous one.
    New: preview/2022-11-01-preview/common/EntityTypes.json#L240:9
    Old: stable/2022-08-01/common/EntityTypes.json#L240:9
    1047 - XmsEnumChanged The new version has a different x-ms-enum 'name' than the previous one.
    New: preview/2022-11-01-preview/common/EntityTypes.json#L240:9
    Old: stable/2022-08-01/common/EntityTypes.json#L240:9
    1047 - XmsEnumChanged The new version has a different x-ms-enum 'name' than the previous one.
    New: preview/2022-11-01-preview/common/EntityTypes.json#L240:9
    Old: stable/2022-08-01/common/EntityTypes.json#L240:9
    1047 - XmsEnumChanged The new version has a different x-ms-enum 'name' than the previous one.
    New: preview/2022-11-01-preview/common/EntityTypes.json#L240:9
    Old: stable/2022-08-01/common/EntityTypes.json#L240:9
    1047 - XmsEnumChanged The new version has a different x-ms-enum 'name' than the previous one.
    New: preview/2022-11-01-preview/common/EntityTypes.json#L240:9
    Old: stable/2022-08-01/common/EntityTypes.json#L240:9
    1047 - XmsEnumChanged The new version has a different x-ms-enum 'name' than the previous one.
    New: preview/2022-11-01-preview/common/EntityTypes.json#L240:9
    Old: stable/2022-08-01/common/EntityTypes.json#L240:9
    1047 - XmsEnumChanged The new version has a different x-ms-enum 'name' than the previous one.
    New: preview/2022-11-01-preview/common/EntityTypes.json#L240:9
    Old: stable/2022-08-01/common/EntityTypes.json#L240:9
    1047 - XmsEnumChanged The new version has a different x-ms-enum 'name' than the previous one.
    New: preview/2022-11-01-preview/common/EntityTypes.json#L240:9
    Old: stable/2022-08-01/common/EntityTypes.json#L240:9
    1047 - XmsEnumChanged The new version has a different x-ms-enum 'name' than the previous one.
    New: preview/2022-11-01-preview/common/EntityTypes.json#L240:9
    Old: stable/2022-08-01/common/EntityTypes.json#L240:9
    1047 - XmsEnumChanged The new version has a different x-ms-enum 'name' than the previous one.
    New: preview/2022-11-01-preview/common/EntityTypes.json#L240:9
    Old: stable/2022-08-01/common/EntityTypes.json#L240:9
    1047 - XmsEnumChanged The new version has a different x-ms-enum 'name' than the previous one.
    New: preview/2022-11-01-preview/common/EntityTypes.json#L240:9
    Old: stable/2022-08-01/common/EntityTypes.json#L240:9
    1047 - XmsEnumChanged The new version has a different x-ms-enum 'name' than the previous one.
    New: preview/2022-11-01-preview/common/EntityTypes.json#L240:9
    Old: stable/2022-08-01/common/EntityTypes.json#L240:9
    1047 - XmsEnumChanged The new version has a different x-ms-enum 'name' than the previous one.
    New: preview/2022-11-01-preview/common/EntityTypes.json#L240:9
    Old: stable/2022-08-01/common/EntityTypes.json#L240:9
    1047 - XmsEnumChanged The new version has a different x-ms-enum 'name' than the previous one.
    New: preview/2022-11-01-preview/common/EntityTypes.json#L240:9
    Old: stable/2022-08-01/common/EntityTypes.json#L240:9
    1047 - XmsEnumChanged The new version has a different x-ms-enum 'name' than the previous one.
    New: preview/2022-11-01-preview/common/EntityTypes.json#L240:9
    Old: stable/2022-08-01/common/EntityTypes.json#L240:9
    1047 - XmsEnumChanged The new version has a different x-ms-enum 'name' than the previous one.
    New: Microsoft.SecurityInsights/preview/2022-11-01-preview/ThreatIntelligence.json#L49:9
    Old: Microsoft.SecurityInsights/stable/2022-08-01/ThreatIntelligence.json#L49:9
    1047 - XmsEnumChanged The new version has a different x-ms-enum 'name' than the previous one.
    New: Microsoft.SecurityInsights/preview/2022-11-01-preview/ThreatIntelligence.json#L558:9
    Old: Microsoft.SecurityInsights/stable/2022-08-01/ThreatIntelligence.json#L478:9
    1047 - XmsEnumChanged The new version has a different x-ms-enum 'name' than the previous one.
    New: Microsoft.SecurityInsights/preview/2022-11-01-preview/ThreatIntelligence.json#L297:9
    Old: Microsoft.SecurityInsights/stable/2022-08-01/ThreatIntelligence.json#L297:9
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️⚠️LintDiff: 3 Warnings warning [Detail]
    compared tags (via openapi-validator v1.13.0) new version base version
    package-preview-2022-11 package-preview-2022-11(0f7b70b) default(main)

    [must fix]The following errors/warnings are introduced by current PR:

    Rule Message Related RPC [For API reviewers]
    ⚠️ R2029 - PageableOperation Based on the response model schema, operation 'GetRecommendations_List' might be pageable. Consider adding the x-ms-pageable extension.
    Location: Microsoft.SecurityInsights/preview/2022-11-01-preview/Recommendations.json#L38
    ⚠️ R3017 - GuidUsage Guid used in model definition 'Recommendation' for property 'id'. Usage of Guid is not recommanded. If GUIDs are absolutely required in your service, please get sign off from the Azure API review board.
    Location: Microsoft.SecurityInsights/preview/2022-11-01-preview/Recommendations.json#L176
    ⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: visible
    Location: Microsoft.SecurityInsights/preview/2022-11-01-preview/Recommendations.json#L265


    The following errors/warnings exist before current PR submission:

    Only 30 items are listed, please refer to log for more details.

    Rule Message
    R2018 - XmsEnumValidation The enum types should have x-ms-enum type extension set with appropriate options.
    Location: Microsoft.SecurityInsights/preview/2022-11-01-preview/EntityQueries.json#L484
    R2018 - XmsEnumValidation The enum types should have x-ms-enum type extension set with appropriate options.
    Location: Microsoft.SecurityInsights/preview/2022-11-01-preview/EntityQueryTemplates.json#L292
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.SecurityInsights/preview/2022-11-01-preview/Bookmarks.json#L566
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.SecurityInsights/preview/2022-11-01-preview/EntityQueryTemplates.json#L234
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.SecurityInsights/preview/2022-11-01-preview/Incidents.json#L1020
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.SecurityInsights/preview/2022-11-01-preview/Incidents.json#L1119
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.SecurityInsights/preview/2022-11-01-preview/Metadata.json#L581
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.SecurityInsights/preview/2022-11-01-preview/operations.json#L83
    ⚠️ R1003 - ListInOperationName Since operation 'EntitiesQueries' response has model definition 'array', it should be of the form 'list'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Microsoft.SecurityInsights/preview/2022-11-01-preview/Entities.json#L291
    ⚠️ R1003 - ListInOperationName Since operation 'EntitiesGetInsights' response has model definition 'array', it should be of the form 'list'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Microsoft.SecurityInsights/preview/2022-11-01-preview/Entities.json#L339
    ⚠️ R1003 - ListInOperationName Since operation 'ThreatIntelligenceIndicatorQueryIndicators' response has model definition 'x-ms-pageable', it should be of the form 'list'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Microsoft.SecurityInsights/preview/2022-11-01-preview/ThreatIntelligence.json#L296
    ⚠️ R1005 - GetInOperationName 'GET' operation 'Entities_Queries' should use method name 'Get' or Method name start with 'List'. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Microsoft.SecurityInsights/preview/2022-11-01-preview/Entities.json#L291
    ⚠️ R1006 - PutInOperationName 'PUT' operation 'ProductSettings_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.SecurityInsights/preview/2022-11-01-preview/Settings.json#L176
    ⚠️ R2001 - AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: Microsoft.SecurityInsights/preview/2022-11-01-preview/Entities.json#L1114
    ⚠️ R2001 - AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: Microsoft.SecurityInsights/preview/2022-11-01-preview/ThreatIntelligence.json#L1037
    ⚠️ R2029 - PageableOperation Based on the response model schema, operation 'Entities_Queries' might be pageable. Consider adding the x-ms-pageable extension.
    Location: Microsoft.SecurityInsights/preview/2022-11-01-preview/Entities.json#L281
    ⚠️ R2029 - PageableOperation Based on the response model schema, operation 'SentinelOnboardingStates_List' might be pageable. Consider adding the x-ms-pageable extension.
    Location: Microsoft.SecurityInsights/preview/2022-11-01-preview/OnboardingStates.json#L178
    ⚠️ R2029 - PageableOperation Based on the response model schema, operation 'ProductSettings_List' might be pageable. Consider adding the x-ms-pageable extension.
    Location: Microsoft.SecurityInsights/preview/2022-11-01-preview/Settings.json#L38
    ⚠️ R2029 - PageableOperation Based on the response model schema, operation 'ThreatIntelligenceIndicatorMetrics_List' might be pageable. Consider adding the x-ms-pageable extension.
    Location: Microsoft.SecurityInsights/preview/2022-11-01-preview/ThreatIntelligence.json#L334
    ⚠️ R2063 - OperationIdNounConflictingModelNames OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'BookmarkModel'. Consider using the plural form of 'Bookmark' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Microsoft.SecurityInsights/preview/2022-11-01-preview/Bookmarks.json#L291
    ⚠️ R2063 - OperationIdNounConflictingModelNames OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'DataConnectorsCheckRequirementsModel'. Consider using the plural form of 'DataConnectorsCheckRequirements' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Microsoft.SecurityInsights/preview/2022-11-01-preview/dataConnectors.json#L458
    ⚠️ R2063 - OperationIdNounConflictingModelNames OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'SourceControlModel'. Consider using the plural form of 'SourceControl' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Microsoft.SecurityInsights/preview/2022-11-01-preview/SourceControls.json#L48
    ⚠️ R2066 - PostOperationIdContainsUrlVerb OperationId should contain the verb: 'dataconnectorscheckrequirements' in:'DataConnectorsCheckRequirements_Post'. Consider updating the operationId
    Location: Microsoft.SecurityInsights/preview/2022-11-01-preview/dataConnectors.json#L458
    ⚠️ R2066 - PostOperationIdContainsUrlVerb OperationId should contain the verb: 'gettimeline' in:'EntitiesGetTimeline_list'. Consider updating the operationId
    Location: Microsoft.SecurityInsights/preview/2022-11-01-preview/Entities.json#L243
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'relations' with immediate parent 'Bookmark', must have a list by immediate parent operation.
    Location: preview/2022-11-01-preview/common/RelationTypes.json#L30
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'relations' with immediate parent 'Entity', must have a list by immediate parent operation.
    Location: preview/2022-11-01-preview/common/RelationTypes.json#L30
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'relations' with immediate parent 'Incident', must have a list by immediate parent operation.
    Location: preview/2022-11-01-preview/common/RelationTypes.json#L30
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'comments' with immediate parent 'Incident', must have a list by immediate parent operation.
    Location: Microsoft.SecurityInsights/preview/2022-11-01-preview/Incidents.json#L942
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'watchlistItems' with immediate parent 'Watchlist', must have a list by immediate parent operation.
    Location: Microsoft.SecurityInsights/preview/2022-11-01-preview/Watchlists.json#L612
    ⚠️ R3017 - GuidUsage Guid used in model definition 'ManualTriggerRequestBody' for property 'tenantId'. Usage of Guid is not recommanded. If GUIDs are absolutely required in your service, please get sign off from the Azure API review board.
    Location: Microsoft.SecurityInsights/preview/2022-11-01-preview/AutomationRules.json#L1188
    ️️✔️Avocado succeeded [Detail] [Expand]
    Validation passes for Avocado.
    ️️✔️ApiReadinessCheck succeeded [Detail] [Expand]
    ️⚠️~[Staging] ServiceAPIReadinessTest: 0 Warnings warning [Detail]

    API Test is not triggered due to precheck failure. Check pipeline log for details.

    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️❌PoliCheck: 1 Errors, 0 Warnings failed [Detail]
    Rule Message
    Click detail for error messages. Exception contact vsswagger@microsoft.com or https://aka.ms/swaggersupport.
    ️️✔️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).
    ️️✔️CadlValidation succeeded [Detail] [Expand]
    Validation passes for CadlValidation.
    ️️✔️PR Summary succeeded [Detail] [Expand]
    Validation passes for Summary.
    Posted by Swagger Pipeline | How to fix these errors?

    @dosegal dosegal marked this pull request as ready for review November 7, 2022 09:00
    @dw511214992
    Copy link
    Member

    All changes have been reviewed in PR to the release branch. So don't need breaking change review again.

    anandanthony pushed a commit to anandMicro/azure-rest-api-specs that referenced this pull request Dec 16, 2022
    Azure#21267)
    
    * Adds base for updating Microsoft.SecurityInsights from version preview/2022-10-01-preview to version 2022-11-01-preview
    
    * Updates readme
    
    * Updates API version in new specs and examples
    
    * added recommendations specs (Azure#21118)
    
    * model validation fixes (Azure#21350)
    
    Co-authored-by: Vaspate <103540155+Vaspate@users.noreply.github.com>
    Co-authored-by: dosegal <51155368+dosegal@users.noreply.github.com>
    kayousef-zz pushed a commit to kayousef-zz/azure-rest-api-specs that referenced this pull request Dec 21, 2022
    Azure#21267)
    
    * Adds base for updating Microsoft.SecurityInsights from version preview/2022-10-01-preview to version 2022-11-01-preview
    
    * Updates readme
    
    * Updates API version in new specs and examples
    
    * added recommendations specs (Azure#21118)
    
    * model validation fixes (Azure#21350)
    
    Co-authored-by: Vaspate <103540155+Vaspate@users.noreply.github.com>
    Co-authored-by: dosegal <51155368+dosegal@users.noreply.github.com>
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required CI-MissingBaseCommit new-api-version resource-manager
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    5 participants