Skip to main content
Skip table of contents

audit-events/count

The total number of system events that the policy console is tracking.

GET

Returns a total count of all the system events (policy configuration and app-securing) that the policy console is tracking. Optionally, you can also count system events of a specific type.

Parameters

ParameterDescription
type

Optional. The type of events to count.

  • 2: Policy configuration system events.
  • 3: App securing system events.
  • 4: SmartLink configuration download events.
  • 5: App upload events.

Example requests

Return a total count of all the system events that the policy console is tracking:

Request

CODE
curl -b c.txt -c c.txt -X GET https://bc.qwe.com/mocana-app-control/rest/audit-events/count


Response

CODE
{
  "audit_events": {"events_total": 655},
  "message": "",
  "status": "OK"
} 

Return a total count of all the app upload system events that the policy console is tracking:

Request

CODE
curl -b c.txt -c c.txt -X GET https://bc.qwe.com/mocana-app-control/rest/audit-events/count?type=5

Response

CODE
{
  "audit_events": {"events_total": 15},
  "message": "",
  "status": "OK"
} 
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.