Logs
Retrieves a list of all system logs
Query parameters
liststring · enumRequiredPossible values:
Must be set to 'true' to retrieve the list
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
}
Retrieves logs for a specific workload
Path parameters
workloadstring · uuidRequired
Unique workload identifier (UUID)
Query parameters
liststring · enumRequiredPossible values:
Must be set to 'true' to retrieve the list
Responses
200
Workload logs retrieved successfully
application/json
400
Workload not found
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
}
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
400
Log entry not found
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"
}
}
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
400
Log entry not found
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?