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-2022-07-01-preview #19641

Merged
merged 5 commits into from
Jun 30, 2022
Merged

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.

anat-gilenson and others added 5 commits June 8, 2022 13:22
@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. [email protected]

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jun 30, 2022

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️⚠️Breaking Change(Cross-Version): 7 Warnings warning [Detail]
    compared swaggers (via Oad v0.9.6)] new version base version
    AlertRules.json 2022-07-01(6747583) 2021-10-01(main)
    AlertRules.json 2022-07-01(6747583) 2022-06-01(main)
    AutomationRules.json 2022-07-01(6747583) 2021-10-01(main)
    AutomationRules.json 2022-07-01(6747583) 2022-06-01(main)
    Bookmarks.json 2022-07-01(6747583) 2021-10-01(main)
    Bookmarks.json 2022-07-01(6747583) 2022-06-01(main)
    Enrichment.json 2022-07-01(6747583) 2022-06-01(main)
    Entities.json 2022-07-01(6747583) 2022-06-01(main)
    EntityQueries.json 2022-07-01(6747583) 2022-06-01(main)
    EntityQueryTemplates.json 2022-07-01(6747583) 2022-06-01(main)
    Incidents.json 2022-07-01(6747583) 2021-10-01(main)
    Incidents.json 2022-07-01(6747583) 2022-06-01(main)
    Metadata.json 2022-07-01(6747583) 2022-06-01(main)
    OfficeConsents.json 2022-07-01(6747583) 2022-06-01(main)
    OnboardingStates.json 2022-07-01(6747583) 2021-10-01(main)
    OnboardingStates.json 2022-07-01(6747583) 2022-06-01(main)
    SecurityMLAnalyticsSettings.json 2022-07-01(6747583) 2022-06-01(main)
    Settings.json 2022-07-01(6747583) 2022-06-01(main)
    SourceControls.json 2022-07-01(6747583) 2022-06-01(main)
    ThreatIntelligence.json 2022-07-01(6747583) 2021-10-01(main)
    ThreatIntelligence.json 2022-07-01(6747583) 2022-06-01(main)
    Watchlists.json 2022-07-01(6747583) 2021-10-01(main)
    Watchlists.json 2022-07-01(6747583) 2022-06-01(main)
    AlertTypes.json 2022-07-01(6747583) 2021-10-01(main)
    AlertTypes.json 2022-07-01(6747583) 2022-06-01(main)
    EntityTypes.json 2022-07-01(6747583) 2021-10-01(main)
    EntityTypes.json 2022-07-01(6747583) 2022-06-01(main)
    IncidentTypes.json 2022-07-01(6747583) 2021-10-01(main)
    IncidentTypes.json 2022-07-01(6747583) 2022-06-01(main)
    RelationTypes.json 2022-07-01(6747583) 2022-06-01(main)
    ThreatIntelligenceTypes.json 2022-07-01(6747583) 2022-06-01(main)
    dataConnectors.json 2022-07-01(6747583) 2022-06-01(main)
    operations.json 2022-07-01(6747583) 2021-10-01(main)
    operations.json 2022-07-01(6747583) 2022-06-01(main)

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

    Rule Message
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.SecurityInsights/preview/2022-07-01-preview/AlertRules.json#L2309:11
    Old: Microsoft.SecurityInsights/stable/2021-10-01/AlertRules.json#L533:11
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.SecurityInsights/preview/2022-07-01-preview/AlertRules.json#L326:13
    Old: Microsoft.SecurityInsights/stable/2021-10-01/AlertRules.json#L317:13
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.SecurityInsights/preview/2022-07-01-preview/AlertRules.json#L375:13
    Old: Microsoft.SecurityInsights/stable/2021-10-01/AlertRules.json#L366:13
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.SecurityInsights/preview/2022-07-01-preview/AlertRules.json#L381:13
    Old: Microsoft.SecurityInsights/stable/2021-10-01/AlertRules.json#L372:13
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.SecurityInsights/preview/2022-07-01-preview/AlertRules.json#L2268:5
    Old: Microsoft.SecurityInsights/stable/2021-10-01/AlertRules.json#L579:5
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.SecurityInsights/preview/2022-07-01-preview/AlertRules.json#L1544:9
    Old: Microsoft.SecurityInsights/stable/2021-10-01/AlertRules.json#L1038:9
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.SecurityInsights/preview/2022-07-01-preview/AlertRules.json#L1561:5
    Old: Microsoft.SecurityInsights/stable/2021-10-01/AlertRules.json#L1055:5
    ️️✔️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-07 package-preview-2022-07(6747583) default(main)

    The following errors/warnings are introduced by current PR:

    Rule Message
    ⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: isAuthorized
    Location: preview/2022-07-01-preview/common/EntityTypes.json#L1089
    ⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: isProgramming
    Location: preview/2022-07-01-preview/common/EntityTypes.json#L1094
    ⚠️ R3018 - EnumInsteadOfBoolean Booleans are not descriptive and make them hard to use. Consider using string enums with allowed set of values defined. Property: isScanner
    Location: preview/2022-07-01-preview/common/EntityTypes.json#L1099


    The following errors/warnings exist before current PR submission:

    Only 27 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-07-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-07-01-preview/EntityQueryTemplates.json#L292
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.SecurityInsights/preview/2022-07-01-preview/Bookmarks.json#L566
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.SecurityInsights/preview/2022-07-01-preview/EntityQueryTemplates.json#L234
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.SecurityInsights/preview/2022-07-01-preview/Incidents.json#L1020
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.SecurityInsights/preview/2022-07-01-preview/Incidents.json#L1119
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.SecurityInsights/preview/2022-07-01-preview/Metadata.json#L581
    R4041 - XmsIdentifierValidation Missing identifier id in array item property
    Location: Microsoft.SecurityInsights/preview/2022-07-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-07-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-07-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-07-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-07-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-07-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-07-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-07-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-07-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-07-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-07-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-07-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-07-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-07-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-07-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-07-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-07-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-07-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-07-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-07-01-preview/common/RelationTypes.json#L30
    ️️✔️Avocado succeeded [Detail] [Expand]
    Validation passes for Avocado.
    ️️✔️ApiReadinessCheck 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.
    ️⚠️SDK Track2 Validation: 57 Warnings warning [Detail]
    The following errors/warnings are introduced by current PR:

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

    Rule Message
    ⚠️ DeprecatedConfig "readme":"securityinsights/resource-manager/readme.md",
    "tag":"package-preview-2022-07",
    "details":"Using directive.0.suppress which is deprecated and will be removed in the future."
    ⚠️ DeprecatedConfig "readme":"securityinsights/resource-manager/readme.md",
    "tag":"package-preview-2022-07",
    "details":"Using directive.1.suppress which is deprecated and will be removed in the future."
    ⚠️ IgnoredPropertyNextToRef "readme":"securityinsights/resource-manager/readme.md",
    "tag":"package-preview-2022-07",
    "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > QueryBasedAlertRuleTemplateProperties > properties > alertDetailsOverride)\n keys: [ \u001b[32m'type'\u001b[39m ]"
    ⚠️ IgnoredPropertyNextToRef "readme":"securityinsights/resource-manager/readme.md",
    "tag":"package-preview-2022-07",
    "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > FusionSourceSubTypeSetting > properties > severityFilters)\n keys: [ \u001b[32m'type'\u001b[39m ]"
    ⚠️ IgnoredPropertyNextToRef "readme":"securityinsights/resource-manager/readme.md",
    "tag":"package-preview-2022-07",
    "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > FusionAlertRuleTemplate > properties > properties)\n keys: [ \u001b[32m'required'\u001b[39m ]"
    ⚠️ IgnoredPropertyNextToRef "readme":"securityinsights/resource-manager/readme.md",
    "tag":"package-preview-2022-07",
    "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > FusionAlertRuleTemplateProperties > properties > status)\n keys: [ \u001b[32m'type'\u001b[39m ]"
    ⚠️ IgnoredPropertyNextToRef "readme":"securityinsights/resource-manager/readme.md",
    "tag":"package-preview-2022-07",
    "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > FusionTemplateSourceSubType > properties > severityFilter)\n keys: [ \u001b[32m'type'\u001b[39m ]"
    ⚠️ IgnoredPropertyNextToRef "readme":"securityinsights/resource-manager/readme.md",
    "tag":"package-preview-2022-07",
    "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > MicrosoftSecurityIncidentCreationAlertRuleTemplate > properties > properties)\n keys: [ \u001b[32m'required'\u001b[39m ]"
    ⚠️ IgnoredPropertyNextToRef "readme":"securityinsights/resource-manager/readme.md",
    "tag":"package-preview-2022-07",
    "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > NrtAlertRuleProperties > properties > alertDetailsOverride)\n keys: [ \u001b[32m'type'\u001b[39m ]"
    ⚠️ IgnoredPropertyNextToRef "readme":"securityinsights/resource-manager/readme.md",
    "tag":"package-preview-2022-07",
    "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > ScheduledAlertRuleTemplateProperties > properties > status)\n keys: [ \u001b[32m'type'\u001b[39m ]"
    ⚠️ IgnoredPropertyNextToRef "readme":"securityinsights/resource-manager/readme.md",
    "tag":"package-preview-2022-07",
    "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > ScheduledAlertRuleTemplateProperties > properties > alertDetailsOverride)\n keys: [ \u001b[32m'type'\u001b[39m ]"
    ⚠️ IgnoredPropertyNextToRef "readme":"securityinsights/resource-manager/readme.md",
    "tag":"package-preview-2022-07",
    "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > ScheduledAlertRuleTemplate > properties > properties)\n keys: [ \u001b[32m'required'\u001b[39m,
    \u001b[32m'type'\u001b[39m ]"
    ⚠️ IgnoredPropertyNextToRef "readme":"securityinsights/resource-manager/readme.md",
    "tag":"package-preview-2022-07",
    "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > ScheduledAlertRuleCommonProperties > properties > alertDetailsOverride)\n keys: [ \u001b[32m'type'\u001b[39m ]"
    ⚠️ IgnoredPropertyNextToRef "readme":"securityinsights/resource-manager/readme.md",
    "tag":"package-preview-2022-07",
    "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > AutomationRule > properties > properties)\n keys: [ \u001b[32m'type'\u001b[39m ]"
    ⚠️ IgnoredPropertyNextToRef "readme":"securityinsights/resource-manager/readme.md",
    "tag":"package-preview-2022-07",
    "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > AutomationRuleModifyPropertiesAction > properties > actionConfiguration)\n keys: [ \u001b[32m'type'\u001b[39m ]"
    ⚠️ IgnoredPropertyNextToRef "readme":"securityinsights/resource-manager/readme.md",
    "tag":"package-preview-2022-07",
    "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > AutomationRuleRunPlaybookAction > properties > actionConfiguration)\n keys: [ \u001b[32m'type'\u001b[39m ]"
    ⚠️ IgnoredPropertyNextToRef "readme":"securityinsights/resource-manager/readme.md",
    "tag":"package-preview-2022-07",
    "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > PropertyArrayChangedConditionProperties > properties > conditionProperties)\n keys: [ \u001b[32m'type'\u001b[39m ]"
    ⚠️ IgnoredPropertyNextToRef "readme":"securityinsights/resource-manager/readme.md",
    "tag":"package-preview-2022-07",
    "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > PropertyChangedConditionProperties > properties > conditionProperties)\n keys: [ \u001b[32m'type'\u001b[39m ]"
    ⚠️ IgnoredPropertyNextToRef "readme":"securityinsights/resource-manager/readme.md",
    "tag":"package-preview-2022-07",
    "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > PropertyConditionProperties > properties > conditionProperties)\n keys: [ \u001b[32m'type'\u001b[39m ]"
    ⚠️ IgnoredPropertyNextToRef "readme":"securityinsights/resource-manager/readme.md",
    "tag":"package-preview-2022-07",
    "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > BookmarkProperties > properties > createdBy)\n keys: [ \u001b[32m'type'\u001b[39m ]"
    ⚠️ IgnoredPropertyNextToRef "readme":"securityinsights/resource-manager/readme.md",
    "tag":"package-preview-2022-07",
    "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > BookmarkProperties > properties > updatedBy)\n keys: [ \u001b[32m'type'\u001b[39m ]"
    ⚠️ IgnoredPropertyNextToRef "readme":"securityinsights/resource-manager/readme.md",
    "tag":"package-preview-2022-07",
    "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > BookmarkProperties > properties > incidentInfo)\n keys: [ \u001b[32m'type'\u001b[39m ]"
    ⚠️ IgnoredPropertyNextToRef "readme":"securityinsights/resource-manager/readme.md",
    "tag":"package-preview-2022-07",
    "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > BookmarkProperties > properties > entityMappings)\n keys: [ \u001b[32m'type'\u001b[39m ]"
    ⚠️ IgnoredPropertyNextToRef "readme":"securityinsights/resource-manager/readme.md",
    "tag":"package-preview-2022-07",
    "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > IncidentCommentProperties > properties > author)\n keys: [ \u001b[32m'type'\u001b[39m ]"
    ⚠️ IgnoredPropertyNextToRef "readme":"securityinsights/resource-manager/readme.md",
    "tag":"package-preview-2022-07",
    "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > IncidentProperties > properties > additionalData)\n keys: [ \u001b[32m'type'\u001b[39m ]"
    ⚠️ IgnoredPropertyNextToRef "readme":"securityinsights/resource-manager/readme.md",
    "tag":"package-preview-2022-07",
    "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > IncidentProperties > properties > classification)\n keys: [ \u001b[32m'type'\u001b[39m ]"
    ⚠️ IgnoredPropertyNextToRef "readme":"securityinsights/resource-manager/readme.md",
    "tag":"package-preview-2022-07",
    "details":"Semantic violation: Sibling values alongside $ref will be ignored. See https://github.com/Azure/autorest/blob/main/docs/openapi/howto/$ref-siblings.md for allowed values (components > schemas > IncidentProperties > properties > classificationReason)\n keys: [ \u001b[32m'type'\u001b[39m ]"
    ️️✔️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.
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jun 30, 2022

    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-python-track2 - track2_azure-mgmt-securityinsight - 1.0.0b2
    azure-sdk-for-js - @azure/arm-securityinsight - 1.0.0-beta.4
    ️❌ azure-sdk-for-net failed [Detail]
    • Failed [Logs]Release - Generate from 4df2a54. SDK Automation 14.0.0
      warn	Skip initScript due to not configured
      command	sudo apt-get install -y dotnet-sdk-6.0
      command	autorest --version=2.0.4421 --csharp --reflect-api-versions --license-header=MICROSOFT_MIT_NO_VERSION [email protected]/[email protected] --csharp-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-net/sdk ../azure-rest-api-specs/specification/securityinsights/resource-manager/readme.md
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] No usable version of the libssl was found
      cmderr	[Autorest] FATAL: csharp/simplifier - FAILED
      cmderr	[Autorest] FATAL: Error: [Exception] AutoRest extension '@microsoft.azure/autorest.csharp' terminated.
      cmderr	[Autorest] Process() cancelled due to exception : [Exception] AutoRest extension '@microsoft.azure/autorest.csharp' terminated.
      error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-net]: autorest
      warn	Skip package processing as generation is failed
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 4df2a54. 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]  config global `--global`, `--local` are deprecated. Use `--location=global` instead.
    • ️✔️track2_azure-mgmt-securityinsight [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Added operation group SecurityMLAnalyticsSettingsOperations
      info	[Changelog]   - Model DataConnectorConnectBody has a new parameter data_collection_endpoint
      info	[Changelog]   - Model DataConnectorConnectBody has a new parameter data_collection_rule_immutable_id
      info	[Changelog]   - Model DataConnectorConnectBody has a new parameter output_stream
      info	[Changelog]   - Model EntityAnalytics has a new parameter entity_providers
      info	[Changelog]   - Model IoTDeviceEntity has a new parameter device_sub_type
      info	[Changelog]   - Model IoTDeviceEntity has a new parameter importance
      info	[Changelog]   - Model IoTDeviceEntity has a new parameter is_authorized
      info	[Changelog]   - Model IoTDeviceEntity has a new parameter is_programming
      info	[Changelog]   - Model IoTDeviceEntity has a new parameter is_scanner
      info	[Changelog]   - Model IoTDeviceEntity has a new parameter nic_entity_ids
      info	[Changelog]   - Model IoTDeviceEntity has a new parameter owners
      info	[Changelog]   - Model IoTDeviceEntity has a new parameter purdue_layer
      info	[Changelog]   - Model IoTDeviceEntity has a new parameter sensor
      info	[Changelog]   - Model IoTDeviceEntity has a new parameter site
      info	[Changelog]   - Model IoTDeviceEntity has a new parameter zone
      info	[Changelog]   - Model IoTDeviceEntityProperties has a new parameter device_sub_type
      info	[Changelog]   - Model IoTDeviceEntityProperties has a new parameter importance
      info	[Changelog]   - Model IoTDeviceEntityProperties has a new parameter is_authorized
      info	[Changelog]   - Model IoTDeviceEntityProperties has a new parameter is_programming
      info	[Changelog]   - Model IoTDeviceEntityProperties has a new parameter is_scanner
      info	[Changelog]   - Model IoTDeviceEntityProperties has a new parameter nic_entity_ids
      info	[Changelog]   - Model IoTDeviceEntityProperties has a new parameter owners
      info	[Changelog]   - Model IoTDeviceEntityProperties has a new parameter purdue_layer
      info	[Changelog]   - Model IoTDeviceEntityProperties has a new parameter sensor
      info	[Changelog]   - Model IoTDeviceEntityProperties has a new parameter site
      info	[Changelog]   - Model IoTDeviceEntityProperties has a new parameter zone
      info	[Changelog]
      info	[Changelog] **Breaking changes**
      info	[Changelog]
      info	[Changelog]   - Model EntityAnalytics no longer has parameter is_enabled
    ️⚠️ azure-sdk-for-js warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 4df2a54. 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
      cmderr	[automation_init.sh] WARN deprecated [email protected]: The functionality that this package provided is now in @npmcli/arborist
      cmderr	[automation_init.sh] deprecated [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
      cmderr	[automation_init.sh] npm WARN deprecated @opentelemetry/[email protected]: Package renamed to @opentelemetry/api, see https://github.com/open-telemetry/opentelemetry-js
      cmderr	[automation_init.sh]  WARN deprecated @azure/[email protected]: This version has been deprecated, please upgrade to the version tagged as latest
      cmderr	[automation_init.sh] npm WARN @octokit/[email protected] requires a peer of @octokit/core@>=3 but none is installed. You must install peer dependencies yourself.
      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] Breaking Change Detected
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Added operation group SecurityMLAnalyticsSettings
      info	[Changelog]   - Added Interface AutomationRulePropertyArrayChangedValuesCondition
      info	[Changelog]   - Added Interface AutomationRulePropertyValuesChangedCondition
      info	[Changelog]   - Added Interface GetInsightsErrorKind
      info	[Changelog]   - Added Interface SecurityMLAnalyticsSettingsCreateOrUpdateOptionalParams
      info	[Changelog]   - Added Interface SecurityMLAnalyticsSettingsDataSource
      info	[Changelog]   - Added Interface SecurityMLAnalyticsSettingsDeleteOptionalParams
      info	[Changelog]   - Added Interface SecurityMLAnalyticsSettingsGetOptionalParams
      info	[Changelog]   - Added Interface SecurityMLAnalyticsSettingsList
      info	[Changelog]   - Added Interface SecurityMLAnalyticsSettingsListNextOptionalParams
      info	[Changelog]   - Added Interface SecurityMLAnalyticsSettingsListOptionalParams
      info	[Changelog]   - Added Type Alias AnomalySecurityMLAnalyticsSettings
      info	[Changelog]   - Added Type Alias AnomalyTimelineItem
      info	[Changelog]   - Added Type Alias AutomationRulePropertyArrayChangedConditionSupportedArrayType
      info	[Changelog]   - Added Type Alias AutomationRulePropertyArrayChangedConditionSupportedChangeType
      info	[Changelog]   - Added Type Alias AutomationRulePropertyChangedConditionSupportedChangedType
      info	[Changelog]   - Added Type Alias AutomationRulePropertyChangedConditionSupportedPropertyType
      info	[Changelog]   - Added Type Alias DeviceImportance
      info	[Changelog]   - Added Type Alias EntityProviders
      info	[Changelog]   - Added Type Alias Enum13
      info	[Changelog]   - Added Type Alias GetInsightsError
      info	[Changelog]   - Added Type Alias NicEntity
      info	[Changelog]   - Added Type Alias NicEntityProperties
      info	[Changelog]   - Added Type Alias PropertyArrayChangedConditionProperties
      info	[Changelog]   - Added Type Alias PropertyChangedConditionProperties
      info	[Changelog]   - Added Type Alias SecurityMLAnalyticsSetting
      info	[Changelog]   - Added Type Alias SecurityMLAnalyticsSettingsCreateOrUpdateResponse
      info	[Changelog]   - Added Type Alias SecurityMLAnalyticsSettingsGetResponse
      info	[Changelog]   - Added Type Alias SecurityMLAnalyticsSettingsKind
      info	[Changelog]   - Added Type Alias SecurityMLAnalyticsSettingsListNextResponse
      info	[Changelog]   - Added Type Alias SecurityMLAnalyticsSettingsListResponse
      info	[Changelog]   - Added Type Alias SecurityMLAnalyticsSettingUnion
      info	[Changelog]   - Added Type Alias SettingsStatus
      info	[Changelog]   - Interface DataConnectorConnectBody has a new optional parameter dataCollectionEndpoint
      info	[Changelog]   - Interface DataConnectorConnectBody has a new optional parameter dataCollectionRuleImmutableId
      info	[Changelog]   - Interface DataConnectorConnectBody has a new optional parameter outputStream
      info	[Changelog]   - Class SecurityInsights has a new parameter securityMLAnalyticsSettings
      info	[Changelog]   - Type Alias EntityAnalytics has a new parameter entityProviders
      info	[Changelog]   - Type Alias IoTDeviceEntity has a new parameter owners
      info	[Changelog]   - Type Alias IoTDeviceEntity has a new parameter nicEntityIds
      info	[Changelog]   - Type Alias IoTDeviceEntity has a new parameter site
      info	[Changelog]   - Type Alias IoTDeviceEntity has a new parameter zone
      info	[Changelog]   - Type Alias IoTDeviceEntity has a new parameter sensor
      info	[Changelog]   - Type Alias IoTDeviceEntity has a new parameter deviceSubType
      info	[Changelog]   - Type Alias IoTDeviceEntity has a new parameter importance
      info	[Changelog]   - Type Alias IoTDeviceEntity has a new parameter purdueLayer
      info	[Changelog]   - Type Alias IoTDeviceEntity has a new parameter isAuthorized
      info	[Changelog]   - Type Alias IoTDeviceEntity has a new parameter isProgramming
      info	[Changelog]   - Type Alias IoTDeviceEntity has a new parameter isScanner
      info	[Changelog]   - Type Alias IoTDeviceEntityProperties has a new parameter owners
      info	[Changelog]   - Type Alias IoTDeviceEntityProperties has a new parameter nicEntityIds
      info	[Changelog]   - Type Alias IoTDeviceEntityProperties has a new parameter site
      info	[Changelog]   - Type Alias IoTDeviceEntityProperties has a new parameter zone
      info	[Changelog]   - Type Alias IoTDeviceEntityProperties has a new parameter sensor
      info	[Changelog]   - Type Alias IoTDeviceEntityProperties has a new parameter deviceSubType
      info	[Changelog]   - Type Alias IoTDeviceEntityProperties has a new parameter importance
      info	[Changelog]   - Type Alias IoTDeviceEntityProperties has a new parameter purdueLayer
      info	[Changelog]   - Type Alias IoTDeviceEntityProperties has a new parameter isAuthorized
      info	[Changelog]   - Type Alias IoTDeviceEntityProperties has a new parameter isProgramming
      info	[Changelog]   - Type Alias IoTDeviceEntityProperties has a new parameter isScanner
      info	[Changelog]   - Added Enum KnownAutomationRulePropertyArrayChangedConditionSupportedArrayType
      info	[Changelog]   - Added Enum KnownAutomationRulePropertyArrayChangedConditionSupportedChangeType
      info	[Changelog]   - Added Enum KnownAutomationRulePropertyChangedConditionSupportedChangedType
      info	[Changelog]   - Added Enum KnownAutomationRulePropertyChangedConditionSupportedPropertyType
      info	[Changelog]   - Added Enum KnownDeviceImportance
      info	[Changelog]   - Added Enum KnownEntityProviders
      info	[Changelog]   - Added Enum KnownEnum13
      info	[Changelog]   - Added Enum KnownGetInsightsError
      info	[Changelog]   - Added Enum KnownSecurityMLAnalyticsSettingsKind
      info	[Changelog]   - Added Enum KnownSettingsStatus
      info	[Changelog]   - Enum KnownAutomationRulePropertyConditionSupportedProperty has a new value AlertAnalyticRuleIds
      info	[Changelog]   - Enum KnownConditionType has a new value PropertyArrayChanged
      info	[Changelog]   - Enum KnownConditionType has a new value PropertyChanged
      info	[Changelog]   - Enum KnownEntityKind has a new value Nic
      info	[Changelog]   - Enum KnownEntityTimelineKind has a new value Anomaly
      info	[Changelog]   - Enum KnownEntityType has a new value Nic
      info	[Changelog]   - Enum KnownTriggersOn has a new value Alerts
      info	[Changelog]   - Enum KnownTriggersWhen has a new value Updated
      info	[Changelog]
      info	[Changelog] **Breaking Changes**
      info	[Changelog]
      info	[Changelog]   - Type Alias EntityAnalytics no longer has parameter isEnabled
      info	[Changelog]   - Type Alias Watchlist no longer has parameter sasUri
      info	[Changelog]   - Type Alias Watchlist no longer has parameter provisioningState
      info	[Changelog]   - Removed Enum KnownEnum12
      info	[Changelog]   - Removed Enum KnownProvisioningState
      info	[Changelog]   - Removed Enum KnownSkuKind
    ️️✔️ azure-sdk-for-java succeeded [Detail] [Expand]
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 4df2a54. 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] WARN old lockfile
      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
    • ️✔️securityinsights [View full logs]  [Release Schema Changes]
    ️❌ azure-powershell failed [Detail]
    • Failed [Logs]Release - Generate from 4df2a54. 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?

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    4 participants