performSearch
public static DataResult performSearch(java.lang.String searchString,
java.lang.String whereToSearch,
java.util.Date startDate,
java.util.Date endDate,
java.lang.String ruleResult,
boolean returnTestResults,
RequestContext context)
throws java.net.MalformedURLException,
redstone.xmlrpc.XmlRpcException,
redstone.xmlrpc.XmlRpcFault
Perform search over XCCDF
- Parameters:
searchString - A string to search within xccdf:Rules
whereToSearch - Where to search for scans, either ssm or all machines
startDate - search scans performed after startDate (null to omit)
endDate - search scans performed before endDate (null to omit)
ruleResult - search rules with given ruleresult label (null to omit)
returnTestResults - return results as list of TestResult (true),
or RuleResults (false)
context - A context of current request
- Returns:
- a list of xccdf:rule-results
- Throws:
java.net.MalformedURLException - possibly bad configuration for search server address
redstone.xmlrpc.XmlRpcException - in the case of a serialization failure
redstone.xmlrpc.XmlRpcFault - bad communication with search server