IIS 8 FTP Site Discovery

Microsoft.Windows.InternetInformationServices.6.2.DiscoverAllFTPSites (Discovery)

This rule runs on every IIS 8 FTP server and discovers FTP sites.

Knowledge Base article:

Summary

This rule runs on every IIS 8 FTP server and discovers FTP sites.

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.6.2.FTPServer
EnabledTrue
Frequency14400
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:
  • Microsoft.Windows.InternetInformationServices.6.2.FTPSite
    • SiteID
    • Description
    • ServerBindings
    • SecureBindings
    • AllowAnonymous
    • AnonymousOnly
    • AnonymousUsername
    • LogFileDirectory
    • Path
    • ConnectionTimeout
    • MaxConnections
    • LogType
    • URL
    • LogFileType
    • LogFilePattern
    • LoggingEnabled
    • PerfCounterInstance
    • ID

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.Server.IIS.IISFTPSiteDiscoveryDataSource.8 Default

Source Code:

<Discovery ID="Microsoft.Windows.InternetInformationServices.6.2.DiscoverAllFTPSites" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.6.2.FTPServer" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.Windows.InternetInformationServices.6.2.FTPSite">
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.FTPSite" PropertyID="SiteID"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.FTPSite" PropertyID="Description"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.FTPSite" PropertyID="ServerBindings"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.FTPSite" PropertyID="SecureBindings"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.FTPSite" PropertyID="AllowAnonymous"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.FTPSite" PropertyID="AnonymousOnly"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.FTPSite" PropertyID="AnonymousUsername"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.FTPSite" PropertyID="LogFileDirectory"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.FTPSite" PropertyID="Path"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.FTPSite" PropertyID="ConnectionTimeout"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.FTPSite" PropertyID="MaxConnections"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.FTPSite" PropertyID="LogType"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.FTPSite" PropertyID="URL"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.FTPSite" PropertyID="LogFileType"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.FTPSite" PropertyID="LogFilePattern"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.FTPSite" PropertyID="LoggingEnabled"/>
<Property TypeID="IISCommon!Microsoft.Windows.InternetInformationServices.FTPSite" PropertyID="PerfCounterInstance"/>
<Property TypeID="Microsoft.Windows.InternetInformationServices.6.2.FTPSite" PropertyID="ID"/>
</DiscoveryClass>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Microsoft.Windows.Server.IIS.IISFTPSiteDiscoveryDataSource.8">
<PeriodInSeconds>14400</PeriodInSeconds>
<DiscoverySourceType>0</DiscoverySourceType>
<DiscoverySourceObjectId>$MPElement$</DiscoverySourceObjectId>
<DiscoverySourceManagedEntityId>$Target/Id$</DiscoverySourceManagedEntityId>
<ComputerPrincipalName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerPrincipalName>
<LowerDiscoveryPercentage>0</LowerDiscoveryPercentage>
<UpperDiscoveryPercentage>100</UpperDiscoveryPercentage>
</DataSource>
</Discovery>