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

Filter out all Autorization header value to avoid CredScan alarm #23380

Merged
merged 1 commit into from
Mar 31, 2023

Conversation

ArthurMa1978
Copy link
Member

Azure/azure-sdk-for-net#35227, fix from swagger spec

@ArthurMa1978 ArthurMa1978 added Container Registry Mgmt This issue is related to a management-plane library. labels Mar 31, 2023
@openapi-workflow-bot
Copy link

Hi, @ArthurMa1978 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 Mar 31, 2023

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️️✔️Breaking Change(Cross-Version) succeeded [Detail] [Expand]
    There are no breaking changes.
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️️✔️LintDiff succeeded [Detail] [Expand]
    Validation passes for LintDiff.
    ️⚠️Avocado: 1 Warnings warning [Detail]
    Rule Message
    ⚠️ MULTIPLE_API_VERSION The default tag contains multiple API versions swaggers.
    readme: specification/containerregistry/resource-manager/readme.md
    tag: specification/containerregistry/resource-manager/readme.md#tag-package-2023-01-preview
    ️️✔️ApiReadinessCheck succeeded [Detail] [Expand]
    ️⚠️~[Staging] ServiceAPIReadinessTest: 0 Warnings warning [Detail]

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

    ️️✔️SwaggerAPIView succeeded [Detail] [Expand]
    ️️✔️CadlAPIView succeeded [Detail] [Expand]
    ️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
    ️❌ModelValidation: 110 Errors, 0 Warnings failed [Detail]

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

    Rule Message
    XMS_EXAMPLE_NOTFOUND_ERROR x-ms-example not found in Operations_List.
    Url: Microsoft.ContainerRegistry/preview/2017-06-01-preview/containerregistry.json#L61:14
    LRO_RESPONSE_HEADER Long running operation should return location or azure-AsyncOperation in header but not provided
    Url: Microsoft.ContainerRegistry/preview/2017-06-01-preview/containerregistry.json#L190:22
    ExampleUrl: preview/2017-06-01-preview/examples/RegistryDelete.json
    LRO_RESPONSE_HEADER Long running operation should return location or azure-AsyncOperation in header but not provided
    Url: Microsoft.ContainerRegistry/preview/2017-06-01-preview/containerregistry.json#L559:22
    ExampleUrl: preview/2017-06-01-preview/examples/ReplicationDelete.json
    LRO_RESPONSE_HEADER Long running operation should return location or azure-AsyncOperation in header but not provided
    Url: Microsoft.ContainerRegistry/preview/2017-06-01-preview/containerregistry.json#L784:22
    ExampleUrl: preview/2017-06-01-preview/examples/WebhookDelete.json
    LRO_RESPONSE_HEADER Long running operation should return location or azure-AsyncOperation in header but not provided
    Url: Microsoft.ContainerRegistry/preview/2019-12-01-preview/containerregistry.json#L132:22
    ExampleUrl: preview/2019-12-01-preview/examples/ExportPipelineDelete.json
    LRO_RESPONSE_HEADER Long running operation should return location or azure-AsyncOperation in header but not provided
    Url: Microsoft.ContainerRegistry/preview/2019-12-01-preview/containerregistry.json#L220:22
    ExampleUrl: preview/2019-12-01-preview/examples/ImportImageByTag.json
    LRO_RESPONSE_HEADER Long running operation should return location or azure-AsyncOperation in header but not provided
    Url: Microsoft.ContainerRegistry/preview/2019-12-01-preview/containerregistry.json#L220:22
    ExampleUrl: preview/2019-12-01-preview/examples/ImportImageByManifestDigest.json
    LRO_RESPONSE_HEADER Long running operation should return location or azure-AsyncOperation in header but not provided
    Url: Microsoft.ContainerRegistry/preview/2019-12-01-preview/containerregistry.json#L220:22
    ExampleUrl: preview/2019-12-01-preview/examples/ImportImageFromPublicRegistry.json
    LRO_RESPONSE_HEADER Long running operation should return location or azure-AsyncOperation in header but not provided
    Url: Microsoft.ContainerRegistry/preview/2019-12-01-preview/containerregistry.json#L356:22
    ExampleUrl: preview/2019-12-01-preview/examples/ImportPipelineDelete.json
    INVALID_REQUEST_PARAMETER api-version 2020-11-01-preview is not equal to swagger version
    Url: Microsoft.ContainerRegistry/preview/2019-12-01-preview/containerregistry.json#L457:14
    ExampleUrl: preview/2019-12-01-preview/examples/OperationList.json#L2:17
    LRO_RESPONSE_HEADER Long running operation should return location or azure-AsyncOperation in header but not provided
    Url: Microsoft.ContainerRegistry/preview/2019-12-01-preview/containerregistry.json#L603:22
    ExampleUrl: preview/2019-12-01-preview/examples/PipelineRunDelete.json
    LRO_RESPONSE_HEADER Long running operation should return location or azure-AsyncOperation in header but not provided
    Url: Microsoft.ContainerRegistry/preview/2019-12-01-preview/containerregistry.json#L775:22
    ExampleUrl: preview/2019-12-01-preview/examples/PrivateEndpointConnectionDelete.json
    LRO_RESPONSE_HEADER Long running operation should return location or azure-AsyncOperation in header but not provided
    Url: Microsoft.ContainerRegistry/preview/2019-12-01-preview/containerregistry.json#L938:22
    ExampleUrl: preview/2019-12-01-preview/examples/RegistryDelete.json
    LRO_RESPONSE_HEADER Long running operation should return location or azure-AsyncOperation in header but not provided
    Url: Microsoft.ContainerRegistry/preview/2019-12-01-preview/containerregistry.json#L1346:22
    ExampleUrl: preview/2019-12-01-preview/examples/ReplicationDelete.json
    LRO_RESPONSE_HEADER Long running operation should return location or azure-AsyncOperation in header but not provided
    Url: Microsoft.ContainerRegistry/preview/2019-12-01-preview/containerregistry.json#L1571:22
    ExampleUrl: preview/2019-12-01-preview/examples/WebhookDelete.json
    LRO_RESPONSE_HEADER Long running operation should return location or azure-AsyncOperation in header but not provided
    Url: Microsoft.ContainerRegistry/preview/2020-11-01-preview/containerregistry.json#L144:22
    ExampleUrl: preview/2020-11-01-preview/examples/ConnectedRegistryDelete.json
    LRO_RESPONSE_HEADER Long running operation should return location or azure-AsyncOperation in header but not provided
    Url: Microsoft.ContainerRegistry/preview/2020-11-01-preview/containerregistry.json#L300:22
    ExampleUrl: preview/2020-11-01-preview/examples/ConnectedRegistryDeactivate.json
    LRO_RESPONSE_HEADER Long running operation should return location or azure-AsyncOperation in header but not provided
    Url: Microsoft.ContainerRegistry/preview/2020-11-01-preview/containerregistry.json#L436:22
    ExampleUrl: preview/2020-11-01-preview/examples/ExportPipelineDelete.json
    LRO_RESPONSE_HEADER Long running operation should return location or azure-AsyncOperation in header but not provided
    Url: Microsoft.ContainerRegistry/preview/2020-11-01-preview/containerregistry.json#L524:22
    ExampleUrl: preview/2020-11-01-preview/examples/ImportImageByTag.json
    LRO_RESPONSE_HEADER Long running operation should return location or azure-AsyncOperation in header but not provided
    Url: Microsoft.ContainerRegistry/preview/2020-11-01-preview/containerregistry.json#L524:22
    ExampleUrl: preview/2020-11-01-preview/examples/ImportImageByManifestDigest.json
    LRO_RESPONSE_HEADER Long running operation should return location or azure-AsyncOperation in header but not provided
    Url: Microsoft.ContainerRegistry/preview/2020-11-01-preview/containerregistry.json#L524:22
    ExampleUrl: preview/2020-11-01-preview/examples/ImportImageFromPublicRegistry.json
    LRO_RESPONSE_HEADER Long running operation should return location or azure-AsyncOperation in header but not provided
    Url: Microsoft.ContainerRegistry/preview/2020-11-01-preview/containerregistry.json#L660:22
    ExampleUrl: preview/2020-11-01-preview/examples/ImportPipelineDelete.json
    LRO_RESPONSE_HEADER Long running operation should return location or azure-AsyncOperation in header but not provided
    Url: Microsoft.ContainerRegistry/preview/2020-11-01-preview/containerregistry.json#L907:22
    ExampleUrl: preview/2020-11-01-preview/examples/PipelineRunDelete.json
    LRO_RESPONSE_HEADER Long running operation should return location or azure-AsyncOperation in header but not provided
    Url: Microsoft.ContainerRegistry/preview/2020-11-01-preview/containerregistry.json#L1079:22
    ExampleUrl: preview/2020-11-01-preview/examples/PrivateEndpointConnectionDelete.json
    LRO_RESPONSE_HEADER Long running operation should return location or azure-AsyncOperation in header but not provided
    Url: Microsoft.ContainerRegistry/preview/2020-11-01-preview/containerregistry.json#L1245:22
    ExampleUrl: preview/2020-11-01-preview/examples/RegistryDelete.json
    LRO_RESPONSE_HEADER Long running operation should return location or azure-AsyncOperation in header but not provided
    Url: Microsoft.ContainerRegistry/preview/2020-11-01-preview/containerregistry.json#L1656:22
    ExampleUrl: preview/2020-11-01-preview/examples/ReplicationDelete.json
    LRO_RESPONSE_HEADER Long running operation should return location or azure-AsyncOperation in header but not provided
    Url: Microsoft.ContainerRegistry/preview/2020-11-01-preview/containerregistry.json#L1881:22
    ExampleUrl: preview/2020-11-01-preview/examples/ScopeMapDelete.json
    LRO_RESPONSE_HEADER Long running operation should return location or azure-AsyncOperation in header but not provided
    Url: Microsoft.ContainerRegistry/preview/2020-11-01-preview/containerregistry.json#L2106:22
    ExampleUrl: preview/2020-11-01-preview/examples/TokenDelete.json
    LRO_RESPONSE_HEADER Long running operation should return location or azure-AsyncOperation in header but not provided
    Url: Microsoft.ContainerRegistry/preview/2020-11-01-preview/containerregistry.json#L2247:22
    ExampleUrl: preview/2020-11-01-preview/examples/RegistryGenerateCredentials.json
    LRO_RESPONSE_HEADER Long running operation should return location or azure-AsyncOperation in header but not provided
    Url: Microsoft.ContainerRegistry/preview/2020-11-01-preview/containerregistry.json#L2380:22
    ExampleUrl: preview/2020-11-01-preview/examples/WebhookDelete.json
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️️✔️PoliCheck succeeded [Detail] [Expand]
    Validation passed for PoliCheck.
    ️️✔️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.
    ️️✔️TypeSpec Validation succeeded [Detail] [Expand]
    Validation passes for TypeSpec Validation.
    ️️✔️PR Summary succeeded [Detail] [Expand]
    Validation passes for Summary.
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Mar 31, 2023

    Swagger Generation Artifacts

    ️️✔️ApiDocPreview succeeded [Detail] [Expand]
    ️️✔️SDK Breaking Change Tracking succeeded [Detail] [Expand]

    Breaking Changes Tracking




    ️️✔️ azure-sdk-for-net-track2 succeeded [Detail] [Expand]
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 3fd515e. 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] npm notice
      cmderr	[automation_generate.sh] npm notice New minor version of npm available! 9.5.0 -> 9.6.3
      cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.6.3>
      cmderr	[automation_generate.sh] npm notice Run `npm install -g [email protected]` to update!
      cmderr	[automation_generate.sh] npm notice
    • ️✔️track2_azure-mgmt-containerregistry [View full logs]  [Release SDK Changes]
      info	[Changelog]
    ️️✔️ azure-sdk-for-java succeeded [Detail] [Expand]
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 3fd515e. 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/containerregistry/armcontainerregistry [View full logs]  [Release SDK Changes]
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 3fd515e. 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-containerregistry [View full logs]  [Release SDK Changes]
      Only show 120 items here, please refer to log for details.
      info	[Changelog]   - Added Interface ConnectedRegistryUpdateParameters
      info	[Changelog]   - Added Interface CredentialHealth
      info	[Changelog]   - Added Interface CredentialSet
      info	[Changelog]   - Added Interface CredentialSetListResult
      info	[Changelog]   - Added Interface CredentialSetsCreateHeaders
      info	[Changelog]   - Added Interface CredentialSetsCreateOptionalParams
      info	[Changelog]   - Added Interface CredentialSetsDeleteHeaders
      info	[Changelog]   - Added Interface CredentialSetsDeleteOptionalParams
      info	[Changelog]   - Added Interface CredentialSetsGetOptionalParams
      info	[Changelog]   - Added Interface CredentialSetsListNextOptionalParams
      info	[Changelog]   - Added Interface CredentialSetsListOptionalParams
      info	[Changelog]   - Added Interface CredentialSetsUpdateHeaders
      info	[Changelog]   - Added Interface CredentialSetsUpdateOptionalParams
      info	[Changelog]   - Added Interface CredentialSetUpdateParameters
      info	[Changelog]   - Added Interface ExportPipeline
      info	[Changelog]   - Added Interface ExportPipelineListResult
      info	[Changelog]   - Added Interface ExportPipelinesCreateHeaders
      info	[Changelog]   - Added Interface ExportPipelinesCreateOptionalParams
      info	[Changelog]   - Added Interface ExportPipelinesDeleteHeaders
      info	[Changelog]   - Added Interface ExportPipelinesDeleteOptionalParams
      info	[Changelog]   - Added Interface ExportPipelinesGetOptionalParams
      info	[Changelog]   - Added Interface ExportPipelinesListNextOptionalParams
      info	[Changelog]   - Added Interface ExportPipelinesListOptionalParams
      info	[Changelog]   - Added Interface ExportPipelineTargetProperties
      info	[Changelog]   - Added Interface ImportPipeline
      info	[Changelog]   - Added Interface ImportPipelineListResult
      info	[Changelog]   - Added Interface ImportPipelinesCreateHeaders
      info	[Changelog]   - Added Interface ImportPipelinesCreateOptionalParams
      info	[Changelog]   - Added Interface ImportPipelinesDeleteHeaders
      info	[Changelog]   - Added Interface ImportPipelinesDeleteOptionalParams
      info	[Changelog]   - Added Interface ImportPipelinesGetOptionalParams
      info	[Changelog]   - Added Interface ImportPipelinesListNextOptionalParams
      info	[Changelog]   - Added Interface ImportPipelinesListOptionalParams
      info	[Changelog]   - Added Interface ImportPipelineSourceProperties
      info	[Changelog]   - Added Interface LoggingProperties
      info	[Changelog]   - Added Interface LoginServerProperties
      info	[Changelog]   - Added Interface ParentProperties
      info	[Changelog]   - Added Interface PipelineRun
      info	[Changelog]   - Added Interface PipelineRunListResult
      info	[Changelog]   - Added Interface PipelineRunRequest
      info	[Changelog]   - Added Interface PipelineRunResponse
      info	[Changelog]   - Added Interface PipelineRunsCreateHeaders
      info	[Changelog]   - Added Interface PipelineRunsCreateOptionalParams
      info	[Changelog]   - Added Interface PipelineRunsDeleteHeaders
      info	[Changelog]   - Added Interface PipelineRunsDeleteOptionalParams
      info	[Changelog]   - Added Interface PipelineRunsGetOptionalParams
      info	[Changelog]   - Added Interface PipelineRunsListNextOptionalParams
      info	[Changelog]   - Added Interface PipelineRunsListOptionalParams
      info	[Changelog]   - Added Interface PipelineRunSourceProperties
      info	[Changelog]   - Added Interface PipelineRunTargetProperties
      info	[Changelog]   - Added Interface PipelineSourceTriggerDescriptor
      info	[Changelog]   - Added Interface PipelineSourceTriggerProperties
      info	[Changelog]   - Added Interface PipelineTriggerDescriptor
      info	[Changelog]   - Added Interface PipelineTriggerProperties
      info	[Changelog]   - Added Interface ProgressProperties
      info	[Changelog]   - Added Interface SoftDeletePolicy
      info	[Changelog]   - Added Interface StatusDetailProperties
      info	[Changelog]   - Added Interface SyncProperties
      info	[Changelog]   - Added Interface SyncUpdateProperties
      info	[Changelog]   - Added Interface TlsCertificateProperties
      info	[Changelog]   - Added Interface TlsProperties
      info	[Changelog]   - Added Type Alias ActivationStatus
      info	[Changelog]   - Added Type Alias AuditLogStatus
      info	[Changelog]   - Added Type Alias AzureADAuthenticationAsArmPolicyStatus
      info	[Changelog]   - Added Type Alias CacheRulesCreateResponse
      info	[Changelog]   - Added Type Alias CacheRulesGetResponse
      info	[Changelog]   - Added Type Alias CacheRulesListNextResponse
      info	[Changelog]   - Added Type Alias CacheRulesListResponse
      info	[Changelog]   - Added Type Alias CacheRulesUpdateResponse
      info	[Changelog]   - Added Type Alias CertificateType
      info	[Changelog]   - Added Type Alias ConnectedRegistriesCreateResponse
      info	[Changelog]   - Added Type Alias ConnectedRegistriesGetResponse
      info	[Changelog]   - Added Type Alias ConnectedRegistriesListNextResponse
      info	[Changelog]   - Added Type Alias ConnectedRegistriesListResponse
      info	[Changelog]   - Added Type Alias ConnectedRegistriesUpdateResponse
      info	[Changelog]   - Added Type Alias ConnectedRegistryMode
      info	[Changelog]   - Added Type Alias ConnectionState
      info	[Changelog]   - Added Type Alias CredentialHealthStatus
      info	[Changelog]   - Added Type Alias CredentialName
      info	[Changelog]   - Added Type Alias CredentialSetsCreateResponse
      info	[Changelog]   - Added Type Alias CredentialSetsGetResponse
      info	[Changelog]   - Added Type Alias CredentialSetsListNextResponse
      info	[Changelog]   - Added Type Alias CredentialSetsListResponse
      info	[Changelog]   - Added Type Alias CredentialSetsUpdateResponse
      info	[Changelog]   - Added Type Alias ExportPipelinesCreateResponse
      info	[Changelog]   - Added Type Alias ExportPipelinesGetResponse
      info	[Changelog]   - Added Type Alias ExportPipelinesListNextResponse
      info	[Changelog]   - Added Type Alias ExportPipelinesListResponse
      info	[Changelog]   - Added Type Alias ImportPipelinesCreateResponse
      info	[Changelog]   - Added Type Alias ImportPipelinesGetResponse
      info	[Changelog]   - Added Type Alias ImportPipelinesListNextResponse
      info	[Changelog]   - Added Type Alias ImportPipelinesListResponse
      info	[Changelog]   - Added Type Alias LogLevel
      info	[Changelog]   - Added Type Alias PipelineOptions
      info	[Changelog]   - Added Type Alias PipelineRunsCreateResponse
      info	[Changelog]   - Added Type Alias PipelineRunsGetResponse
      info	[Changelog]   - Added Type Alias PipelineRunsListNextResponse
      info	[Changelog]   - Added Type Alias PipelineRunsListResponse
      info	[Changelog]   - Added Type Alias PipelineRunSourceType
      info	[Changelog]   - Added Type Alias PipelineRunTargetType
      info	[Changelog]   - Added Type Alias PipelineSourceType
      info	[Changelog]   - Added Type Alias TlsStatus
      info	[Changelog]   - Interface Policies has a new optional parameter azureADAuthenticationAsArmPolicy
      info	[Changelog]   - Interface Policies has a new optional parameter softDeletePolicy
      info	[Changelog]   - Interface Registry has a new optional parameter anonymousPullEnabled
      info	[Changelog]   - Interface RegistryUpdateParameters has a new optional parameter anonymousPullEnabled
      info	[Changelog]   - Added Enum KnownActivationStatus
      info	[Changelog]   - Added Enum KnownAuditLogStatus
      info	[Changelog]   - Added Enum KnownAzureADAuthenticationAsArmPolicyStatus
      info	[Changelog]   - Added Enum KnownCertificateType
      info	[Changelog]   - Added Enum KnownConnectedRegistryMode
      info	[Changelog]   - Added Enum KnownConnectionState
      info	[Changelog]   - Added Enum KnownCredentialHealthStatus
      info	[Changelog]   - Added Enum KnownCredentialName
      info	[Changelog]   - Added Enum KnownLogLevel
      info	[Changelog]   - Added Enum KnownPipelineOptions
      info	[Changelog]   - Added Enum KnownPipelineRunSourceType
      info	[Changelog]   - Added Enum KnownPipelineRunTargetType
      info	[Changelog]   - Added Enum KnownPipelineSourceType
      info	[Changelog]   - Added Enum KnownTlsStatus
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 3fd515e. 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
      warn	No file changes detected after generation
    • ️✔️containerregistry [View full logs
    ️️✔️ azure-powershell succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 3fd515e. 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.containerregistry.DefaultTag [View full logs]  [Release SDK Changes]
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Mar 31, 2023

    Generated ApiView

    Language Package Name ApiView Link
    Go sdk/resourcemanager/containerregistry/armcontainerregistry There is no API change compared with the previous version
    Java azure-resourcemanager-containerregistry-generated https://apiview.dev/Assemblies/Review/15ce3d9cadf849109158665111cf47ed
    .Net Azure.ResourceManager.ContainerRegistry There is no API change compared with the previous version
    JavaScript @azure/arm-containerregistry https://apiview.dev/Assemblies/Review/6d1af4e5f5f44cd2a7076aee9b7871c7

    @openapi-workflow-bot
    Copy link

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

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

    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.

    3 participants