Zudoku
Unikraft Cloud Platform API

Audit

Server

Audit events attribute state changes to the operation that caused them. Events are emitted to the controller's configured log sinks and are not stored or queryable here; this API subscribes to them live.


Subscribe to Audit Events

GET
https://api.sfo.unikraft.cloud
/v1/audit

Subscribe to audit events as they are raised.

Subscribe to Audit Events › query Parameters

Deliver only these event types.

Enum values:
vm.state_change
vm.start_failed
uuid
​string[]

Deliver only events about these object UUIDs.

tags
​string[]

Deliver only events about objects carrying all of these tags.

Subscribe to Audit Events › Responses

The audit event stream.

The default response rather than 200 because that is what marks an operation as streaming: a status-coded response describes one body, this describes every message on an open connection.

One audit event.
type
​string · enum · required

The type of event.

Enum values:
vm.state_change
vm.start_failed
timestamp
​string · date-time · required

When the event was raised.

​object · required

The object the event is about.

​object

The operation the event belongs to.

​object

The event payload. Its fields depend on type.