host(String[1])
— Hostname/IP of the WSUS SQL Server database.
port(Optional[Integer])
— Port to connect to the database on. Default = 1433
database(Optional[String[1]])
— Name of the WSUS database. Default = SUSDB
username(String[1])
— Username for authentication to the database.
password(String[1])
— Password for authentication to the database.
format(Optional[Enum['targets', 'groups']])
— Determine the output format to return. 'targets' will return a list of targets (default). 'groups' will return a list of groups, each group having a list of targets that are members of that group in WSUS. The name of the groups returned will be the group names in WSUS.
groups(Optional[Array[String[1]]])
— Return only groups/targets that are a member of these WSUS group(s).
filter_older_than_days(Optional[Integer])
— Filters out hosts that haven't reported in within the last N days. This uses the LastReportedStatusTime property on the ComputerTarget object to compare against.
ignore_dns_hostnames(Optional[Array[String[1]]])
— Array of computer DNS Hostnames to ignore. These hosts will be excluded from the results
group_name_prefix(Optional[String[1]])
— Prefix that will be added to all group names in the output (helps to make the groups unique)