Skip to content

Conversation

@xuhumsft
Copy link
Member

@xuhumsft xuhumsft commented Dec 21, 2023

ARM (Control Plane) API Specification Update Pull Request

Tip: overwhelmed by all this guidance? See the Getting help section at the bottom of this PR description.

PR review workflow diagram

Please understand this diagram before proceeding. It explains how to get your PR approved & merged.

diagram

Click here to see the details of Step 1

Breaking changes review (Diagram Step 1)

If the automation determines you have breaking changes, i.e. Step 1 from the diagram applies to you,
you must follow the breaking changes process.
IMPORTANT This applies even if:

  • The tool fails while it shouldn't, e.g. due to runtime exception, or incorrect detection of breaking changes.
  • You believe there is no need for you to request breaking change approval, for any reason.
    Such claims must be reviewed, and the process is the same.
Click here to see the details of Step 2

ARM API changes review (Diagram Step 2)

  • If this PR is in purview of ARM review then automation will add the ARMReview label.
  • If you want to force ARM review, add the label yourself.
  • Proceed according to the diagram at the top of this comment.
Click here to see the diagram footnotes

Diagram footnotes

[1] ARM review queue (for merge queues, see [2])
The PRs are processed by time opened, ascending. Your PR may show up on 2nd or later page.
If you addressed Step 1 from the diagram and your PR is not showing up in the queue, ensure the label ARMChangesRequested
is removed from your PR. This should cause the label WaitForARMFeedback to be added.
[2] public repo merge queue, private repo merge queue (for ARM review queue, [1])

If you need further help with anything, see Getting help section below.

Purpose of this PR

What's the purpose of this PR? Check all that apply. This is mandatory!

  • New API version. (If API spec is not defined in TypeSpec, the PR should have been generated using OpenAPI Hub).
  • Update existing version for a new feature. (This is applicable only when you are revising a private preview API version.)
  • Update existing version to fix swagger quality issues in S360.
  • Other, please clarify:
    • edit this with your clarification

Due diligence checklist

To merge this PR, you must go through the following checklist and confirm you understood
and followed the instructions by checking all the boxes:

  • I confirm this PR is modifying Azure Resource Manager (ARM) related specifications, and not data plane related specifications.
  • I have reviewed following Resource Provider guidelines, including
    ARM resource provider contract and
    REST guidelines (estimated time: 4 hours).
    I understand this is required before I can proceed to the Diagram Step 2, "ARM API changes Review", for this PR.

Additional information

Viewing API changes

For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the Generated ApiView comment added to this PR. You can use ApiView to show API versions diff.

Suppressing failures

If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
Swagger-Suppression-Process
to get approval.

Getting help

  • First, please carefully read through this PR description, from top to bottom. Please fill out the Purpose of this PR and Due diligence checklist.
  • To understand what you must do next to merge this PR, see the Next Steps to Merge comment. It will appear within few minutes of submitting this PR and will continue to be up-to-date with current PR state.
  • For guidance on fixing this PR CI check failures, see the hyperlinks provided in given failure
    and https://aka.ms/ci-fix.
  • If the PR CI checks appear to be stuck in queued state, please add a comment with contents /azp run.
    This should result in a new comment denoting a PR validation pipeline has started and the checks should be updated after few minutes.
  • If the help provided by the previous points is not enough, post to https://aka.ms/azsdk/support/specreview-channel and link to this PR.

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Dec 21, 2023

Next Steps to Merge

✔️ All automated merging requirements have been met! Refer to step 4 in the PR workflow diagram (even if your PR is for data plane, not ARM).

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Dec 21, 2023

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail] [Expand]
There are no breaking changes.
️❌Breaking Change(Cross-Version): 3 Errors, 200 Warnings failed [Detail]
compared swaggers (via Oad v0.10.4)] new version base version
AlertRules.json 2023-11-01(66e7808) 2023-02-01(main)
AlertRules.json 2023-11-01(66e7808) 2023-10-01-preview(main)
AutomationRules.json 2023-11-01(66e7808) 2023-02-01(main)
AutomationRules.json 2023-11-01(66e7808) 2023-10-01-preview(main)
Bookmarks.json 2023-11-01(66e7808) 2023-02-01(main)
Bookmarks.json 2023-11-01(66e7808) 2023-10-01-preview(main)
ContentPackages.json 2023-11-01(66e7808) 2023-10-01-preview(main)
ContentProductPackages.json 2023-11-01(66e7808) 2023-10-01-preview(main)
ContentProductTemplates.json 2023-11-01(66e7808) 2023-10-01-preview(main)
ContentTemplates.json 2023-11-01(66e7808) 2023-10-01-preview(main)
DataConnectors.json 2023-11-01(66e7808) 2023-02-01(main)
Incidents.json 2023-11-01(66e7808) 2023-02-01(main)
Incidents.json 2023-11-01(66e7808) 2023-10-01-preview(main)
Metadata.json 2023-11-01(66e7808) 2023-02-01(main)
Metadata.json 2023-11-01(66e7808) 2023-10-01-preview(main)
OnboardingStates.json 2023-11-01(66e7808) 2023-02-01(main)
OnboardingStates.json 2023-11-01(66e7808) 2023-10-01-preview(main)
SecurityMLAnalyticsSettings.json 2023-11-01(66e7808) 2023-02-01(main)
SecurityMLAnalyticsSettings.json 2023-11-01(66e7808) 2023-10-01-preview(main)
SourceControls.json 2023-11-01(66e7808) 2023-10-01-preview(main)
ThreatIntelligence.json 2023-11-01(66e7808) 2023-02-01(main)
ThreatIntelligence.json 2023-11-01(66e7808) 2023-10-01-preview(main)
Watchlists.json 2023-11-01(66e7808) 2023-02-01(main)
Watchlists.json 2023-11-01(66e7808) 2023-10-01-preview(main)
AlertTypes.json 2023-11-01(66e7808) 2023-02-01(main)
AlertTypes.json 2023-11-01(66e7808) 2023-10-01-preview(main)
ContentCommonTypes.json 2023-11-01(66e7808) 2023-10-01-preview(main)
EntityTypes.json 2023-11-01(66e7808) 2023-02-01(main)
EntityTypes.json 2023-11-01(66e7808) 2023-10-01-preview(main)
IncidentTypes.json 2023-11-01(66e7808) 2023-02-01(main)
IncidentTypes.json 2023-11-01(66e7808) 2023-10-01-preview(main)
operations.json 2023-11-01(66e7808) 2023-02-01(main)
operations.json 2023-11-01(66e7808) 2023-10-01-preview(main)

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

Rule Message
1025 - RequiredStatusChange The 'required' status changed from the old version('True') to the new version('False').
New: Microsoft.SecurityInsights/stable/2023-11-01/AlertRules.json#L1072:7
Old: Microsoft.SecurityInsights/stable/2023-02-01/AlertRules.json#L1072:7
1025 - RequiredStatusChange The 'required' status changed from the old version('True') to the new version('False').
New: Microsoft.SecurityInsights/stable/2023-11-01/Watchlists.json#L469:7
Old: Microsoft.SecurityInsights/stable/2023-02-01/Watchlists.json#L469:7
1049 - RemovedXmsEnum The new version is missing a 'x-ms-enum' found in the old version.
New: Microsoft.SecurityInsights/stable/2023-11-01/Watchlists.json#L482:9
Old: Microsoft.SecurityInsights/stable/2023-02-01/Watchlists.json#L482:9


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

Only 18 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/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/entities/{entityIdentifier}/runPlaybook' removed or restructured?
Old: Microsoft.SecurityInsights/preview/2023-10-01-preview/AutomationRules.json#L220:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentIdentifier}/runPlaybook' removed or restructured?
Old: Microsoft.SecurityInsights/preview/2023-10-01-preview/AutomationRules.json#L280:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}/relations' removed or restructured?
Old: Microsoft.SecurityInsights/preview/2023-10-01-preview/Bookmarks.json#L222:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}/expand' removed or restructured?
Old: Microsoft.SecurityInsights/preview/2023-10-01-preview/Bookmarks.json#L283:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}/relations/{relationName}' removed or restructured?
Old: Microsoft.SecurityInsights/preview/2023-10-01-preview/Bookmarks.json#L331:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/createTeam' removed or restructured?
Old: Microsoft.SecurityInsights/preview/2023-10-01-preview/Incidents.json#L218:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/tasks' removed or restructured?
Old: Microsoft.SecurityInsights/preview/2023-10-01-preview/Incidents.json#L856:5
⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentId}/tasks/{incidentTaskId}' removed or restructured?
Old: Microsoft.SecurityInsights/preview/2023-10-01-preview/Incidents.json#L907:5
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'MLBehaviorAnalyticsAlertRule' removed or renamed?
New: Microsoft.SecurityInsights/stable/2023-11-01/AlertRules.json#L522:3
Old: Microsoft.SecurityInsights/preview/2023-10-01-preview/AlertRules.json#L577:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'MLBehaviorAnalyticsAlertRuleProperties' removed or renamed?
New: Microsoft.SecurityInsights/stable/2023-11-01/AlertRules.json#L522:3
Old: Microsoft.SecurityInsights/preview/2023-10-01-preview/AlertRules.json#L577:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'MLBehaviorAnalyticsAlertRuleTemplate' removed or renamed?
New: Microsoft.SecurityInsights/stable/2023-11-01/AlertRules.json#L522:3
Old: Microsoft.SecurityInsights/preview/2023-10-01-preview/AlertRules.json#L577:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'ThreatIntelligenceAlertRule' removed or renamed?
New: Microsoft.SecurityInsights/stable/2023-11-01/AlertRules.json#L522:3
Old: Microsoft.SecurityInsights/preview/2023-10-01-preview/AlertRules.json#L577:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'ThreatIntelligenceAlertRuleProperties' removed or renamed?
New: Microsoft.SecurityInsights/stable/2023-11-01/AlertRules.json#L522:3
Old: Microsoft.SecurityInsights/preview/2023-10-01-preview/AlertRules.json#L577:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'ThreatIntelligenceAlertRuleTemplate' removed or renamed?
New: Microsoft.SecurityInsights/stable/2023-11-01/AlertRules.json#L522:3
Old: Microsoft.SecurityInsights/preview/2023-10-01-preview/AlertRules.json#L577:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'NrtAlertRuleProperties' removed or renamed?
New: Microsoft.SecurityInsights/stable/2023-11-01/AlertRules.json#L522:3
Old: Microsoft.SecurityInsights/preview/2023-10-01-preview/AlertRules.json#L577:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'NrtAlertRuleTemplate' removed or renamed?
New: Microsoft.SecurityInsights/stable/2023-11-01/AlertRules.json#L522:3
Old: Microsoft.SecurityInsights/preview/2023-10-01-preview/AlertRules.json#L577:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'NrtAlertRule' removed or renamed?
New: Microsoft.SecurityInsights/stable/2023-11-01/AlertRules.json#L522:3
Old: Microsoft.SecurityInsights/preview/2023-10-01-preview/AlertRules.json#L577:3
⚠️ 1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'SentinelEntitiesMappings' removed or renamed?
New: Microsoft.SecurityInsights/stable/2023-11-01/AlertRules.json#L522:3
Old: Microsoft.SecurityInsights/preview/2023-10-01-preview/AlertRules.json#L577:3
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
️⚠️LintDiff: 15 Warnings warning [Detail]
compared tags (via openapi-validator v2.1.6) new version base version
package-2023-11 package-2023-11(66e7808) default(main)

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

Rule Message Related RPC [For API reviewers]
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2023-11-01/AlertRules.json#L582
⚠️ 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/stable/2023-11-01/AutomationRules.json#L7
⚠️ MissingSegmentsInNestedResourceListOperation A nested resource type's List operation must include all the parent segments in its api path.
Location: Microsoft.SecurityInsights/stable/2023-11-01/DataConnectors.json#L37
RPC-Get-V1-11
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2023-11-01/DataConnectors.json#L51
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2023-11-01/DataConnectors.json#L54
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2023-11-01/DataConnectors.json#L57
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2023-11-01/DataConnectors.json#L117
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2023-11-01/DataConnectors.json#L120
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2023-11-01/DataConnectors.json#L123
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2023-11-01/DataConnectors.json#L163
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2023-11-01/DataConnectors.json#L166
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2023-11-01/DataConnectors.json#L169
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2023-11-01/DataConnectors.json#L215
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2023-11-01/DataConnectors.json#L218
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.SecurityInsights/stable/2023-11-01/DataConnectors.json#L221


The following errors/warnings exist before current PR submission:

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

Rule Message
PutRequestResponseSchemeArm A PUT operation request body schema should be the same as its 200 response schema, to allow reusing the same entity between GET and PUT. If the schema of the PUT request body is a superset of the GET response body, make sure you have a PATCH operation to make the resource updatable. Operation: 'Actions_CreateOrUpdate' Request Model: 'parameters[6].schema' Response Model: 'responses[200].schema'
Location: Microsoft.SecurityInsights/stable/2023-11-01/AlertRules.json#L329
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.SecurityInsights/stable/2023-11-01/AlertRules.json#L1165
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.SecurityInsights/stable/2023-11-01/AlertRules.json#L1208
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.SecurityInsights/stable/2023-11-01/AlertRules.json#L1444
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.SecurityInsights/stable/2023-11-01/AlertRules.json#L1610
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.SecurityInsights/stable/2023-11-01/AlertRules.json#L1637
DeleteResponseBodyEmpty The delete response body must be empty.
Location: Microsoft.SecurityInsights/stable/2023-11-01/AutomationRules.json#L151
DeleteResponseBodyEmpty The delete response body must be empty.
Location: Microsoft.SecurityInsights/stable/2023-11-01/AutomationRules.json#L157
ResourceNameRestriction The resource name parameter 'relationName' should be defined with a 'pattern' restriction.
Location: Microsoft.SecurityInsights/stable/2023-11-01/Incidents.json#L646
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.SecurityInsights/stable/2023-11-01/Incidents.json#L934
AvoidAdditionalProperties Definitions must not have properties named additionalProperties except for user defined tags or predefined references.
Location: Microsoft.SecurityInsights/stable/2023-11-01/Incidents.json#L951
ResourceNameRestriction The resource name parameter 'sentinelOnboardingStateName' should be defined with a 'pattern' restriction.
Location: Microsoft.SecurityInsights/stable/2023-11-01/OnboardingStates.json#L37
XmsPageableForListCalls x-ms-pageable extension must be specified for LIST APIs.
Location: Microsoft.SecurityInsights/stable/2023-11-01/OnboardingStates.json#L178
GetCollectionOnlyHasValueAndNextLink Get endpoints for collections of resources must only have the value and nextLink properties in their model.
Location: Microsoft.SecurityInsights/stable/2023-11-01/OnboardingStates.json#L206
OperationsApiSchemaUsesCommonTypes Operations API path must follow the schema provided in the common types.
Location: Microsoft.SecurityInsights/stable/2023-11-01/operations.json#L58
ResourceNameRestriction The resource name parameter 'settingsResourceName' should be defined with a 'pattern' restriction.
Location: Microsoft.SecurityInsights/stable/2023-11-01/SecurityMLAnalyticsSettings.json#L82
PathForResourceAction Path for 'post' method on a resource type MUST follow valid resource naming.
Location: Microsoft.SecurityInsights/stable/2023-11-01/ThreatIntelligence.json#L37
PostResponseCodes Synchronous POST operations must have one of the following combinations of responses - 200 and default ; 204 and default. They also must not have other response codes.
Location: Microsoft.SecurityInsights/stable/2023-11-01/ThreatIntelligence.json#L38
️❌Avocado: 11 Errors, 0 Warnings failed [Detail]
Rule Message
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/{}/workspaces/{}/providers/Microsoft.SecurityInsights/threatIntelligence/main/createIndicator is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/securityinsights/resource-manager/readme.md
json: Microsoft.SecurityInsights/stable/2021-04-01/ThreatIntelligence.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/{}/workspaces/{}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/securityinsights/resource-manager/readme.md
json: Microsoft.SecurityInsights/stable/2021-04-01/ThreatIntelligence.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/{}/workspaces/{}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators/{} is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/securityinsights/resource-manager/readme.md
json: Microsoft.SecurityInsights/stable/2021-04-01/ThreatIntelligence.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/{}/workspaces/{}/providers/Microsoft.SecurityInsights/threatIntelligence/main/queryIndicators is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/securityinsights/resource-manager/readme.md
json: Microsoft.SecurityInsights/stable/2021-04-01/ThreatIntelligence.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/{}/workspaces/{}/providers/Microsoft.SecurityInsights/threatIntelligence/main/metrics is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/securityinsights/resource-manager/readme.md
json: Microsoft.SecurityInsights/stable/2021-04-01/ThreatIntelligence.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/{}/workspaces/{}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators/{}/appendTags is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/securityinsights/resource-manager/readme.md
json: Microsoft.SecurityInsights/stable/2021-04-01/ThreatIntelligence.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/{}/workspaces/{}/providers/Microsoft.SecurityInsights/threatIntelligence/main/indicators/{}/replaceTags is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/securityinsights/resource-manager/readme.md
json: Microsoft.SecurityInsights/stable/2021-04-01/ThreatIntelligence.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/{}/workspaces/{}/providers/Microsoft.SecurityInsights/watchlists is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/securityinsights/resource-manager/readme.md
json: Microsoft.SecurityInsights/stable/2021-04-01/Watchlists.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/{}/workspaces/{}/providers/Microsoft.SecurityInsights/watchlists/{} is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/securityinsights/resource-manager/readme.md
json: Microsoft.SecurityInsights/stable/2021-04-01/Watchlists.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/{}/workspaces/{}/providers/Microsoft.SecurityInsights/watchlists/{}/watchlistItems is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/securityinsights/resource-manager/readme.md
json: Microsoft.SecurityInsights/stable/2021-04-01/Watchlists.json
MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/{}/workspaces/{}/providers/Microsoft.SecurityInsights/watchlists/{}/watchlistItems/{} is not in the default tag. Please make sure the missing API swaggers are in the default tag.
readme: specification/securityinsights/resource-manager/readme.md
json: Microsoft.SecurityInsights/stable/2021-04-01/Watchlists.json
️️✔️SwaggerAPIView succeeded [Detail] [Expand]
️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
️️✔️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 [email protected] or https://aka.ms/swaggersupport.
️️✔️SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
Validation passes for Lint(RPaaS).
️️✔️PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
️️✔️Automated merging requirements met succeeded [Detail] [Expand]
Posted by Swagger Pipeline | How to fix these errors?

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Dec 21, 2023

Swagger Generation Artifacts

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

Breaking Changes Tracking

azure-sdk-for-go - sdk/resourcemanager/securityinsights/armsecurityinsights - Approved - 2.0.0
+	Enum `Source` has been removed
+	Struct `IncidentOwnerInfoAutoGenerated` has been removed
+	Type of `IncidentPropertiesAction.Owner` has been changed from `*IncidentOwnerInfoAutoGenerated` to `*IncidentOwnerInfo`
+	Type of `WatchlistProperties.Source` has been changed from `*Source` to `*string`

️️✔️ azure-sdk-for-net-track2 succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs] Generate from ad7be58ddf02606d3dbe38b66b54fca6f4555157. 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
    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]  [Preview SDK Changes]
    info	[Changelog]
️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs] Generate from ad7be58ddf02606d3dbe38b66b54fca6f4555157. SDK Automation 14.0.0
    command	sh ./eng/scripts/automation_init.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
    command	generator automation-v2 ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
  • ️✔️sdk/resourcemanager/securityinsights/armsecurityinsights [View full logs]  [Preview SDK Changes] Breaking Change Detected
    Only show 120 items here, please refer to log for details.
    info	[Changelog] - New enum type `SettingsStatus` with values `SettingsStatusFlighting`, `SettingsStatusProduction`
    info	[Changelog] - New enum type `SourceKind` with values `SourceKindCommunity`, `SourceKindLocalWorkspace`, `SourceKindSolution`, `SourceKindSourceRepository`
    info	[Changelog] - New enum type `State` with values `StateClosed`, `StateOpen`
    info	[Changelog] - New enum type `SupportTier` with values `SupportTierCommunity`, `SupportTierMicrosoft`, `SupportTierPartner`
    info	[Changelog] - New enum type `Version` with values `VersionV1`, `VersionV2`
    info	[Changelog] - New enum type `WarningCode` with values `WarningCodeSourceControlDeletedWithWarnings`, `WarningCodeSourceControlWarningDeletePipelineFromAzureDevOps`, `WarningCodeSourceControlWarningDeleteRoleAssignment`, `WarningCodeSourceControlWarningDeleteServicePrincipal`, `WarningCodeSourceControlWarningDeleteWorkflowAndSecretFromGitHub`
    info	[Changelog] - New function `*AnomalySecurityMLAnalyticsSettings.GetSecurityMLAnalyticsSetting() *SecurityMLAnalyticsSetting`
    info	[Changelog] - New function `*ClientFactory.NewContentPackageClient() *ContentPackageClient`
    info	[Changelog] - New function `*ClientFactory.NewContentPackagesClient() *ContentPackagesClient`
    info	[Changelog] - New function `*ClientFactory.NewContentTemplateClient() *ContentTemplateClient`
    info	[Changelog] - New function `*ClientFactory.NewContentTemplatesClient() *ContentTemplatesClient`
    info	[Changelog] - New function `*ClientFactory.NewMetadataClient() *MetadataClient`
    info	[Changelog] - New function `*ClientFactory.NewProductPackageClient() *ProductPackageClient`
    info	[Changelog] - New function `*ClientFactory.NewProductPackagesClient() *ProductPackagesClient`
    info	[Changelog] - New function `*ClientFactory.NewProductTemplateClient() *ProductTemplateClient`
    info	[Changelog] - New function `*ClientFactory.NewProductTemplatesClient() *ProductTemplatesClient`
    info	[Changelog] - New function `*ClientFactory.NewSecurityMLAnalyticsSettingsClient() *SecurityMLAnalyticsSettingsClient`
    info	[Changelog] - New function `*ClientFactory.NewSourceControlClient() *SourceControlClient`
    info	[Changelog] - New function `*ClientFactory.NewSourceControlsClient() *SourceControlsClient`
    info	[Changelog] - New function `NewContentPackageClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ContentPackageClient, error)`
    info	[Changelog] - New function `*ContentPackageClient.Install(context.Context, string, string, string, PackageModel, *ContentPackageClientInstallOptions) (ContentPackageClientInstallResponse, error)`
    info	[Changelog] - New function `*ContentPackageClient.Uninstall(context.Context, string, string, string, *ContentPackageClientUninstallOptions) (ContentPackageClientUninstallResponse, error)`
    info	[Changelog] - New function `NewContentPackagesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ContentPackagesClient, error)`
    info	[Changelog] - New function `*ContentPackagesClient.Get(context.Context, string, string, string, *ContentPackagesClientGetOptions) (ContentPackagesClientGetResponse, error)`
    info	[Changelog] - New function `*ContentPackagesClient.NewListPager(string, string, *ContentPackagesClientListOptions) *runtime.Pager[ContentPackagesClientListResponse]`
    info	[Changelog] - New function `NewContentTemplateClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ContentTemplateClient, error)`
    info	[Changelog] - New function `*ContentTemplateClient.Delete(context.Context, string, string, string, *ContentTemplateClientDeleteOptions) (ContentTemplateClientDeleteResponse, error)`
    info	[Changelog] - New function `*ContentTemplateClient.Get(context.Context, string, string, string, *ContentTemplateClientGetOptions) (ContentTemplateClientGetResponse, error)`
    info	[Changelog] - New function `*ContentTemplateClient.Install(context.Context, string, string, string, TemplateModel, *ContentTemplateClientInstallOptions) (ContentTemplateClientInstallResponse, error)`
    info	[Changelog] - New function `NewContentTemplatesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ContentTemplatesClient, error)`
    info	[Changelog] - New function `*ContentTemplatesClient.NewListPager(string, string, *ContentTemplatesClientListOptions) *runtime.Pager[ContentTemplatesClientListResponse]`
    info	[Changelog] - New function `NewMetadataClient(string, azcore.TokenCredential, *arm.ClientOptions) (*MetadataClient, error)`
    info	[Changelog] - New function `*MetadataClient.Create(context.Context, string, string, string, MetadataModel, *MetadataClientCreateOptions) (MetadataClientCreateResponse, error)`
    info	[Changelog] - New function `*MetadataClient.Delete(context.Context, string, string, string, *MetadataClientDeleteOptions) (MetadataClientDeleteResponse, error)`
    info	[Changelog] - New function `*MetadataClient.Get(context.Context, string, string, string, *MetadataClientGetOptions) (MetadataClientGetResponse, error)`
    info	[Changelog] - New function `*MetadataClient.NewListPager(string, string, *MetadataClientListOptions) *runtime.Pager[MetadataClientListResponse]`
    info	[Changelog] - New function `*MetadataClient.Update(context.Context, string, string, string, MetadataPatch, *MetadataClientUpdateOptions) (MetadataClientUpdateResponse, error)`
    info	[Changelog] - New function `NewProductPackageClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ProductPackageClient, error)`
    info	[Changelog] - New function `*ProductPackageClient.Get(context.Context, string, string, string, *ProductPackageClientGetOptions) (ProductPackageClientGetResponse, error)`
    info	[Changelog] - New function `NewProductPackagesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ProductPackagesClient, error)`
    info	[Changelog] - New function `*ProductPackagesClient.NewListPager(string, string, *ProductPackagesClientListOptions) *runtime.Pager[ProductPackagesClientListResponse]`
    info	[Changelog] - New function `NewProductTemplateClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ProductTemplateClient, error)`
    info	[Changelog] - New function `*ProductTemplateClient.Get(context.Context, string, string, string, *ProductTemplateClientGetOptions) (ProductTemplateClientGetResponse, error)`
    info	[Changelog] - New function `NewProductTemplatesClient(string, azcore.TokenCredential, *arm.ClientOptions) (*ProductTemplatesClient, error)`
    info	[Changelog] - New function `*ProductTemplatesClient.NewListPager(string, string, *ProductTemplatesClientListOptions) *runtime.Pager[ProductTemplatesClientListResponse]`
    info	[Changelog] - New function `*PropertyArrayChangedConditionProperties.GetAutomationRuleCondition() *AutomationRuleCondition`
    info	[Changelog] - New function `*PropertyChangedConditionProperties.GetAutomationRuleCondition() *AutomationRuleCondition`
    info	[Changelog] - New function `*SecurityMLAnalyticsSetting.GetSecurityMLAnalyticsSetting() *SecurityMLAnalyticsSetting`
    info	[Changelog] - New function `NewSecurityMLAnalyticsSettingsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*SecurityMLAnalyticsSettingsClient, error)`
    info	[Changelog] - New function `*SecurityMLAnalyticsSettingsClient.CreateOrUpdate(context.Context, string, string, string, SecurityMLAnalyticsSettingClassification, *SecurityMLAnalyticsSettingsClientCreateOrUpdateOptions) (SecurityMLAnalyticsSettingsClientCreateOrUpdateResponse, error)`
    info	[Changelog] - New function `*SecurityMLAnalyticsSettingsClient.Delete(context.Context, string, string, string, *SecurityMLAnalyticsSettingsClientDeleteOptions) (SecurityMLAnalyticsSettingsClientDeleteResponse, error)`
    info	[Changelog] - New function `*SecurityMLAnalyticsSettingsClient.Get(context.Context, string, string, string, *SecurityMLAnalyticsSettingsClientGetOptions) (SecurityMLAnalyticsSettingsClientGetResponse, error)`
    info	[Changelog] - New function `*SecurityMLAnalyticsSettingsClient.NewListPager(string, string, *SecurityMLAnalyticsSettingsClientListOptions) *runtime.Pager[SecurityMLAnalyticsSettingsClientListResponse]`
    info	[Changelog] - New function `NewSourceControlClient(string, azcore.TokenCredential, *arm.ClientOptions) (*SourceControlClient, error)`
    info	[Changelog] - New function `*SourceControlClient.NewListRepositoriesPager(string, string, RepositoryAccessProperties, *SourceControlClientListRepositoriesOptions) *runtime.Pager[SourceControlClientListRepositoriesResponse]`
    info	[Changelog] - New function `NewSourceControlsClient(string, azcore.TokenCredential, *arm.ClientOptions) (*SourceControlsClient, error)`
    info	[Changelog] - New function `*SourceControlsClient.Create(context.Context, string, string, string, SourceControl, *SourceControlsClientCreateOptions) (SourceControlsClientCreateResponse, error)`
    info	[Changelog] - New function `*SourceControlsClient.Delete(context.Context, string, string, string, RepositoryAccessProperties, *SourceControlsClientDeleteOptions) (SourceControlsClientDeleteResponse, error)`
    info	[Changelog] - New function `*SourceControlsClient.Get(context.Context, string, string, string, *SourceControlsClientGetOptions) (SourceControlsClientGetResponse, error)`
    info	[Changelog] - New function `*SourceControlsClient.NewListPager(string, string, *SourceControlsClientListOptions) *runtime.Pager[SourceControlsClientListResponse]`
    info	[Changelog] - New struct `AlertPropertyMapping`
    info	[Changelog] - New struct `AnomalySecurityMLAnalyticsSettings`
    info	[Changelog] - New struct `AnomalySecurityMLAnalyticsSettingsProperties`
    info	[Changelog] - New struct `AutomationRulePropertyArrayChangedValuesCondition`
    info	[Changelog] - New struct `AutomationRulePropertyValuesChangedCondition`
    info	[Changelog] - New struct `AzureDevOpsResourceInfo`
    info	[Changelog] - New struct `Deployment`
    info	[Changelog] - New struct `DeploymentInfo`
    info	[Changelog] - New struct `GitHubResourceInfo`
    info	[Changelog] - New struct `MetadataAuthor`
    info	[Changelog] - New struct `MetadataCategories`
    info	[Changelog] - New struct `MetadataDependencies`
    info	[Changelog] - New struct `MetadataList`
    info	[Changelog] - New struct `MetadataModel`
    info	[Changelog] - New struct `MetadataPatch`
    info	[Changelog] - New struct `MetadataProperties`
    info	[Changelog] - New struct `MetadataPropertiesPatch`
    info	[Changelog] - New struct `MetadataSource`
    info	[Changelog] - New struct `MetadataSupport`
    info	[Changelog] - New struct `PackageList`
    info	[Changelog] - New struct `PackageModel`
    info	[Changelog] - New struct `PackageProperties`
    info	[Changelog] - New struct `ProductPackageList`
    info	[Changelog] - New struct `ProductPackageModel`
    info	[Changelog] - New struct `ProductPackageProperties`
    info	[Changelog] - New struct `ProductTemplateList`
    info	[Changelog] - New struct `ProductTemplateModel`
    info	[Changelog] - New struct `ProductTemplateProperties`
    info	[Changelog] - New struct `PropertyArrayChangedConditionProperties`
    info	[Changelog] - New struct `PropertyChangedConditionProperties`
    info	[Changelog] - New struct `PullRequest`
    info	[Changelog] - New struct `Repo`
    info	[Changelog] - New struct `RepoList`
    info	[Changelog] - New struct `Repository`
    info	[Changelog] - New struct `RepositoryAccess`
    info	[Changelog] - New struct `RepositoryAccessObject`
    info	[Changelog] - New struct `RepositoryAccessProperties`
    info	[Changelog] - New struct `RepositoryResourceInfo`
    info	[Changelog] - New struct `SecurityMLAnalyticsSettingsDataSource`
    info	[Changelog] - New struct `SecurityMLAnalyticsSettingsList`
    info	[Changelog] - New struct `ServicePrincipal`
    info	[Changelog] - New struct `SourceControl`
    info	[Changelog] - New struct `SourceControlList`
    info	[Changelog] - New struct `SourceControlProperties`
    info	[Changelog] - New struct `TemplateList`
    info	[Changelog] - New struct `TemplateModel`
    info	[Changelog] - New struct `TemplateProperties`
    info	[Changelog] - New struct `Warning`
    info	[Changelog] - New struct `WarningBody`
    info	[Changelog] - New struct `Webhook`
    info	[Changelog] - New field `AlertDynamicProperties` in struct `AlertDetailsOverride`
    info	[Changelog] - New field `Techniques` in struct `FusionAlertRuleProperties`
    info	[Changelog] - New field `Techniques` in struct `FusionAlertRuleTemplateProperties`
    info	[Changelog] - New field `ProviderIncidentURL` in struct `IncidentAdditionalData`
    info	[Changelog] - New field `OwnerType` in struct `IncidentOwnerInfo`
    info	[Changelog] - New field `ProviderIncidentID`, `ProviderName` in struct `IncidentProperties`
    info	[Changelog] - New field `Techniques` in struct `ScheduledAlertRuleProperties`
    info	[Changelog] - New field `Techniques` in struct `ScheduledAlertRuleTemplateProperties`
    info	[Changelog]
    info	[Changelog] Total 5 breaking change(s), 277 additive change(s).
️⚠️ azure-sdk-for-python-track2 warning [Detail]
  • ⚠️Warning [Logs] Generate from ad7be58ddf02606d3dbe38b66b54fca6f4555157. 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: azure-devtools 1.2.1 does not provide the extra 'ci-tools'
    cmderr	[automation_init.sh] WARNING: azure-devtools 1.2.1 does not provide the extra 'ci-tools'
    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! 10.2.3 -> 10.2.5
    cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.2.5>
    cmderr	[automation_generate.sh] npm notice Run `npm install -g [email protected]` to update!
    cmderr	[automation_generate.sh] npm notice
  • ️✔️track2_azure-mgmt-securityinsight [View full logs]  [Preview SDK Changes]
    info	[Changelog] ### Features Added
    info	[Changelog]
    info	[Changelog]   - Added operation group ContentPackageOperations
    info	[Changelog]   - Added operation group ContentPackagesOperations
    info	[Changelog]   - Added operation group ContentTemplateOperations
    info	[Changelog]   - Added operation group ContentTemplatesOperations
    info	[Changelog]   - Added operation group MetadataOperations
    info	[Changelog]   - Added operation group ProductPackageOperations
    info	[Changelog]   - Added operation group ProductPackagesOperations
    info	[Changelog]   - Added operation group ProductTemplateOperations
    info	[Changelog]   - Added operation group ProductTemplatesOperations
    info	[Changelog]   - Added operation group SecurityMLAnalyticsSettingsOperations
    info	[Changelog]   - Added operation group SourceControlOperations
    info	[Changelog]   - Added operation group SourceControlsOperations
    info	[Changelog]   - Model AlertDetailsOverride has a new parameter alert_dynamic_properties
    info	[Changelog]   - Model FusionAlertRule has a new parameter techniques
    info	[Changelog]   - Model FusionAlertRuleTemplate has a new parameter techniques
    info	[Changelog]   - Model Incident has a new parameter provider_incident_id
    info	[Changelog]   - Model Incident has a new parameter provider_name
    info	[Changelog]   - Model IncidentAdditionalData has a new parameter provider_incident_url
    info	[Changelog]   - Model IncidentOwnerInfo has a new parameter owner_type
    info	[Changelog]   - Model ScheduledAlertRule has a new parameter techniques
    info	[Changelog]   - Model ScheduledAlertRuleProperties has a new parameter techniques
    info	[Changelog]   - Model ScheduledAlertRuleTemplate has a new parameter techniques
️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs] Generate from ad7be58ddf02606d3dbe38b66b54fca6f4555157. 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]  [Preview SDK Changes]
    info	[Changelog]
    error	breakingChangeTracking is enabled, but version or changelogItem is not found in output.
️❌ azure-sdk-for-java failed [Detail]
  • Failed [Logs] Generate from ad7be58ddf02606d3dbe38b66b54fca6f4555157. 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 is available: 23.0.1 -> 23.3.2
    cmderr	[init.sh] [notice] To update, run: pip install --upgrade pip
    cmderr	[init.sh] [notice] A new release of pip is available: 23.0.1 -> 23.3.2
    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
  • azure-resourcemanager-securityinsights [View full logs]  [Preview SDK Changes]
️❌ azure-resource-manager-schemas failed [Detail]
  • Failed [Logs] Generate from ad7be58ddf02606d3dbe38b66b54fca6f4555157. 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] npm notice
    cmderr	[initScript.sh] npm notice New major version of npm available! 8.19.4 -> 10.2.5
    cmderr	[initScript.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.2.5>
    cmderr	[initScript.sh] npm notice Run `npm install -g [email protected]` to update!
    cmderr	[initScript.sh] npm notice
    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 warning [Detail]
  • ⚠️Warning [Logs] Generate from ad7be58ddf02606d3dbe38b66b54fca6f4555157. 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.DefaultTag [View full logs]  [Preview SDK Changes]
Posted by Swagger Pipeline | How to fix these errors?

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Dec 21, 2023

Generated ApiView

Language Package Name ApiView Link
Go sdk/resourcemanager/securityinsights/armsecurityinsights Create ApiView timeout. Package is too large and we cannot create ApiView for it.
.Net Azure.ResourceManager.SecurityInsights There is no API change compared with the previous version
JavaScript @azure/arm-securityinsight https://apiview.dev/Assemblies/Review/495feca01b564258a5b2e6d5ed3ad0e2?revisionId=2967329caa0a42d0913b0d9f1e35fa2c
Swagger Microsoft.SecurityInsights https://apiview.dev/Assemblies/Review/d30cc3bd7c484ad880bc3b8126f67ba5?revisionId=779c210a56fd43c0abb6af4282d58db3

@xuhumsft
Copy link
Member Author

This branch is created to merge as the protected branch has conflicts
#27169

All the change is already reviewed and approved in the following PR.
#26873

@openapi-workflow-bot
Copy link

Please address or respond to feedback from the ARM API reviewer.
When you are ready to continue the ARM API review, please remove the ARMChangesRequested label.
This will notify the reviewer to have another look.
If the feedback provided needs further discussion, please use this Teams channel to post your questions - aka.ms/azsdk/support/specreview-channel.
Please include [ARM Query] in the title of your question to indicate that it is ARM-related.

@openapi-workflow-bot
Copy link

Hi @xuhumsft! For review efficiency consideration, when creating a new API version, it is required to place API specs of the base version in the first commit, and push new version updates into successive commits. You can use OpenAPIHub to initialize the PR for adding a new version.
For more details refer to the wiki.

@mikekistler
Copy link
Member

Breaking changes previously reviewed and approved in #23121

@mikekistler mikekistler added the Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374 label Dec 22, 2023
@xuhumsft xuhumsft added the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Dec 22, 2023
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/sourcecontrols": {
Copy link
Member

Choose a reason for hiding this comment

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

Should it be "sourceControls"? Please also update other places.

Copy link
Member Author

Choose a reason for hiding this comment

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

I believe it is case insensitive. And since we already use this format in our preview API. I am not sure if that cause any breaking changes or trouble in customer side. However, if you think this is important, please let me know. I can change accordingly.

Copy link

Choose a reason for hiding this comment

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

Should log a work item to track this improvement, whenever there's a chance when releasing next version, you should consider fix it

}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/sourcecontrols/{sourceControlId}": {
Copy link
Member

Choose a reason for hiding this comment

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

Would you please add some explainations about why this API doesn't support delete method?

Copy link
Member

Choose a reason for hiding this comment

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

I see, there's a seperate API to delete the source control resource. Because it requires extra access token to delete?

Copy link
Member Author

Choose a reason for hiding this comment

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

please check this comment for the DELETE operations.
#26873 (comment)

}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/contentproducttemplates/{templateId}": {
Copy link
Member

Choose a reason for hiding this comment

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

Should it be "contentProductTemplates"?

Copy link
Member Author

Choose a reason for hiding this comment

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

The same as #27173 (comment)

@openapi-workflow-bot openapi-workflow-bot bot removed the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Dec 25, 2023
@xuhumsft xuhumsft added the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Dec 27, 2023
@zizw123 zizw123 added the ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review label Dec 27, 2023
@openapi-workflow-bot openapi-workflow-bot bot removed the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Dec 27, 2023
@Alancere
Copy link
Contributor

Hi @xuhumsft, please fix duplicate schema: MetadataDependencies
for refer: Alancere@8fd20b2

@zizw123
Copy link

zizw123 commented Dec 28, 2023

Please request to merge again once the above comment is addressed

)

* sentinel securityInsights 2023-11-01 release

* resolve comments - remove duplicated schema
@xuhumsft
Copy link
Member Author

updated according to the comments.

@zizw123
Copy link

zizw123 commented Dec 28, 2023

Also check the failures in https://github.com/Azure/azure-rest-api-specs/pull/27173/checks?check_run_id=20012857275
Add follow up using this guide if needed link

@Alancere Alancere added the Approved-SdkBreakingChange-Go Approve the breaking change tracking for azure-sdk-for-go label Dec 29, 2023
@zizw123 zizw123 merged commit 41e4538 into main Dec 29, 2023
@zizw123 zizw123 deleted the xuhumsft-securityinsights-Microsoft.SecurityInsights-2023-11-01 branch December 29, 2023 19:12
arifibrahim4 pushed a commit that referenced this pull request Feb 26, 2024
)

* Adds base for updating Microsoft.SecurityInsights from version stable/2023-02-01 to version 2023-11-01

* Updates readme

* Updates API version in new specs and examples

* sentinel securityInsights 2023-11-01 release (#27172)

* Xuhumsft securityinsights microsoft.security insights 2023 11 01 (#27207)

* sentinel securityInsights 2023-11-01 release

* resolve comments - remove duplicated schema
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-SdkBreakingChange-Go Approve the breaking change tracking for azure-sdk-for-go ARMReview ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required CI-BreakingChange-Go CI-MissingBaseCommit new-api-version resource-manager

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants