You can preset CA User Activity Reporting Module filters for your query or report in XML format when you authenticate using the certificate name and certificate password mechanism. An access filterXML passed in a login call is applied to all the queries and reports run in that session. If you pass a filterXML in the query or report after logging in with an access filterXML, CA User Activity Reporting Module applies both the filters to retrieve results.
The access filter XML elements are similar to the filter XML elements.
Access Filter XML Specification Example Without a Filter XML
This example shows a getQueryViewer call with an access filter XML statement. The filter terms are shown expanded for clarity.
https://ELMSERVER:5250/spin/calmapi/getObject.csp?type=getQueryViewer&objectId=Subscription/panels/System_Event_Count_by_Event_Source&certname=test&password=test&accessFilterXml=<AccessScope><Filter logic="" lparens="0" col="event_logname"oper="LIKE" val="CALM" rparens="0"/></AccessScope>
"&accessFilterXml=" specifies that an access filter statement follows.
Access Filter XML Specification Example With a Filter XML
This example shows a objectId call with a filter and access filter XML statements.
https://ELMSERVER:5250/spin/calmapi/runQuery.csp?objectId=Subscription/panels/System_Event_Count_by_Event_Source&filterXml=<Scope><Filter logic="" lparens="1" col="event_logname" oper="INSET" val="'CALM','Unix'" rparens="1"/></Scope>&certname=test&password=test&accessFilterXml=<AccessScope><Filter logic="" lparens="1" col="event_logname" oper="LIKE" val="CALM" rparens="1"/></AccessScope>
"&filterXml=" specifies that a filter statement follows.
"&accessFilterXml=" specifies that an access filter statement follows.
Copyright © 2013 CA.
All rights reserved.
|
|