Skip to content

[REGRESSION]: Classic Release Azure App Service Deploy throws Malicious entry: ...\...\ApplicationInsights.config #20235

Closed
@m786931

Description

New issue checklist

Task name

Azure App Service Deploy

Breaking task version

4.243.3

Last working task version

4.240.2

Regression Description

A regression happened! I moved from task version 3.x to 4.x but am still getting the same error. It did work when it picked up 4.240.2 but we cannot pin to a specific version with the classic release

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

Windows 11

Relevant log output

2024-07-31T17:34:49.3362365Z ##[section]Starting: Azure App Service Deploy: xxxxxx-DEV-xx
2024-07-31T17:34:49.3376867Z ==============================================================================
2024-07-31T17:34:49.3377187Z Task         : Azure App Service deploy
2024-07-31T17:34:49.3377423Z Description  : Deploy to Azure App Service a web, mobile, or API app using Docker, Java, .NET, .NET Core, Node.js, PHP, Python, or Ruby
2024-07-31T17:34:49.3377752Z Version      : 4.243.3
2024-07-31T17:34:49.3377969Z Author       : Microsoft Corporation
2024-07-31T17:34:49.3378223Z Help         : https://aka.ms/azureappservicetroubleshooting
2024-07-31T17:34:49.3378469Z ==============================================================================
2024-07-31T17:34:50.4381539Z Got service connection details for Azure App Service:'xxxxxx-DEV-xx'
2024-07-31T17:34:52.6924550Z [command]D:\a\_tasks\AzureRmWebAppDeployment_497d490f-eea7-4f2b-ab94-48d9c1acdcb1\4.243.3\node_modules\azure-pipelines-tasks-webdeployment-common\7zip\7zip\7z.exe x -oD:\a\_temp\temp_web_package_5623783765915191 "D:\a\r1\a\xxxxxxx CI\drop\src\xxxxxxx\obj\Release\Package\xxxxx.zip"
2024-07-31T17:34:52.7174587Z 
2024-07-31T17:34:52.7176939Z 7-Zip 23.01 (x64) : Copyright (c) 1999-2023 Igor Pavlov : 2023-06-20
2024-07-31T17:34:52.7177856Z 
2024-07-31T17:34:52.7178860Z Scanning the drive for archives:
2024-07-31T17:34:52.7179596Z 1 file, 10469139 bytes (10224 KiB)
2024-07-31T17:34:52.7179958Z 
2024-07-31T17:34:52.7181192Z Extracting archive: D:\xxxxxx CI\drop\xxxxxxx.zip
2024-07-31T17:34:53.0939678Z --
2024-07-31T17:34:53.0942284Z Path = D:\a\xxxxxxx.zip
2024-07-31T17:34:53.0943312Z Type = zip
2024-07-31T17:34:53.0944159Z Physical Size = 10469139
2024-07-31T17:34:53.0944512Z 
2024-07-31T17:34:53.0945629Z Everything is Ok
2024-07-31T17:34:53.0958900Z 
2024-07-31T17:34:53.0960282Z Files: 121
2024-07-31T17:34:53.0961035Z Size:       34309470
2024-07-31T17:34:53.0961743Z Compressed: 10469139
2024-07-31T17:34:53.0962177Z 
2024-07-31T17:34:53.1069988Z ##[error]Error: Malicious entry: Content\D_C\a\xxx\ApplicationInsights.config
2024-07-31T17:34:54.4711512Z Successfully added release annotation to the Application Insight : xxxxx-DEV-xxx
2024-07-31T17:34:56.1854609Z Successfully updated deployment History at https://xxxxxxxx/api/deployments/3485191722447294471
2024-07-31T17:34:56.9127293Z App Service Application URL: https://xxxxx.net
2024-07-31T17:34:56.9341435Z ##[section]Finishing: Azure App Service Deploy: xxxxxxx-DEV-xx

Full task logs with system.debug enabled

UNSUCCESSFUL RUN
 [REPLACE THIS WITH YOUR INFORMATION] 
SUCCESSFUL RUN
 [REPLACE THIS WITH YOUR INFORMATION] 

Repro steps

This is a classic release

Activity

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

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions