适用于Azure云服务的反恶意软件 [英] Antimalware for Azure Cloud Service

查看:73
本文介绍了适用于Azure云服务的反恶意软件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我了解可以通过以下方式为Azure VM启用反恶意软件:

I understand that there is way to enable Antimalware for Azure VM like below:

但是在创建Cloud Service时我看不到这样的选项.
在Azure云服务上运行一个辅助角色.该组织具有在计算机上安装反恶意软件的安全规则.
默认情况下,Cloud Service是否包含反恶意软件?

But I don't see such option when creating a Cloud Service.
There is a worker role running on Azure Cloud Service. The organization has a security rule of having Antimalware on the machines.
Does a Cloud Service by default contain antimalware?

推荐答案

我希望Microsoft能够更好地记录其内容.似乎AntiMalware扩展也可用于云服务,而不仅限于虚拟机.但这只能从此处的PowerShell参考文件中理解.还有另一种完全用于云服务扩展的资源.

I Wish Microsoft were better at documenting their stuff. It seems that AntiMalware extension is also avialable for Cloud Services, not only Virtual Machines. But this can only be understood from the PowerShell reference here. And another resource entirely for Extensions on Cloud Services.

可以在此处找到

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

这篇关于适用于Azure云服务的反恶意软件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆