Nitride
HomeDocumentationTutorials
  • Nitride
  • Documentation
    • What is Nitride?
    • Use Cases
    • Setup
      • Install Nitride
      • Configure
    • Get Started
      • Attesting a MariaDB database with Cloud-Init
    • Concepts
      • Attestation
        • AMD SEV PKI
        • Intel TDX PKI
      • enclaivelet
    • Supported Technologies
  • Tutorials
    • Create identities and policies
    • Attesting a buckypaper VM
  • Developers
    • API
      • Overview
      • Identities
      • Policies
      • Totp
      • Attestations
      • Logs
      • Config
      • Annotations
  • CLI
    • Enable Auth
    • Register Identities
    • Create Policy
    • Create Attestation
    • Enable Namespacing
  • Resources
    • Blog
    • GitHub
    • Youtube
    • CCx101
Powered by GitBook
On this page

Was this helpful?

  1. Developers
  2. API

Logs

Last updated 7 months ago

Was this helpful?

List logs

get
Query parameters
liststring · enumRequired

Must be set to true

Possible values:
Responses
200
OK
application/json
get
GET /v1/auth/ratls/logs/?list=true HTTP/1.1
Host: 
Accept: */*
200

OK

{
  "auth": {},
  "data": {
    "keys": [
      {}
    ]
  }
}

List logs for workload

get
Path parameters
workloadstringRequired

UUID of the workload

Query parameters
liststring · enumRequired

Must be set to true

Possible values:
Responses
200
OK
application/json
get
GET /v1/auth/ratls/logs/{workload}/?list=true HTTP/1.1
Host: 
Accept: */*
200

OK

{
  "auth": {},
  "data": {
    "keys": [
      {}
    ]
  }
}

Read logs

get
Path parameters
noncestringRequired

Noce for the attestation

timestringRequired

Time the log was created, as RFC3339Nano

workloadstringRequired

UUID of the workload

Responses
200
OK
application/json
get
GET /v1/auth/ratls/logs/{workload}/{time}_{nonce} HTTP/1.1
Host: 
Accept: */*
200

OK

{
  "auth": {},
  "data": {
    "nonce": "text",
    "request": {},
    "response": {},
    "time": "text",
    "workload": "text"
  }
}

Delete logs

delete
Path parameters
noncestringRequired

Noce for the attestation

timestringRequired

Time the log was created, as RFC3339Nano

workloadstringRequired

UUID of the workload

Responses
200
OK
delete
DELETE /v1/auth/ratls/logs/{workload}/{time}_{nonce} HTTP/1.1
Host: 
Accept: */*
200

OK

No content

  • GETList logs
  • GETList logs for workload
  • GETRead logs
  • DELETEDelete logs