Discovery Windows Server Webservice Computer IIS

Windows.Server.Webservice.BasicWatcher.Discovery.Windows.Server.Webservice.Computer.IIS (Discovery)

Description for the new discovery.

Element properties:

TargetMicrosoft.Windows.Computer
EnabledFalse
Frequency86400
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

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

Source Code:

<Discovery ID="Windows.Server.Webservice.BasicWatcher.Discovery.Windows.Server.Webservice.Computer.IIS" Target="Windows!Microsoft.Windows.Computer" Enabled="false" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Windows.Server.Webservice.BasicWatcher.Computer.IIS"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.FilteredRegistryDiscoveryProvider">
<ComputerName>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<RegistryAttributeDefinitions>
<RegistryAttributeDefinition>
<AttributeName>KeyExists</AttributeName>
<Path>System\CurrentControlSet\Services\IISAdmin</Path>
<PathType>0</PathType>
<AttributeType>0</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>KeyExists2</AttributeName>
<Path>SYSTEM\CurrentControlSet\Services\w3logsvc\Parameters</Path>
<PathType>0</PathType>
<AttributeType>0</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>WindowsVersion</AttributeName>
<Path>SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProductName</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>Description</AttributeName>
<Path>SYSTEM\CurrentControlSet\services\LanmanServer\Parameters\srvcomment</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>SvcMajorVersion</AttributeName>
<Path>SYSTEM\CurrentControlSet\Services\W3SVC\Parameters\MajorVersion</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>SvcMinorVersion</AttributeName>
<Path>SYSTEM\CurrentControlSet\Services\W3SVC\Parameters\MinorVersion</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>SvcUserName</AttributeName>
<Path>SYSTEM\CurrentControlSet\Services\W3SVC\ObjectName</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
</RegistryAttributeDefinitions>
<Frequency>86400</Frequency>
<ClassId>$MPElement[Name="Windows.Server.Webservice.BasicWatcher.Computer.IIS"]$</ClassId>
<InstanceSettings>
<Settings>
<Setting>
<Name>$MPElement[Name="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Name>
<Value>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="System!System.Entity"]/DisplayName$</Name>
<Value>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Windows.Server.Webservice.BasicWatcher.Computer"]/ComputerName$</Name>
<Value>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Windows.Server.Webservice.BasicWatcher.Computer"]/WindowsVersion$</Name>
<Value>$Data/Values/WindowsVersion$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Windows.Server.Webservice.BasicWatcher.Computer"]/Description$</Name>
<Value>$Data/Values/Description$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Windows.Server.Webservice.BasicWatcher.Computer"]/IP$</Name>
<Value>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/IPAddress$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Windows.Server.Webservice.BasicWatcher.Computer"]/OU$</Name>
<Value>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/OrganizationalUnit$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Windows.Server.Webservice.BasicWatcher.Computer"]/SvcUserName$</Name>
<Value>$Data/Values/SvcUserName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Windows.Server.Webservice.BasicWatcher.Computer.IIS"]/SvcMajorVersion$</Name>
<Value>$Data/Values/SvcMajorVersion$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Windows.Server.Webservice.BasicWatcher.Computer.IIS"]/SvcMinorVersion$</Name>
<Value>$Data/Values/SvcMinorVersion$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Windows.Server.Webservice.BasicWatcher.Computer.IIS"]/SvcVersionCombined$</Name>
<Value>$Data/Values/SvcMajorVersion$.$Data/Values/SvcMinorVersion$</Value>
</Setting>
</Settings>
</InstanceSettings>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>Values/KeyExists</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>true</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>Values/KeyExists2</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>true</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
</DataSource>
</Discovery>