Specifications
B-20
Cisco NAC Appliance - Clean Access Manager Configuration Guide
OL-28003-01
Appendix B API Support
Report Operations
timeRange timeFrom, timeTo
• timeFrom can be one of the following values:
–
timestamp (format: yyyy-mm-dd hh:mm:ss)
–
negative integer representing the number of
hours before now
–
past
• timeTo can be one of the following values:
–
timestamp (format: yyyy-mm-dd hh:mm:ss)
–
negative integer representing the number of
hours before now
–
now
–
-48, -24 (the day before last)
–
-24, now (within last day)
–
2007-01-01 00:00:00, 2007-02-28 23:59:59
(Between Jan 1st and Feb 28th)
Default: past, now (any time: all possible reports)
Reports information collected within the
specified time range.
showText One of the following values:
• true— Returns the text.
• false—Does not return the text. (default)
Indicates whether or not to return the report
text.
orderBy One of the following values:
• user
• ip
• mac
• os
• time (default)
Specifies the report organization.
orderDir One of the following values:
• asc—Indicates ascending order. (default)
• desc—Indicates descending order.
Specifies ascending or descending order for
the data.
instSoft One of the following values:
• Empty single quotes (‘’) indicates “any” (default)
• AV—Indicates AntiVirus installed
• AS—Indicates AntiSpyware installed
• UNKNOWN AV/AS—Indicates an unknown AV/AS
Restricts to reports containing this type of
installed software.
Table B-1 Query Parameters for the getreports function (continued)
Parameter Name Allowed Values Description