HGS Server Discovery

Microsoft.Windows.GuardedFabric.10.0.Discovery.ComputerRole.HgsServer (Discovery)

Script based discovery for HGS Servers.

Knowledge Base article:

Summary

Powershell based discovery script for machines in the HGS Server role.

Element properties:

TargetMicrosoft.Windows.Computer
EnabledTrue
Frequency28800
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DiscoveryDS DataSource Microsoft.Windows.GuardedFabric.10.0.DataSource.DiscoverHgsServer Default

Source Code:

<Discovery ID="Microsoft.Windows.GuardedFabric.10.0.Discovery.ComputerRole.HgsServer" Target="Windows!Microsoft.Windows.Computer" Enabled="true" ConfirmDelivery="false" Remotable="false" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.Windows.GuardedFabric.10.0.ComputerRole.HgsServer">
<Property TypeID="Microsoft.Windows.GuardedFabric.10.0.ComputerRole.HgsServer" PropertyID="ClusterName"/>
<Property TypeID="Microsoft.Windows.GuardedFabric.10.0.ComputerRole.HgsServer" PropertyID="AttestationOperationMode"/>
<Property TypeID="Microsoft.Windows.GuardedFabric.10.0.ComputerRole.HgsServer" PropertyID="AttestationURL"/>
<Property TypeID="Microsoft.Windows.GuardedFabric.10.0.ComputerRole.HgsServer" PropertyID="KeyProtectionURL"/>
<Property TypeID="Windows!Microsoft.Windows.Computer" PropertyID="PrincipalName"/>
<Property TypeID="System!System.Entity" PropertyID="DisplayName"/>
</DiscoveryClass>
<DiscoveryClass TypeID="Microsoft.Windows.GuardedFabric.10.0.ComputerRole">
<!--<Property TypeID="HGSCL!Microsoft.Windows.GuardedFabric.Library.ComputerRole" PropertyID="ComputerName"/>-->
<Property TypeID="Windows!Microsoft.Windows.Computer" PropertyID="PrincipalName"/>
<Property TypeID="System!System.Entity" PropertyID="DisplayName"/>
</DiscoveryClass>
</DiscoveryTypes>
<DataSource ID="DiscoveryDS" TypeID="Microsoft.Windows.GuardedFabric.10.0.DataSource.DiscoverHgsServer">
<IntervalSeconds>28800</IntervalSeconds>
<TimeoutSeconds>600</TimeoutSeconds>
<ComputerPrincipalName>$Target/Property[Type='Windows!Microsoft.Windows.Computer']/PrincipalName$</ComputerPrincipalName>
</DataSource>
</Discovery>