Logs

List all logs

get

Retrieves a list of all system logs

Query parameters
liststring · enumRequired

Must be set to 'true' to retrieve the list

Possible values:
Responses
200
Log list retrieved successfully
application/json
get
GET /v1/auth/ratls/logs/ HTTP/1.1
Host: localhost:8200
Accept: */*
200

Log list retrieved successfully

{
  "request_id": "text",
  "lease_id": "text",
  "renewable": true,
  "lease_duration": 1,
  "data": {
    "keys": [
      "text"
    ]
  },
  "wrap_info": null,
  "warnings": null,
  "auth": null
}

List logs by workload

get

Retrieves logs for a specific workload

Path parameters
workloadstring · uuidRequired

Unique workload identifier (UUID)

Query parameters
liststring · enumRequired

Must be set to 'true' to retrieve the list

Possible values:
Responses
200
Workload logs retrieved successfully
application/json
get
GET /v1/auth/ratls/logs/{workload}/ HTTP/1.1
Host: localhost:8200
Accept: */*
{
  "request_id": "text",
  "lease_id": "text",
  "renewable": true,
  "lease_duration": 1,
  "data": {
    "keys": [
      "text"
    ]
  },
  "wrap_info": null,
  "warnings": null,
  "auth": null
}

Get log entry details

get

Retrieves detailed information about a specific log entry

Path parameters
workloadstring · uuidRequired

Unique workload identifier (UUID)

timestring · date-timeRequired

Log creation time (RFC3339Nano format)

noncestringRequired

Attestation nonce value

Responses
200
Log entry retrieved successfully
application/json
get
GET /v1/auth/ratls/logs/{workload}/{time}_{nonce} HTTP/1.1
Host: localhost:8200
Accept: */*
{
  "auth": {},
  "data": {
    "nonce": "text",
    "request": {},
    "response": {},
    "time": "text",
    "workload": "text"
  }
}

Delete log entry

delete

Removes a specific log entry

Path parameters
workloadstring · uuidRequired

Unique workload identifier (UUID)

timestring · date-timeRequired

Log creation time (RFC3339Nano format)

noncestringRequired

Attestation nonce value

Responses
200
Log entry deleted successfully
application/json
delete
DELETE /v1/auth/ratls/logs/{workload}/{time}_{nonce} HTTP/1.1
Host: localhost:8200
Accept: */*
{
  "request_id": "text",
  "lease_id": "text",
  "renewable": true,
  "lease_duration": 1,
  "data": {},
  "wrap_info": null,
  "warnings": null,
  "auth": null
}

Was this helpful?