This documentation supports the 21.3 (12.3) version of BMC Discovery.

model.findPackages


model.findPackages(node, regexes)

Traverses from the node, which must be a Host or a directly discovered data node, and returns a set of all Package nodes that have names matching the provided list of regular expressions.This is commonly required when versioning products based on installed packages. Returns an empty set if the node was not of a suitable kind, or no matching packages were found.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*