Detección de inicialización Nano del servidor web de IIS 10

Microsoft.Windows.InternetInformationServices.10.0.WebServerNanoSeed.Discovery.Rule (Discovery)

Esta regla se ejecuta en cada servidor web de IIS 10 y detecta un objeto de inicialización, que indica que el servidor web se está ejecutando en la edición de sistema operativo Windows Nano.

Knowledge Base article:

Resumen

Esta regla se ejecuta en todos los servidores web de IIS 10 y detecta si se ejecuta en Windows Server Nano.

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.10.0.WebServer
EnabledTrue
Frequency14400
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:
Discovered relationships and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DiscoveryDataSource DataSource Microsoft.Windows.FilteredRegistryDiscoveryProvider Default

Source Code:

<Discovery ID="Microsoft.Windows.InternetInformationServices.10.0.WebServerNanoSeed.Discovery.Rule" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.10.0.WebServer" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.Windows.InternetInformationServices.10.0.WebServer.NanoSeed"/>
<DiscoveryRelationship TypeID="Microsoft.Windows.InternetInformationServices.10.0.WebServer.Hosts.Microsoft.Windows.InternetInformationServices.10.0.WebServer.NanoSeed"/>
</DiscoveryTypes>
<DataSource ID="DiscoveryDataSource" TypeID="Windows!Microsoft.Windows.FilteredRegistryDiscoveryProvider">
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<RegistryAttributeDefinitions>
<RegistryAttributeDefinition>
<AttributeName>SERVER_VERSION_IS_NANO</AttributeName>
<Path>SOFTWARE\Microsoft\Windows NT\CurrentVersion\Server\ServerLevels\NanoServer</Path>
<PathType>1</PathType>
<AttributeType>2</AttributeType>
</RegistryAttributeDefinition>
</RegistryAttributeDefinitions>
<Frequency>14400</Frequency>
<ClassId>$MPElement[Name="Microsoft.Windows.InternetInformationServices.10.0.WebServer.NanoSeed"]$</ClassId>
<InstanceSettings>
<Settings>
<Setting>
<Name>$MPElement[Name="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Name>
<Value>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="System!System.Entity"]/DisplayName$</Name>
<Value>IIS Web Server Nano Seed</Value>
</Setting>
</Settings>
</InstanceSettings>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>Values/SERVER_VERSION_IS_NANO</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>1</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</DataSource>
</Discovery>