gpt4 book ai didi

linux - Azure Function,消费计划,Linux,缓解 "FTPS should be required"

转载 作者:行者123 更新时间:2023-12-03 02:21:08 27 4
gpt4 key购买 nike

根据 Azure 文档 github 问题 ( https://github.com/MicrosoftDocs/azure-docs/issues/75652 ) 中的 Azure 支持响应,Linux 上的消费层 Azure Functions 不支持“常规设置”选项卡

[I]t is by design that "General Setting" tab is not available forLinux Consumption function app.

此外,它们根本不支持 FTP 或 FTPS 连接

When using the Consumption hosting plan, your function code andbinding configuration files are stored in Azure File storage in themain storage account, not persistent file server. Actually it is noteven possible to FTP to it. You will see /home folder is empty.

最后,Azure Advisor“高影响”安全建议指出

FTPS should be required in your function app

鉴于无法在门户中更改它,您如何减轻建议?

最佳答案

我使用了稍微不同的方法,并按名称和资源组更新了 FTPS 设置。如果您手边没有应用程序 ID,这会很方便。尽管这听起来是一个相当良性的发现,但我选择手动缓解它。这是我使用的调用。

az functionapp config set --ftps-state FtpsOnly --name <appname>  --resource-group <resource-group>

关于linux - Azure Function,消费计划,Linux,缓解 "FTPS should be required",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/68954367/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com