简体   繁体   English

Azure Cloud Service的反恶意软件

[英]Antimalware for Azure Cloud Service

I understand that there is way to enable Antimalware for Azure VM like below: 我知道有办法为Azure VM启用反恶意软件,如下所示:

反恶意软件

But I don't see such option when creating a Cloud Service. 但是在创建Cloud Service时我没有看到这样的选项。
There is a worker role running on Azure Cloud Service. Azure Cloud Service上运行了一个辅助角色。 The organization has a security rule of having Antimalware on the machines. 组织有一个安全规则,即在计算机上安装反恶意软件。
Does a Cloud Service by default contain antimalware? 默认情况下,Cloud Service是否包含反恶意软件?

I Wish Microsoft were better at documenting their stuff. 我希望微软能够更好地记录他们的东西。 It seems that AntiMalware extension is also avialable for Cloud Services, not only Virtual Machines. 似乎AntiMalware扩展也可用于云服务,而不仅仅是虚拟机。 But this can only be understood from the PowerShell reference here . 但这只能通过PowerShell参考来理解。 And another resource entirely for Extensions on Cloud Services . 另一种资源完全适用于云服务扩展

A valid and working PowerShell Script can be found here : 可以在此处找到有效且有效的PowerShell脚本:

Add-AzureAccount
# use Select-AzureSubscription in case your account has more than one 
Select-AzureSubscription -SubscriptionName 'PUT HERE YOUR SUBSCRIPTION'
[System.Xml.XmlDocument] $XmlConfig = New-Object System.Xml.XmlDocument 
# load the Antimalware extension configuration from external XML file
# The content of the XML needs to be:
# <AntimalwareConfig><AntimalwareEnabled>true</AntimalwareEnabled></AntimalwareConfig>
# ref.: http://msdn.microsoft.com/en-US/library/azure/dn771718
$XmlConfig.load('D:\tmp\AntiMalware.config')
Set-AzureServiceAntimalwareExtension -ServiceName "PUT HERE THE CLOUD SERVICE NAME" -AntimalwareConfiguration $XmlConfig

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM