audit

croit audit.
get /audit
Parameters
limit integer query
Limit number of results returned, max = 100, default = 50.
offset integer query
Offset for pagination, default = 0.
Responses
200 successful operation
AuditInfo array
AuditInfo object
[
  {
    "id": 0,
    "ip": "string",
    "body": "string",
    "time": 0,
    "method": "POST",
    "status": 0,
    "category": "string",
    "endpoint": "string",
    "username": "string",
    "operation": "string",
    "queryParams": "string"
  }
]
get /audit/{id}
Parameters
id integer path Required
Responses
200 successful operation
AuditInfo object
{
  "id": 0,
  "ip": "string",
  "body": "string",
  "time": 0,
  "method": "POST",
  "status": 0,
  "category": "string",
  "endpoint": "string",
  "username": "string",
  "operation": "string",
  "queryParams": "string"
}
post /audit/actions/fix-samba-ad-logs
Responses
200 successful operation
ManagedThreadTask object
A long-running task that goes on in the background after this task is completed. See tasks endpoints for details
{
  "id": 0,
  "done": true,
  "name": "string",
  "state": "WAITING",
  "object": "string",
  "output": "string",
  "result": {},
  "progress": {
    "total": 0,
    "complete": 0
  },
  "question": {
    "token": "string",
    "message": "string",
    "timeout": 0,
    "priority": "Standard",
    "timeLeft": 0,
    "defaultResponse": "string",
    "responseOptions": [
      "string"
    ]
  },
  "startedAt": 0,
  "startedBy": "string",
  "statusCode": 0,
  "interactive": true
}
post /audit/actions/fix-samba-simple-logs
Responses
200 successful operation
ManagedThreadTask object
A long-running task that goes on in the background after this task is completed. See tasks endpoints for details
{
  "id": 0,
  "done": true,
  "name": "string",
  "state": "WAITING",
  "object": "string",
  "output": "string",
  "result": {},
  "progress": {
    "total": 0,
    "complete": 0
  },
  "question": {
    "token": "string",
    "message": "string",
    "timeout": 0,
    "priority": "Standard",
    "timeLeft": 0,
    "defaultResponse": "string",
    "responseOptions": [
      "string"
    ]
  },
  "startedAt": 0,
  "startedBy": "string",
  "statusCode": 0,
  "interactive": true
}