Avisi cloud logo
Audit events

List audit events of an organisation.

GET
/api/v1/orgs/{organisationSlug}/audit-events

Path Parameters

organisationSlug
Required
string

Query Parameters

pageable
Required
object

Optional. When omitted: pageSize=50, pageNumber=0, sortDirection=ASC

curl -X GET "http://localhost:8090/api/v1/orgs/string/audit-events?pageable=%7B%0A++%22page%22%3A+0%2C%0A++%22size%22%3A+1%2C%0A++%22sort%22%3A+%5B%0A++++%22string%22%0A++%5D%0A%7D"

Request was successfully processed. The response body contains the requested data.

{
  "totalElements": 0,
  "totalPages": 0,
  "content": [
    {
      "createdAt": "2019-08-24T14:15:22Z",
      "type": "string",
      "referencedEntityIdentity": "string",
      "details": {
        "property1": {
          "new": {},
          "old": {}
        },
        "property2": {
          "new": {},
          "old": {}
        }
      },
      "customerId": 0,
      "customerSlug": "string",
      "actorId": 0,
      "actorUsername": "string",
      "environmentId": 0,
      "environmentSlug": "string",
      "clusterId": 0,
      "clusterSlug": "string",
      "clusterNodePoolId": 0,
      "clusterNodePoolName": "string",
      "cloudAccountName": "string"
    }
  ],
  "number": 0,
  "size": 0,
  "first": true,
  "last": true,
  "sort": [
    {
      "direction": "string",
      "nullHandling": "string",
      "ascending": true,
      "property": "string",
      "ignoreCase": true
    }
  ],
  "numberOfElements": 0,
  "pageable": {
    "offset": 0,
    "sort": [
      {
        "direction": "string",
        "nullHandling": "string",
        "ascending": true,
        "property": "string",
        "ignoreCase": true
      }
    ],
    "paged": true,
    "pageNumber": 0,
    "pageSize": 0,
    "unpaged": true
  },
  "empty": true
}