List data-minimized Access audit events

POST
/v1/access/audit/list

Authorization

BearerAuth
AuthorizationBearer <token>

Bearer credential resolved to an opaque authenticated Principal by the Server deployment.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/access/audit/list" \  -H "Content-Type: application/json" \  -d '{    "resource": {      "type": "server",      "deployment_id": "string"    }  }'
{  "items": [    {      "cursor": 1,      "event_id": "string",      "occurred_at": "2019-08-24T14:15:22Z",      "request_id": "string",      "transport": "string",      "operation": "string",      "principal": {        "type": "user",        "id": "string",        "description": "string"      },      "actor": {        "type": "user",        "id": "string",        "description": "string"      },      "action": "server.observe",      "resource": {        "type": "server",        "deployment_id": "string"      },      "allowed": true,      "reason_code": "string",      "policy_revision": "string",      "matched_subject": {        "type": "user",        "id": "string",        "description": "string"      },      "binding_id": "string",      "target": {        "type": "user",        "id": "string",        "description": "string"      },      "role": "handoff.viewer",      "expected_version": 1,      "result_version": 1    }  ],  "next_cursor": "string"}