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

Dev sentinel 2021 10 01 preview #17494

Merged
merged 15 commits into from
Feb 7, 2022
Merged

Conversation

anat-gilenson
Copy link
Contributor

Merging 2021-10-01-preview dev branch to main. All PRs to this branch were reviewed and approved

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:

  1. What's the purpose of the update?
    • new service onboarding
    • new API version
    • update existing version for new feature
    • update existing version to fix swagger quality issue in s360
    • Other, please clarify
  2. When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
  3. When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
  4. If updating an existing version, please select the specific langauge SDKs and CLIs that must be refreshed after the swagger is published.
    • SDK of .NET (need service team to ensure code readiness)
    • SDK of Python
    • SDK of Java
    • SDK of Js
    • SDK of Go
    • PowerShell
    • CLI
    • Terraform
    • No refresh required for updates in this PR

Contribution checklist:

If any further question about AME onboarding or validation tools, please view the FAQ.

ARM API Review Checklist

Applicability: ⚠️

If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

  • Change to data plane APIs
  • Adding new properties
  • All removals

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 label "WaitForARMFeedback" will be added automatically to begin ARM API Review. Failure to comply may result in delays to the manifest.

    • Adding a new service
    • Adding new API(s)
    • Adding a new API version
      -[ ] 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.

  • Removing API(s) in a stable version
  • Removing properties in a stable version
  • Removing API version(s) in a stable version
  • Updating API in a stable or public preview version with Breaking Change Validation errors
  • Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

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.

anat-gilenson and others added 12 commits December 9, 2021 19:25
…w/2021-09-01-preview to version 2021-10-01-preview
* add Iot data connector

* fix kind in getIotById

* add deleted files

* add missing newlines

* fix newlines
…7173)

* Adding providerIncidentUrl to Incident

* Adding techniques to incident
* Bookmarks 2021-10-01-preview

* prettier

* definitions

* rename

Co-authored-by: Igal Shapira <igshapir@microsoft.com>
* Project and PowerBI specs added.

* Space removed

* File with a wrong name removed

* More changer added

* Example files with inconsistent naming removed

* dataConnectors json updated

* Ref fixed

* Prettier applied

Co-authored-by: Ido Klotz <idoklotz@microsoft.com>
* h

* first

* examples

* prettier

* path

* fixes

* prettier

* examples

* Z

* Z

* responses

* fix

* fixes

* fix

* prettier

* PR Fixes

* PR Fixes

* PR Fixes

* fix

* fix

* fix

* fix

* Last

* PR Fixes

* Last

* tryFix

* tryFix

* incidentTypes

* fix

Co-authored-by: Roy Reinhorn <roreinho@microsoft.com>
* Update alert rules models with tactics and techniques

* Add attack tactics new enum values

* Update alert rules models examples

* Fix techniques type

* Update files with prettier

* Insert validations fixes

* Fix validations

* Fixes in alert rules models

* Fix alert rules models and examples

* adding changes to alert rules json

* Revert "adding changes to alert rules json"

This reverts commit 603490e.

* Adding fusion v2 ui api documentation

* some fixes

* adding prettier fixes

* removing unwanted property

* updating the readonly properties

Co-authored-by: Lilyan Cohen <licohen@microsoft.com>
Co-authored-by: Vishal Kumar <viskumar@microsoft.com>
Co-authored-by: Ido Klotz <idoklotz@microsoft.com>
Co-authored-by: Roy Reinhorn <roreinho@microsoft.com>
@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. vsswagger@microsoft.com

    @openapi-workflow-bot
    Copy link

    [Call for Action] To better understand Azure service dev/test scenario, and support Azure service developer better on Swagger and REST API related tests in early phase, please help to fill in with this survey https://aka.ms/SurveyForEarlyPhase. It will take 5 to 10 minutes. If you already complete survey, please neglect this comment. Thanks.

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jan 25, 2022

    Swagger Validation Report

    ️❌BreakingChange: 3 Errors, 0 Warnings failed [Detail]
    Rule Message
    1033 - RemovedProperty The new version is missing a property found in the old version. Was 'target' renamed or removed?
    New: resource-manager/common/2.0/types.json#L87:7
    Old: common-types/resource-management/v3/types.json#L297:7
    1033 - RemovedProperty The new version is missing a property found in the old version. Was 'details' renamed or removed?
    New: resource-manager/common/2.0/types.json#L87:7
    Old: common-types/resource-management/v3/types.json#L297:7
    1033 - RemovedProperty The new version is missing a property found in the old version. Was 'additionalInfo' renamed or removed?
    New: resource-manager/common/2.0/types.json#L87:7
    Old: common-types/resource-management/v3/types.json#L297:7
    ️⚠️LintDiff: 27 Warnings warning [Detail]
    The following errors/warnings are introduced by current PR:

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

    Rule Message
    ⚠️ R2066 - PostOperationIdContainsUrlVerb OperationId should contain the verb: 'runplaybook' in:'AutomationRules_ManualTriggerPlaybook'. Consider updating the operationId
    Location: Microsoft.SecurityInsights/preview/2021-10-01-preview/AutomationRules.json#L229
    ⚠️ 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/2021-10-01-preview/AutomationRules.json#L896
    ⚠️ R3017 - GuidUsage Guid used in model definition 'PlaybookActionProperties' 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/2021-10-01-preview/AutomationRules.json#L912
    ⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: enabled
    Location: Microsoft.SecurityInsights/preview/2021-10-01-preview/AlertRules.json#L1051
    ⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: enabled
    Location: Microsoft.SecurityInsights/preview/2021-10-01-preview/AlertRules.json#L1077
    ⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: isSupported
    Location: Microsoft.SecurityInsights/preview/2021-10-01-preview/AlertRules.json#L1106
    ⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: enabled
    Location: Microsoft.SecurityInsights/preview/2021-10-01-preview/AlertRules.json#L1129
    ⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: isSupported
    Location: Microsoft.SecurityInsights/preview/2021-10-01-preview/AlertRules.json#L1250
    ⚠️ R4000 - ParameterDescriptionRequired 'incidentIdentifier' parameter lacks 'description' property. Consider adding a 'description' element. Accurate description is essential for maintaining reference documentation.
    Location: Microsoft.SecurityInsights/preview/2021-10-01-preview/AutomationRules.json#L249
    ⚠️ R4000 - ParameterDescriptionRequired 'requestBody' parameter lacks 'description' property. Consider adding a 'description' element. Accurate description is essential for maintaining reference documentation.
    Location: Microsoft.SecurityInsights/preview/2021-10-01-preview/AutomationRules.json#L255
    ⚠️ R4006 - DeprecatedXmsCodeGenerationSetting The x-ms-code-generation-setting extension is being deprecated. Please remove it and move settings to readme file for code generation.
    Location: Microsoft.SecurityInsights/preview/2021-10-01-preview/AutomationRules.json#L7
    ⚠️ R4021 - DescriptionAndTitleMissing 'AutomationRule' model/property lacks 'description' and 'title' property. Consider adding a 'description'/'title' element. Accurate description/title is essential for maintaining reference documentation.
    Location: Microsoft.SecurityInsights/preview/2021-10-01-preview/AutomationRules.json#L309
    ⚠️ R4021 - DescriptionAndTitleMissing 'order' model/property lacks 'description' and 'title' property. Consider adding a 'description'/'title' element. Accurate description/title is essential for maintaining reference documentation.
    Location: Microsoft.SecurityInsights/preview/2021-10-01-preview/AutomationRules.json#L335
    ⚠️ R4021 - DescriptionAndTitleMissing 'AutomationRulePropertyConditionSupportedOperator' model/property lacks 'description' and 'title' property. Consider adding a 'description'/'title' element. Accurate description/title is essential for maintaining reference documentation.
    Location: Microsoft.SecurityInsights/preview/2021-10-01-preview/AutomationRules.json#L426


    The following errors/warnings exist before current PR submission:

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

    Rule Message
    ⚠️ R1003 - ListInOperationName Since operation 'Entities_Queries' 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/2021-10-01-preview/Entities.json#L291
    ⚠️ R1003 - ListInOperationName Since operation 'Entities_GetInsights' 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/2021-10-01-preview/Entities.json#L339
    ⚠️ R1003 - ListInOperationName Since operation 'ThreatIntelligenceIndicator_QueryIndicators' 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/2021-10-01-preview/ThreatIntelligence.json#L296
    ⚠️ R1003 - ListInOperationName Since operation 'Entities_Queries' 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/2021-09-01-preview/Entities.json#L291
    ⚠️ R1003 - ListInOperationName Since operation 'Entities_GetInsights' 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/2021-09-01-preview/Entities.json#L339
    ⚠️ R1003 - ListInOperationName Since operation 'ThreatIntelligenceIndicator_QueryIndicators' 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/2021-09-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/2021-10-01-preview/Entities.json#L291
    ⚠️ 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/2021-09-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/2021-10-01-preview/Settings.json#L176
    ⚠️ 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/2021-09-01-preview/Settings.json#L176
    ⚠️ R2001 - AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: Microsoft.SecurityInsights/preview/2021-10-01-preview/Entities.json#L1030
    ⚠️ R2001 - AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: Microsoft.SecurityInsights/preview/2021-10-01-preview/ThreatIntelligence.json#L1049
    ⚠️ R2001 - AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: Microsoft.SecurityInsights/preview/2021-09-01-preview/Entities.json#L1030
    ⚠️ R2001 - AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: Microsoft.SecurityInsights/preview/2021-09-01-preview/ThreatIntelligence.json#L1048
    ️️✔️Avocado succeeded [Detail] [Expand]
    Validation passes for Avocado.
    ️️✔️~[Staging] ApiReadinessCheck succeeded [Detail] [Expand]
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️❌Cross-Version Breaking Changes: 130 Errors, 63 Warnings failed [Detail]
    The following breaking changes are detected by comparison with the latest stable version:

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

    Rule Message
    1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/createIndicator' removed or restructured?
    Old: Microsoft.SecurityInsights/stable/2021-04-01/ThreatIntelligence.json#L37:5
    1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators' removed or restructured?
    Old: Microsoft.SecurityInsights/stable/2021-04-01/ThreatIntelligence.json#L91:5
    1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators/{name}' removed or restructured?
    Old: Microsoft.SecurityInsights/stable/2021-04-01/ThreatIntelligence.json#L151:5
    1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/queryIndicators' removed or restructured?
    Old: Microsoft.SecurityInsights/stable/2021-04-01/ThreatIntelligence.json#L300:5
    1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/metrics' removed or restructured?
    Old: Microsoft.SecurityInsights/stable/2021-04-01/ThreatIntelligence.json#L351:5
    1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators/{name}/appendTags' removed or restructured?
    Old: Microsoft.SecurityInsights/stable/2021-04-01/ThreatIntelligence.json#L396:5
    1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators/{name}/replaceTags' removed or restructured?
    Old: Microsoft.SecurityInsights/stable/2021-04-01/ThreatIntelligence.json#L444:5
    1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists' removed or restructured?
    Old: Microsoft.SecurityInsights/stable/2021-04-01/Watchlists.json#L37:5
    1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}' removed or restructured?
    Old: Microsoft.SecurityInsights/stable/2021-04-01/Watchlists.json#L88:5
    1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}/watchlistItems' removed or restructured?
    Old: Microsoft.SecurityInsights/stable/2021-04-01/Watchlists.json#L240:5
    1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{operationalInsightsResourceProvider}/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/watchlists/{watchlistAlias}/watchlistItems/{watchlistItemId}' removed or restructured?
    Old: Microsoft.SecurityInsights/stable/2021-04-01/Watchlists.json#L294:5
    1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'AlertRuleKind' removed or renamed?
    New: Microsoft.SecurityInsights/preview/2021-10-01-preview/AlertRules.json#L577:3
    Old: Microsoft.SecurityInsights/stable/2020-01-01/AlertRules.json#L522:3
    1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'AlertRuleTemplateStatus' removed or renamed?
    New: Microsoft.SecurityInsights/preview/2021-10-01-preview/AlertRules.json#L577:3
    Old: Microsoft.SecurityInsights/stable/2020-01-01/AlertRules.json#L522:3
    1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'AlertSeverity' removed or renamed?
    New: Microsoft.SecurityInsights/preview/2021-10-01-preview/AlertRules.json#L577:3
    Old: Microsoft.SecurityInsights/stable/2020-01-01/AlertRules.json#L522:3


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

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

    Rule Message
    ⚠️ 1009 - RemovedRequiredParameter The required parameter 'automationRule' was removed in the new version.
    Old: Microsoft.SecurityInsights/preview/2021-09-01-preview/AutomationRules.json#L137:9
    ⚠️ 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.SecurityInsights/preview/2021-10-01-preview/AutomationRules.json#L912:9
    Old: Microsoft.SecurityInsights/preview/2021-09-01-preview/AutomationRules.json#L418:13
    ⚠️ 1029 - ReadonlyPropertyChanged The read only property has changed from 'true' to 'false'.
    New: Microsoft.SecurityInsights/preview/2021-10-01-preview/AutomationRules.json#L804:9
    Old: Microsoft.SecurityInsights/preview/2021-09-01-preview/AutomationRules.json#L385:9
    ⚠️ 1030 - DifferentDiscriminator The new version has a different discriminator than the previous one.
    New: Microsoft.SecurityInsights/preview/2021-10-01-preview/ThreatIntelligence.json#L603:5
    Old: Microsoft.SecurityInsights/preview/2021-09-01-preview/ThreatIntelligence.json#L603:5
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.SecurityInsights/preview/2021-10-01-preview/AlertRules.json#L932:9
    Old: Microsoft.SecurityInsights/preview/2021-09-01-preview/AlertRules.json#L900:9
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.SecurityInsights/preview/2021-10-01-preview/AlertRules.json#L1166:9
    Old: Microsoft.SecurityInsights/preview/2021-09-01-preview/AlertRules.json#L1006:9
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.SecurityInsights/preview/2021-10-01-preview/AlertRules.json#L1348:9
    Old: Microsoft.SecurityInsights/preview/2021-09-01-preview/AlertRules.json#L1112:9
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.SecurityInsights/preview/2021-10-01-preview/AlertRules.json#L1639:9
    Old: Microsoft.SecurityInsights/preview/2021-09-01-preview/AlertRules.json#L1403:9
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.SecurityInsights/preview/2021-10-01-preview/AlertRules.json#L1680:9
    Old: Microsoft.SecurityInsights/preview/2021-09-01-preview/AlertRules.json#L1453:9
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.SecurityInsights/preview/2021-10-01-preview/AutomationRules.json#L761:5
    Old: Microsoft.SecurityInsights/preview/2021-09-01-preview/AutomationRules.json#L763:5
    ⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'tactics' renamed or removed?
    New: Microsoft.SecurityInsights/preview/2021-10-01-preview/AlertRules.json#L764:7
    Old: Microsoft.SecurityInsights/preview/2021-09-01-preview/AlertRules.json#L733:7
    ⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'tactics' renamed or removed?
    New: Microsoft.SecurityInsights/preview/2021-10-01-preview/AlertRules.json#L939:11
    Old: Microsoft.SecurityInsights/preview/2021-09-01-preview/AlertRules.json#L907:11
    ⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'tactics' renamed or removed?
    New: Microsoft.SecurityInsights/preview/2021-10-01-preview/AlertRules.json#L1173:11
    Old: Microsoft.SecurityInsights/preview/2021-09-01-preview/AlertRules.json#L1013:11
    ⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'tactics' renamed or removed?
    New: Microsoft.SecurityInsights/preview/2021-10-01-preview/AlertRules.json#L1355:11
    Old: Microsoft.SecurityInsights/preview/2021-09-01-preview/AlertRules.json#L1119:11
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️️✔️SDK Track2 Validation succeeded [Detail] [Expand]
    Validation passes for SDKTrack2Validation

    ️️✔️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).
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jan 25, 2022

    Swagger Generation Artifacts

    ️️✔️ApiDocPreview succeeded [Detail] [Expand]

    Only 0 items are rendered, please refer to log for more details.

    ️❌SDK Breaking Change Tracking failed [Detail]

    Only 0 items are rendered, please refer to log for more details.

    ️❌ azure-sdk-for-net failed [Detail]

    Only 0 items are rendered, please refer to log for more details.

    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]

    Only 0 items are rendered, please refer to log for more details.

    ️️✔️ azure-sdk-for-go-track2 succeeded [Detail] [Expand]

    Only 0 items are rendered, please refer to log for more details.

    ️⚠️ azure-sdk-for-python-track2 warning [Detail]

    Only 0 items are rendered, please refer to log for more details.

    ️⚠️ azure-sdk-for-js warning [Detail]

    Only 0 items are rendered, please refer to log for more details.

    ️⚠️ azure-sdk-for-java warning [Detail]

    Only 0 items are rendered, please refer to log for more details.

    ️⚠️ azure-resource-manager-schemas warning [Detail]

    Only 0 items are rendered, please refer to log for more details.

    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-workflow-bot
    Copy link

    Hi @anat-gilenson, Your PR has some issues. Please fix the CI sequentially by following the order of Avocado, semantic validation, model validation, breaking change, lintDiff. If you have any questions, please post your questions in this channel https://aka.ms/swaggersupport.

    TaskHow to fixPriority
    AvocadoFix-AvocadoHigh
    Semantic validationFix-SemanticValidation-ErrorHigh
    Model validationFix-ModelValidation-ErrorHigh
    LintDiffFix-LintDiffhigh
    If you need further help, please feedback via swagger feedback.

    @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.

    @anat-gilenson
    Copy link
    Contributor Author

    @leni-msft
    Please note breaking changes already approved in this PR: #17477

    @leni-msft leni-msft added the Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374 label Jan 28, 2022
    Co-authored-by: Ido Klotz <idoklotz@microsoft.com>
    @leni-msft
    Copy link
    Contributor

    @anat-gilenson Please fix following validation errors in staging checks:

    SemanticValidation:

    ❌ DISCRIMINATOR_PROPERTY_NOT_FOUND Missing discriminator in base model. This derived model has x-ms-dicriminator-value: InsightJsonUrl: Microsoft.SecurityInsights/preview/2021-10-01-preview/Entities.json#L1038:35
    ❌ DISCRIMINATOR_PROPERTY_NOT_FOUND Missing discriminator in base model. This derived model has x-ms-dicriminator-value: indicatorJsonUrl: Microsoft.SecurityInsights/preview/2021-10-01-preview/ThreatIntelligence.json#L582:55

    LintDiff:

    ❌ R4041 - XmsIdentifierValidation Missing identifier id in array item propertyLocation: Microsoft.SecurityInsights/preview/2021-10-01-preview/AlertRules.json#L1005
    ❌ R4041 - XmsIdentifierValidation Missing identifier id in array item propertyLocation: Microsoft.SecurityInsights/preview/2021-10-01-preview/Bookmarks.json#L706
    ❌ R4041 - XmsIdentifierValidation Missing identifier id in array item propertyLocation: Microsoft.SecurityInsights/preview/2021-10-01-preview/Bookmarks.json#L720

    @leni-msft leni-msft added the Reviewed-ChangesRequested <valid label in PR review process>add this label when assignee request changes after review label Jan 28, 2022
    royrein and others added 2 commits February 1, 2022 11:20
    Co-authored-by: Roy Reinhorn <roreinho@microsoft.com>
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374 Approved-ModelValidation CI-BreakingChange-Go-V2 CI-BreakingChange-JavaScript CI-FixRequiredOnFailure Reviewed-ChangesRequested <valid label in PR review process>add this label when assignee request changes after review
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    9 participants