Logs
Was this helpful?
Was this helpful?
Retrieves a list of all system logs
Must be set to 'true' to retrieve the list
GET /v1/auth/ratls/logs/ HTTP/1.1
Host: localhost:8200
Accept: */*
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
Unique workload identifier (UUID)
Must be set to 'true' to retrieve the list
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
Unique workload identifier (UUID)
Log creation time (RFC3339Nano format)
Attestation nonce value
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
Unique workload identifier (UUID)
Log creation time (RFC3339Nano format)
Attestation nonce value
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
}