Skip to main content
Skip table of contents

audit-events/page/{page}

System events that the policy console tracks. 

GET

Returns pages of details for system events that the policy console tracks. Optionally, you can also filter for system events of a specific type. The valid types of events are changes to the policy configuration for an app or the securing of an app. You can also limit the number of events to display on a page or specify which event to start displaying on a page.

Parameters

ParameterDescription
page

Required. The page number to start displaying events.

Valid values: positive integers. Default: 1

type

Optional. The type of event for the policy console to report.

Valid values: 2, 3. Default: 0

  • 2: Events that involve changes to the policy configuration for an app.
  • 3: Events that involve securing an app.
  • 4: SmartLink configuration download events.
  • 5: Events that involve uploading an app.
limit

Optional. Maximum number of events to display on a page.

Valid value: integer. Default: 10

Example request

This request returns all policy configuration events starting from page 2 and it sets a limit of 4 events displayed per page.

Request

CODE
curl -b c.txt -c c.txt -X GET https://bc.qwe.com/mocana-app-control/rest/audit-events/page/2?type=2&limit=4

Response

CODE
{
  "audit_events": {
    "events_limit": 4,
    "events_list": [
      {
        "action": "Updated [OPT_CODE_OSX_SIGNING_HOSTNAME] parameter. New value: 10.42.32.153",
        "addr": "10.42.18.8",
        "date": "2017-05-19 17:07:06.0",
        "event_id": "070a54a2-e5d9-4878-8a98-0af2376de0ae",
        "info_url": "https://bc.qwe.com/mocana-app-control/rest/audit-events/070a54a2-e5d9-4878-8a98-0af2376de0ae",
        "type": 2,
        "user": ""
      },
      {
        "action": "Updated [OPT_CODE_IOS_CERT_ID] parameter. New value: iPhone Distribution",
        "addr": "10.42.18.8",
        "date": "2017-05-19 17:07:06.0",
        "event_id": "0c8f526b-6acb-4012-95ee-7ce4aede5a29",
        "info_url": "https://bc.qwe.com/mocana-app-control/rest/audit-events/0c8f526b-6acb-4012-95ee-7ce4aede5a29",
        "type": 2,
        "user": ""
      },
      {
        "action": "Updated [OPT_CODE_IOS_APPEND_VERSION_INFO] parameter. New value: 1",
        "addr": "10.42.18.8",
        "date": "2017-05-19 17:07:06.0",
        "event_id": "1ce86a2d-2645-4ba5-b3c0-ccf087bf78fb",
        "info_url": "https://bc.qwe.com/mocana-app-control/rest/audit-events/1ce86a2d-2645-4ba5-b3c0-ccf087bf78fb",
        "type": 2,
        "user": ""
      },
      {
        "action": "Updated [OPT_CODE_OSX_SIGNING_AUTH_TYPE] parameter. New value: password",
        "addr": "10.42.18.8",
        "date": "2017-05-19 17:07:06.0",
        "event_id": "464ff249-a842-4ab2-8389-cd3d9371ae2f",
        "info_url": "https://bc.qwe.com/mocana-app-control/rest/audit-events/464ff249-a842-4ab2-8389-cd3d9371ae2f",
        "type": 2,
        "user": ""
      }
    ],
    "events_total": 234
  },
  "message": "",
  "status": "OK"
}
JavaScript errors detected

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

If this problem persists, please contact our support.