@octelium/cordium-agent 0.17.1 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apis/cordium.json +1 -1
- package/dist/agent/pi/mapper.js.map +1 -1
- package/dist/agent/tools/api.d.ts +1 -1
- package/dist/agent/tools/api.js +1 -1
- package/dist/agent/tools/api.js.map +1 -1
- package/dist/agent/tools/present.d.ts +1 -1
- package/dist/agent/tools/present.js +1 -1
- package/dist/agent/tools/present.js.map +1 -1
- package/dist/agent/tools/transfer.d.ts +1 -1
- package/dist/agent/tools/transfer.js +1 -1
- package/dist/agent/tools/transfer.js.map +1 -1
- package/dist/agent/tools/util.js +8 -1
- package/dist/agent/tools/util.js.map +1 -1
- package/dist/agent/tools/web.d.ts +1 -1
- package/dist/agent/tools/web.js +1 -1
- package/dist/agent/tools/web.js.map +1 -1
- package/dist/agent/tools/workspaces.d.ts +1 -1
- package/dist/agent/tools/workspaces.js +1 -1
- package/dist/agent/tools/workspaces.js.map +1 -1
- package/dist/api/catalog.js.map +1 -1
- package/dist/api/client.js.map +1 -1
- package/dist/app.js.map +1 -1
- package/dist/cli.js.map +1 -1
- package/dist/config.js.map +1 -1
- package/dist/server/http.js +5 -2
- package/dist/server/http.js.map +1 -1
- package/dist/store/conversations.js +29 -7
- package/dist/store/conversations.js.map +1 -1
- package/dist/store/files.js +17 -5
- package/dist/store/files.js.map +1 -1
- package/dist/version.js.map +1 -1
- package/package.json +16 -15
package/apis/cordium.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"$schema":"https://json-schema.org/draft/2020-12/schema","typePrefix":"octelium.api.main.","services":{"octelium.api.main.cordium.v1.MainService":{"description":"MainService is the primary Cordium API that is used by the Users (i.e. via\nthe `cordium` CLI, the web portal and the SDKs) to manage their Spaces,\nTemplates, Workspaces, Memberships, Secrets, UserSecrets, GitProviders and\ntheir UserConfig. Every method is executed on behalf of the authenticated\nOctelium User and is authorized against that User's ownership of the\nresource and/or their Membership role in the resource's Space.","methods":{"CreateSecret":{"description":"CreateSecret creates a Secret inside a Space. The caller must be at least\nan ADMIN Member of the Space. The Secret data is never returned back by\nthe Cluster once the Secret is created.","input":"octelium.api.main.cordium.v1.Secret","output":"octelium.api.main.cordium.v1.Secret","kind":"unary"},"ListSecret":{"description":"ListSecret lists the Secrets of a Space. The Secrets' data is not\nincluded in the response.","input":"octelium.api.main.cordium.v1.ListSecretOptions","output":"octelium.api.main.cordium.v1.SecretList","kind":"unary"},"DeleteSecret":{"description":"DeleteSecret deletes a Secret. The caller must be at least an ADMIN Member\nof the Secret's Space.","input":"octelium.api.main.meta.v1.DeleteOptions","output":"octelium.api.main.meta.v1.OperationResult","kind":"unary"},"GetSecret":{"description":"GetSecret retrieves a specific Secret. The Secret data is not included in\nthe response.","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.cordium.v1.Secret","kind":"unary"},"CreateTemplate":{"description":"CreateTemplate creates a Template inside a Space. The caller must be at\nleast an ADMIN Member of the Space.","input":"octelium.api.main.cordium.v1.Template","output":"octelium.api.main.cordium.v1.Template","kind":"unary"},"UpdateTemplate":{"description":"UpdateTemplate updates a Template. The caller must be at least an ADMIN\nMember of the Template's Space.","input":"octelium.api.main.cordium.v1.Template","output":"octelium.api.main.cordium.v1.Template","kind":"unary"},"DeleteTemplate":{"description":"DeleteTemplate deletes a Template. The default Template of a Space cannot\nbe deleted.","input":"octelium.api.main.meta.v1.DeleteOptions","output":"octelium.api.main.meta.v1.OperationResult","kind":"unary"},"BuildTemplate":{"description":"BuildTemplate starts a pre-build for a Template. A pre-build runs a\nhidden build Workspace whose storage is snapshotted once it successfully\ncompletes so that the subsequent Workspaces of the Template can be\nrestored from that snapshot instead of being initialized from scratch. A\nTemplate can only have one running pre-build at a time. Starting a new\npre-build cancels the currently running one, if any.","input":"octelium.api.main.cordium.v1.BuildTemplateRequest","output":"octelium.api.main.cordium.v1.Template","kind":"unary"},"CancelBuildTemplate":{"description":"CancelBuildTemplate cancels the currently running pre-build of a Template,\nif any, and returns the updated Template.","input":"octelium.api.main.cordium.v1.CancelBuildTemplateRequest","output":"octelium.api.main.cordium.v1.Template","kind":"unary"},"CreateSpace":{"description":"CreateSpace creates a Space owned by the User. Whether a User is allowed\nto own a Space is controlled by the Space ownership rules of the\nClusterConfig. A default Membership and a default Template are\nautomatically created along with the Space.","input":"octelium.api.main.cordium.v1.Space","output":"octelium.api.main.cordium.v1.Space","kind":"unary"},"UpdateSpace":{"description":"UpdateSpace updates a Space. The caller must be the Space creator or an\nOWNER Member of the Space.","input":"octelium.api.main.cordium.v1.Space","output":"octelium.api.main.cordium.v1.Space","kind":"unary"},"DeleteSpace":{"description":"DeleteSpace deletes a Space as well as all of its Memberships, Templates,\nSecrets and GitProviders.","input":"octelium.api.main.meta.v1.DeleteOptions","output":"octelium.api.main.meta.v1.OperationResult","kind":"unary"},"CreateMembership":{"description":"CreateMembership adds a User as a Member to a Space. The caller must be at\nleast an ADMIN Member of the Space. Members can currently only be added to\nORGANIZATION Spaces.","input":"octelium.api.main.cordium.v1.CreateMembershipRequest","output":"octelium.api.main.cordium.v1.Membership","kind":"unary"},"DeleteMembership":{"description":"DeleteMembership removes a Member from a Space. The caller must be at\nleast an ADMIN Member of the Space. Space creators cannot be removed.","input":"octelium.api.main.meta.v1.DeleteOptions","output":"octelium.api.main.meta.v1.OperationResult","kind":"unary"},"GetSpaceMembership":{"description":"GetSpaceMembership retrieves the Membership of the calling User in a\nspecific Space.","input":"octelium.api.main.cordium.v1.GetSpaceMembershipRequest","output":"octelium.api.main.cordium.v1.Membership","kind":"unary"},"UpdateMembership":{"description":"UpdateMembership updates a Membership (i.e. its Role). The caller must be\nat least an ADMIN Member of the Space. Setting a Role to OWNER\nadditionally requires the caller to be an OWNER.","input":"octelium.api.main.cordium.v1.Membership","output":"octelium.api.main.cordium.v1.Membership","kind":"unary"},"CreateGitProvider":{"description":"CreateGitProvider creates a GitProvider inside a Space. The caller must be\nat least an ADMIN Member of the Space.","input":"octelium.api.main.cordium.v1.GitProvider","output":"octelium.api.main.cordium.v1.GitProvider","kind":"unary"},"UpdateGitProvider":{"description":"UpdateGitProvider updates a GitProvider.","input":"octelium.api.main.cordium.v1.GitProvider","output":"octelium.api.main.cordium.v1.GitProvider","kind":"unary"},"DeleteGitProvider":{"description":"DeleteGitProvider deletes a GitProvider.","input":"octelium.api.main.meta.v1.DeleteOptions","output":"octelium.api.main.meta.v1.OperationResult","kind":"unary"},"CreateWorkspace":{"description":"CreateWorkspace creates a Workspace owned by the User. The Workspace is\ncreated in the STOPPED state and it is assigned a short randomly generated\nname by the Cluster. If no Template is set in the request's\n`status.templateRef`, the User's default Template is used.","input":"octelium.api.main.cordium.v1.Workspace","output":"octelium.api.main.cordium.v1.Workspace","kind":"unary"},"UpdateWorkspace":{"description":"UpdateWorkspace updates a Workspace owned by the User. Only the\nWorkspace's displayName and spec can be updated.","input":"octelium.api.main.cordium.v1.Workspace","output":"octelium.api.main.cordium.v1.Workspace","kind":"unary"},"DeleteWorkspace":{"description":"DeleteWorkspace deletes a Workspace owned by the User.","input":"octelium.api.main.meta.v1.DeleteOptions","output":"octelium.api.main.meta.v1.OperationResult","kind":"unary"},"ListWorkspace":{"description":"ListWorkspace lists the Workspaces owned by the User.","input":"octelium.api.main.cordium.v1.ListWorkspaceOptions","output":"octelium.api.main.cordium.v1.WorkspaceList","kind":"unary"},"CreateWorkspaceSnapshot":{"description":"CreateWorkspaceSnapshot creates a WorkspaceSnapshot out of the persistent\nstorage of a Workspace owned by the User. The Workspace is neither stopped\nnor restarted and it remains fully usable while the snapshot is being\ntaken. The snapshot is created in the CREATING state and the snapshotting\nitself is asynchronous.","input":"octelium.api.main.cordium.v1.WorkspaceSnapshot","output":"octelium.api.main.cordium.v1.WorkspaceSnapshot","kind":"unary"},"DeleteWorkspaceSnapshot":{"description":"DeleteWorkspaceSnapshot deletes a WorkspaceSnapshot owned by the User\ntogether with its underlying storage snapshot.","input":"octelium.api.main.meta.v1.DeleteOptions","output":"octelium.api.main.meta.v1.OperationResult","kind":"unary"},"ListWorkspaceSnapshot":{"description":"ListWorkspaceSnapshot lists the WorkspaceSnapshots owned by the User.","input":"octelium.api.main.cordium.v1.ListWorkspaceSnapshotOptions","output":"octelium.api.main.cordium.v1.WorkspaceSnapshotList","kind":"unary"},"GetWorkspaceSnapshot":{"description":"GetWorkspaceSnapshot retrieves a specific WorkspaceSnapshot owned by the\nUser.","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.cordium.v1.WorkspaceSnapshot","kind":"unary"},"CreateVolume":{"description":"CreateVolume creates a Volume inside a Space. Volumes are provisioned\nasynchronously and they can be mounted by the Workspaces of the Space\nwhile they are still being provisioned.","input":"octelium.api.main.cordium.v1.Volume","output":"octelium.api.main.cordium.v1.Volume","kind":"unary"},"UpdateVolume":{"description":"UpdateVolume updates a Volume. Only growing the Volume's size is\nsupported and it additionally requires the underlying storage backend to\nsupport the expansion of the already provisioned volumes.","input":"octelium.api.main.cordium.v1.Volume","output":"octelium.api.main.cordium.v1.Volume","kind":"unary"},"DeleteVolume":{"description":"DeleteVolume deletes a Volume together with its underlying storage. It is\nrejected while the Volume is still mounted by a Workspace or a Template of\nthe Space regardless of whether those Workspaces are running.","input":"octelium.api.main.meta.v1.DeleteOptions","output":"octelium.api.main.meta.v1.OperationResult","kind":"unary"},"ListVolume":{"description":"ListVolume lists the Volumes of a Space that the User is a Member of.","input":"octelium.api.main.cordium.v1.ListVolumeOptions","output":"octelium.api.main.cordium.v1.VolumeList","kind":"unary"},"GetVolume":{"description":"GetVolume retrieves a specific Volume of a Space that the User is a Member\nof.","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.cordium.v1.Volume","kind":"unary"},"StartWorkspace":{"description":"StartWorkspace starts a stopped Workspace. The Cluster creates a dedicated\nOctelium Session for the run and moves the Workspace to the INIT_REQUEST\nstate. The actual initialization is asynchronous and can be followed via\nthe WatchWorkspace method.","input":"octelium.api.main.cordium.v1.StartWorkspaceRequest","output":"octelium.api.main.cordium.v1.StartWorkspaceResponse","kind":"unary"},"StopWorkspace":{"description":"StopWorkspace requests a graceful stop of a running Workspace. The\nWorkspace moves to the STOPPING_REQUEST state and the stoppage itself is\nasynchronous.","input":"octelium.api.main.cordium.v1.StopWorkspaceRequest","output":"octelium.api.main.cordium.v1.StopWorkspaceResponse","kind":"unary"},"ShareWorkspacePort":{"description":"ShareWorkspacePort shares a named Application of a Workspace with other\nUsers so that they can access it via the Workspace's public hostname.","input":"octelium.api.main.cordium.v1.ShareWorkspacePortRequest","output":"octelium.api.main.cordium.v1.ShareWorkspacePortResponse","kind":"unary"},"UnshareWorkspacePort":{"description":"UnshareWorkspacePort stops sharing a previously shared named Application\nof a Workspace.","input":"octelium.api.main.cordium.v1.UnshareWorkspacePortRequest","output":"octelium.api.main.cordium.v1.UnshareWorkspacePortResponse","kind":"unary"},"ListSpace":{"description":"ListSpace lists the Spaces that are either created by the User or where\nthe User is a Member depending on the requested mode.","input":"octelium.api.main.cordium.v1.ListSpaceOptions","output":"octelium.api.main.cordium.v1.SpaceList","kind":"unary"},"ListTemplate":{"description":"ListTemplate lists the Templates of a Space that the User is a Member of.","input":"octelium.api.main.cordium.v1.ListTemplateOptions","output":"octelium.api.main.cordium.v1.TemplateList","kind":"unary"},"ListMembership":{"description":"ListMembership lists the Memberships of a Space that the User is a Member\nof.","input":"octelium.api.main.cordium.v1.ListMembershipOptions","output":"octelium.api.main.cordium.v1.MembershipList","kind":"unary"},"ListGitProvider":{"description":"ListGitProvider lists the GitProviders of a Space that the User is a\nMember of.","input":"octelium.api.main.cordium.v1.ListGitProviderOptions","output":"octelium.api.main.cordium.v1.GitProviderList","kind":"unary"},"GetSpace":{"description":"GetSpace retrieves a specific Space. The caller must be a Member of the\nSpace.","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.cordium.v1.Space","kind":"unary"},"GetWorkspace":{"description":"GetWorkspace retrieves a specific Workspace owned by the User.","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.cordium.v1.Workspace","kind":"unary"},"GetTemplate":{"description":"GetTemplate retrieves a specific Template. The caller must be a Member of\nthe Template's Space.","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.cordium.v1.Template","kind":"unary"},"GetGitProvider":{"description":"GetGitProvider retrieves a specific GitProvider. The caller must be a\nMember of the GitProvider's Space.","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.cordium.v1.GitProvider","kind":"unary"},"GetMembership":{"description":"GetMembership retrieves a specific Membership. The caller must be a Member\nof the Membership's Space.","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.cordium.v1.Membership","kind":"unary"},"LeaveSpace":{"description":"LeaveSpace removes the calling User's own Membership from a Space. Space\ncreators cannot leave their own Spaces, they can only delete them.","input":"octelium.api.main.cordium.v1.LeaveSpaceRequest","output":"octelium.api.main.cordium.v1.LeaveSpaceResponse","kind":"unary"},"CreateUserSecret":{"description":"CreateUserSecret creates a UserSecret owned by the User. UserSecrets of\nthe SSH_KEY type have their key pair generated by the Cluster. The\nUserSecret data is never returned back by the Cluster.","input":"octelium.api.main.cordium.v1.UserSecret","output":"octelium.api.main.cordium.v1.UserSecret","kind":"unary"},"UpdateUserSecret":{"description":"UpdateUserSecret updates a UserSecret owned by the User.","input":"octelium.api.main.cordium.v1.UserSecret","output":"octelium.api.main.cordium.v1.UserSecret","kind":"unary"},"DeleteUserSecret":{"description":"DeleteUserSecret deletes a UserSecret owned by the User.","input":"octelium.api.main.meta.v1.DeleteOptions","output":"octelium.api.main.meta.v1.OperationResult","kind":"unary"},"ListUserSecret":{"description":"ListUserSecret lists the UserSecrets owned by the User. The UserSecrets'\ndata is not included in the response.","input":"octelium.api.main.cordium.v1.ListUserSecretOptions","output":"octelium.api.main.cordium.v1.UserSecretList","kind":"unary"},"GetUserSecret":{"description":"GetUserSecret retrieves a specific UserSecret owned by the User. The\nUserSecret data is not included in the response.","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.cordium.v1.UserSecret","kind":"unary"},"GetUserConfig":{"description":"GetUserConfig retrieves the calling User's UserConfig. The UserConfig is\nautomatically created by the Cluster upon the first call.","input":"octelium.api.main.cordium.v1.GetUserConfigRequest","output":"octelium.api.main.cordium.v1.UserConfig","kind":"unary"},"UpdateUserConfig":{"description":"UpdateUserConfig updates the calling User's UserConfig.","input":"octelium.api.main.cordium.v1.UserConfig","output":"octelium.api.main.cordium.v1.UserConfig","kind":"unary"},"InitializeAgent":{"description":"InitializeAgent provisions the Cordium AI agent of the calling User upon\nthe first call and reconciles it upon the subsequent ones. The agent runs\ninside a Workspace of the User's personal `octelium` Space (i.e.\n`octelium.<USER>`), a system Space that hosts the Workspaces of all the\nOctelium-managed AI agents of the User and which is created on demand.\nThe Space, the agent's Template and the agent's Workspace are created if\nthey do not exist yet and the agent's Template is updated to match the\nagent configuration of the ClusterConfig. The agent's Workspace, which is\ncreated in the STOPPED state, is referenced by the `agentWorkspaceRef` of\nthe returned UserConfig's status.","input":"octelium.api.main.cordium.v1.InitializeAgentRequest","output":"octelium.api.main.cordium.v1.UserConfig","kind":"unary"},"ListRegion":{"description":"ListRegion lists the Regions of the Cluster that are enabled to host\nWorkspaces.","input":"octelium.api.main.cordium.v1.ListRegionOptions","output":"octelium.api.main.cordium.v1.RegionList","kind":"unary"},"WatchWorkspace":{"description":"WatchWorkspace opens a server-side stream that publishes the create,\nupdate and delete events of the User's Workspaces. If a workspaceRef is\nset in the request, only the events of that specific Workspace are\npublished. It is the recommended way to follow a Workspace's state\nthroughout its lifecycle.","input":"octelium.api.main.cordium.v1.WatchWorkspaceRequest","output":"octelium.api.main.cordium.v1.WatchWorkspaceResponse","kind":"server_streaming"}}},"octelium.api.main.cordium.v1.ManagementService":{"description":"ManagementService is the administrative API of a Cordium Cluster. It is used\nby the Cluster administrators (e.g. via `cordium man`) to read and update\nthe Cluster-wide configuration.","methods":{"GetClusterConfig":{"description":"GetClusterConfig gets the Cluster Configuration.","input":"octelium.api.main.cordium.v1.GetClusterConfigRequest","output":"octelium.api.main.cordium.v1.ClusterConfig","kind":"unary"},"UpdateClusterConfig":{"description":"UpdateClusterConfig updates the Cluster Configuration.","input":"octelium.api.main.cordium.v1.ClusterConfig","output":"octelium.api.main.cordium.v1.ClusterConfig","kind":"unary"}}},"octelium.api.main.user.v1.MainService":{"description":"","methods":{"Connect":{"description":"Connect connects to the Cluster","input":"octelium.api.main.user.v1.ConnectRequest","output":"octelium.api.main.user.v1.ConnectResponse","kind":"bidi_streaming"},"Disconnect":{"description":"Disconnect disconnects from a Cluster","input":"octelium.api.main.user.v1.DisconnectRequest","output":"octelium.api.main.user.v1.DisconnectResponse","kind":"unary"},"ListService":{"description":"ListService lists Services","input":"octelium.api.main.user.v1.ListServiceOptions","output":"octelium.api.main.user.v1.ServiceList","kind":"unary"},"ListNamespace":{"description":"ListNamespace lists Namespaces","input":"octelium.api.main.user.v1.ListNamespaceOptions","output":"octelium.api.main.user.v1.NamespaceList","kind":"unary"},"GetStatus":{"description":"GetStatus retrieves User status","input":"octelium.api.main.user.v1.GetStatusRequest","output":"octelium.api.main.user.v1.GetStatusResponse","kind":"unary"},"SetServiceConfigs":{"description":"SetServiceConfigs sets the Service configs needed to use the Service from\nthe client host (e.g. setting up kubeconfigs)","input":"octelium.api.main.user.v1.SetServiceConfigsRequest","output":"octelium.api.main.user.v1.SetServiceConfigsResponse","kind":"unary"},"GetService":{"description":"GetService retrieves a Service","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.user.v1.Service","kind":"unary"}}},"octelium.api.main.core.v1.MainService":{"description":"MainService is the main Cluster management API. It provides the CRUD\noperations over the Cluster resources (e.g. Users, Groups, Devices,\nSessions, Namespaces, Services, Policies, Credentials, Secrets,\nIdentityProviders, etc...) as well as over the Cluster configuration itself.","methods":{"CreatePolicy":{"description":"CreatePolicy creates a Policy","input":"octelium.api.main.core.v1.Policy","output":"octelium.api.main.core.v1.Policy","kind":"unary"},"ListPolicy":{"description":"ListPolicy lists Policies","input":"octelium.api.main.core.v1.ListPolicyOptions","output":"octelium.api.main.core.v1.PolicyList","kind":"unary"},"UpdatePolicy":{"description":"UpdatePolicy updates a Policy","input":"octelium.api.main.core.v1.Policy","output":"octelium.api.main.core.v1.Policy","kind":"unary"},"DeletePolicy":{"description":"DeletePolicy deletes a Policy","input":"octelium.api.main.meta.v1.DeleteOptions","output":"octelium.api.main.meta.v1.OperationResult","kind":"unary"},"GetPolicy":{"description":"GetPolicy retrieves a specific Policy","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.core.v1.Policy","kind":"unary"},"CreateUser":{"description":"CreateUser creates a User","input":"octelium.api.main.core.v1.User","output":"octelium.api.main.core.v1.User","kind":"unary"},"ListUser":{"description":"ListUser lists Users","input":"octelium.api.main.core.v1.ListUserOptions","output":"octelium.api.main.core.v1.UserList","kind":"unary"},"UpdateUser":{"description":"UpdateUser updates a User","input":"octelium.api.main.core.v1.User","output":"octelium.api.main.core.v1.User","kind":"unary"},"DeleteUser":{"description":"DeleteUser deletes a User","input":"octelium.api.main.meta.v1.DeleteOptions","output":"octelium.api.main.meta.v1.OperationResult","kind":"unary"},"GetUser":{"description":"GetUser retrieves a specific User","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.core.v1.User","kind":"unary"},"CreateNamespace":{"description":"CreateNamespace creates a Namespace","input":"octelium.api.main.core.v1.Namespace","output":"octelium.api.main.core.v1.Namespace","kind":"unary"},"UpdateNamespace":{"description":"UpdateNamespace updates a Namespace","input":"octelium.api.main.core.v1.Namespace","output":"octelium.api.main.core.v1.Namespace","kind":"unary"},"ListNamespace":{"description":"ListNamespace lists Namespaces","input":"octelium.api.main.core.v1.ListNamespaceOptions","output":"octelium.api.main.core.v1.NamespaceList","kind":"unary"},"DeleteNamespace":{"description":"DeleteNamespace deletes a Namespace","input":"octelium.api.main.meta.v1.DeleteOptions","output":"octelium.api.main.meta.v1.OperationResult","kind":"unary"},"GetNamespace":{"description":"GetNamespace retrieves a specific Namespace","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.core.v1.Namespace","kind":"unary"},"CreateService":{"description":"CreateService creates a Service","input":"octelium.api.main.core.v1.Service","output":"octelium.api.main.core.v1.Service","kind":"unary"},"ListService":{"description":"ListService lists Services","input":"octelium.api.main.core.v1.ListServiceOptions","output":"octelium.api.main.core.v1.ServiceList","kind":"unary"},"UpdateService":{"description":"UpdateService updates a Service","input":"octelium.api.main.core.v1.Service","output":"octelium.api.main.core.v1.Service","kind":"unary"},"DeleteService":{"description":"DeleteService deletes a Service","input":"octelium.api.main.meta.v1.DeleteOptions","output":"octelium.api.main.meta.v1.OperationResult","kind":"unary"},"GetService":{"description":"GetService retrieves a specific Service","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.core.v1.Service","kind":"unary"},"ListSession":{"description":"ListSession lists Sessions","input":"octelium.api.main.core.v1.ListSessionOptions","output":"octelium.api.main.core.v1.SessionList","kind":"unary"},"DeleteSession":{"description":"DeleteSession deletes a Session","input":"octelium.api.main.meta.v1.DeleteOptions","output":"octelium.api.main.meta.v1.OperationResult","kind":"unary"},"GetSession":{"description":"GetSession retrieves a specific Session","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.core.v1.Session","kind":"unary"},"UpdateSession":{"description":"UpdateSession updates a Session","input":"octelium.api.main.core.v1.Session","output":"octelium.api.main.core.v1.Session","kind":"unary"},"CreateSecret":{"description":"CreateSecret creates a Secret","input":"octelium.api.main.core.v1.Secret","output":"octelium.api.main.core.v1.Secret","kind":"unary"},"ListSecret":{"description":"ListSecret lists Secrets","input":"octelium.api.main.core.v1.ListSecretOptions","output":"octelium.api.main.core.v1.SecretList","kind":"unary"},"DeleteSecret":{"description":"DeleteSecret deletes a Secret","input":"octelium.api.main.meta.v1.DeleteOptions","output":"octelium.api.main.meta.v1.OperationResult","kind":"unary"},"GetSecret":{"description":"GetSecret retrieves a specific Secret","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.core.v1.Secret","kind":"unary"},"UpdateSecret":{"description":"UpdateSecret updates a Secret","input":"octelium.api.main.core.v1.Secret","output":"octelium.api.main.core.v1.Secret","kind":"unary"},"CreateGroup":{"description":"CreateGroup creates a Group","input":"octelium.api.main.core.v1.Group","output":"octelium.api.main.core.v1.Group","kind":"unary"},"ListGroup":{"description":"ListGroup lists Groups","input":"octelium.api.main.core.v1.ListGroupOptions","output":"octelium.api.main.core.v1.GroupList","kind":"unary"},"UpdateGroup":{"description":"UpdateGroup updates a Group","input":"octelium.api.main.core.v1.Group","output":"octelium.api.main.core.v1.Group","kind":"unary"},"DeleteGroup":{"description":"DeleteGroup deletes a Group","input":"octelium.api.main.meta.v1.DeleteOptions","output":"octelium.api.main.meta.v1.OperationResult","kind":"unary"},"GetGroup":{"description":"GetGroup retrieves a specific Group","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.core.v1.Group","kind":"unary"},"ListDevice":{"description":"ListDevice lists Devices","input":"octelium.api.main.core.v1.ListDeviceOptions","output":"octelium.api.main.core.v1.DeviceList","kind":"unary"},"DeleteDevice":{"description":"DeleteDevice deletes a Device","input":"octelium.api.main.meta.v1.DeleteOptions","output":"octelium.api.main.meta.v1.OperationResult","kind":"unary"},"GetDevice":{"description":"GetDevice retrieves a specific Device","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.core.v1.Device","kind":"unary"},"UpdateDevice":{"description":"UpdateDevice updates a Device","input":"octelium.api.main.core.v1.Device","output":"octelium.api.main.core.v1.Device","kind":"unary"},"CreateCredential":{"description":"CreateCredential creates a Credential","input":"octelium.api.main.core.v1.Credential","output":"octelium.api.main.core.v1.Credential","kind":"unary"},"UpdateCredential":{"description":"UpdateCredential updates a Credential","input":"octelium.api.main.core.v1.Credential","output":"octelium.api.main.core.v1.Credential","kind":"unary"},"DeleteCredential":{"description":"DeleteCredential deletes a Credential","input":"octelium.api.main.meta.v1.DeleteOptions","output":"octelium.api.main.meta.v1.OperationResult","kind":"unary"},"ListCredential":{"description":"ListCredential lists Credentials","input":"octelium.api.main.core.v1.ListCredentialOptions","output":"octelium.api.main.core.v1.CredentialList","kind":"unary"},"GetCredential":{"description":"GetCredential retrieves a specific Credential","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.core.v1.Credential","kind":"unary"},"GenerateCredentialToken":{"description":"GenerateCredentialToken generates/rotates a Credential token","input":"octelium.api.main.core.v1.GenerateCredentialTokenRequest","output":"octelium.api.main.core.v1.CredentialToken","kind":"unary"},"CreateIdentityProvider":{"description":"CreateIdentityProvider creates an IdentityProvider","input":"octelium.api.main.core.v1.IdentityProvider","output":"octelium.api.main.core.v1.IdentityProvider","kind":"unary"},"GetIdentityProvider":{"description":"GetIdentityProvider retrieves a specific IdentityProvider","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.core.v1.IdentityProvider","kind":"unary"},"ListIdentityProvider":{"description":"ListIdentityProvider lists IdentityProviders","input":"octelium.api.main.core.v1.ListIdentityProviderOptions","output":"octelium.api.main.core.v1.IdentityProviderList","kind":"unary"},"UpdateIdentityProvider":{"description":"UpdateIdentityProvider updates an IdentityProvider","input":"octelium.api.main.core.v1.IdentityProvider","output":"octelium.api.main.core.v1.IdentityProvider","kind":"unary"},"DeleteIdentityProvider":{"description":"DeleteIdentityProvider deletes an IdentityProvider","input":"octelium.api.main.meta.v1.DeleteOptions","output":"octelium.api.main.meta.v1.OperationResult","kind":"unary"},"GetRegion":{"description":"GetRegion retrieves a specific Region","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.core.v1.Region","kind":"unary"},"ListRegion":{"description":"ListRegion lists Regions","input":"octelium.api.main.core.v1.ListRegionOptions","output":"octelium.api.main.core.v1.RegionList","kind":"unary"},"ListGateway":{"description":"ListGateway lists Gateways","input":"octelium.api.main.core.v1.ListGatewayOptions","output":"octelium.api.main.core.v1.GatewayList","kind":"unary"},"GetGateway":{"description":"GetGateway retrieves a specific Gateway","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.core.v1.Gateway","kind":"unary"},"GetClusterConfig":{"description":"GetClusterConfig retrieves the Cluster Configuration","input":"octelium.api.main.core.v1.GetClusterConfigRequest","output":"octelium.api.main.core.v1.ClusterConfig","kind":"unary"},"UpdateClusterConfig":{"description":"UpdateClusterConfig updates the Cluster Configuration","input":"octelium.api.main.core.v1.ClusterConfig","output":"octelium.api.main.core.v1.ClusterConfig","kind":"unary"},"ListAuthenticator":{"description":"ListAuthenticator lists Authenticators","input":"octelium.api.main.core.v1.ListAuthenticatorOptions","output":"octelium.api.main.core.v1.AuthenticatorList","kind":"unary"},"DeleteAuthenticator":{"description":"DeleteAuthenticator deletes an Authenticator","input":"octelium.api.main.meta.v1.DeleteOptions","output":"octelium.api.main.meta.v1.OperationResult","kind":"unary"},"GetAuthenticator":{"description":"GetAuthenticator retrieves a specific Authenticator","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.core.v1.Authenticator","kind":"unary"},"UpdateAuthenticator":{"description":"UpdateAuthenticator updates an Authenticator","input":"octelium.api.main.core.v1.Authenticator","output":"octelium.api.main.core.v1.Authenticator","kind":"unary"},"CreateConfig":{"description":"CreateConfig creates a Config","input":"octelium.api.main.core.v1.Config","output":"octelium.api.main.core.v1.Config","kind":"unary"},"ListConfig":{"description":"ListConfig lists Configs","input":"octelium.api.main.core.v1.ListConfigOptions","output":"octelium.api.main.core.v1.ConfigList","kind":"unary"},"UpdateConfig":{"description":"UpdateConfig updates a Config","input":"octelium.api.main.core.v1.Config","output":"octelium.api.main.core.v1.Config","kind":"unary"},"DeleteConfig":{"description":"DeleteConfig deletes a Config","input":"octelium.api.main.meta.v1.DeleteOptions","output":"octelium.api.main.meta.v1.OperationResult","kind":"unary"},"GetConfig":{"description":"GetConfig retrieves a specific Config","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.core.v1.Config","kind":"unary"}}}},"definitions":{"octelium.api.main.cordium.v1.BuildTemplateRequest":{"type":"object","properties":{"templateRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"TemplateRef is the reference of the Template to be pre-built."},"tags":{"type":"array","items":{"type":"string"},"description":"Tags is the list of the tags that are assigned to the pre-build. It\ndefaults to `latest`."}},"additionalProperties":false,"description":"BuildTemplateRequest is the request of the BuildTemplate method."},"octelium.api.main.cordium.v1.CancelBuildTemplateRequest":{"type":"object","properties":{"templateRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"TemplateRef is the reference of the Template whose running pre-build is\ncanceled."}},"additionalProperties":false,"description":"CancelBuildTemplateRequest is the request of the CancelBuildTemplate method."},"octelium.api.main.cordium.v1.ClusterConfig":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"cordium/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `ClusterConfig`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Spec","description":"Spec is the ClusterConfig specification."},"status":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Status","description":"Status is the current status of the ClusterConfig."}},"additionalProperties":false,"description":"ClusterConfig is the sole source of truth for all the global configurations\nand settings of the Cordium Cluster. It controls the Space ownership policy,\nthe Workspace storage class selection, the Cluster-wide resource limits as\nwell as the Workspace timeouts. There is exactly one ClusterConfig per\nCordium Cluster. It is created automatically at installation time and it is\nmanaged by the Cluster administrators via the ManagementService."},"octelium.api.main.cordium.v1.ClusterConfig.Spec":{"type":"object","properties":{"space":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Spec.Space","description":"Space is the Cluster-wide Space-related configuration."},"workspace":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Spec.Workspace","description":"Workspace is the Cluster-wide Workspace-related configuration."},"volume":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Spec.Volume","description":"Volume is the Cluster-wide Volume-related configuration."},"agent":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Spec.Agent","description":"Agent is the Cluster-wide configuration of the Cordium AI agent."}},"additionalProperties":false,"description":"Spec is the ClusterConfig specification"},"octelium.api.main.cordium.v1.ClusterConfig.Spec.Agent":{"type":"object","properties":{"isDisabled":{"type":"boolean","description":"IsDisabled disables the InitializeAgent method for all the Users.\nNote that the already existing agent Workspaces are not deleted."},"llm":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Spec.Agent.LLM","description":"LLM sets the default LLM of the agent. If unset, the Users can still\nsign in with their own LLM subscriptions from the web portal."},"version":{"type":"string","description":"Version is the version or the npm dist-tag of the\n`@octelium/cordium-agent` npm package that is run by the agent\nWorkspaces (e.g. `0.1.0`). If unset, the version that is bundled with\nthe Cluster is used."},"image":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Image","description":"Image sets the container image of the agent Workspaces. If unset, the\ndefault Cordium image is used and Node.js is installed upon the first\nstart of every agent Workspace."},"limit":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Limit","description":"Limit sets the compute resources of the agent Workspaces."},"config":{"type":"object","description":"Config is an additional configuration of the agent (i.e. the same\nstructure of its `config.json` file) that is merged on top of the\nconfiguration that is generated by the Cluster."}},"additionalProperties":false,"description":"Agent is the Cluster-wide configuration of the Cordium AI agent whose\nWorkspaces are provisioned via the InitializeAgent method."},"octelium.api.main.cordium.v1.ClusterConfig.Spec.Agent.LLM":{"type":"object","properties":{"service":{"type":"string","description":"Service is the name of the LLM-mode Octelium Service (e.g.\n`llm.default`) that is used by the agent via the Octelium identity\nof its Workspace."},"model":{"type":"string","description":"Model is the name of the model that is used by default (e.g.\n`gpt-5.1`). If unset, the agent discovers it from the Service."}},"additionalProperties":false,"description":"LLM sets the default LLM of the agent"},"octelium.api.main.cordium.v1.ClusterConfig.Spec.Space":{"type":"object","properties":{"ownership":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Spec.Space.Ownership","description":"Ownership is the policy that controls which Users are allowed to own\nSpaces. If it is unset, no User is allowed to own a Space."}},"additionalProperties":false,"description":"Space is the Cluster-wide Space-related configuration."},"octelium.api.main.cordium.v1.ClusterConfig.Spec.Space.Ownership":{"type":"object","properties":{"rules":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Spec.Space.Ownership.Rule"},"description":"Rules is the list of the ownership rules. The DENY rules are\nevaluated first and, if none of them matches, the ALLOW rules are\nevaluated. If no rule matches, the request is denied."}},"additionalProperties":false,"description":"Ownership is the policy that controls which Users are allowed to own\n(i.e. create) Spaces."},"octelium.api.main.cordium.v1.ClusterConfig.Spec.Space.Ownership.Rule":{"type":"object","properties":{"effect":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Spec.Space.Ownership.Rule.Effect","description":"Effect is the effect of the policy when a match happens to any of\nthe Conditions."},"condition":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Condition","description":"Condition is evaluated against the request context which contains\nthe requesting User (i.e. `ctx.user`) and the Space that is being\ncreated (i.e. `ctx.space`)."}},"additionalProperties":false,"description":"Rule is a single ownership rule."},"octelium.api.main.cordium.v1.ClusterConfig.Spec.Space.Ownership.Rule.Effect":{"type":"string","enum":["UNKNOWN","ALLOW","DENY"],"description":"Effect is the effect of the Rule when its Condition matches","x-enumDescriptions":{"UNKNOWN":"UNKNOWN is not used.","ALLOW":"ALLOW means that the policy allows the request if any of the\nConditions are matched.","DENY":"DENY means that the policy denies the request if any of the\nConditions are matched."}},"octelium.api.main.cordium.v1.ClusterConfig.Spec.Volume":{"type":"object","properties":{"storage":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Spec.Volume.Storage","description":"Storage is the storage provisioning configuration of the Volumes."},"limit":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Spec.Volume.Limit","description":"Limit is the Cluster-wide Volume limits."}},"additionalProperties":false,"description":"Volume is the Cluster-wide Volume-related configuration."},"octelium.api.main.cordium.v1.ClusterConfig.Spec.Volume.Limit":{"type":"object","properties":{"maxPerSpace":{"type":"integer","format":"uint32","minimum":0,"description":"MaxPerSpace is the maximum total number of the Volumes that a single\nSpace can own."},"maxSize":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Volume.Spec.Size","description":"MaxSize is a hard cap that no Volume of the Cluster can exceed."},"defaultSize":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Volume.Spec.Size","description":"DefaultSize is the size of the Volumes that do not request an\nexplicit one."},"maxMountsPerWorkspace":{"type":"integer","format":"uint32","minimum":0,"description":"MaxMountsPerWorkspace is the maximum number of the Volumes that a\nsingle Workspace can mount."}},"additionalProperties":false,"description":"Limit is the Cluster-wide Volume limits. All the fields are optional\nand omitting one means that no Cluster-level restriction is applied\nfor that dimension."},"octelium.api.main.cordium.v1.ClusterConfig.Spec.Volume.Storage":{"type":"object","properties":{"storageClass":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Spec.Volume.Storage.StorageClass","description":"StorageClass selects the StorageClass of the Volumes. If it is unset\nor if no rule matches, the Cluster lets Kubernetes pick its default\nStorageClass instead."}},"additionalProperties":false,"description":"Storage is the storage provisioning configuration of the Volumes."},"octelium.api.main.cordium.v1.ClusterConfig.Spec.Volume.Storage.StorageClass":{"type":"object","properties":{"rules":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Spec.Volume.Storage.StorageClass.Rule"},"description":"Rules is the list of the storage class selection rules. They are\nevaluated in order and the first matching one is used."}},"additionalProperties":false,"description":"StorageClass selects the Kubernetes StorageClass that is used to\nprovision the Volumes. Since the Kubernetes API does not expose\nwhether a StorageClass is able to provide multi-writer volumes, the\nrules are what tells the Cluster which backend to use for the SHARED\nVolumes and which one to use for the EXCLUSIVE ones."},"octelium.api.main.cordium.v1.ClusterConfig.Spec.Volume.Storage.StorageClass.Rule":{"type":"object","properties":{"condition":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Condition","description":"Condition is evaluated against the request context which\ncontains the Volume that is being provisioned (i.e.\n`ctx.volume`)."},"storageClass":{"type":"string","description":"StorageClass is the name of the Kubernetes StorageClass that is\nused once the Condition matches."}},"additionalProperties":false,"description":"Rule is a single storage class selection rule."},"octelium.api.main.cordium.v1.ClusterConfig.Spec.Workspace":{"type":"object","properties":{"storage":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Spec.Workspace.Storage","description":"Storage is the storage provisioning configuration of the Workspaces."},"limit":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Spec.Workspace.Limit","description":"Limit is the Cluster-wide Workspace limits."},"timeout":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Spec.Workspace.Timeout","description":"Timeout is the Cluster-wide Workspace inactivity timeouts."},"runtime":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Spec.Workspace.Runtime","description":"Runtime is the Cluster-wide runtime configuration of the Workspaces."}},"additionalProperties":false,"description":"Workspace is the Cluster-wide Workspace-related configuration."},"octelium.api.main.cordium.v1.ClusterConfig.Spec.Workspace.Limit":{"type":"object","properties":{"maxPerUser":{"type":"integer","format":"uint32","minimum":0,"description":"MaxPerUser is the maximum total number of the Workspaces that a\nsingle User can own."},"maxActivePerUser":{"type":"integer","format":"uint32","minimum":0,"description":"MaxActivePerUser is the maximum number of the Workspaces that a\nsingle User can have running at the same time."},"buildLimit":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Limit","description":"BuildLimit is the compute resources that are allocated for the\nTemplate pre-build Workspaces."},"defaultOrganizationSpaceLimit":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Limit","description":"DefaultOrganizationSpaceLimit is the default compute resources of\nthe Workspaces that belong to ORGANIZATION Spaces."},"defaultUserSpaceLimit":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Limit","description":"DefaultUserSpaceLimit is the default compute resources of the\nWorkspaces that belong to USER Spaces."},"maxLimit":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Limit","description":"MaxLimit is a hard cap that no Workspace of the Cluster can exceed."},"maxSnapshotsPerUser":{"type":"integer","format":"uint32","minimum":0,"description":"MaxSnapshotsPerUser is the maximum total number of the\nWorkspaceSnapshots that a single User can own."}},"additionalProperties":false,"description":"Limit is the Cluster-wide Workspace limits. All the fields are\noptional and omitting one means that no Cluster-level restriction is\napplied for that dimension."},"octelium.api.main.cordium.v1.ClusterConfig.Spec.Workspace.Runtime":{"type":"object","properties":{"capabilities":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Capabilities","description":"Capabilities is the Linux capabilities that are merged into every\nWorkspace of the Cluster."}},"additionalProperties":false,"description":"Runtime is the Cluster-wide runtime configuration of the Workspaces."},"octelium.api.main.cordium.v1.ClusterConfig.Spec.Workspace.Storage":{"type":"object","properties":{"storageClass":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Spec.Workspace.Storage.StorageClass","description":"StorageClass selects the StorageClass of the Workspaces' volumes."},"volumeSnapshotClass":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Spec.Workspace.Storage.VolumeSnapshotClass","description":"VolumeSnapshotClass selects the VolumeSnapshotClass of the Template\npre-build snapshots and of the WorkspaceSnapshots. If it is unset or\nif no rule matches, the Cluster lets Kubernetes pick the default\nVolumeSnapshotClass of the volume's CSI driver instead."}},"additionalProperties":false,"description":"Storage is the storage provisioning configuration of the Workspaces."},"octelium.api.main.cordium.v1.ClusterConfig.Spec.Workspace.Storage.StorageClass":{"type":"object","properties":{"rules":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Spec.Workspace.Storage.StorageClass.Rule"},"description":"Rules is the list of the storage class selection rules. They are\nevaluated in order and the first matching one is used."}},"additionalProperties":false,"description":"StorageClass selects the Kubernetes StorageClass that is used to\nprovision the Workspaces' volumes."},"octelium.api.main.cordium.v1.ClusterConfig.Spec.Workspace.Storage.StorageClass.Rule":{"type":"object","properties":{"condition":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Condition","description":"Condition is evaluated against the Workspace that is being\nprovisioned (i.e. `workspace`)."},"storageClass":{"type":"string","description":"StorageClass is the name of the Kubernetes StorageClass that is\nused once the Condition matches."}},"additionalProperties":false,"description":"Rule is a single storage class selection rule."},"octelium.api.main.cordium.v1.ClusterConfig.Spec.Workspace.Storage.VolumeSnapshotClass":{"type":"object","properties":{"rules":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Spec.Workspace.Storage.VolumeSnapshotClass.Rule"},"description":"Rules is the list of the volume snapshot class selection rules.\nThey are evaluated in order and the first matching one is used."}},"additionalProperties":false,"description":"VolumeSnapshotClass selects the Kubernetes VolumeSnapshotClass that\nis used for the Template pre-build snapshots as well as for the\nWorkspaceSnapshots."},"octelium.api.main.cordium.v1.ClusterConfig.Spec.Workspace.Storage.VolumeSnapshotClass.Rule":{"type":"object","properties":{"condition":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Condition","description":"Condition is evaluated against the request context which\ncontains the snapshotted Workspace (i.e. `ctx.workspace`) and\nits Template (i.e. `ctx.template`)."},"volumeSnapshotClass":{"type":"string","description":"VolumeSnapshotClass is the name of the Kubernetes\nVolumeSnapshotClass that is used once the Condition matches."}},"additionalProperties":false,"description":"Rule is a single volume snapshot class selection rule."},"octelium.api.main.cordium.v1.ClusterConfig.Spec.Workspace.Timeout":{"type":"object","properties":{"defaultDuration":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"DefaultDuration is the inactivity timeout that is applied when no\nSpace-type-specific duration is set."},"userSpaceDuration":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"UserSpaceDuration is the inactivity timeout of the Workspaces that\nbelong to USER Spaces."},"organizationSpaceDuration":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"OrganizationSpaceDuration is the inactivity timeout of the\nWorkspaces that belong to ORGANIZATION Spaces."},"maxActiveDuration":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"MaxActiveDuration is the maximum total duration for which a\nWorkspace can remain running regardless of its activity."},"allowNoTimeout":{"type":"boolean","description":"AllowNoTimeout allows the Workspaces to disable their inactivity\ntimeout entirely via their runtime's timeout mode."}},"additionalProperties":false,"description":"Timeout is the Cluster-wide inactivity timeouts after which a running\nWorkspace is automatically stopped. All the fields are optional."},"octelium.api.main.cordium.v1.ClusterConfig.Status":{"type":"object","properties":{},"additionalProperties":false,"description":"Status is the current status of the ClusterConfig. It is intentionally\nempty."},"octelium.api.main.cordium.v1.Condition":{"type":"object","properties":{"matchAny":{"type":"boolean","description":"MatchAny matches anything","x-oneof":"type"},"match":{"type":"string","description":"Match contains a single CEL expression","x-oneof":"type"},"all":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Condition.All","description":"All acts as a logical AND operator on its list of CEL expressions","x-oneof":"type"},"any":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Condition.Any","description":"Any acts as a logical OR operator on its list of CEL expressions","x-oneof":"type"},"not":{"type":"string","description":"Not acts as a logical NOT operator of a single CEL expression","x-oneof":"type"},"none":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Condition.None","description":"None acts as a logical NOR operator on its list of CEL expressions (i.e.\nnone of the expressions matches)","x-oneof":"type"},"opa":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Condition.OPA","description":"OPA contains an OPA (Open Policy Agent) Rego script","x-oneof":"type"}},"additionalProperties":false,"description":"Condition is a boolean expression that is evaluated by the Cluster against a\nrequest context. It is used by the ClusterConfig rules (e.g. the Space\nownership rules and the storage class selection rules).","x-oneofs":{"type":["matchAny","match","all","any","not","none","opa"]}},"octelium.api.main.cordium.v1.Condition.All":{"type":"object","properties":{"of":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Condition"},"description":"Of is the list of the Conditions that all have to match."}},"additionalProperties":false,"description":"All acts as a logical AND operator on its list of Conditions."},"octelium.api.main.cordium.v1.Condition.Any":{"type":"object","properties":{"of":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Condition"},"description":"Of is the list of the Conditions of which at least one has to match."}},"additionalProperties":false,"description":"Any acts as a logical OR operator on its list of Conditions."},"octelium.api.main.cordium.v1.Condition.None":{"type":"object","properties":{"of":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Condition"},"description":"Of is the list of the Conditions of which none is allowed to match."}},"additionalProperties":false,"description":"None acts as a logical NOR operator on its list of Conditions."},"octelium.api.main.cordium.v1.Condition.OPA":{"type":"object","properties":{"inline":{"type":"string","description":"Inline is the OPA Rego script directly provided as a string","x-oneof":"type"}},"additionalProperties":false,"description":"OPA is an OPA (Open Policy Agent) Rego script.","x-oneofs":{"type":["inline"]}},"octelium.api.main.cordium.v1.CreateMembershipRequest":{"type":"object","properties":{"role":{"$ref":"#/definitions/octelium.api.main.cordium.v1.CreateMembershipRequest.Role","description":"Role is the level of access that the new Member has inside the Space. It\ndefaults to USER."},"spaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"SpaceRef is the reference of the Space to add the Member to."},"userRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"UserRef is the reference of the Octelium User to be added.","x-oneof":"userType"},"email":{"type":"string","description":"Email is the email address of the Octelium User to be added. The User\nmust already exist in the Cluster.","x-oneof":"userType"}},"additionalProperties":false,"description":"CreateMembershipRequest is the request of the CreateMembership method.","x-oneofs":{"userType":["userRef","email"]}},"octelium.api.main.cordium.v1.CreateMembershipRequest.Role":{"type":"string","enum":["UNKNOWN","OWNER","ADMIN","USER"],"description":"Role is the level of access that the new Member has inside the Space. It\nmirrors the Membership's own Role","x-enumDescriptions":{"UNKNOWN":"UNKNOWN is not used. It is treated as USER.","OWNER":"OWNER has full control over the Space. Granting this Role requires the\ncaller to be an OWNER themselves.","ADMIN":"ADMIN can manage the Space's Templates, Secrets, GitProviders and\nMemberships.","USER":"USER can use the Space but cannot manage it."}},"octelium.api.main.cordium.v1.GetClusterConfigRequest":{"type":"object","properties":{},"additionalProperties":false,"description":"GetClusterConfigRequest is the request of the GetClusterConfig method. It is\nintentionally empty since there is exactly one ClusterConfig per Cluster."},"octelium.api.main.cordium.v1.GetSpaceMembershipRequest":{"type":"object","properties":{"spaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"SpaceRef is the reference of the Space whose Membership of the calling\nUser is retrieved."}},"additionalProperties":false,"description":"GetSpaceMembershipRequest is the request of the GetSpaceMembership method."},"octelium.api.main.cordium.v1.GetUserConfigRequest":{"type":"object","properties":{},"additionalProperties":false,"description":"GetUserConfigRequest is the request of the GetUserConfig method. It is\nintentionally empty since the UserConfig of the calling User is always the\none that is returned."},"octelium.api.main.cordium.v1.GitProvider":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"cordium/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `GitProvider`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.cordium.v1.GitProvider.Spec","description":"Spec is the GitProvider specification."},"status":{"$ref":"#/definitions/octelium.api.main.cordium.v1.GitProvider.Status","description":"Status is the current status of the GitProvider."}},"additionalProperties":false,"description":"GitProvider configures OAuth2 authentication against a git hosting service\n(i.e. GitHub, GitLab or a generic OAuth2 provider) inside a Space. Once a\nGitProvider is attached to a Template, the User's stored OAuth2 token is\nautomatically injected into the Workspaces of that Template which enables\n`git clone`, `git push` and the other authenticated operations without any\nmanual credential configuration."},"octelium.api.main.cordium.v1.GitProvider.Spec":{"type":"object","properties":{"github":{"$ref":"#/definitions/octelium.api.main.cordium.v1.GitProvider.Spec.Github","description":"Github is the GitHub OAuth2 provider.","x-oneof":"type"},"gitlab":{"$ref":"#/definitions/octelium.api.main.cordium.v1.GitProvider.Spec.Gitlab","description":"Gitlab is the GitLab OAuth2 provider.","x-oneof":"type"},"oauth2":{"$ref":"#/definitions/octelium.api.main.cordium.v1.GitProvider.Spec.OAuth2","description":"OAuth2 is a generic OAuth2 provider.","x-oneof":"type"}},"additionalProperties":false,"description":"Spec is the GitProvider specification","x-oneofs":{"type":["github","gitlab","oauth2"]}},"octelium.api.main.cordium.v1.GitProvider.Spec.Github":{"type":"object","properties":{"clientID":{"type":"string","description":"ClientID is the OAuth2 application's client ID."},"clientSecret":{"$ref":"#/definitions/octelium.api.main.cordium.v1.GitProvider.Spec.Github.ClientSecret","description":"ClientSecret is the OAuth2 application's client secret."},"scopes":{"type":"array","items":{"type":"string"},"description":"Scopes is the list of the OAuth2 scopes that are requested from the\nprovider (e.g. `repo`)."}},"additionalProperties":false,"description":"Github is the GitHub OAuth2 provider."},"octelium.api.main.cordium.v1.GitProvider.Spec.Github.ClientSecret":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret is the name of a Secret in the same Space whose content\nis used as the client secret.","x-oneof":"type"}},"additionalProperties":false,"description":"ClientSecret is the OAuth2 application's client secret.","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.cordium.v1.GitProvider.Spec.Gitlab":{"type":"object","properties":{"clientID":{"type":"string","description":"ClientID is the OAuth2 application's client ID."},"clientSecret":{"$ref":"#/definitions/octelium.api.main.cordium.v1.GitProvider.Spec.Gitlab.ClientSecret","description":"ClientSecret is the OAuth2 application's client secret."},"scopes":{"type":"array","items":{"type":"string"},"description":"Scopes is the list of the OAuth2 scopes that are requested from the\nprovider (e.g. `read_repository`)."}},"additionalProperties":false,"description":"Gitlab is the GitLab OAuth2 provider."},"octelium.api.main.cordium.v1.GitProvider.Spec.Gitlab.ClientSecret":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret is the name of a Secret in the same Space whose content\nis used as the client secret.","x-oneof":"type"}},"additionalProperties":false,"description":"ClientSecret is the OAuth2 application's client secret.","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.cordium.v1.GitProvider.Spec.OAuth2":{"type":"object","properties":{"clientID":{"type":"string","description":"ClientID is the OAuth2 application's client ID."},"clientSecret":{"$ref":"#/definitions/octelium.api.main.cordium.v1.GitProvider.Spec.OAuth2.ClientSecret","description":"ClientSecret is the OAuth2 application's client secret."},"authURL":{"type":"string","description":"AuthURL is the provider's authorization endpoint URL."},"tokenURL":{"type":"string","description":"TokenURL is the provider's token endpoint URL."},"scopes":{"type":"array","items":{"type":"string"},"description":"Scopes is the list of the OAuth2 scopes that are requested from the\nprovider. At least one scope must be provided."}},"additionalProperties":false,"description":"OAuth2 is a generic OAuth2 provider for the self-hosted and the other\ngit hosting services."},"octelium.api.main.cordium.v1.GitProvider.Spec.OAuth2.ClientSecret":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret is the name of a Secret in the same Space whose content\nis used as the client secret.","x-oneof":"type"}},"additionalProperties":false,"description":"ClientSecret is the OAuth2 application's client secret.","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.cordium.v1.GitProvider.Status":{"type":"object","properties":{"userRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"UserRef is the reference of the Octelium User who created the\nGitProvider."},"spaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"SpaceRef is the reference of the Space that owns the GitProvider."}},"additionalProperties":false,"description":"Status is the current status of the GitProvider. It is managed by the\nCluster and it is read-only."},"octelium.api.main.cordium.v1.GitProviderList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"cordium/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `GitProviderList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.GitProvider"},"description":"Items is the list of GitProviders."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"GitProviderList is the response of the ListGitProvider method."},"octelium.api.main.cordium.v1.InitializeAgentRequest":{"type":"object","properties":{"workspaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"WorkspaceRef optionally sets another existing Workspace of the agent's\nTemplate that is owned by the User as the agent's Workspace. If it is\nunset, the current agent's Workspace is kept as long as it still exists,\notherwise a new one is created."}},"additionalProperties":false,"description":"InitializeAgentRequest is the request of the InitializeAgent method."},"octelium.api.main.cordium.v1.LeaveSpaceRequest":{"type":"object","properties":{"spaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"SpaceRef is the reference of the Space to be left."}},"additionalProperties":false,"description":"LeaveSpaceRequest is the request of the LeaveSpace method."},"octelium.api.main.cordium.v1.LeaveSpaceResponse":{"type":"object","properties":{},"additionalProperties":false,"description":"LeaveSpaceResponse is the response of the LeaveSpace method. It is\nintentionally empty."},"octelium.api.main.cordium.v1.ListGitProviderOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common is the pagination and ordering options that are common to all the\nList methods."},"spaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"SpaceRef is the reference of the Space whose GitProviders are listed."}},"additionalProperties":false,"description":"ListGitProviderOptions is the request of the ListGitProvider method."},"octelium.api.main.cordium.v1.ListMembershipOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common is the pagination and ordering options that are common to all the\nList methods."},"spaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"SpaceRef is the reference of the Space whose Memberships are listed."}},"additionalProperties":false,"description":"ListMembershipOptions is the request of the ListMembership method."},"octelium.api.main.cordium.v1.ListRegionOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common is the pagination and ordering options that are common to all the\nList methods."}},"additionalProperties":false,"description":"ListRegionOptions is the request of the ListRegion method."},"octelium.api.main.cordium.v1.ListSecretOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common is the pagination and ordering options that are common to all the\nList methods."},"spaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"SpaceRef is the reference of the Space whose Secrets are listed."}},"additionalProperties":false,"description":"ListSecretOptions is the request of the ListSecret method."},"octelium.api.main.cordium.v1.ListSpaceOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common is the pagination and ordering options that are common to all the\nList methods."},"type":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Space.Status.Type","description":"Type optionally lists only the Spaces of this type."},"mode":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ListSpaceOptions.Mode","description":"Mode is the relationship between the calling User and the listed Spaces."}},"additionalProperties":false,"description":"ListSpaceOptions is the request of the ListSpace method."},"octelium.api.main.cordium.v1.ListSpaceOptions.Mode":{"type":"string","enum":["MODE_UNSET","MODE_CREATED_BY","MODE_MEMBER"],"description":"Mode is the relationship between the calling User and the listed Spaces","x-enumDescriptions":{"MODE_UNSET":"MODE_UNSET falls back to MODE_CREATED_BY.","MODE_CREATED_BY":"MODE_CREATED_BY lists only the Spaces that were created by the calling\nUser.","MODE_MEMBER":"MODE_MEMBER lists the Spaces in which the calling User has a Membership."}},"octelium.api.main.cordium.v1.ListTemplateOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common is the pagination and ordering options that are common to all the\nList methods."},"spaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"SpaceRef is the reference of the Space whose Templates are listed."}},"additionalProperties":false,"description":"ListTemplateOptions is the request of the ListTemplate method."},"octelium.api.main.cordium.v1.ListUserSecretOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common is the pagination and ordering options that are common to all the\nList methods."}},"additionalProperties":false,"description":"ListUserSecretOptions is the request of the ListUserSecret method. Only the\nUserSecrets that are owned by the calling User are returned."},"octelium.api.main.cordium.v1.ListVolumeOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common is the pagination and ordering options that are common to all the\nList methods."},"spaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"SpaceRef is the reference of the Space whose Volumes are listed."}},"additionalProperties":false,"description":"ListVolumeOptions is the request of the ListVolume method."},"octelium.api.main.cordium.v1.ListWorkspaceOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common is the pagination and ordering options that are common to all the\nList methods."},"spaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"SpaceRef returns only the Workspaces that belong to this Space.","x-oneof":"filter"},"templateRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"TemplateRef returns only the Workspaces that belong to this Template.","x-oneof":"filter"}},"additionalProperties":false,"description":"ListWorkspaceOptions is the request of the ListWorkspace method. The\nreturned Workspaces are always restricted to the ones that are owned by the\ncalling User.","x-oneofs":{"filter":["spaceRef","templateRef"]}},"octelium.api.main.cordium.v1.ListWorkspaceSnapshotOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common is the pagination and ordering options that are common to all the\nList methods."},"workspaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"WorkspaceRef returns only the snapshots of this Workspace.","x-oneof":"filter"},"spaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"SpaceRef returns only the snapshots whose source Workspace belongs to\nthis Space.","x-oneof":"filter"}},"additionalProperties":false,"description":"ListWorkspaceSnapshotOptions is the request of the ListWorkspaceSnapshot\nmethod. The returned WorkspaceSnapshots are always restricted to the ones\nthat are owned by the calling User.","x-oneofs":{"filter":["workspaceRef","spaceRef"]}},"octelium.api.main.cordium.v1.Membership":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"cordium/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `Membership`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Membership.Spec","description":"Spec is the Membership specification."},"status":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Membership.Status","description":"Status is the current status of the Membership."}},"additionalProperties":false,"description":"Membership binds an Octelium User to a Space with a specific Role. It is the\nresource that grants a User access to the Space's Templates, Workspaces,\nSecrets and GitProviders. A Membership with the OWNER Role is automatically\ncreated for the User who creates a Space."},"octelium.api.main.cordium.v1.Membership.Spec":{"type":"object","properties":{"role":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Membership.Spec.Role","description":"Role is the level of access that the Member has inside the Space."}},"additionalProperties":false,"description":"Spec is the Membership specification"},"octelium.api.main.cordium.v1.Membership.Spec.Role":{"type":"string","enum":["UNKNOWN","OWNER","ADMIN","USER"],"description":"Role is the level of access that the Member has inside the Space","x-enumDescriptions":{"UNKNOWN":"UNKNOWN is not used. It is treated as USER upon the creation of a\nMembership.","OWNER":"OWNER has full control over the Space including deleting it and\nmanaging its Owners. Granting this Role requires the caller to be an\nOWNER themselves and requires the target User to be authorized to own\nSpaces by the ClusterConfig.","ADMIN":"ADMIN can manage the Space's Templates, Secrets, GitProviders and\nMemberships.","USER":"USER can use the Space (e.g. create Workspaces in it) but cannot\nmanage it."}},"octelium.api.main.cordium.v1.Membership.Status":{"type":"object","properties":{"userRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"UserRef is the reference of the Octelium User that the Membership\nbelongs to."},"spaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"SpaceRef is the reference of the Space that the Membership belongs to."},"userInfo":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Membership.Status.UserInfo","description":"UserInfo is the human-readable information about the Member."},"gitProviderStateMap":{"type":"object","additionalProperties":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Membership.Status.GitProviderState"},"description":"GitProviderStateMap is the map of the in-flight GitProvider OAuth2\nauthorization flows of the Member keyed by the UID of the Workspace that\neach flow was initiated for. It is internal to the Cluster and it is\nnever exposed by the Membership methods."}},"additionalProperties":false,"description":"Status is the current status of the Membership. It is managed by the\nCluster and it is read-only."},"octelium.api.main.cordium.v1.Membership.Status.GitProviderState":{"type":"object","properties":{"gitProviderRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"GitProviderRef is the reference of the GitProvider that the flow\nauthenticates against."},"workspaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"WorkspaceRef is the reference of the Workspace that the flow was\ninitiated for."},"createdAt":{"type":"string","format":"date-time","description":"CreatedAt is the timestamp at which the flow was initiated. The state\nis short-lived and it is discarded once it expires."},"stateID":{"type":"string","description":"StateID is the randomly generated value that is used as the OAuth2\n`state` parameter in order to protect the flow against CSRF."}},"additionalProperties":false,"description":"GitProviderState is the state of an in-flight GitProvider OAuth2\nauthorization flow that was initiated for a specific Workspace."},"octelium.api.main.cordium.v1.Membership.Status.UserInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"DisplayName is the Member's display name."},"picURL":{"type":"string","description":"PicURL is the URL of the Member's picture."}},"additionalProperties":false,"description":"UserInfo is the human-readable information about the Member which is\ncopied from the Octelium User in order to be displayed alongside the\nMembership."},"octelium.api.main.cordium.v1.MembershipList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"cordium/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `MembershipList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Membership"},"description":"Items is the list of Memberships."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"MembershipList is the response of the ListMembership method."},"octelium.api.main.cordium.v1.Region":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"cordium/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `Region`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Region.Spec","description":"Spec is the Region specification."},"status":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Region.Status","description":"Status is the current status of the Region."}},"additionalProperties":false,"description":"Region is an Octelium Region of the Cluster that is enabled to host\nWorkspaces. Regions are managed by the Cluster administrators and they are\nread-only for the Users who can only choose among them when starting a\nWorkspace or when setting their preferred Region in their UserConfig."},"octelium.api.main.cordium.v1.Region.Spec":{"type":"object","properties":{},"additionalProperties":false,"description":"Spec is the Region specification. It is intentionally empty."},"octelium.api.main.cordium.v1.Region.Status":{"type":"object","properties":{"country":{"type":"string","description":"Country is the country in which the Region is located."},"city":{"type":"string","description":"City is the city in which the Region is located."}},"additionalProperties":false,"description":"Status is the current status of the Region. It is managed by the Cluster\nand it is read-only."},"octelium.api.main.cordium.v1.RegionList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version of the object."},"kind":{"type":"string","description":"Kind is the resource name (i.e. `RegionList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Region"},"description":"Items is the list of Regions."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"RegionList is the response of the ListRegion method."},"octelium.api.main.cordium.v1.Secret":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version of the object."},"kind":{"type":"string","description":"Kind is the resource name (i.e. `Secret`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"octelium.api.main.meta.v1.Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Secret.Spec","description":"Spec is the Secret specification."},"status":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Secret.Status","description":"Status is the current status of the Secret."},"data":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Secret.Data","description":"Data is the Secret data content."}},"additionalProperties":false,"description":"Secret is a sensitive value (e.g. an API key, a token, a password or a\ncertificate) that is stored inside a Space. Secrets are referenced by name\nfrom the Workspace and Template specs (e.g. as the source of an environment\nvariable, of a registry password or of a repository password). Their content\nis resolved by the Cluster at initialization time and it is never returned\nback by the API once the Secret is created."},"octelium.api.main.cordium.v1.Secret.Data":{"type":"object","properties":{"value":{"type":"string","description":"Value is the content provided as a string.","x-oneof":"type"},"valueBytes":{"type":"string","contentEncoding":"base64","description":"ValueBytes is the content provided as raw bytes.","x-oneof":"type"},"attrs":{"type":"object","description":"Attrs is the content provided as a structured map of attributes.","x-oneof":"type"}},"additionalProperties":false,"description":"Data is the Secret's sensitive content. It is write-only (i.e. it can only\nbe set at creation time and it is never returned back by the API).","x-oneofs":{"type":["value","valueBytes","attrs"]}},"octelium.api.main.cordium.v1.Secret.Spec":{"type":"object","properties":{},"additionalProperties":false,"description":"Spec is the Secret specification. It is intentionally empty."},"octelium.api.main.cordium.v1.Secret.Status":{"type":"object","properties":{"spaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"SpaceRef is the reference of the Space that owns the Secret."},"userRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"UserRef is the reference of the Octelium User who created the Secret."}},"additionalProperties":false,"description":"Status is the current status of the Secret. It is managed by the Cluster\nand it is read-only."},"octelium.api.main.cordium.v1.SecretList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"cordium/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `SecretList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Secret"},"description":"Items is the list of Secrets."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"SecretList is the response of the ListSecret method. The Secrets' data is\nnot included."},"octelium.api.main.cordium.v1.ShareWorkspacePortRequest":{"type":"object","properties":{"workspaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"WorkspaceRef is the reference of the Workspace that owns the Application."},"mode":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ShareWorkspacePortRequest.Mode","description":"Mode is the audience with which the Application is shared."},"applicationName":{"type":"string","description":"ApplicationName is the name of the Application to be shared as it is\ndefined in the Workspace's spec."}},"additionalProperties":false,"description":"ShareWorkspacePortRequest is the request of the ShareWorkspacePort method."},"octelium.api.main.cordium.v1.ShareWorkspacePortRequest.Mode":{"type":"string","enum":["UNSET","MEMBERS","ALL"],"description":"Mode is the audience with which the Application is shared. It mirrors the\nWorkspace status' SharedPort mode","x-enumDescriptions":{"UNSET":"UNSET is not used. A mode must be explicitly provided.","MEMBERS":"MEMBERS shares the Application with the Members of the Workspace's\nSpace.","ALL":"ALL shares the Application with all the Cluster's Users."}},"octelium.api.main.cordium.v1.ShareWorkspacePortResponse":{"type":"object","properties":{},"additionalProperties":false,"description":"ShareWorkspacePortResponse is the response of the ShareWorkspacePort method.\nIt is intentionally empty."},"octelium.api.main.cordium.v1.Space":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"cordium/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `Space`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Space.Spec","description":"Spec is the Space specification."},"status":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Space.Status","description":"Status is the current status of the Space."}},"additionalProperties":false,"description":"Space is the top-level namespace of Cordium. It groups the Templates,\nWorkspaces, Secrets, GitProviders and Memberships under a single\norganizational unit. A `default` Space is automatically created for a User\nupon the creation of their first Workspace. A Space can define runtime\nconfiguration that cascades down to all of its Workspaces as well as the\ndefault and the maximum resource limits of its Workspaces."},"octelium.api.main.cordium.v1.Space.Spec":{"type":"object","properties":{"limit":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Space.Spec.Limit","description":"Limit is the default and the maximum compute resources of the Space's\nWorkspaces."},"runtime":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Space.Spec.Runtime","description":"Runtime is the runtime configuration that cascades down to every\nWorkspace of the Space."},"authorization":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Space.Spec.Authorization","description":"Authorization is the access control configuration of the Space's\nWorkspaces."}},"additionalProperties":false,"description":"Spec is the Space specification"},"octelium.api.main.cordium.v1.Space.Spec.Authorization":{"type":"object","properties":{"disableSSH":{"type":"boolean","description":"DisableSSH denies SSH access to the Workspaces of the Space."}},"additionalProperties":false,"description":"Authorization is the access control configuration of the Space's\nWorkspaces."},"octelium.api.main.cordium.v1.Space.Spec.Limit":{"type":"object","properties":{"defaultLimit":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Limit","description":"DefaultLimit is the limits that are applied to the Workspaces of the\nSpace that do not define their own limits."},"maxLimit":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Limit","description":"MaxLimit is a hard cap that no Workspace of the Space can exceed."}},"additionalProperties":false,"description":"Limit is the default and the maximum compute resources of the Space's\nWorkspaces. It can only be set for ORGANIZATION Spaces."},"octelium.api.main.cordium.v1.Space.Spec.Runtime":{"type":"object","properties":{"envVars":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.EnvVar"},"description":"EnvVars is the list of the environment variables that are injected\ninto every Workspace of the Space. Secret-sourced environment\nvariables can only be used in ORGANIZATION Spaces."},"tasks":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Task"},"description":"Tasks is the list of the lifecycle tasks that are run in every\nWorkspace of the Space."},"capabilities":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Capabilities","description":"Capabilities is the Linux capabilities that are merged into every\nWorkspace of the Space."}},"additionalProperties":false,"description":"Runtime is the runtime configuration that cascades down to every\nWorkspace of the Space regardless of its Template."},"octelium.api.main.cordium.v1.Space.Status":{"type":"object","properties":{"userRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"UserRef is the reference of the Octelium User who created the Space."},"type":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Space.Status.Type","description":"Type is the type of the Space."}},"additionalProperties":false,"description":"Status is the current status of the Space. It is managed by the Cluster\nand it is read-only."},"octelium.api.main.cordium.v1.Space.Status.Type":{"type":"string","enum":["SPACE_TYPE_UNSET","USER","ORGANIZATION"],"description":"Type is the type of the Space","x-enumDescriptions":{"SPACE_TYPE_UNSET":"SPACE_TYPE_UNSET is not used.","USER":"USER is a Space that is personal to a single Octelium User. Members\ncannot currently be added to it and it cannot define resource limits.","ORGANIZATION":"ORGANIZATION is a shared Space that can have several Members with\ndifferent roles."}},"octelium.api.main.cordium.v1.SpaceList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"cordium/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `SpaceList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Space"},"description":"Items is the list of Spaces."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"SpaceList is the response of the ListSpace method."},"octelium.api.main.cordium.v1.StartWorkspaceRequest":{"type":"object","properties":{"workspaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"WorkspaceRef is the reference of the Workspace to be started."},"config":{"$ref":"#/definitions/octelium.api.main.cordium.v1.StartWorkspaceRequest.Config","description":"Config is the run-specific configuration of the run being started."}},"additionalProperties":false,"description":"StartWorkspaceRequest is the request of the StartWorkspace method."},"octelium.api.main.cordium.v1.StartWorkspaceRequest.Config":{"type":"object","properties":{"vars":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Var"},"description":"Vars is the list of the variables that override the Workspace's own\nvariables for this run."},"regionRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"RegionRef is the reference of the Region that is chosen to host the run.\nIf it is unset, the Cluster picks a Region on its own, preferring the\nUser's preferred Region if it is set in their UserConfig."}},"additionalProperties":false,"description":"Config is the run-specific configuration that only applies to the run\nbeing started."},"octelium.api.main.cordium.v1.StartWorkspaceResponse":{"type":"object","properties":{},"additionalProperties":false,"description":"StartWorkspaceResponse is the response of the StartWorkspace method. It is\nintentionally empty since the start itself is asynchronous."},"octelium.api.main.cordium.v1.StopWorkspaceRequest":{"type":"object","properties":{"workspaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"WorkspaceRef is the reference of the Workspace to be stopped."}},"additionalProperties":false,"description":"StopWorkspaceRequest is the request of the StopWorkspace method."},"octelium.api.main.cordium.v1.StopWorkspaceResponse":{"type":"object","properties":{},"additionalProperties":false,"description":"StopWorkspaceResponse is the response of the StopWorkspace method. It is\nintentionally empty since the stoppage itself is asynchronous."},"octelium.api.main.cordium.v1.Template":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"cordium/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `Template`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Template.Spec","description":"Spec is the Template specification."},"status":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Template.Status","description":"Status is the current status of the Template."}},"additionalProperties":false,"description":"Template is a reusable Workspace configuration inside a Space. Every\nWorkspace is created from a Template and it inherits its spec. Every Space\nhas a `default` Template that is automatically created along with it. A\nTemplate can additionally be associated with a GitProvider and it can be\npre-built so that its Workspaces start from a ready-made storage snapshot."},"octelium.api.main.cordium.v1.Template.Spec":{"type":"object","properties":{"image":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Image","description":"Image defines how the container image of the Template's Workspaces is\nobtained."},"runtime":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime","description":"Runtime controls the behavior of the container of the Template's\nWorkspaces."},"repository":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Repository","description":"Repository is the primary git repository which is cloned into the\nTemplate's Workspaces."},"additionalRepositories":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.AdditionalRepository"},"description":"AdditionalRepositories is the list of the secondary repositories that\nare cloned alongside the primary one."},"limit":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Limit","description":"Limit is the default compute resources that are allocated for the\nTemplate's Workspaces."},"gitProvider":{"type":"string","description":"GitProvider is the name of a GitProvider in the same Space. Once it is\nset, the User's stored OAuth2 token is automatically injected into the\nTemplate's Workspaces which enables authenticated git operations without\nany manual credential configuration."},"vars":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Var"},"description":"Vars is the list of the variables that are substituted inside the spec."}},"additionalProperties":false,"description":"Spec is the Template specification. It shares most of the Workspace spec."},"octelium.api.main.cordium.v1.Template.Status":{"type":"object","properties":{"spaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"SpaceRef is the reference of the Space that owns the Template."},"userRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"UserRef is the reference of the Octelium User who created the Template."},"gitProviderRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"GitProviderRef is the reference of the GitProvider that is associated\nwith the Template via the spec's gitProvider field."},"buildInfo":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Template.Status.BuildInfo","description":"BuildInfo is the state of the Template's pre-builds."}},"additionalProperties":false,"description":"Status is the current status of the Template. It is managed by the Cluster\nand it is read-only."},"octelium.api.main.cordium.v1.Template.Status.BuildInfo":{"type":"object","properties":{"builds":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Template.Status.BuildInfo.Build"},"description":"Builds is the history of the Template's pre-builds ordered from the\nmost to the least recent one."},"currentReadyBuildID":{"type":"string","description":"CurrentReadyBuildID is the ID of the pre-build whose storage snapshot\nthe new Workspaces of the Template are currently restored from."},"currentRunningBuildID":{"type":"string","description":"CurrentRunningBuildID is the ID of the pre-build that is currently\nrunning, if any."}},"additionalProperties":false,"description":"BuildInfo is the state of the Template's pre-builds."},"octelium.api.main.cordium.v1.Template.Status.BuildInfo.Build":{"type":"object","properties":{"id":{"type":"string","description":"ID is a randomly generated identifier of the pre-build."},"tags":{"type":"array","items":{"type":"string"},"description":"Tags is the list of the tags that the pre-build was started with. It\ndefaults to `latest`."},"startedAt":{"type":"string","format":"date-time","description":"StartedAt is the timestamp at which the pre-build started."},"doneAt":{"type":"string","format":"date-time","description":"DoneAt is the timestamp at which the pre-build completed, failed or\nwas canceled."},"isCanceled":{"type":"boolean","description":"IsCanceled means that the pre-build was explicitly canceled (e.g.\nvia the CancelBuildTemplate method or by starting a new pre-build)."},"failure":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.Failure","description":"Failure is the reason of the failure of the pre-build, if any."},"state":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Template.Status.BuildInfo.Build.State","description":"State is the current state of the pre-build."}},"additionalProperties":false,"description":"Build is a single pre-build of the Template."},"octelium.api.main.cordium.v1.Template.Status.BuildInfo.Build.State":{"type":"string","enum":["STATE_UNKNOWN","STATE_RUNNING","STATE_READY","STATE_FAILED"],"description":"State is the current state of the pre-build","x-enumDescriptions":{"STATE_UNKNOWN":"STATE_UNKNOWN is not used.","STATE_RUNNING":"STATE_RUNNING means that the pre-build is currently running.","STATE_READY":"STATE_READY means that the pre-build successfully completed and\nthat its storage snapshot can be used by the new Workspaces.","STATE_FAILED":"STATE_FAILED means that the pre-build failed or that it was\ncanceled."}},"octelium.api.main.cordium.v1.TemplateList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"cordium/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `TemplateList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Template"},"description":"Items is the list of Templates."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"TemplateList is the response of the ListTemplate method."},"octelium.api.main.cordium.v1.UnshareWorkspacePortRequest":{"type":"object","properties":{"workspaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"WorkspaceRef is the reference of the Workspace that owns the Application."},"applicationName":{"type":"string","description":"ApplicationName is the name of the Application to stop sharing."}},"additionalProperties":false,"description":"UnshareWorkspacePortRequest is the request of the UnshareWorkspacePort\nmethod."},"octelium.api.main.cordium.v1.UnshareWorkspacePortResponse":{"type":"object","properties":{},"additionalProperties":false,"description":"UnshareWorkspacePortResponse is the response of the UnshareWorkspacePort\nmethod. It is intentionally empty."},"octelium.api.main.cordium.v1.UserConfig":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"cordium/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `UserConfig`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.cordium.v1.UserConfig.Spec","description":"Spec is the UserConfig specification."},"status":{"$ref":"#/definitions/octelium.api.main.cordium.v1.UserConfig.Status","description":"Status is the current status of the UserConfig."}},"additionalProperties":false,"description":"UserConfig is the per-User configuration that is applied to all of the\nUser's Workspaces regardless of their Space or Template. There is exactly\none UserConfig per Octelium User and it is automatically created by the\nCluster upon its first use."},"octelium.api.main.cordium.v1.UserConfig.Spec":{"type":"object","properties":{"dotfiles":{"$ref":"#/definitions/octelium.api.main.cordium.v1.UserConfig.Spec.Dotfiles","description":"Dotfiles is the User's personal dotfiles repository."},"envVars":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.UserConfig.Spec.EnvVar"},"description":"EnvVars is the list of the environment variables that are injected into\nevery Workspace of the User."},"tasks":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Task"},"description":"Tasks is the list of the personal lifecycle tasks that are run in every\nWorkspace of the User. They are run after the Template-level and the\nSpace-level tasks."},"preferredRegion":{"type":"string","description":"PreferredRegion is the name of the Octelium Region in which the User's\nWorkspaces are preferably run. The Region must be enabled to host\nWorkspaces."}},"additionalProperties":false,"description":"Spec is the UserConfig specification"},"octelium.api.main.cordium.v1.UserConfig.Spec.Dotfiles":{"type":"object","properties":{"url":{"type":"string","description":"URL is the HTTPS URL of the dotfiles git repository."},"authentication":{"$ref":"#/definitions/octelium.api.main.cordium.v1.UserConfig.Spec.Dotfiles.Authentication","description":"Authentication is set for the private dotfiles repositories."},"branch":{"type":"string","description":"Branch is the branch of the dotfiles repository to be cloned. It\ndefaults to the repository's default branch."}},"additionalProperties":false,"description":"Dotfiles is a git repository containing the User's personal dotfiles. It\nis cloned into the Workspace at the beginning of the PREPARING phase and\nthe first install script that is found in it is executed."},"octelium.api.main.cordium.v1.UserConfig.Spec.Dotfiles.Authentication":{"type":"object","properties":{"http":{"$ref":"#/definitions/octelium.api.main.cordium.v1.UserConfig.Spec.Dotfiles.Authentication.HTTP","description":"HTTP is the HTTP basic authentication.","x-oneof":"type"}},"additionalProperties":false,"description":"Authentication is the credentials that are used to clone a private\ndotfiles repository.","x-oneofs":{"type":["http"]}},"octelium.api.main.cordium.v1.UserConfig.Spec.Dotfiles.Authentication.HTTP":{"type":"object","properties":{"username":{"type":"string","description":"Username is the basic authentication username."},"password":{"$ref":"#/definitions/octelium.api.main.cordium.v1.UserConfig.Spec.Dotfiles.Authentication.HTTP.Password","description":"Password is the basic authentication password."}},"additionalProperties":false,"description":"HTTP is the HTTP basic authentication credentials."},"octelium.api.main.cordium.v1.UserConfig.Spec.Dotfiles.Authentication.HTTP.Password":{"type":"object","properties":{"fromUserSecret":{"type":"string","description":"FromUserSecret is the name of a UserSecret of the same User\nwhose content is used as the password.","x-oneof":"type"}},"additionalProperties":false,"description":"Password is the password, token or personal access token.","x-oneofs":{"type":["fromUserSecret"]}},"octelium.api.main.cordium.v1.UserConfig.Spec.EnvVar":{"type":"object","properties":{"key":{"type":"string","description":"Key is the environment variable's name."},"value":{"type":"string","description":"Value is the value provided directly as a string.","x-oneof":"type"},"fromUserSecret":{"type":"string","description":"FromUserSecret is the name of a UserSecret of the same User whose\ncontent is used as the value.","x-oneof":"type"}},"additionalProperties":false,"description":"EnvVar is an environment variable that is injected into every Workspace\nof the User.","x-oneofs":{"type":["value","fromUserSecret"]}},"octelium.api.main.cordium.v1.UserConfig.Status":{"type":"object","properties":{"userRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"UserRef is the reference of the Octelium User who owns the UserConfig."},"preferredRegionRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"PreferredRegionRef is the reference of the Region that the spec's\npreferredRegion resolves to."},"agentWorkspaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"AgentWorkspaceRef is the reference of the Workspace that runs the\nUser's Cordium AI agent. It is set via the InitializeAgent method and\nit is unset once that Workspace is deleted."}},"additionalProperties":false,"description":"Status is the current status of the UserConfig. It is managed by the\nCluster and it is read-only."},"octelium.api.main.cordium.v1.UserSecret":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version of the object."},"kind":{"type":"string","description":"Kind is the resource name (i.e. `UserSecret`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"octelium.api.main.meta.v1.Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.cordium.v1.UserSecret.Spec","description":"Spec is the UserSecret specification."},"status":{"$ref":"#/definitions/octelium.api.main.cordium.v1.UserSecret.Status","description":"Status is the current status of the UserSecret."},"data":{"$ref":"#/definitions/octelium.api.main.cordium.v1.UserSecret.Data","description":"Data is the UserSecret data content."}},"additionalProperties":false,"description":"UserSecret is a sensitive value that is scoped to its owner Octelium User\nrather than to a Space. UserSecrets are used as the value source of the\nUserConfig environment variables as well as for the dotfiles repository\nauthentication. Their content is never returned back by the API."},"octelium.api.main.cordium.v1.UserSecret.Data":{"type":"object","properties":{"value":{"type":"string","description":"Value is the content provided as a string.","x-oneof":"type"},"valueBytes":{"type":"string","contentEncoding":"base64","description":"ValueBytes is the content provided as raw bytes.","x-oneof":"type"},"attrs":{"type":"object","description":"Attrs is the content provided as a structured map of attributes.","x-oneof":"type"}},"additionalProperties":false,"description":"Data is the UserSecret's sensitive content. It is write-only (i.e. it can\nonly be set at creation time and it is never returned back by the API).\nFor the UserSecrets of the SSH_KEY type it is generated by the Cluster.","x-oneofs":{"type":["value","valueBytes","attrs"]}},"octelium.api.main.cordium.v1.UserSecret.Spec":{"type":"object","properties":{"type":{"$ref":"#/definitions/octelium.api.main.cordium.v1.UserSecret.Spec.Type","description":"Type is the kind of the UserSecret's content."}},"additionalProperties":false,"description":"Spec is the UserSecret specification"},"octelium.api.main.cordium.v1.UserSecret.Spec.Type":{"type":"string","enum":["DEFAULT","SSH_KEY"],"description":"Type is the kind of the UserSecret's content","x-enumDescriptions":{"DEFAULT":"DEFAULT is an arbitrary value that is provided by the User.","SSH_KEY":"SSH_KEY is an ECDSA key pair that is generated by the Cluster. The\nprivate key is stored as the UserSecret's data and it is automatically\nloaded into an SSH agent inside every Workspace of the User while the\npublic key is exposed in the status."}},"octelium.api.main.cordium.v1.UserSecret.Status":{"type":"object","properties":{"userRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"UserRef is the reference of the Octelium User who owns the UserSecret."},"sshKey":{"$ref":"#/definitions/octelium.api.main.cordium.v1.UserSecret.Status.SSHKey","description":"SSHKey is set for the UserSecrets of the SSH_KEY type.","x-oneof":"details"}},"additionalProperties":false,"description":"Status is the current status of the UserSecret. It is managed by the\nCluster and it is read-only.","x-oneofs":{"details":["sshKey"]}},"octelium.api.main.cordium.v1.UserSecret.Status.SSHKey":{"type":"object","properties":{"publicKey":{"type":"string","description":"PublicKey is the OpenSSH-formatted public key."}},"additionalProperties":false,"description":"SSHKey is the public part of a generated SSH_KEY UserSecret."},"octelium.api.main.cordium.v1.UserSecretList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"cordium/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `UserSecretList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.UserSecret"},"description":"Items is the list of UserSecrets."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"UserSecretList is the response of the ListUserSecret method. The\nUserSecrets' data is not included."},"octelium.api.main.cordium.v1.Volume":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"cordium/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `Volume`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Volume.Spec","description":"Spec is the Volume specification."},"status":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Volume.Status","description":"Status is the current status of the Volume."}},"additionalProperties":false,"description":"Volume is a persistent storage device that lives inside a Space and that is\nmounted by the Workspaces of that Space at arbitrary paths. Unlike the\nWorkspace's own private storage, a Volume has a lifecycle of its own (i.e.\nit outlives the Workspaces that mount it), it is shared between the Members\nof its Space and it is never included in the WorkspaceSnapshots of the\nWorkspaces that mount it. Volumes are backed by a Kubernetes persistent\nvolume and, therefore, they belong to a single Region and can only be\nmounted by the Workspaces that run in that same Region."},"octelium.api.main.cordium.v1.Volume.AccessMode":{"type":"string","enum":["ACCESS_MODE_UNSET","ACCESS_MODE_EXCLUSIVE","ACCESS_MODE_SHARED"],"description":"AccessMode is the concurrency guarantee of a Volume","x-enumDescriptions":{"ACCESS_MODE_UNSET":"ACCESS_MODE_UNSET falls back to EXCLUSIVE.","ACCESS_MODE_EXCLUSIVE":"ACCESS_MODE_EXCLUSIVE is a Volume that is meant to be actively mounted\nby a single Workspace at a time. It is backed by a single-writer\nKubernetes volume which is what the block storage backends typically\nprovide.","ACCESS_MODE_SHARED":"ACCESS_MODE_SHARED is a Volume that can be actively mounted by several\nWorkspaces at the same time. It is backed by a multi-writer Kubernetes\nvolume and, therefore, it requires the Cluster to be configured with a\nshared filesystem storage backend (e.g. NFS, CephFS or EFS)."}},"octelium.api.main.cordium.v1.Volume.Spec":{"type":"object","properties":{"size":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Volume.Spec.Size","description":"Size is the requested capacity of the Volume. It defaults to the\nCluster's default Volume size. It can later be grown but never shrunk\nand growing it additionally requires the storage backend to support the\nexpansion of the already provisioned volumes."},"accessMode":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Volume.AccessMode","description":"AccessMode is the concurrency guarantee of the Volume. It is immutable\nand it defaults to EXCLUSIVE."}},"additionalProperties":false,"description":"Spec is the Volume specification"},"octelium.api.main.cordium.v1.Volume.Spec.Size":{"type":"object","properties":{"megabytes":{"type":"integer","format":"uint32","minimum":0,"description":"Megabytes is the capacity in megabytes."}},"additionalProperties":false,"description":"Size is the capacity of a Volume."},"octelium.api.main.cordium.v1.Volume.Status":{"type":"object","properties":{"state":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Volume.Status.State","description":"State is the current state of the Volume."},"spaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"SpaceRef is the reference of the Space that owns the Volume."},"userRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"UserRef is the reference of the Octelium User who created the Volume."},"regionRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"RegionRef is the reference of the Region that hosts the Volume's\nunderlying storage. Only the Workspaces that run in that Region can\nmount the Volume."},"capacity":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Volume.Spec.Size","description":"Capacity is the actual capacity of the provisioned storage as it is\nreported by the storage backend. It is unset until the Volume is\nprovisioned and it can be larger than the requested size."},"readyAt":{"type":"string","format":"date-time","description":"ReadyAt is the timestamp at which the Volume's storage was provisioned."},"failure":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Volume.Status.Failure","description":"Failure is the reason of the failure of the Volume, if any."}},"additionalProperties":false,"description":"Status is the current status of the Volume. It is entirely managed by the\nCluster and it is read-only."},"octelium.api.main.cordium.v1.Volume.Status.Failure":{"type":"object","properties":{"message":{"type":"string","description":"Message is a human-readable description of the failure."},"unsupported":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Volume.Status.Failure.Unsupported","description":"Unsupported means that the Cluster cannot provision the Volume as it\nis requested.","x-oneof":"type"},"storage":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Volume.Status.Failure.Storage","description":"Storage means that the storage backend failed.","x-oneof":"type"},"unknown":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Volume.Status.Failure.Unknown","description":"Unknown means that the Volume failed for an unclassified reason.","x-oneof":"type"}},"additionalProperties":false,"description":"Failure describes the reason of the failure of a Volume.","x-oneofs":{"type":["unsupported","storage","unknown"]}},"octelium.api.main.cordium.v1.Volume.Status.Failure.Storage":{"type":"object","properties":{},"additionalProperties":false,"description":"Storage means that the storage backend failed to provision the Volume\nor that the already provisioned storage was lost."},"octelium.api.main.cordium.v1.Volume.Status.Failure.Unknown":{"type":"object","properties":{},"additionalProperties":false,"description":"Unknown means that the Volume failed for an unclassified reason."},"octelium.api.main.cordium.v1.Volume.Status.Failure.Unsupported":{"type":"object","properties":{},"additionalProperties":false,"description":"Unsupported means that the Cluster is not able to provision the\nVolume as it is requested (e.g. a SHARED Volume was requested while no\nmulti-writer storage backend is configured)."},"octelium.api.main.cordium.v1.Volume.Status.State":{"type":"string","enum":["STATE_UNKNOWN","STATE_PENDING","STATE_READY","STATE_FAILED"],"description":"State is the current state of the Volume's lifecycle","x-enumDescriptions":{"STATE_UNKNOWN":"STATE_UNKNOWN is not used.","STATE_PENDING":"STATE_PENDING means that the underlying storage is not provisioned\nyet. A Volume can already be mounted by the Workspaces while it is\nPENDING since the storage backends commonly defer the provisioning\nitself until the first Workspace that mounts the Volume is scheduled.","STATE_READY":"STATE_READY means that the underlying storage is provisioned.","STATE_FAILED":"STATE_FAILED means that the underlying storage could not be\nprovisioned or that it was lost."}},"octelium.api.main.cordium.v1.VolumeList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"cordium/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `VolumeList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Volume"},"description":"Items is the list of Volumes."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"VolumeList is the response of the ListVolume method."},"octelium.api.main.cordium.v1.WatchWorkspaceRequest":{"type":"object","properties":{"workspaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"WorkspaceRef optionally restricts the stream to the events of a single\nWorkspace. If it is unset, the events of all the Workspaces that are owned\nby the calling User are published."}},"additionalProperties":false,"description":"WatchWorkspaceRequest is the request of the WatchWorkspace method."},"octelium.api.main.cordium.v1.WatchWorkspaceResponse":{"type":"object","properties":{"create":{"$ref":"#/definitions/octelium.api.main.cordium.v1.WatchWorkspaceResponse.Create","description":"Create means that a Workspace was created.","x-oneof":"type"},"update":{"$ref":"#/definitions/octelium.api.main.cordium.v1.WatchWorkspaceResponse.Update","description":"Update means that a Workspace was updated.","x-oneof":"type"},"delete":{"$ref":"#/definitions/octelium.api.main.cordium.v1.WatchWorkspaceResponse.Delete","description":"Delete means that a Workspace was deleted.","x-oneof":"type"}},"additionalProperties":false,"description":"WatchWorkspaceResponse is a single event of the WatchWorkspace stream.","x-oneofs":{"type":["create","update","delete"]}},"octelium.api.main.cordium.v1.WatchWorkspaceResponse.Create":{"type":"object","properties":{"item":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace","description":"Item is the created Workspace."}},"additionalProperties":false,"description":"Create means that a Workspace was created."},"octelium.api.main.cordium.v1.WatchWorkspaceResponse.Delete":{"type":"object","properties":{"item":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace","description":"Item is the deleted Workspace."}},"additionalProperties":false,"description":"Delete means that a Workspace was deleted."},"octelium.api.main.cordium.v1.WatchWorkspaceResponse.Update":{"type":"object","properties":{"newItem":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace","description":"NewItem is the Workspace after the update."},"oldItem":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace","description":"OldItem is the Workspace before the update. Comparing it against the\nnewItem is the recommended way to detect the actual state transitions."}},"additionalProperties":false,"description":"Update means that a Workspace was updated (e.g. its state changed)."},"octelium.api.main.cordium.v1.Workspace":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"cordium/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `Workspace`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec","description":"Spec is the Workspace specification."},"status":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status","description":"Status is the current status of the Workspace."}},"additionalProperties":false,"description":"Workspace, which is synonymous with a sandbox, is the fundamental execution\nunit of Cordium. It is an isolated, rootless, container-based development\nenvironment that can be used interactively or programmatically via the\nweb-based console, the `cordium` CLI, standard SSH and the gRPC-based APIs.\nEvery Workspace belongs to exactly one Template and one Space and it is\nowned by an Octelium User. A Workspace is assigned a short randomly\ngenerated name (i.e. 3 to 6 lowercase alphanumeric characters) by the\nCluster. The effective configuration of a Workspace run is the result of\nmerging the Workspace spec with the spec of its Template, the runtime\nconfiguration of its Space, the User's UserConfig as well as the Cluster\ndefaults."},"octelium.api.main.cordium.v1.Workspace.Spec":{"type":"object","properties":{"image":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Image","description":"Image defines how the Workspace's container image is obtained."},"runtime":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime","description":"Runtime controls the behavior of the Workspace's container."},"repository":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Repository","description":"Repository is the primary git repository which is cloned into\n`/workspace/repo`."},"additionalRepositories":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.AdditionalRepository"},"description":"AdditionalRepositories is the list of the secondary repositories that\nare cloned alongside the primary one."},"applications":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Application"},"description":"Applications is the list of the named ports that are exposed via the\nCordium portal."},"limit":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Limit","description":"Limit is the compute resources that are allocated for the Workspace."},"vars":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Var"},"description":"Vars is the list of the variables that are substituted inside the spec."},"isEphemeral":{"type":"boolean","description":"IsEphemeral deletes the Workspace's storage once it is stopped so that\nevery start provisions a fresh volume and runs the full initialization\nfrom scratch. A persistent (i.e. non-ephemeral) Workspace instead\npreserves its filesystem across stops and restarts."}},"additionalProperties":false,"description":"Spec is the Workspace specification"},"octelium.api.main.cordium.v1.Workspace.Spec.AdditionalRepository":{"type":"object","properties":{"name":{"type":"string","description":"Name is the name of the additional repository. It must be unique\nwithin the spec."},"clonePath":{"type":"string","description":"ClonePath is the absolute path inside the Workspace where the\nrepository is cloned (e.g.\n`/workspace/additional-repos/shared-libs`)."},"repository":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Repository","description":"Repository is the repository's URL, clone options and authentication."}},"additionalProperties":false,"description":"AdditionalRepository is a secondary repository that is cloned alongside\nthe Workspace's primary repository."},"octelium.api.main.cordium.v1.Workspace.Spec.Application":{"type":"object","properties":{"name":{"type":"string","description":"Name is the name of the Application. It must be unique within the spec\nand it is used as a subdomain prefix of the Workspace's hostname."},"displayName":{"type":"string","description":"DisplayName is a human-readable name for the Application."},"port":{"type":"integer","format":"int32","description":"Port is the TCP port that the Application listens on inside the\nWorkspace."},"isDefault":{"type":"boolean","description":"IsDefault serves the Application at the Workspace's root hostname.\nAt most one Application can be the default one."}},"additionalProperties":false,"description":"Application is a named port inside the Workspace that is exposed via the\nCordium portal's reverse proxy."},"octelium.api.main.cordium.v1.Workspace.Spec.Image":{"type":"object","properties":{"dockerfile":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Image.Dockerfile","description":"Dockerfile builds the image from an inline or a downloaded\nDockerfile.","x-oneof":"type"},"registry":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Image.Registry","description":"Registry pulls a pre-built image from a container registry.","x-oneof":"type"},"git":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Image.Git","description":"Git builds the image from a dedicated git repository.","x-oneof":"type"},"repository":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Image.Repository","description":"Repository builds the image from the Workspace's own primary\nrepository.","x-oneof":"type"}},"additionalProperties":false,"description":"Image defines how the container image that is used as the Workspace's\nroot filesystem is obtained. If it is unset, the Cluster's default base\nimage is used.","x-oneofs":{"type":["dockerfile","registry","git","repository"]}},"octelium.api.main.cordium.v1.Workspace.Spec.Image.Dockerfile":{"type":"object","properties":{"inline":{"type":"string","description":"Inline is the content of the Dockerfile provided as a string.","x-oneof":"type"},"url":{"type":"string","description":"URL is a URL from which the Dockerfile content is downloaded.","x-oneof":"type"}},"additionalProperties":false,"description":"Dockerfile builds the image from a Dockerfile that is provided\ndirectly instead of being read from a repository.","x-oneofs":{"type":["inline","url"]}},"octelium.api.main.cordium.v1.Workspace.Spec.Image.Git":{"type":"object","properties":{"url":{"type":"string","description":"URL is the HTTPS URL of the git repository (e.g.\n`https://github.com/myorg/dev-images`)."},"checkout":{"type":"string","description":"Checkout is an optional branch, tag or commit to check out after\ncloning the repository."},"dockerfile":{"type":"string","description":"Dockerfile is the path of the Dockerfile inside the repository. If\nit is unset, Cordium looks for a devcontainer spec (i.e.\n`.devcontainer/devcontainer.json` or `.devcontainer.json`) in the\nrepository instead."},"context":{"type":"string","description":"Context is the build context directory inside the repository. It\ndefaults to the repository root."}},"additionalProperties":false,"description":"Git builds the image from a dedicated git repository which is separate\nfrom the Workspace's own repository."},"octelium.api.main.cordium.v1.Workspace.Spec.Image.Registry":{"type":"object","properties":{"url":{"type":"string","description":"URL is the image reference (e.g. `ubuntu:24.04` or\n`registry.example.com/dev/base:latest`)."},"authentication":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Image.Registry.Authentication","description":"Authentication is set for the private registries that require\nauthentication."}},"additionalProperties":false,"description":"Registry pulls a pre-built image from a container registry."},"octelium.api.main.cordium.v1.Workspace.Spec.Image.Registry.Authentication":{"type":"object","properties":{"username":{"type":"string","description":"Username is the registry username."},"password":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Image.Registry.Authentication.Password","description":"Password is the registry password."}},"additionalProperties":false,"description":"Authentication is the credentials that are used to pull the image\nfrom a private registry."},"octelium.api.main.cordium.v1.Workspace.Spec.Image.Registry.Authentication.Password":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret is the name of a Secret in the same Space whose\ncontent is used as the password. It is resolved by the Cluster\nat initialization time.","x-oneof":"type"}},"additionalProperties":false,"description":"Password is the registry password or token.","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.cordium.v1.Workspace.Spec.Image.Repository":{"type":"object","properties":{"devcontainer":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Image.Repository.Devcontainer","description":"Devcontainer builds the image from the repository's devcontainer\nspec.","x-oneof":"type"},"dockerfile":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Image.Repository.Dockerfile","description":"Dockerfile builds the image from a Dockerfile inside the\nrepository.","x-oneof":"type"}},"additionalProperties":false,"description":"Repository builds the image out of the Workspace's own primary\nrepository (i.e. the `repository` field of the spec).","x-oneofs":{"type":["devcontainer","dockerfile"]}},"octelium.api.main.cordium.v1.Workspace.Spec.Image.Repository.Devcontainer":{"type":"object","properties":{"dirPath":{"type":"string","description":"DirPath is the directory of the devcontainer spec inside the\nrepository (e.g. `.devcontainer`)."}},"additionalProperties":false,"description":"Devcontainer builds the image from the Development Container spec\nthat is contained in the repository."},"octelium.api.main.cordium.v1.Workspace.Spec.Image.Repository.Dockerfile":{"type":"object","properties":{"path":{"type":"string","description":"Path is the path of the Dockerfile inside the repository (e.g.\n`docker/Dockerfile.dev`)."},"context":{"type":"string","description":"Context is the build context directory inside the repository. It\ndefaults to the repository root."}},"additionalProperties":false,"description":"Dockerfile builds the image from a Dockerfile that is contained in\nthe repository."},"octelium.api.main.cordium.v1.Workspace.Spec.Limit":{"type":"object","properties":{"cpu":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Limit.CPU","description":"CPU is the CPU allocation."},"memory":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Limit.Memory","description":"Memory is the memory allocation."},"storage":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Limit.Storage","description":"Storage is the storage allocation."}},"additionalProperties":false,"description":"Limit is the compute resources that are allocated for the Workspace. The\neffective limits are resolved by precedence (i.e. Workspace, Template,\nSpace default and then the Cluster default) and are then capped by the\nSpace and the Cluster maximums."},"octelium.api.main.cordium.v1.Workspace.Spec.Limit.CPU":{"type":"object","properties":{"millicores":{"type":"integer","format":"uint32","minimum":0,"description":"Millicores is the number of CPU millicores (i.e. 1 core equals 1000\nmillicores)."}},"additionalProperties":false,"description":"CPU is the CPU allocation."},"octelium.api.main.cordium.v1.Workspace.Spec.Limit.Memory":{"type":"object","properties":{"megabytes":{"type":"integer","format":"uint32","minimum":0,"description":"Megabytes is the amount of memory in megabytes."}},"additionalProperties":false,"description":"Memory is the memory allocation."},"octelium.api.main.cordium.v1.Workspace.Spec.Limit.Storage":{"type":"object","properties":{"megabytes":{"type":"integer","format":"uint32","minimum":0,"description":"Megabytes is the amount of disk storage in megabytes."}},"additionalProperties":false,"description":"Storage is the storage allocation."},"octelium.api.main.cordium.v1.Workspace.Spec.Repository":{"type":"object","properties":{"url":{"type":"string","description":"URL is the HTTPS URL of the git repository (e.g.\n`https://github.com/myorg/my-project`). Only the `https` scheme is\nsupported."},"cloneOptions":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Repository.CloneOptions","description":"CloneOptions controls how the repository is cloned."},"authentication":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Repository.Authentication","description":"Authentication is set for the private repositories that require\nauthentication."}},"additionalProperties":false,"description":"Repository is a git repository that is cloned into the Workspace at\ninitialization time."},"octelium.api.main.cordium.v1.Workspace.Spec.Repository.Authentication":{"type":"object","properties":{"http":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Repository.Authentication.HTTP","description":"HTTP is the HTTP basic authentication.","x-oneof":"type"}},"additionalProperties":false,"description":"Authentication is the credentials that are used to clone private\nrepositories. It is not needed when a GitProvider is associated with\nthe Template since, in that case, the User's OAuth2 token is\nautomatically injected instead.","x-oneofs":{"type":["http"]}},"octelium.api.main.cordium.v1.Workspace.Spec.Repository.Authentication.HTTP":{"type":"object","properties":{"username":{"type":"string","description":"Username is the basic authentication username (e.g. `oauth2`)."},"password":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Repository.Authentication.HTTP.Password","description":"Password is the basic authentication password."}},"additionalProperties":false,"description":"HTTP is the HTTP basic authentication credentials."},"octelium.api.main.cordium.v1.Workspace.Spec.Repository.Authentication.HTTP.Password":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret is the name of a Secret in the same Space whose\ncontent is used as the password. It is resolved by the Cluster\nat initialization time.","x-oneof":"type"}},"additionalProperties":false,"description":"Password is the password, token or personal access token.","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.cordium.v1.Workspace.Spec.Repository.CloneOptions":{"type":"object","properties":{"branch":{"type":"string","description":"Branch is the branch to be cloned. It defaults to the repository's\ndefault branch."},"depth":{"type":"integer","format":"uint32","minimum":0,"description":"Depth is the number of commits to be fetched. It is only effective\nwhen disableLazyUnshallow is set."},"singleBranch":{"type":"boolean","description":"SingleBranch fetches only the chosen branch instead of every branch."},"shallowSubmodules":{"type":"boolean","description":"ShallowSubmodules clones the repository's submodules with a depth of\n1."},"checkout":{"type":"string","description":"Checkout is an optional commit or tag to check out after cloning."},"disableLazyUnshallow":{"type":"boolean","description":"DisableLazyUnshallow disables Cordium's default behavior of\nperforming a shallow clone for a faster startup and then fetching\nthe full history asynchronously in the background."}},"additionalProperties":false,"description":"CloneOptions controls how the repository is cloned."},"octelium.api.main.cordium.v1.Workspace.Spec.Runtime":{"type":"object","properties":{"envVars":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.EnvVar"},"description":"EnvVars is the list of the environment variables that are injected\ninto the Workspace container."},"tasks":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Task"},"description":"Tasks is the list of the lifecycle tasks of the Workspace."},"disableInit":{"type":"boolean","description":"DisableInit disables the minimal init process that Cordium runs as PID\n1 in order to reap the zombie processes. It should only be set when\nthe image already contains its own init system."},"cmd":{"type":"string","description":"Cmd overrides the container image's default command."},"entrypoint":{"type":"string","description":"Entrypoint overrides the container image's default entrypoint."},"devcontainers":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Devcontainers","description":"Devcontainers is the Development Container-related configuration."},"octelium":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Octelium","description":"Octelium controls the Octelium Services that are served inside the\nWorkspace."},"network":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Network","description":"Network is the network-related configuration of the Workspace."},"filesystem":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Filesystem","description":"Filesystem is the container filesystem configuration."},"capabilities":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Capabilities","description":"Capabilities is the Linux capabilities of the Workspace's container."},"timeout":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Timeout","description":"Timeout controls the inactivity timeout of the Workspace."},"autoStop":{"type":"boolean","description":"AutoStop automatically stops the Workspace once all of its\nnon-background lifecycle tasks complete. It is mostly useful for CI/CD\nand automated workloads where no human interaction is expected."},"volumeMounts":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.VolumeMount"},"description":"VolumeMounts is the list of the Volumes of the Workspace's Space that\nare mounted inside the Workspace. The mounts that are defined by the\nTemplate are merged with the ones that are defined by the Workspace\nitself."}},"additionalProperties":false,"description":"Runtime controls the behavior of the Workspace's container (i.e. its\nenvironment variables, lifecycle tasks, capabilities, timeout, etc...)."},"octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Capabilities":{"type":"object","properties":{"add":{"type":"array","items":{"type":"string"},"description":"Add is the list of the Linux capabilities that are added (e.g.\n`NET_ADMIN`)."},"drop":{"type":"array","items":{"type":"string"},"description":"Drop is the list of the Linux capabilities that are dropped (e.g.\n`NET_RAW`)."}},"additionalProperties":false,"description":"Capabilities is the Linux capabilities of the Workspace's container.\nIt is merged with the Space-level and the ClusterConfig-level\ncapabilities."},"octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Devcontainers":{"type":"object","properties":{"features":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Devcontainers.Feature"},"description":"Features is the list of the Development Container Features that are\ninstalled inside the Workspace. They are merged with the Features\nthat are declared by the repository's own devcontainer spec, if any."}},"additionalProperties":false,"description":"Devcontainers is the Development Container-related configuration."},"octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Devcontainers.Feature":{"type":"object","properties":{"reference":{"type":"string","description":"Reference is the OCI reference of the Feature (e.g.\n`ghcr.io/devcontainers/features/docker-in-docker:2`)."},"options":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Devcontainers.Feature.Option"},"description":"Options is the list of the Feature's installation options."}},"additionalProperties":false,"description":"Feature is a Development Container Feature that is installed inside\nthe Workspace."},"octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Devcontainers.Feature.Option":{"type":"object","properties":{"key":{"type":"string","description":"Key is the option's name."},"value":{"type":"string","description":"Value is the option's value."}},"additionalProperties":false,"description":"Option is a Feature-specific installation option."},"octelium.api.main.cordium.v1.Workspace.Spec.Runtime.EnvVar":{"type":"object","properties":{"key":{"type":"string","description":"Key is the environment variable's name."},"value":{"type":"string","description":"Value is the value provided directly as a string.","x-oneof":"type"},"fromSecret":{"type":"string","description":"FromSecret is the name of a Secret in the same Space whose content\nis used as the value. It is resolved by the Cluster at\ninitialization time.","x-oneof":"type"}},"additionalProperties":false,"description":"EnvVar is an environment variable that is injected into the Workspace\ncontainer as well as into all of its lifecycle tasks.","x-oneofs":{"type":["value","fromSecret"]}},"octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Filesystem":{"type":"object","properties":{"readOnly":{"type":"boolean","description":"ReadOnly makes the container's root filesystem read-only."}},"additionalProperties":false,"description":"Filesystem is the container filesystem configuration."},"octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Network":{"type":"object","properties":{"egress":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Network.Egress","description":"Egress is the egress (i.e. outbound) traffic configuration."}},"additionalProperties":false,"description":"Network is the network-related configuration of the Workspace."},"octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Network.Egress":{"type":"object","properties":{"rules":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Network.Rule"},"description":"Rules is the list of the egress rules."},"defaultAction":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Network.Egress.DefaultAction","description":"DefaultAction is the action that is applied when no Rule matches."}},"additionalProperties":false,"description":"Egress is the egress (i.e. outbound) traffic configuration of the\nWorkspace. The Rules are unordered. A destination that is matched by\na DENY Rule is denied even if it is also matched by an ALLOW Rule. A\ndestination that is matched by no Rule falls back to the\nDefaultAction. The Cluster's own protected networks are always\ndenied regardless of the configuration."},"octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Network.Egress.DefaultAction":{"type":"string","enum":["DEFAULT_ACTION_UNSET","ALLOW_PUBLIC","DENY"],"description":"DefaultAction is the action that is applied when no Rule matches","x-enumDescriptions":{"DEFAULT_ACTION_UNSET":"DEFAULT_ACTION_UNSET falls back to ALLOW_PUBLIC.","ALLOW_PUBLIC":"ALLOW_PUBLIC allows the traffic to the publicly routable\nnetworks and denies the traffic to the private ones.","DENY":"DENY denies all the traffic that is not matched by an ALLOW\nRule."}},"octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Network.Rule":{"type":"object","properties":{"cidrs":{"type":"array","items":{"type":"string"},"description":"CIDRs is the list of the network ranges, in CIDR notation, that\nare matched by the Rule. At least one CIDR must be set."},"action":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Network.Rule.Action","description":"Action is the effect of the Rule when it matches. It must be set."},"ports":{"type":"array","items":{"type":"integer","format":"uint32","minimum":0},"description":"Ports is the list of the destination ports that are matched by the\nRule. An empty list matches every port."}},"additionalProperties":false,"description":"Rule is a network rule that matches a set of network ranges and\nports."},"octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Network.Rule.Action":{"type":"string","enum":["ACTION_UNSET","ALLOW","DENY"],"description":"Action is the effect of the Rule when it matches","x-enumDescriptions":{"ACTION_UNSET":"ACTION_UNSET is not used. The action of a Rule must be\nexplicitly set.","ALLOW":"ALLOW allows the matched traffic.","DENY":"DENY denies the matched traffic."}},"octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Octelium":{"type":"object","properties":{"serveServices":{"type":"array","items":{"type":"string"},"description":"ServeServices is the list of the names of the Octelium Services,\namong the ones assigned to the owner User, that are served inside\nthe Workspace."},"serveAll":{"type":"boolean","description":"ServeAll serves every Octelium Service that is assigned to the owner\nUser inside the Workspace."}},"additionalProperties":false,"description":"Octelium controls the `octelium connect` process that runs inside the\nWorkspace using the Workspace's own dedicated Octelium Session. It is\nwhat enables secretless access from inside the Workspace to the\nOctelium Services that its owner User is authorized to access."},"octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Task":{"type":"object","properties":{"name":{"type":"string","description":"Name is a unique name for the Task. It is used in the logs and in\nthe failure reporting."},"run":{"type":"string","description":"Run is the shell command that is executed by the Task."},"type":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Task.Type","description":"Type is the point of the lifecycle at which the Task is run. It must\nbe set."},"envVars":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Task.EnvVar"},"description":"EnvVars is the list of per-task environment variables."},"workingDir":{"type":"string","description":"WorkingDir is the working directory of the Task. It defaults to the\nWorkspace User's home directory."},"isBackground":{"type":"boolean","description":"IsBackground starts the Task and lets the Workspace's initialization\nproceed without waiting for the Task to complete."},"onFailure":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Task.OnFailure","description":"OnFailure controls whether a failure of the Task aborts the\ninitialization of the Workspace."},"runAsRoot":{"type":"boolean","description":"RunAsRoot runs the Task as `root` instead of as the Workspace User."}},"additionalProperties":false,"description":"Task is a command that is run at a defined point of the Workspace's\nlifecycle."},"octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Task.EnvVar":{"type":"object","properties":{"key":{"type":"string","description":"Key is the environment variable's name."},"value":{"type":"string","description":"Value is the environment variable's value."}},"additionalProperties":false,"description":"EnvVar is a per-task environment variable which is merged with the\nWorkspace-level environment variables."},"octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Task.OnFailure":{"type":"string","enum":["ON_FAILURE_UNSET","ON_FAILURE_ABORT","ON_FAILURE_CONTINUE"],"description":"OnFailure is the behavior of the Cluster when the Task fails","x-enumDescriptions":{"ON_FAILURE_UNSET":"ON_FAILURE_UNSET falls back to the default behavior.","ON_FAILURE_ABORT":"ON_FAILURE_ABORT aborts the initialization of the Workspace once\nthe Task fails.","ON_FAILURE_CONTINUE":"ON_FAILURE_CONTINUE logs the Task's failure and continues the\ninitialization of the Workspace."}},"octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Task.Type":{"type":"string","enum":["UNKNOWN","ON_CREATE","POST_START","PRE_STOP"],"description":"Type is the point of the Workspace's lifecycle at which the Task is\nrun","x-enumDescriptions":{"UNKNOWN":"UNKNOWN is not used. The type of a Task must be explicitly set.","ON_CREATE":"ON_CREATE runs the Task only on a fresh run (i.e. the first start\nof a persistent Workspace and every start of an ephemeral one). It\nis typically used for one-time setup such as installing\ndependencies or running migrations.","POST_START":"POST_START runs the Task on every start of the Workspace. It is\ntypically used to start background services and dev servers.","PRE_STOP":"PRE_STOP runs the Task right before the Workspace's container is\nstopped. It is typically used for graceful shutdown and cleanup."}},"octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Timeout":{"type":"object","properties":{"mode":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Timeout.Mode","description":"Mode is the inactivity timeout mode."}},"additionalProperties":false,"description":"Timeout controls the inactivity timeout after which a running\nWorkspace is automatically stopped by the Cluster."},"octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Timeout.Mode":{"type":"string","enum":["MODE_UNSET","DEFAULT","DISABLED"],"description":"Mode is the inactivity timeout mode","x-enumDescriptions":{"MODE_UNSET":"MODE_UNSET falls back to the default behavior which is to apply\nthe Cluster's inactivity timeout.","DEFAULT":"DEFAULT applies the Cluster's inactivity timeout.","DISABLED":"DISABLED disables the inactivity timeout entirely. It is only\nhonored when the ClusterConfig allows Workspaces to have no\ntimeout."}},"octelium.api.main.cordium.v1.Workspace.Spec.Runtime.VolumeMount":{"type":"object","properties":{"volumeRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"VolumeRef is the reference of the mounted Volume. The Volume must\nbelong to the same Space as the Workspace."},"mountPath":{"type":"string","description":"MountPath is the absolute, canonical path inside the Workspace's\ncontainer at which the Volume is mounted (e.g. `/data`). It cannot\nbe the root directory, it cannot overlap with another mount and it\ncannot cover the paths that are reserved by the Cluster."},"readOnly":{"type":"boolean","description":"ReadOnly mounts the Volume read-only inside this Workspace. It is\nset per mount (i.e. the same Volume can simultaneously be mounted\nread-write by a Workspace and read-only by another one)."}},"additionalProperties":false,"description":"VolumeMount attaches a Volume of the Workspace's Space to a path\ninside the Workspace's container."},"octelium.api.main.cordium.v1.Workspace.Spec.Var":{"type":"object","properties":{"name":{"type":"string","description":"Name is the variable's name."},"value":{"type":"string","description":"Value is the variable's value."}},"additionalProperties":false,"description":"Var is a variable that can be referenced from within the spec's string\nfields using the `${{ vars.NAME }}` syntax. The substitution is\nperformed after all the configuration levels are merged."},"octelium.api.main.cordium.v1.Workspace.Status":{"type":"object","properties":{"state":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.State","description":"State is the current state of the Workspace's lifecycle."},"userRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"UserRef is the reference of the Octelium User who owns the Workspace."},"sessionRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"SessionRef is the reference of the dedicated Octelium Session that is\ncreated for the current run. It is the Workspace's identity for\nsecretless access to the Cluster's Services and it is deleted once the\nWorkspace is stopped."},"regionRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"RegionRef is the reference of the Octelium Region that currently hosts\nthe Workspace."},"hostname":{"type":"string","description":"Hostname is the publicly resolvable hostname of the running Workspace\n(e.g. `abc.cordium.example.com`). It is unset while the Workspace is\nstopped."},"lastInitializedAt":{"type":"string","format":"date-time","description":"LastInitializedAt is the timestamp of the last start request of the\nWorkspace."},"lastActivityAt":{"type":"string","format":"date-time","description":"LastActivityAt is the timestamp of the last recorded activity of the\nWorkspace. It is what the inactivity timeout is calculated against."},"lastStoppedAt":{"type":"string","format":"date-time","description":"LastStoppedAt is the timestamp at which the Workspace was last stopped."},"successfulRuns":{"type":"integer","format":"uint32","minimum":0,"description":"SuccessfulRuns is the total number of the runs that successfully reached\nthe RUNNING state."},"isBuild":{"type":"boolean","description":"IsBuild means that the Workspace is an internal Workspace that is\ncreated by the Cluster in order to carry out a Template pre-build. Such\nWorkspaces are hidden from the Users and they are deleted once the\npre-build completes."},"templateRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"TemplateRef is the reference of the Template that the Workspace was\ncreated from."},"spaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"SpaceRef is the reference of the Space that the Workspace belongs to."},"totalLastRunsDuration":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"TotalLastRunsDuration is the accumulated running duration of all of the\nWorkspace's runs."},"lastState":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.State","description":"LastState is the state that the Workspace was in right before the\ncurrent one."},"currentStateSetAt":{"type":"string","format":"date-time","description":"CurrentStateSetAt is the timestamp at which the current state was set."},"lastStateSetAt":{"type":"string","format":"date-time","description":"LastStateSetAt is the timestamp at which the previous state was set."},"lastRunningAt":{"type":"string","format":"date-time","description":"LastRunningAt is the timestamp at which the Workspace last reached the\nRUNNING state."},"failure":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.Failure","description":"Failure is the failure of the Workspace, if any."},"limit":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Limit","description":"Limit is the effective compute resource limits that the Cluster resolved\nfor the Workspace after merging and capping all the configuration\nlevels."},"sharedPorts":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.SharedPort"},"description":"SharedPorts is the list of the Workspace's Applications that are\ncurrently shared with other Users."},"spaceType":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Space.Status.Type","description":"SpaceType is the type of the Space that the Workspace belongs to."},"stoppingReason":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.StoppingReason","description":"StoppingReason is the reason of the current or the latest stoppage."},"lastStoppingReason":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.StoppingReason","description":"LastStoppingReason is the reason of the stoppage that preceded the\ncurrent run."},"run":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.Run","description":"Run is the current or the latest run of the Workspace."},"lastRuns":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.Run"},"description":"LastRuns is the history of the Workspace's previous runs ordered from\nthe most to the least recent one."},"workspaceSnapshotRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"WorkspaceSnapshotRef is the reference of the WorkspaceSnapshot that the\nWorkspace's persistent storage was restored from. It is set by the\nCluster upon the creation of the Workspace and it is immutable."},"lastRegionRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"LastRegionRef is the reference of the Region that hosted the latest run\nof the Workspace. Unlike regionRef, which is unset once the Workspace is\nstopped, it is preserved since the Workspace's persistent storage\nremains in that Region."}},"additionalProperties":false,"description":"Status is the current status of the Workspace. It is entirely managed by\nthe Cluster and it is read-only."},"octelium.api.main.cordium.v1.Workspace.Status.Failure":{"type":"object","properties":{"message":{"type":"string","description":"Message is a human-readable description of the failure."},"imageBuild":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.Failure.ImageBuild","description":"ImageBuild means that building the container image failed.","x-oneof":"type"},"imagePull":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.Failure.ImagePull","description":"ImagePull means that pulling the container image failed.","x-oneof":"type"},"repoClone":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.Failure.RepoClone","description":"RepoClone means that cloning the primary repository failed.","x-oneof":"type"},"buildTimeoutExceeded":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.Failure.BuildTimeoutExceeded","description":"BuildTimeoutExceeded means that the image build did not complete\nwithin the allowed duration.","x-oneof":"type"},"task":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.Failure.Task","description":"Task means that a lifecycle task failed.","x-oneof":"type"},"startupUnknown":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.Failure.StartupUnknown","description":"StartupUnknown means that the Workspace failed to start for an\nundetermined reason.","x-oneof":"type"},"startupTimeoutExceeded":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.Failure.StartupTimeoutExceeded","description":"StartupTimeoutExceeded means that the Workspace did not become ready\nwithin the allowed duration.","x-oneof":"type"},"loadStorage":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.Failure.LoadStorage","description":"LoadStorage means that loading the persistent storage failed.","x-oneof":"type"},"saveStorage":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.Failure.SaveStorage","description":"SaveStorage means that saving the persistent storage failed.","x-oneof":"type"},"stoppageTimeoutExceeded":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.Failure.StoppageTimeoutExceeded","description":"StoppageTimeoutExceeded means that the Workspace did not stop\ngracefully within the allowed duration.","x-oneof":"type"},"runContainer":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.Failure.RunContainer","description":"RunContainer means that running the Workspace's container failed.","x-oneof":"type"},"healthCheck":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.Failure.HealthCheck","description":"HealthCheck means that the Workspace failed its health checks.","x-oneof":"type"},"unknown":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.Failure.Unknown","description":"Unknown means that the run failed for an unclassified reason.","x-oneof":"type"},"additionalRepoClone":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.Failure.AdditionalRepoClone","description":"AdditionalRepoClone means that cloning one of the additional\nrepositories failed.","x-oneof":"type"},"networkPolicy":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.Failure.NetworkPolicy","description":"NetworkPolicy means that the Workspace's network configuration could\nnot be enforced.","x-oneof":"type"},"volume":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.Failure.Volume","description":"Volume means that one of the mounted Volumes could not be resolved.","x-oneof":"type"}},"additionalProperties":false,"description":"Failure describes the reason of the failure of a Workspace run.","x-oneofs":{"type":["imageBuild","imagePull","repoClone","buildTimeoutExceeded","task","startupUnknown","startupTimeoutExceeded","loadStorage","saveStorage","stoppageTimeoutExceeded","runContainer","healthCheck","unknown","additionalRepoClone","networkPolicy","volume"]}},"octelium.api.main.cordium.v1.Workspace.Status.Failure.AdditionalRepoClone":{"type":"object","properties":{"name":{"type":"string","description":"Name is the name of the additional repository that failed to be\ncloned."}},"additionalProperties":false,"description":"AdditionalRepoClone means that cloning one of the additional\nrepositories failed."},"octelium.api.main.cordium.v1.Workspace.Status.Failure.BuildTimeoutExceeded":{"type":"object","properties":{},"additionalProperties":false,"description":"BuildTimeoutExceeded means that the image build did not complete\nwithin the allowed duration."},"octelium.api.main.cordium.v1.Workspace.Status.Failure.HealthCheck":{"type":"object","properties":{},"additionalProperties":false,"description":"HealthCheck means that the Workspace failed its health checks."},"octelium.api.main.cordium.v1.Workspace.Status.Failure.ImageBuild":{"type":"object","properties":{},"additionalProperties":false,"description":"ImageBuild means that building the container image failed."},"octelium.api.main.cordium.v1.Workspace.Status.Failure.ImagePull":{"type":"object","properties":{},"additionalProperties":false,"description":"ImagePull means that pulling the container image failed."},"octelium.api.main.cordium.v1.Workspace.Status.Failure.LoadStorage":{"type":"object","properties":{},"additionalProperties":false,"description":"LoadStorage means that loading the Workspace's persistent storage\nfailed."},"octelium.api.main.cordium.v1.Workspace.Status.Failure.NetworkPolicy":{"type":"object","properties":{},"additionalProperties":false,"description":"NetworkPolicy means that the Workspace's network configuration could\nnot be enforced. The Workspace is not started in that case."},"octelium.api.main.cordium.v1.Workspace.Status.Failure.RepoClone":{"type":"object","properties":{},"additionalProperties":false,"description":"RepoClone means that cloning the primary repository failed."},"octelium.api.main.cordium.v1.Workspace.Status.Failure.RunContainer":{"type":"object","properties":{},"additionalProperties":false,"description":"RunContainer means that running the Workspace's container failed."},"octelium.api.main.cordium.v1.Workspace.Status.Failure.SaveStorage":{"type":"object","properties":{},"additionalProperties":false,"description":"SaveStorage means that saving the Workspace's persistent storage\nfailed."},"octelium.api.main.cordium.v1.Workspace.Status.Failure.StartupTimeoutExceeded":{"type":"object","properties":{},"additionalProperties":false,"description":"StartupTimeoutExceeded means that the Workspace did not become ready\nwithin the allowed duration."},"octelium.api.main.cordium.v1.Workspace.Status.Failure.StartupUnknown":{"type":"object","properties":{},"additionalProperties":false,"description":"StartupUnknown means that the Workspace failed to start for an\nundetermined reason."},"octelium.api.main.cordium.v1.Workspace.Status.Failure.StoppageTimeoutExceeded":{"type":"object","properties":{},"additionalProperties":false,"description":"StoppageTimeoutExceeded means that the Workspace did not stop\ngracefully within the allowed duration."},"octelium.api.main.cordium.v1.Workspace.Status.Failure.Task":{"type":"object","properties":{"name":{"type":"string","description":"Name is the name of the failed Task."},"exitCode":{"type":"integer","format":"int32","description":"ExitCode is the exit code with which the Task's command exited."}},"additionalProperties":false,"description":"Task means that a lifecycle task failed while its onFailure was set to\nabort the initialization."},"octelium.api.main.cordium.v1.Workspace.Status.Failure.Unknown":{"type":"object","properties":{},"additionalProperties":false,"description":"Unknown means that the run failed for an unclassified reason."},"octelium.api.main.cordium.v1.Workspace.Status.Failure.Volume":{"type":"object","properties":{"name":{"type":"string","description":"Name is the name of the Volume that could not be resolved."}},"additionalProperties":false,"description":"Volume means that one of the Volumes that are mounted by the\nWorkspace could not be resolved (e.g. it does not exist anymore, it\nbelongs to another Space or it is hosted in another Region). The\nWorkspace is not started in that case."},"octelium.api.main.cordium.v1.Workspace.Status.Run":{"type":"object","properties":{"id":{"type":"string","description":"ID is a randomly generated identifier of the run."},"initializedAt":{"type":"string","format":"date-time","description":"InitializedAt is the timestamp at which the run was initialized."},"stoppedAt":{"type":"string","format":"date-time","description":"StoppedAt is the timestamp at which the run was stopped."},"failure":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.Failure","description":"Failure is set when the run failed."},"config":{"$ref":"#/definitions/octelium.api.main.cordium.v1.StartWorkspaceRequest.Config","description":"Config is the run-specific configuration that was supplied with the\nstart request."}},"additionalProperties":false,"description":"Run is a single run of the Workspace (i.e. the period spanning from a\nstart request until the Workspace is stopped)."},"octelium.api.main.cordium.v1.Workspace.Status.SharedPort":{"type":"object","properties":{"mode":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.SharedPort.Mode","description":"Mode is the audience with which the Application is shared."},"applicationName":{"type":"string","description":"ApplicationName is the name of the shared Application as it is defined\nin the Workspace's spec."}},"additionalProperties":false,"description":"SharedPort is a named Application of the Workspace that is shared with\nother Users. It is set via the ShareWorkspacePort method."},"octelium.api.main.cordium.v1.Workspace.Status.SharedPort.Mode":{"type":"string","enum":["UNSET","MEMBERS","ALL"],"description":"Mode is the audience with which the Application is shared","x-enumDescriptions":{"UNSET":"UNSET is not used. A shared Application must have an explicit mode.","MEMBERS":"MEMBERS shares the Application with the Members of the Workspace's\nSpace.","ALL":"ALL shares the Application with all the Cluster's Users."}},"octelium.api.main.cordium.v1.Workspace.Status.State":{"type":"string","enum":["UNKNOWN","INIT_REQUEST","INITIALIZING","PULLING_IMAGE","BUILDING_IMAGE","STARTING_RUNTIME","PREPARING","RUNNING","STOPPING_REQUEST","STOPPING","STOPPED"],"description":"State is the current state of the Workspace's lifecycle","x-enumDescriptions":{"UNKNOWN":"UNKNOWN is not used.","INIT_REQUEST":"INIT_REQUEST means that a start request has been accepted by the API\nserver.","INITIALIZING":"INITIALIZING means that the Cluster is provisioning the Workspace's\nunderlying resources and waiting for its supervisor to become ready.","PULLING_IMAGE":"PULLING_IMAGE means that the container image is being pulled from the\nregistry.","BUILDING_IMAGE":"BUILDING_IMAGE means that the container image is being built from a\nDockerfile or a devcontainer spec.","STARTING_RUNTIME":"STARTING_RUNTIME means that the Workspace's container has started and\nthat the agent is initializing.","PREPARING":"PREPARING means that the agent is running the lifecycle setup (i.e.\nthe repository cloning, the ON_CREATE tasks, the dotfiles and the\ndevcontainer Features).","RUNNING":"RUNNING means that the Workspace is fully initialized and ready to be\nused.","STOPPING_REQUEST":"STOPPING_REQUEST means that a stop request has been received.","STOPPING":"STOPPING means that the Workspace is shutting down gracefully and\nrunning its PRE_STOP tasks.","STOPPED":"STOPPED means that the Workspace is not running. Its storage is\npreserved unless the Workspace is ephemeral."}},"octelium.api.main.cordium.v1.Workspace.Status.StoppingReason":{"type":"string","enum":["STOPPING_REASON_UNSET","STOPPING_REASON_API","STOPPING_REASON_ERROR","STOPPING_REASON_CLUSTER"],"description":"StoppingReason is the reason for which a Workspace was stopped","x-enumDescriptions":{"STOPPING_REASON_UNSET":"STOPPING_REASON_UNSET means that no stoppage reason is set (e.g. the\nWorkspace has never been stopped yet).","STOPPING_REASON_API":"STOPPING_REASON_API means that the Workspace was stopped upon an\nexplicit API request (e.g. via the StopWorkspace method).","STOPPING_REASON_ERROR":"STOPPING_REASON_ERROR means that the Workspace was stopped because of\na failure of the run.","STOPPING_REASON_CLUSTER":"STOPPING_REASON_CLUSTER means that the Workspace was stopped by the\nCluster itself (e.g. once its inactivity timeout was exceeded)."}},"octelium.api.main.cordium.v1.WorkspaceList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"cordium/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `WorkspaceList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace"},"description":"Items is the list of Workspaces."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"WorkspaceList is the response of the ListWorkspace method."},"octelium.api.main.cordium.v1.WorkspaceSnapshot":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"cordium/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `WorkspaceSnapshot`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.cordium.v1.WorkspaceSnapshot.Spec","description":"Spec is the WorkspaceSnapshot specification."},"status":{"$ref":"#/definitions/octelium.api.main.cordium.v1.WorkspaceSnapshot.Status","description":"Status is the current status of the WorkspaceSnapshot."}},"additionalProperties":false,"description":"WorkspaceSnapshot is a point-in-time checkpoint of the persistent storage of\na Workspace. It is backed by a Kubernetes CSI volume snapshot of the\nWorkspace's underlying volume and it is what enables a Workspace to be\ncloned into a brand new Workspace inside the same Space. A snapshot is taken\nonline (i.e. without stopping the source Workspace) in which case it is a\ncrash-consistent checkpoint, or while the source Workspace is stopped in\nwhich case it is a clean one. Snapshots are owned by the Octelium User who\ncreated them and they have a lifecycle of their own (i.e. they outlive both\ntheir source Workspace and the Workspaces that are restored from them)."},"octelium.api.main.cordium.v1.WorkspaceSnapshot.Spec":{"type":"object","properties":{},"additionalProperties":false,"description":"Spec is the WorkspaceSnapshot specification. It is intentionally empty."},"octelium.api.main.cordium.v1.WorkspaceSnapshot.Status":{"type":"object","properties":{"state":{"$ref":"#/definitions/octelium.api.main.cordium.v1.WorkspaceSnapshot.Status.State","description":"State is the current state of the WorkspaceSnapshot."},"workspaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"WorkspaceRef is the reference of the Workspace that the snapshot was\ntaken from. It is kept even after that Workspace is deleted."},"userRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"UserRef is the reference of the Octelium User who owns the snapshot."},"spaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"SpaceRef is the reference of the Space of the source Workspace. New\nWorkspaces can only be restored from the snapshot inside that Space."},"templateRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"TemplateRef is the reference of the Template of the source Workspace."},"regionRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"RegionRef is the reference of the Region that holds the snapshot. It is\nthe Region that hosted the latest run of the source Workspace and it is\nwhere the restored Workspaces are run."},"snapshotAt":{"type":"string","format":"date-time","description":"SnapshotAt is the timestamp of the point-in-time cut as it is reported\nby the storage backend. It is unset until the backend starts taking the\nsnapshot."},"readyAt":{"type":"string","format":"date-time","description":"ReadyAt is the timestamp at which the snapshot became restorable."},"restoreSizeBytes":{"type":["integer","string"],"format":"uint64","description":"RestoreSizeBytes is the minimum size, in bytes, of the volume that the\nsnapshot can be restored into. It is reported by the storage backend."},"consistency":{"$ref":"#/definitions/octelium.api.main.cordium.v1.WorkspaceSnapshot.Status.Consistency","description":"Consistency is the consistency guarantee of the snapshot."},"failure":{"$ref":"#/definitions/octelium.api.main.cordium.v1.WorkspaceSnapshot.Status.Failure","description":"Failure is the reason of the failure of the snapshot, if any."}},"additionalProperties":false,"description":"Status is the current status of the WorkspaceSnapshot. It is entirely\nmanaged by the Cluster and it is read-only."},"octelium.api.main.cordium.v1.WorkspaceSnapshot.Status.Consistency":{"type":"string","enum":["CONSISTENCY_UNSET","CONSISTENCY_CRASH","CONSISTENCY_CLEAN"],"description":"Consistency is the consistency guarantee of the snapshot","x-enumDescriptions":{"CONSISTENCY_UNSET":"CONSISTENCY_UNSET is not used.","CONSISTENCY_CRASH":"CONSISTENCY_CRASH means that the snapshot was taken while the source\nWorkspace was running. It is equivalent to the state of the storage\nafter a power loss (i.e. the data that was still buffered in memory is\nnot included).","CONSISTENCY_CLEAN":"CONSISTENCY_CLEAN means that the source Workspace was stopped when the\nsnapshot was taken."}},"octelium.api.main.cordium.v1.WorkspaceSnapshot.Status.Failure":{"type":"object","properties":{"message":{"type":"string","description":"Message is a human-readable description of the failure."},"unsupported":{"$ref":"#/definitions/octelium.api.main.cordium.v1.WorkspaceSnapshot.Status.Failure.Unsupported","description":"Unsupported means that the Cluster cannot snapshot the Workspaces'\nstorage.","x-oneof":"type"},"sourceNotFound":{"$ref":"#/definitions/octelium.api.main.cordium.v1.WorkspaceSnapshot.Status.Failure.SourceNotFound","description":"SourceNotFound means that the Workspace's volume does not exist.","x-oneof":"type"},"storage":{"$ref":"#/definitions/octelium.api.main.cordium.v1.WorkspaceSnapshot.Status.Failure.Storage","description":"Storage means that the storage backend failed to take the snapshot.","x-oneof":"type"},"unknown":{"$ref":"#/definitions/octelium.api.main.cordium.v1.WorkspaceSnapshot.Status.Failure.Unknown","description":"Unknown means that the snapshot failed for an unclassified reason.","x-oneof":"type"}},"additionalProperties":false,"description":"Failure describes the reason of the failure of a snapshot.","x-oneofs":{"type":["unsupported","sourceNotFound","storage","unknown"]}},"octelium.api.main.cordium.v1.WorkspaceSnapshot.Status.Failure.SourceNotFound":{"type":"object","properties":{},"additionalProperties":false,"description":"SourceNotFound means that the Workspace's underlying volume does not\nexist anymore."},"octelium.api.main.cordium.v1.WorkspaceSnapshot.Status.Failure.Storage":{"type":"object","properties":{},"additionalProperties":false,"description":"Storage means that the storage backend failed to take the snapshot."},"octelium.api.main.cordium.v1.WorkspaceSnapshot.Status.Failure.Unknown":{"type":"object","properties":{},"additionalProperties":false,"description":"Unknown means that the snapshot failed for an unclassified reason."},"octelium.api.main.cordium.v1.WorkspaceSnapshot.Status.Failure.Unsupported":{"type":"object","properties":{},"additionalProperties":false,"description":"Unsupported means that the Cluster is not able to snapshot the\nWorkspaces' storage (e.g. the CSI volume snapshot API is not installed\nor no VolumeSnapshotClass is configured)."},"octelium.api.main.cordium.v1.WorkspaceSnapshot.Status.State":{"type":"string","enum":["STATE_UNKNOWN","STATE_CREATING","STATE_READY","STATE_FAILED"],"description":"State is the current state of the WorkspaceSnapshot's lifecycle","x-enumDescriptions":{"STATE_UNKNOWN":"STATE_UNKNOWN is not used.","STATE_CREATING":"STATE_CREATING means that the storage backend is still taking the\nsnapshot. The snapshot cannot be restored from yet.","STATE_READY":"STATE_READY means that the snapshot is complete and that new\nWorkspaces can be restored from it.","STATE_FAILED":"STATE_FAILED means that the snapshot could not be taken. It can never\nbe restored from."}},"octelium.api.main.cordium.v1.WorkspaceSnapshotList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"cordium/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `WorkspaceSnapshotList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.WorkspaceSnapshot"},"description":"Items is the list of WorkspaceSnapshots."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"WorkspaceSnapshotList is the response of the ListWorkspaceSnapshot method."},"octelium.api.main.core.v1.Authenticator":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `Authenticator`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator.Spec","description":"Spec is the Authenticator specification."},"status":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator.Status","description":"Status is the current status of the Authenticator."}},"additionalProperties":false,"description":"Authenticator is registered by a User and used for multi-factor\nauthentication (MFA), for the re-authentication of an existent Session, or\nfor a direct passwordless login via a Passkey."},"octelium.api.main.core.v1.Authenticator.Spec":{"type":"object","properties":{"displayName":{"type":"string","description":"DisplayName is the Authenticator's display name that the User sees"},"state":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator.Spec.State","description":"State is the Authenticator's state"}},"additionalProperties":false,"description":"Spec is the Authenticator specification"},"octelium.api.main.core.v1.Authenticator.Spec.State":{"type":"string","enum":["STATE_UNKNOWN","ACTIVE","PENDING","REJECTED"],"description":"State is the state of the Authenticator","x-enumDescriptions":{"STATE_UNKNOWN":"STATE_UNKNOWN is not used","ACTIVE":"ACTIVE means that the Authenticator is active","PENDING":"PENDING means that the Authenticator is pending for an activation or\nrejection.","REJECTED":"REJECTED means that the Authenticator is rejected"}},"octelium.api.main.core.v1.Authenticator.Status":{"type":"object","properties":{"userRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"UserRef is the reference of the Authenticator's User"},"deviceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"DeviceRef is the reference of the Authenticator's Device, if any"},"type":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator.Status.Type","description":"Type is the type of the Authenticator"},"info":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator.Status.Info","description":"Info is the type-specific information of the Authenticator"},"authenticationAttempt":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator.Status.AuthenticationAttempt","description":"AuthenticationAttempt is the currently pending authentication attempt"},"lastAuthenticationAttempts":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator.Status.AuthenticationAttempt"},"description":"LastAuthenticationAttempts is the list of the last authentication\nattempts"},"successfulAuthentications":{"type":"integer","format":"uint32","minimum":0,"description":"SuccessfulAuthentications is the total number of the successful\nauthentications via the Authenticator"},"failedAuthentications":{"type":"integer","format":"uint32","minimum":0,"description":"FailedAuthentications is the total number of the failed authentications\nvia the Authenticator"},"totalAuthenticationAttempts":{"type":"integer","format":"uint32","minimum":0,"description":"TotalAuthenticationAttempts is the total number of the authentication\nattempts via the Authenticator"},"ext":{"type":"object","additionalProperties":{"type":"object"},"description":"Ext is a map of internal Cluster-managed extension data"},"isRegistered":{"type":"boolean","description":"IsRegistered indicates whether the Authenticator has completed its\nregistration"},"description":{"type":"string","description":"Description is a human-readable description of the Authenticator"}},"additionalProperties":false,"description":"Status is the current status of the Authenticator"},"octelium.api.main.core.v1.Authenticator.Status.AuthenticationAttempt":{"type":"object","properties":{"createdAt":{"type":"string","format":"date-time","description":"CreatedAt is the timestamp at which the attempt was created"},"encryptedChallengeRequest":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator.Status.EncryptedData","description":"EncryptedChallengeRequest is the encrypted challenge that was issued\nfor the attempt"},"encryptedDataMap":{"type":"object","additionalProperties":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator.Status.EncryptedData"},"description":"EncryptedDataMap is a map of the attempt's additional encrypted data"},"dataMap":{"type":"object","additionalProperties":{"type":"string","contentEncoding":"base64"},"description":"DataMap is a map of the attempt's additional data"},"sessionRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"SessionRef is the reference of the Session that performed the attempt"},"completedAt":{"type":"string","format":"date-time","description":"CompletedAt is the timestamp at which the attempt was completed"}},"additionalProperties":false,"description":"AuthenticationAttempt is a single authentication attempt via the\nAuthenticator"},"octelium.api.main.core.v1.Authenticator.Status.EncryptedData":{"type":"object","properties":{"ciphertext":{"type":"string","contentEncoding":"base64","description":"Ciphertext is the encrypted value"},"nonce":{"type":"string","contentEncoding":"base64","description":"Nonce is the nonce used for the encryption"},"keySecretRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"KeySecretRef is the reference of the Secret containing the key that\nencrypted the value"}},"additionalProperties":false,"description":"EncryptedData is a value that is stored encrypted by the Cluster"},"octelium.api.main.core.v1.Authenticator.Status.Info":{"type":"object","properties":{"fido":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator.Status.Info.FIDO","description":"FIDO is the information of a FIDO/WebAuthn Authenticator","x-oneof":"type"},"totp":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator.Status.Info.TOTP","description":"TOTP is the information of a TOTP Authenticator","x-oneof":"type"},"tpm":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator.Status.Info.TPM","description":"TPM is the information of a TPM 2.0 Authenticator","x-oneof":"type"}},"additionalProperties":false,"description":"Info is the type-specific information of the Authenticator","x-oneofs":{"type":["fido","totp","tpm"]}},"octelium.api.main.core.v1.Authenticator.Status.Info.FIDO":{"type":"object","properties":{"id":{"type":"string","contentEncoding":"base64","description":"ID is the WebAuthn credential ID"},"publicKey":{"type":"string","contentEncoding":"base64","description":"PublicKey is the credential's public key"},"type":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator.Status.Info.FIDO.Type","description":"Type is the attachment type of the FIDO Authenticator"},"aaguid":{"type":"string","description":"AAGUID is the Authenticator Attestation GUID that identifies the\nmodel of the Authenticator"},"isPasskey":{"type":"boolean","description":"IsPasskey means that the Authenticator is a Passkey (i.e. it uses a\nresident/discoverable key credential)"},"idHash":{"type":"string","contentEncoding":"base64","description":"IDHash is the hash of the credential ID"},"backupEligible":{"type":"boolean","description":"BackupEligible means that the credential is eligible to be backed up\nand synced across the User's devices"},"isAttestationVerified":{"type":"boolean","description":"IsAttestationVerified means that the Authenticator's attestation was\nverified"},"isSoftware":{"type":"boolean","description":"IsSoftware means that the Authenticator is software-based (e.g. a\npassword manager)"},"isHardware":{"type":"boolean","description":"IsHardware means that the Authenticator is hardware-backed (e.g. a\nsecurity key or a platform authenticator)"},"signCount":{"type":"integer","format":"uint32","minimum":0,"description":"SignCount is the credential's signature counter which is used to\ndetect the cloned Authenticators"}},"additionalProperties":false,"description":"FIDO is the information of a FIDO/WebAuthn Authenticator"},"octelium.api.main.core.v1.Authenticator.Status.Info.FIDO.Type":{"type":"string","enum":["TYPE_UNKNOWN","ROAMING","PLATFORM"],"description":"Type is the attachment type of the FIDO Authenticator","x-enumDescriptions":{"TYPE_UNKNOWN":"TYPE_UNKNOWN is not used","ROAMING":"ROAMING means that the Authenticator is a cross-platform/roaming\nauthenticator (e.g. a security key)","PLATFORM":"PLATFORM means that the Authenticator is bound to the platform\n(e.g. Windows Hello, Android)"}},"octelium.api.main.core.v1.Authenticator.Status.Info.TOTP":{"type":"object","properties":{"sharedSecret":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator.Status.EncryptedData","description":"SharedSecret is the TOTP shared secret"},"periodSeconds":{"type":"integer","format":"uint32","minimum":0,"description":"PeriodSeconds is the duration in seconds of a single time step"},"digits":{"type":"integer","format":"uint32","minimum":0,"description":"Digits is the number of digits of the generated one-time passwords"},"algorithm":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator.Status.Info.TOTP.Algorithm","description":"Algorithm is the HMAC algorithm used to generate the one-time\npasswords"},"lastAcceptedTimeStep":{"type":["integer","string"],"format":"uint64","description":"LastAcceptedTimeStep is the last time step that was accepted. It is\nused to prevent replaying the same one-time password."},"lastAcceptedAt":{"type":"string","format":"date-time","description":"LastAcceptedAt is the timestamp at which a one-time password was\nlast accepted"}},"additionalProperties":false,"description":"TOTP is the information of a time-based one-time password (TOTP)\nAuthenticator"},"octelium.api.main.core.v1.Authenticator.Status.Info.TOTP.Algorithm":{"type":"string","enum":["ALGORITHM_UNSET","SHA1","SHA256","SHA512"],"description":"Algorithm is the HMAC algorithm used to generate the one-time\npasswords","x-enumDescriptions":{"ALGORITHM_UNSET":"ALGORITHM_UNSET is not used","SHA1":"SHA1 uses HMAC-SHA1","SHA256":"SHA256 uses HMAC-SHA256","SHA512":"SHA512 uses HMAC-SHA512"}},"octelium.api.main.core.v1.Authenticator.Status.Info.TPM":{"type":"object","properties":{"akBytes":{"type":"string","contentEncoding":"base64","description":"AKBytes is the TPM's attestation key"},"attestationParameters":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator.Status.Info.TPM.AttestationParameters","description":"AttestationParameters is the attestation of the TPM's attestation\nkey"},"ekPublicKey":{"type":"string","contentEncoding":"base64","description":"EKPublicKey is the public key of the TPM's endorsement key"},"endorsement":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator.Status.Info.TPM.Endorsement","description":"Endorsement is the provenance of the TPM's endorsement key"}},"additionalProperties":false,"description":"TPM is the information of a Trusted Platform Module (TPM) 2.0\nAuthenticator"},"octelium.api.main.core.v1.Authenticator.Status.Info.TPM.AttestationParameters":{"type":"object","properties":{"public":{"type":"string","contentEncoding":"base64","description":"Public is the public area of the attestation key"},"createData":{"type":"string","contentEncoding":"base64","description":"CreateData is the creation data of the attestation key"},"createAttestation":{"type":"string","contentEncoding":"base64","description":"CreateAttestation is the creation attestation of the attestation\nkey"},"createSignature":{"type":"string","contentEncoding":"base64","description":"CreateSignature is the creation signature of the attestation key"}},"additionalProperties":false,"description":"AttestationParameters is the attestation of the TPM's attestation\nkey"},"octelium.api.main.core.v1.Authenticator.Status.Info.TPM.Endorsement":{"type":"object","properties":{"verification":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator.Status.Info.TPM.Endorsement.Verification","description":"Verification is the outcome of the verification of the endorsement\nkey certificate"},"certificateSHA256":{"type":"string","contentEncoding":"base64","description":"CertificateSHA256 is the SHA256 digest of the DER-encoded\nendorsement key certificate"},"trustedCASHA256":{"type":"string","contentEncoding":"base64","description":"TrustedCASHA256 is the SHA256 digest of the DER-encoded trusted CA\nthat the endorsement key certificate chained to"},"manufacturerID":{"type":"integer","format":"uint32","minimum":0,"description":"ManufacturerID is the TCG vendor identifier of the TPM\nmanufacturer"},"manufacturer":{"type":"string","description":"Manufacturer is the human-readable name of the TPM manufacturer"},"model":{"type":"string","description":"Model is the model of the TPM"},"version":{"type":"string","description":"Version is the version of the TPM as stated by the endorsement key\ncertificate. It is not the current firmware version of the TPM."},"verifiedAt":{"type":"string","format":"date-time","description":"VerifiedAt is the timestamp at which the verification was performed"}},"additionalProperties":false,"description":"Endorsement is the provenance of the TPM's endorsement key as it was\nestablished upon registering the Authenticator"},"octelium.api.main.core.v1.Authenticator.Status.Info.TPM.Endorsement.Verification":{"type":"string","enum":["VERIFICATION_UNKNOWN","VERIFIED","FAILED","NOT_ATTEMPTED","NO_CERTIFICATE"],"description":"Verification is the outcome of the verification of the endorsement\nkey certificate","x-enumDescriptions":{"VERIFICATION_UNKNOWN":"VERIFICATION_UNKNOWN is not used. It is also the value of the\nAuthenticators that were registered before the endorsement key\ncertificate verification was introduced.","VERIFIED":"VERIFIED means that the endorsement key certificate chained to a\ntrusted CA","FAILED":"FAILED means that the endorsement key certificate did not chain\nto a trusted CA. It is only ever recorded whenever the mode did\nnot require the verification.","NOT_ATTEMPTED":"NOT_ATTEMPTED means that an endorsement key certificate was\npresented while no trusted CAs were set","NO_CERTIFICATE":"NO_CERTIFICATE means that the TPM presented no endorsement key\ncertificate at all"}},"octelium.api.main.core.v1.Authenticator.Status.Type":{"type":"string","enum":["TYPE_UNKNOWN","FIDO","TOTP","TPM"],"description":"Type is the type of the Authenticator","x-enumDescriptions":{"TYPE_UNKNOWN":"TYPE_UNKNOWN is not used","FIDO":"FIDO means that the Authenticator is a FIDO/WebAuthn compliant\nauthenticator (e.g. a security key, a platform authenticator or a\nsoftware-based key)","TOTP":"TOTP means that the Authenticator is a time-based one-time password\nauthenticator (e.g. Google Authenticator)","TPM":"TPM means that the Authenticator uses TPM 2.0 to provide\nhardware-based re-authentication for CLIENT Sessions"}},"octelium.api.main.core.v1.AuthenticatorList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `AuthenticatorList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator"},"description":"Items is the list of Authenticators."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"AuthenticatorList is the list of Authenticators returned by the\nListAuthenticator method."},"octelium.api.main.core.v1.ClusterConfig":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `ClusterConfig`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec","description":"Spec is the ClusterConfig specification."},"status":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status","description":"Status is the current status of the ClusterConfig."}},"additionalProperties":false,"description":"ClusterConfig is the Cluster-wide configuration. It is a singleton resource\nthat sets the defaults and the global options that apply to the entire\nCluster (e.g. the Session and Device defaults, the Cluster-wide Policies,\nthe DNS and the Authenticator/MFA options)."},"octelium.api.main.core.v1.ClusterConfig.Spec":{"type":"object","properties":{"authorization":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authorization","description":"Authorization sets the Cluster-wide authorization configuration"},"ingress":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Ingress","description":"Ingress sets Ingress specific-options."},"session":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Session","description":"Session sets the Cluster Sessions' specific-options."},"device":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Device","description":"Device sets Device-specific options."},"gateway":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Gateway","description":"Gateway sets the Gateway-specific options."},"dns":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.DNS","description":"DNS sets the private Cluster's DNS service specific options."},"authenticator":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator","description":"Authenticator sets the Authenticator/MFA specific options."},"authentication":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authentication","description":"Authentication sets the authentication process specific options."}},"additionalProperties":false,"description":"Spec is the ClusterConfig specification"},"octelium.api.main.core.v1.ClusterConfig.Spec.Authentication":{"type":"object","properties":{"geolocation":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation","description":"Geolocation sets the geolocation resolution of the authenticating\nclients"}},"additionalProperties":false,"description":"Authentication sets the Cluster-wide options of the authentication\nprocess"},"octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation":{"type":"object","properties":{"mmdb":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB","x-oneof":"type"}},"additionalProperties":false,"description":"Geolocation sets the geolocation resolution of the authenticating\nclients. Once enabled, the resolved GeoIP information is set in the\nSession on each authentication and it can be used in the Policies.","x-oneofs":{"type":["mmdb"]}},"octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB":{"type":"object","properties":{"fromConfig":{"type":"string","description":"FromConfig sets the name of the Config whose data contains the\nMMDB database","x-oneof":"type"},"upstream":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream","description":"Upstream fetches the MMDB database from a URL","x-oneof":"type"}},"additionalProperties":false,"description":"MMDB resolves the geolocation from MaxMind MMDB databases (the\n`enterprise`, `city` and `country` database types are supported)","x-oneofs":{"type":["fromConfig","upstream"]}},"octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream":{"type":"object","properties":{"url":{"type":"string","description":"URL is the URL from which the MMDB database is fetched"},"auth":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth","description":"Auth sets the credentials used to fetch the MMDB database"}},"additionalProperties":false,"description":"Upstream fetches the MMDB database from a URL"},"octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth":{"type":"object","properties":{"bearer":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Bearer","description":"Bearer sets bearer authentication details","x-oneof":"type"},"basic":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Basic","description":"Basic sets basic authentication details","x-oneof":"type"},"custom":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Custom","description":"Custom sets authentication inside custom header","x-oneof":"type"},"query":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Query","description":"Query sets authentication inside a URL query parameter","x-oneof":"type"}},"additionalProperties":false,"description":"Auth sets the credentials used to fetch the MMDB database","x-oneofs":{"type":["bearer","basic","custom","query"]}},"octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Basic":{"type":"object","properties":{"username":{"type":"string","description":"Username is the username value of HTTP basic authentication"},"password":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Basic.Password","description":"Password is the password value of HTTP basic authentication"}},"additionalProperties":false,"description":"Basic is the HTTP basic authentication credentials"},"octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Basic.Password":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value\ncontains the Password","x-oneof":"type"}},"additionalProperties":false,"description":"Password is the password value of HTTP basic authentication","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Bearer":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value\ncontains the bearer token","x-oneof":"type"}},"additionalProperties":false,"description":"Bearer is the bearer token that is set in the `Authorization`\nrequest header","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Custom":{"type":"object","properties":{"header":{"type":"string","description":"Header is the name of the HTTP header (e.g. \"X-Custom-Auth\")"},"value":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Custom.Value","description":"Value is the value of the header"}},"additionalProperties":false,"description":"Custom is a credential that is set in a custom request header"},"octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Custom.Value":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value\ncontains the header's Value","x-oneof":"type"}},"additionalProperties":false,"description":"Value is the value of the custom request header","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Query":{"type":"object","properties":{"key":{"type":"string","description":"Key is the name of the query parameter"},"value":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Query.Value","description":"Value is the value of the query parameter"}},"additionalProperties":false,"description":"Query is a credential that is set in a URL query parameter"},"octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Query.Value":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value\ncontains the query parameter's Value","x-oneof":"type"}},"additionalProperties":false,"description":"Value is the value of the query parameter","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator":{"type":"object","properties":{"registrationEnforcementRules":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator.EnforcementRule"},"description":"RegistrationEnforcementRules is the list of the rules that decide\nwhether registering an Authenticator is enforced"},"authenticationEnforcementRules":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator.EnforcementRule"},"description":"AuthenticationEnforcementRules is the list of the rules that decide\nwhether authenticating via an Authenticator is enforced as MFA right\nafter a successful IdentityProvider authentication"},"postAuthenticationRules":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator.Rule"},"description":"PostAuthenticationRules is the list of the rules that decide whether\nan otherwise successful Authenticator authentication is eventually\naccepted or rejected"},"enablePasskeyLogin":{"type":"boolean","description":"EnablePasskeyLogin enables logging in directly with a Passkey. Once\nenabled, any registered FIDO Authenticator that supports resident key\ncredentials can be used for a Passkey login."},"defaultState":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator.Spec.State","description":"DefaultState is the default state of a newly registered Authenticator"},"fido":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator.FIDO","description":"FIDO sets the options of the FIDO/WebAuthn Authenticators"},"tpm":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator.TPM","description":"TPM sets the options of the TPM 2.0 Authenticators"}},"additionalProperties":false,"description":"Authenticator sets the Cluster-wide options of the Authenticators and\nMFA"},"octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator.EnforcementRule":{"type":"object","properties":{"condition":{"$ref":"#/definitions/octelium.api.main.core.v1.Condition","description":"Condition is the rule's Condition"},"effect":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator.EnforcementRule.Effect","description":"Effect is the effect of the rule when a match happens to any of the\nConditions."}},"additionalProperties":false,"description":"EnforcementRule decides whether the Authenticator registration or\nauthentication is enforced, recommended or ignored"},"octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator.EnforcementRule.Effect":{"type":"string","enum":["EFFECT_UNKNOWN","ENFORCE","IGNORE","RECOMMEND"],"description":"Effect is the decision of the rule once its Condition matches","x-enumDescriptions":{"EFFECT_UNKNOWN":"EFFECT_UNKNOWN is not used.","ENFORCE":"ENFORCE requires the Authenticator registration/authentication","IGNORE":"IGNORE does not require the Authenticator\nregistration/authentication","RECOMMEND":"RECOMMEND recommends, without requiring, the Authenticator\nregistration/authentication"}},"octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator.FIDO":{"type":"object","properties":{"attestationConveyancePreference":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator.FIDO.AttestationConveyancePreference","description":"AttestationConveyancePreference is the WebAuthn attestation\nconveyance preference used during the registration"},"userVerification":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator.FIDO.UserVerification","description":"UserVerification is the WebAuthn User verification requirement that\nis used during the registration as well as the authentication of the\nFIDO Authenticators that are used as second factors"}},"additionalProperties":false,"description":"FIDO sets the options of the FIDO/WebAuthn Authenticators"},"octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator.FIDO.AttestationConveyancePreference":{"type":"string","enum":["ATTESTATION_CONVEYANCE_PREFERENCE_UNSET","DIRECT","INDIRECT","NONE","ENTERPRISE"],"description":"AttestationConveyancePreference is the WebAuthn attestation\nconveyance preference used during the registration","x-enumDescriptions":{"ATTESTATION_CONVEYANCE_PREFERENCE_UNSET":"ATTESTATION_CONVEYANCE_PREFERENCE_UNSET falls back to the default\nbehavior","DIRECT":"DIRECT requests the Authenticator's attestation statement as is","INDIRECT":"INDIRECT lets the client anonymize the Authenticator's attestation\nstatement","NONE":"NONE requests no attestation statement at all","ENTERPRISE":"ENTERPRISE requests an enterprise attestation that can carry a\nuniquely identifying Authenticator identifier"}},"octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator.FIDO.UserVerification":{"type":"string","enum":["USER_VERIFICATION_UNSET","REQUIRED","PREFERRED","DISCOURAGED"],"description":"UserVerification is the WebAuthn User verification requirement that\nis used during the registration as well as the authentication of the\nFIDO Authenticators that are used as second factors. It does not\napply to the Passkey login which always requires the User\nverification.","x-enumDescriptions":{"USER_VERIFICATION_UNSET":"USER_VERIFICATION_UNSET falls back to the default behavior which\nis PREFERRED","REQUIRED":"REQUIRED rejects the registration as well as the authentication\nunless the Authenticator verifies the User (e.g. via a PIN or a\nbiometric). Note that setting this mode rejects the\nauthentication of the already registered Authenticators that are\nnot capable of verifying the User.","PREFERRED":"PREFERRED asks the Authenticator to verify the User whenever it is\ncapable of doing so without rejecting the registration or the\nauthentication otherwise","DISCOURAGED":"DISCOURAGED asks the Authenticator not to verify the User"}},"octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator.Rule":{"type":"object","properties":{"name":{"type":"string","description":"Name is an optional name for the rule. It is currently useful in Logs\nto understand which rule triggered the Policy."},"condition":{"$ref":"#/definitions/octelium.api.main.core.v1.Condition","description":"Condition is the rule's Condition that must match in order for the\nrule, and subsequently the Policy as whole, to match"},"effect":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator.Rule.Effect","description":"Effect is the effect of the policy when a match happens to any of the\nConditions."}},"additionalProperties":false,"description":"Rule decides whether an otherwise successful Authenticator\nauthentication is eventually accepted or rejected"},"octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator.Rule.Effect":{"type":"string","enum":["EFFECT_UNKNOWN","ALLOW","DENY"],"description":"Effect is the decision of the rule once its Condition matches","x-enumDescriptions":{"EFFECT_UNKNOWN":"EFFECT_UNKNOWN is not used.","ALLOW":"ALLOW allows the request.","DENY":"DENY denies the request."}},"octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator.TPM":{"type":"object","properties":{"endorsementTrust":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator.TPM.EndorsementTrust","description":"EndorsementTrust controls the verification of the endorsement key\ncertificates"}},"additionalProperties":false,"description":"TPM sets the options of the TPM 2.0 Authenticators"},"octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator.TPM.EndorsementTrust":{"type":"object","properties":{"mode":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator.TPM.EndorsementTrust.Mode","description":"Mode is the endorsement key certificate verification mode"},"trustedCAs":{"type":"array","items":{"type":"string"},"description":"TrustedCAs is the list of the PEM-encoded root certificate\nauthorities of the TPM manufacturers that are trusted to issue\nendorsement key certificates. Each entry must contain exactly one\ncertificate."},"intermediateCAs":{"type":"array","items":{"type":"string"},"description":"IntermediateCAs is the list of the PEM-encoded intermediate\ncertificate authorities that are used to build the certification\npath from an endorsement key certificate to a trustedCA. They are\nnever trusted on their own. Each entry must contain exactly one\ncertificate."}},"additionalProperties":false,"description":"EndorsementTrust controls how the endorsement key certificate\npresented by a TPM is verified upon registering an Authenticator"},"octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator.TPM.EndorsementTrust.Mode":{"type":"string","enum":["MODE_UNKNOWN","DISABLED","VERIFY_IF_PRESENT","REQUIRE_VERIFIED"],"description":"Mode is the endorsement key certificate verification mode","x-enumDescriptions":{"MODE_UNKNOWN":"MODE_UNKNOWN falls back to DISABLED","DISABLED":"DISABLED never rejects a registration because of its endorsement\nkey certificate. A TPM that presents no certificate at all is\naccepted. Whenever trustedCAs are set, the certificate is still\nverified and the outcome is recorded in the Authenticator\nstatus, which makes this mode useful to survey the already\nregistered Authenticators before enforcing the verification.","VERIFY_IF_PRESENT":"VERIFY_IF_PRESENT accepts a TPM that presents no endorsement key\ncertificate, but rejects a TPM whose certificate does not verify","REQUIRE_VERIFIED":"REQUIRE_VERIFIED requires every TPM to present an endorsement key\ncertificate that verifies against the trustedCAs"}},"octelium.api.main.core.v1.ClusterConfig.Spec.Authorization":{"type":"object","properties":{"policies":{"type":"array","items":{"type":"string"},"description":"Policies is the list of standalone Policies"},"inlinePolicies":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.InlinePolicy"},"description":"InlinePolicies is the list of inline Policies"}},"additionalProperties":false,"description":"Authorization sets the Cluster-wide Policies that are applied to every\nrequest"},"octelium.api.main.core.v1.ClusterConfig.Spec.Device":{"type":"object","properties":{"human":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Device.Human","description":"Human sets Device options for HUMAN Users"},"workload":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Device.Workload","description":"Workload sets Device options for WORKLOAD Users"},"probing":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Device.Probing","description":"Probing sets the device probing options"}},"additionalProperties":false,"description":"Device sets the Cluster-wide defaults of the Devices"},"octelium.api.main.core.v1.ClusterConfig.Spec.Device.Human":{"type":"object","properties":{"defaultState":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Spec.State","description":"DefaultState is the default state of a newly registered Device"},"maxPerUser":{"type":"integer","format":"uint32","minimum":0,"description":"MaxPerUser sets the max number of Devices per User"}},"additionalProperties":false,"description":"Human sets the Device defaults of the HUMAN Users"},"octelium.api.main.core.v1.ClusterConfig.Spec.Device.Probing":{"type":"object","properties":{"isDisabled":{"type":"boolean","description":"IsDisabled disables running Probes on the Devices"}},"additionalProperties":false,"description":"Probing sets the Cluster-wide options of running Probes on the\nDevices"},"octelium.api.main.core.v1.ClusterConfig.Spec.Device.Workload":{"type":"object","properties":{"defaultState":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Spec.State","description":"DefaultState is the default state of a newly registered Device"},"maxPerUser":{"type":"integer","format":"uint32","minimum":0,"description":"MaxPerUser sets the max number of Devices per User"}},"additionalProperties":false,"description":"Workload sets the Device defaults of the WORKLOAD Users"},"octelium.api.main.core.v1.ClusterConfig.Spec.DNS":{"type":"object","properties":{"fallbackZone":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.DNS.Zone","description":"FallbackZone sets the zone that resolves the names that are not served\nby the Cluster itself"},"zones":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.DNS.Zone"},"description":"Zones is the list of DNS zones used to resolve matching domain suffixes"}},"additionalProperties":false,"description":"DNS sets the options of the Cluster's private DNS service"},"octelium.api.main.core.v1.ClusterConfig.Spec.DNS.Zone":{"type":"object","properties":{"servers":{"type":"array","items":{"type":"string"},"description":"Servers is the list of the upstream DNS servers of the zone"},"cacheDuration":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"CacheDuration is the duration for which the zone's answers are\ncached"},"domains":{"type":"array","items":{"type":"string"},"description":"Domains is the list of domain suffixes served by the zone"}},"additionalProperties":false,"description":"Zone sets the options of a DNS zone"},"octelium.api.main.core.v1.ClusterConfig.Spec.Gateway":{"type":"object","properties":{"wireguardKeyRotationDuration":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"WireguardKeyRotationDuration is the duration after which the Gateway's\nkey is rotated"}},"additionalProperties":false,"description":"Gateway sets the Cluster-wide options of the Gateways"},"octelium.api.main.core.v1.ClusterConfig.Spec.Ingress":{"type":"object","properties":{"useForwardedForHeader":{"type":"boolean","description":"UseForwardedForHeader enables the usage of the X-Forwarded-For header\nby the Cluster to obtain the downstream's public IP address."},"xffNumTrustedHops":{"type":"integer","format":"int32","description":"XFFNumTrustedHops is the number of the trusted hops used to pick the\ndownstream's public IP address out of the X-Forwarded-For header."}},"additionalProperties":false,"description":"Ingress sets the options of the Cluster's internet-facing Ingress"},"octelium.api.main.core.v1.ClusterConfig.Spec.Session":{"type":"object","properties":{"human":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Session.Human","description":"Human sets Session options for HUMAN Users"},"workload":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Session.Workload","description":"Workload sets Session options for WORKLOAD Users"}},"additionalProperties":false,"description":"Session sets the Cluster-wide defaults of the Sessions"},"octelium.api.main.core.v1.ClusterConfig.Spec.Session.Human":{"type":"object","properties":{"clientDuration":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"ClientDuration sets the Session duration used by clients after which\nthe Session is deemed expired and automatically deleted by the\nCluster."},"clientlessDuration":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"ClientlessDuration sets the Session duration for the\nclient-less/BeyondCorp mode after which the Session is deemed expired\nand automatically deleted by the Cluster."},"accessTokenDuration":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"AccessTokenDuration sets the access token duration"},"refreshTokenDuration":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"RefreshTokenDuration sets the refresh token duration"},"maxPerUser":{"type":"integer","format":"uint32","minimum":0,"description":"MaxPerUser sets the max number of Sessions per User"},"defaultState":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Spec.State","description":"DefaultState is the default state of a newly created Session"}},"additionalProperties":false,"description":"Human sets the Session defaults of the HUMAN Users"},"octelium.api.main.core.v1.ClusterConfig.Spec.Session.Workload":{"type":"object","properties":{"clientDuration":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"ClientDuration sets the Session duration used by clients after which\nthe Session is deemed expired and automatically deleted by the\nCluster."},"clientlessDuration":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"ClientlessDuration sets the Session duration for the\nclient-less/BeyondCorp mode after which the Session is deemed expired\nand automatically deleted by the Cluster."},"accessTokenDuration":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"AccessTokenDuration sets the access token duration"},"refreshTokenDuration":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"RefreshTokenDuration sets the refresh token duration"},"maxPerUser":{"type":"integer","format":"uint32","minimum":0,"description":"MaxPerUser sets the max number of Sessions per User"},"defaultState":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Spec.State","description":"DefaultState is the default state of a newly created Session"}},"additionalProperties":false,"description":"Workload sets the Session defaults of the WORKLOAD Users"},"octelium.api.main.core.v1.ClusterConfig.Status":{"type":"object","properties":{"domain":{"type":"string","description":"Domain is the Cluster's domain (e.g. \"example.com\")"},"network":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.Network","description":"Network is the actual network ranges that were allocated by the Cluster"},"networkConfig":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.NetworkConfig","description":"NetworkConfig is the Cluster's networking configuration"},"secretManager":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.SecretManager","description":"SecretManager is the external secret manager used by the Cluster, if any"},"device":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.Device","description":"Device is the Cluster-wide Device configuration"},"installation":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.Installation","description":"Installation is the set of installation-time options that were supplied\nvia the Cluster bootstrap configuration upon the Cluster installation or\nthe latest upgrade."}},"additionalProperties":false,"description":"Status is the current status of the ClusterConfig"},"octelium.api.main.core.v1.ClusterConfig.Status.Device":{"type":"object","properties":{"probes":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.Device.Probe"},"description":"Probes is the list of the available Probes. The Cluster issues a\nbounded subset of them in each ProbeAttempt."}},"additionalProperties":false,"description":"Device is the Cluster-wide Device configuration"},"octelium.api.main.core.v1.ClusterConfig.Status.Device.Probe":{"type":"object","properties":{"id":{"type":"string","description":"ID is the stable identifier of the Probe. It is unique within the\nProbes list."},"ownerRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"OwnerRef is the reference of the DeviceManager that owns the Probe"},"osTypes":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.OSType"},"description":"OSTypes restricts the Probe to the Devices running one of the given\noperating systems. An empty list matches every operating system."},"requireElevation":{"type":"boolean","description":"RequireElevation requires the Probe to be run with elevated\nprivileges"},"condition":{"$ref":"#/definitions/octelium.api.main.core.v1.Condition","description":"Condition decides whether the Probe is run on a given Device. Its\ninput contains `ctx.device` and `ctx.user`. A Probe without a\nCondition is run on every Device."},"runCommand":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.Device.Probe.RunCommand","description":"RunCommand runs a command on the Device","x-oneof":"type"},"readFile":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.Device.Probe.ReadFile","description":"ReadFile reads a file from the Device","x-oneof":"type"},"readRegistry":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.Device.Probe.ReadRegistry","description":"ReadRegistry reads a value from the Device's Windows registry","x-oneof":"type"},"platformIdentifier":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.Device.Probe.PlatformIdentifier","description":"PlatformIdentifier reads a platform identifier of the Device","x-oneof":"type"}},"additionalProperties":false,"description":"Probe is a check that is run on the Devices in order to collect the\ninformation used to bind them to their DeviceManagers","x-oneofs":{"type":["runCommand","readFile","readRegistry","platformIdentifier"]}},"octelium.api.main.core.v1.ClusterConfig.Status.Device.Probe.PlatformIdentifier":{"type":"object","properties":{"kind":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.Device.Probe.PlatformIdentifier.Kind","description":"Kind is the kind of the identifier"}},"additionalProperties":false,"description":"PlatformIdentifier reads an identifier of the Device natively from\nits platform without running any command"},"octelium.api.main.core.v1.ClusterConfig.Status.Device.Probe.PlatformIdentifier.Kind":{"type":"string","enum":["KIND_UNKNOWN","HARDWARE_SERIAL","HARDWARE_UUID","OS_INSTALLATION_ID","MAC_ADDRESS"],"description":"Kind is the kind of the identifier","x-enumDescriptions":{"KIND_UNKNOWN":"KIND_UNKNOWN is not used","HARDWARE_SERIAL":"HARDWARE_SERIAL is the hardware serial number","HARDWARE_UUID":"HARDWARE_UUID is the hardware UUID (e.g. the SMBIOS UUID)","OS_INSTALLATION_ID":"OS_INSTALLATION_ID is the identifier of the operating system\ninstallation (e.g. the machine ID)","MAC_ADDRESS":"MAC_ADDRESS is the list of the MAC addresses of the Device's\nphysical network interfaces"}},"octelium.api.main.core.v1.ClusterConfig.Status.Device.Probe.ReadFile":{"type":"object","properties":{"path":{"type":"string","description":"Path is the absolute path of the file to be read"},"maxBytes":{"type":"integer","format":"uint32","minimum":0,"description":"MaxBytes is the maximum size in bytes that is read from the file"}},"additionalProperties":false,"description":"ReadFile reads a file from the Device"},"octelium.api.main.core.v1.ClusterConfig.Status.Device.Probe.ReadRegistry":{"type":"object","properties":{"key":{"type":"string","description":"Key is the registry key to be read"},"name":{"type":"string","description":"Name is the name of the registry value to be read"}},"additionalProperties":false,"description":"ReadRegistry reads a value from the Windows registry of the Device"},"octelium.api.main.core.v1.ClusterConfig.Status.Device.Probe.RunCommand":{"type":"object","properties":{"command":{"type":"string","description":"Command is the absolute path of the command to be run"},"args":{"type":"array","items":{"type":"string"},"description":"Args is the list of the command's arguments"},"timeoutSeconds":{"type":"integer","format":"uint32","minimum":0,"description":"TimeoutSeconds is the number of seconds after which running the\ncommand times out"},"maxOutputBytes":{"type":"integer","format":"uint32","minimum":0,"description":"MaxOutputBytes is the maximum size in bytes of the collected\noutput"}},"additionalProperties":false,"description":"RunCommand runs a command on the Device and collects its output"},"octelium.api.main.core.v1.ClusterConfig.Status.Installation":{"type":"object","properties":{"spiffe":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.Installation.SPIFFE","description":"SPIFFE sets the SPIFFE/SPIRE-specific configuration."},"cni":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.Installation.CNI","description":"CNI sets the Kubernetes cluster CNI-specific configuration."},"ingress":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.Installation.Ingress","description":"Ingress sets the Cluster Ingress-specific configuration."}},"additionalProperties":false,"description":"Installation contains the installation-time options that were supplied\nvia the Cluster bootstrap configuration and that are remembered by the\nCluster so that they do not have to be re-supplied on every upgrade."},"octelium.api.main.core.v1.ClusterConfig.Status.Installation.CNI":{"type":"object","properties":{"confDir":{"type":"string","description":"ConfDir is the host path of the Kubernetes cluster's CNI\nconfiguration directory (e.g. `/var/lib/rancher/k3s/agent/etc/cni`\nfor k3s clusters). The Multus delegate CNI configuration directory\nis derived from it as `<confDir>/multus/net.d`.","x-oneof":"confDirType"},"multusConfDir":{"type":"string","description":"MultusConfDir directly sets the host path of the Multus delegate\nCNI configuration directory (i.e. Multus's own `confDir`).","x-oneof":"confDirType"}},"additionalProperties":false,"description":"CNI is the Kubernetes cluster CNI-specific installation options","x-oneofs":{"confDirType":["confDir","multusConfDir"]}},"octelium.api.main.core.v1.ClusterConfig.Status.Installation.Ingress":{"type":"object","properties":{"frontProxy":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.Installation.Ingress.FrontProxy","description":"FrontProxy sets the front proxy mode-specific configuration."}},"additionalProperties":false,"description":"Ingress is the Cluster Ingress-specific installation options"},"octelium.api.main.core.v1.ClusterConfig.Status.Installation.Ingress.FrontProxy":{"type":"object","properties":{"enable":{"type":"boolean","description":"Enable enables the front proxy mode where the Cluster's Ingress\nsits behind an external L7 proxy/load balancer that terminates\nTLS."}},"additionalProperties":false,"description":"FrontProxy is the front proxy mode-specific options"},"octelium.api.main.core.v1.ClusterConfig.Status.Installation.SPIFFE":{"type":"object","properties":{"enable":{"type":"boolean","description":"Enable enables the SPIFFE mode where the Cluster components\nauthenticate to each other using X.509 SVIDs that are obtained from\nthe SPIRE Agent Workload API instead of the Cluster's own internal\ncredentials."},"trustDomain":{"type":"string","description":"TrustDomain is the SPIFFE trust domain (e.g. `example.com`) that the\nCluster components' SVIDs must belong to. If it is not set, the\nCluster adopts the trust domain of the SVID that is served by the\nSPIRE Agent itself."},"csiDriver":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.Installation.SPIFFE.CSIDriver","description":"CSIDriver sets the SPIFFE CSI driver-specific configuration."}},"additionalProperties":false,"description":"SPIFFE is the SPIFFE/SPIRE-specific installation options"},"octelium.api.main.core.v1.ClusterConfig.Status.Installation.SPIFFE.CSIDriver":{"type":"object","properties":{"name":{"type":"string","description":"Name is the name of the SPIFFE CSI driver that is used to mount\nthe SPIRE Agent Workload API socket inside the Cluster components'\nPods. By default it is set to `csi.spiffe.io`."}},"additionalProperties":false,"description":"CSIDriver is the SPIFFE CSI driver-specific options"},"octelium.api.main.core.v1.ClusterConfig.Status.Network":{"type":"object","properties":{"clusterNetwork":{"$ref":"#/definitions/octelium.api.main.meta.v1.DualStackNetwork","description":"ClusterNetwork is the dual-stack network range of the entire Cluster"},"wgConnSubnet":{"$ref":"#/definitions/octelium.api.main.meta.v1.DualStackNetwork","description":"WGConnSubnet is the dual-stack subnet from which the addresses of the\nWireGuard-based connections are allocated"},"v6RangePrefix":{"type":"string","contentEncoding":"base64","description":"V6RangePrefix is the prefix of the Cluster's IPv6 range"},"serviceSubnet":{"$ref":"#/definitions/octelium.api.main.meta.v1.DualStackNetwork","description":"ServiceSubnet is the dual-stack subnet from which the private\naddresses of the Services are allocated"},"quicConnSubnet":{"$ref":"#/definitions/octelium.api.main.meta.v1.DualStackNetwork","description":"QUICConnSubnet is the dual-stack subnet from which the addresses of\nthe QUICv0-based connections are allocated"}},"additionalProperties":false,"description":"Network is the actual network ranges that were allocated by the Cluster"},"octelium.api.main.core.v1.ClusterConfig.Status.NetworkConfig":{"type":"object","properties":{"mode":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.NetworkConfig.Mode","description":"Mode sets the networking mode (DualStack, IPv4Only or IPv6Only) for\nthe Cluster's Networks. This can only be effective when set prior to\nthe Cluster installation or upgrade."},"v4":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.NetworkConfig.V4","description":"V4 sets IPv4 Network configurations."},"v6":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.NetworkConfig.V6","description":"V6 sets IPv6 Network configurations."},"wireguard":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.NetworkConfig.Wireguard","description":"Wireguard sets the Wireguard-specific configuration"},"quicv0":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.NetworkConfig.QUICV0","description":"QUICV0 (EXPERIMENTAL) sets the QUICv0-specific configuration"}},"additionalProperties":false,"description":"NetworkConfig is the Cluster's networking configuration"},"octelium.api.main.core.v1.ClusterConfig.Status.NetworkConfig.Mode":{"type":"string","enum":["MODE_DEFAULT","DUAL_STACK","V6_ONLY","V4_ONLY"],"description":"Mode is the Cluster's networking mode","x-enumDescriptions":{"MODE_DEFAULT":"MODE_DEFAULT defaults to DUAL_STACK","DUAL_STACK":"DUAL_STACK sets the Cluster to operate in dual-stack mode.\nServices receive dual-stack private addresses and clients can connect\nin dual-stack mode, IPv4-only or IPv6-only modes.","V6_ONLY":"V6_ONLY sets the Cluster to operate in IPv6-only mode.\nServices receive IPv6-only private addresses and clients can connect\nonly connect via IPv6-only modes.","V4_ONLY":"V4_ONLY sets the Cluster to operate in IPv4-only mode.\nServices receive IPv4-only private addresses and clients can connect\nonly connect via IPv4-only modes."}},"octelium.api.main.core.v1.ClusterConfig.Status.NetworkConfig.QUICV0":{"type":"object","properties":{"enable":{"type":"boolean","description":"Enable enables QUICv0 gateways. By default this mode is not enabled."},"gatewayPort":{"type":"integer","format":"uint32","minimum":0,"description":"GatewayPort sets the Gateway port. By default it is set to 8443"},"mtu":{"type":"integer","format":"uint32","minimum":0,"description":"MTU overrides the default value used for the Gateway interface's MTU."}},"additionalProperties":false,"description":"QUICV0 is the QUICv0-specific configuration"},"octelium.api.main.core.v1.ClusterConfig.Status.NetworkConfig.V4":{"type":"object","properties":{"clusterNetwork":{"type":"string","description":"ClusterNetwork is the Cluster network range. Currently\n`100.64.0.0/10` is used by default."},"gatewayBits":{"type":"integer","format":"uint32","minimum":0,"description":"GatewayBits is the number of the bits of the ClusterNetwork that are\nallocated to address the Gateways."},"regionBits":{"type":"integer","format":"uint32","minimum":0,"description":"RegionBits is the number of the bits of the ClusterNetwork that are\nallocated to address the Regions."}},"additionalProperties":false,"description":"V4 is the IPv4 Network configuration"},"octelium.api.main.core.v1.ClusterConfig.Status.NetworkConfig.V6":{"type":"object","properties":{"clusterNetwork":{"type":"string","description":"ClusterNetwork is the Cluster network range. Currently not enforced\nas the Cluster automatically chooses the Network ranges."}},"additionalProperties":false,"description":"V6 is the IPv6 Network configuration"},"octelium.api.main.core.v1.ClusterConfig.Status.NetworkConfig.Wireguard":{"type":"object","properties":{"gatewayPort":{"type":"integer","format":"uint32","minimum":0,"description":"GatewayPort sets the Gateway port. By default it is set to 53820"},"mtu":{"type":"integer","format":"uint32","minimum":0,"description":"MTU overrides the default value used for the Gateway interface's MTU."}},"additionalProperties":false,"description":"Wireguard is the WireGuard-specific configuration"},"octelium.api.main.core.v1.ClusterConfig.Status.SecretManager":{"type":"object","properties":{"address":{"type":"string","description":"Address is the address of the secret manager's gRPC server"},"tls":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.SecretManager.TLS","description":"TLS sets the TLS-related configuration"}},"additionalProperties":false,"description":"SecretManager is the external secret manager that intercepts the Secret\noperations in order to store the Secrets according to the operator's own\nrequirements"},"octelium.api.main.core.v1.ClusterConfig.Status.SecretManager.TLS":{"type":"object","properties":{},"additionalProperties":false,"description":"TLS sets the TLS-related configuration used to connect to the secret\nmanager"},"octelium.api.main.core.v1.Condition":{"type":"object","properties":{"matchAny":{"type":"boolean","description":"MatchAny matches anything","x-oneof":"type"},"match":{"type":"string","description":"Match contains a single CEL expression","x-oneof":"type"},"all":{"$ref":"#/definitions/octelium.api.main.core.v1.Condition.All","description":"All acts as a logical AND operator on its list of CEL expressions","x-oneof":"type"},"any":{"$ref":"#/definitions/octelium.api.main.core.v1.Condition.Any","description":"Any acts as a logical OR operator on its list of CEL expressions","x-oneof":"type"},"not":{"type":"string","description":"Not acts as a logical NOT operator of a single CEL expression","x-oneof":"type"},"none":{"$ref":"#/definitions/octelium.api.main.core.v1.Condition.None","description":"None acts as a logical NOR operator on its list of CEL expressions (i.e.\nnone of the expressions matches)","x-oneof":"type"},"opa":{"$ref":"#/definitions/octelium.api.main.core.v1.Condition.OPA","description":"OPA contains an OPA (Open Policy Agent) Rego script","x-oneof":"type"}},"additionalProperties":false,"description":"Condition is a policy-as-code expression that is evaluated against the\nrequest context. It is used by the Policy rules, the Service dynamic\nconfiguration rules, the HTTP Plugins as well as by the IdentityProvider\nrules.","x-oneofs":{"type":["matchAny","match","all","any","not","none","opa"]}},"octelium.api.main.core.v1.Condition.All":{"type":"object","properties":{"of":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Condition"},"description":"Of is the list of the Conditions that must all match"}},"additionalProperties":false,"description":"All acts as a logical AND operator on its list of Conditions"},"octelium.api.main.core.v1.Condition.Any":{"type":"object","properties":{"of":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Condition"},"description":"Of is the list of the Conditions of which at least one must match"}},"additionalProperties":false,"description":"Any acts as a logical OR operator on its list of Conditions"},"octelium.api.main.core.v1.Condition.None":{"type":"object","properties":{"of":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Condition"},"description":"Of is the list of the Conditions of which none must match"}},"additionalProperties":false,"description":"None acts as a logical NOR operator on its list of Conditions"},"octelium.api.main.core.v1.Condition.OPA":{"type":"object","properties":{"inline":{"type":"string","description":"Inline is the OPA Rego script directly provided as a string","x-oneof":"type"}},"additionalProperties":false,"description":"OPA evaluates the Condition via an Open Policy Agent Rego script","x-oneofs":{"type":["inline"]}},"octelium.api.main.core.v1.Config":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `Config`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.core.v1.Config.Spec","description":"Spec is the Config specification."},"status":{"$ref":"#/definitions/octelium.api.main.core.v1.Config.Status","description":"Status is the current status of the Config."},"data":{"$ref":"#/definitions/octelium.api.main.core.v1.Config.Data","description":"Data is the Config's actual data content."}},"additionalProperties":false,"description":"Config stores arbitrary non-sensitive configuration data that is referenced\nby its name from the other Cluster resources. It is the non-sensitive\ncounterpart of a Secret"},"octelium.api.main.core.v1.Config.Data":{"type":"object","properties":{"value":{"type":"string","description":"Value is a string value","x-oneof":"type"},"valueBytes":{"type":"string","contentEncoding":"base64","description":"ValueBytes is an array of bytes value","x-oneof":"type"},"dataMap":{"$ref":"#/definitions/octelium.api.main.core.v1.Config.Data.DataMap","description":"DataMap is a map of array of bytes value","x-oneof":"type"},"attrs":{"type":"object","description":"Attrs is a structured attribute map. It is extremely recommended to use\ncamelCase for key names in order to be conformant with the rest of\nOctelium's API naming convention","x-oneof":"type"}},"additionalProperties":false,"description":"Data is the Config's data content","x-oneofs":{"type":["value","valueBytes","dataMap","attrs"]}},"octelium.api.main.core.v1.Config.Data.DataMap":{"type":"object","properties":{"map":{"type":"object","additionalProperties":{"type":"string","contentEncoding":"base64"},"description":"Map is the map of the byte array values"}},"additionalProperties":false,"description":"DataMap is a map of byte array values keyed by a string"},"octelium.api.main.core.v1.Config.Spec":{"type":"object","properties":{},"additionalProperties":false,"description":"Spec is the Config specification"},"octelium.api.main.core.v1.Config.Status":{"type":"object","properties":{},"additionalProperties":false,"description":"Status is the current status of the Config"},"octelium.api.main.core.v1.ConfigList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `DeviceList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Config"},"description":"Items is the list of Devices."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"ConfigList is the list of Configs returned by the ListConfig method."},"octelium.api.main.core.v1.Credential":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `Credential`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.core.v1.Credential.Spec","description":"Spec is the Credential specification."},"status":{"$ref":"#/definitions/octelium.api.main.core.v1.Credential.Status","description":"Status is the current status of the Credential."}},"additionalProperties":false,"description":"Credential is a confidential token that is issued by the Cluster to a\ncertain User to be used later for authentication. Credentials are typically,\nbut not necessarily, created for WORKLOAD Users since HUMAN Users should\nalmost always authenticate via an IdentityProvider. The Policies attached to\na Credential are automatically copied to the Sessions created by it upon a\nsuccessful authentication."},"octelium.api.main.core.v1.Credential.Spec":{"type":"object","properties":{"type":{"$ref":"#/definitions/octelium.api.main.core.v1.Credential.Spec.Type","description":"Type is the type of the Credential"},"user":{"type":"string","description":"User is the name of the User that the Credential is created for"},"maxAuthentications":{"type":"integer","format":"uint32","minimum":0,"description":"MaxAuthentications sets the max number of authentications permitted by\nthis Credential."},"expiresAt":{"type":"string","format":"date-time","description":"ExpiresAt is the timestamp at which the token expires."},"sessionType":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Type","description":"SessionType is the type of the Sessions created by the Credential. It is\nCLIENT by default."},"authorization":{"$ref":"#/definitions/octelium.api.main.core.v1.Credential.Spec.Authorization","description":"Authorization sets the authorization-related configuration"},"isDisabled":{"type":"boolean","description":"IsDisabled disables the Credential and prevents authentication via it."},"autoDelete":{"type":"boolean","description":"AutoDelete auto-deletes the Credentials once the max number of\nauthentications has been reached."}},"additionalProperties":false,"description":"Spec is the Credential specification"},"octelium.api.main.core.v1.Credential.Spec.Authorization":{"type":"object","properties":{"policies":{"type":"array","items":{"type":"string"},"description":"Policies is the list of standalone Policies"},"inlinePolicies":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.InlinePolicy"},"description":"InlinePolicies is the list of inline Policies"}},"additionalProperties":false,"description":"Authorization sets the Policies that are copied to the Sessions created\nby the Credential upon a successful authentication"},"octelium.api.main.core.v1.Credential.Spec.Type":{"type":"string","enum":["TYPE_UNKNOWN","AUTH_TOKEN","OAUTH2","ACCESS_TOKEN"],"description":"Type is the type of the Credential","x-enumDescriptions":{"TYPE_UNKNOWN":"TYPE_UNKNOWN is not used","AUTH_TOKEN":"AUTH_TOKEN means that the Credential is an authentication token.\nThis is the default type","OAUTH2":"OAUTH2 means that the Credential is an OAuth2 client credential.\nThis is used for WORKLOAD users seeking to authenticate themselves via\nOAuth2 client credentials flow in a client-less way.","ACCESS_TOKEN":"ACCESS_TOKEN means that the Credential is a bearer access token that\ncan be used directly to securely access public Services"}},"octelium.api.main.core.v1.Credential.Status":{"type":"object","properties":{"userRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"UserRef is the reference to the User who the Credential is created for"},"id":{"type":"string","description":"ID is the Credential's identifier. It is used as the OAuth2 client ID\nfor the OAUTH2 Credentials."},"tokenID":{"type":"string","description":"TokenID is the ID of the Credential's currently valid token. It is\nrotated whenever a new token is generated for the Credential, which\nimmediately invalidates its older token."},"lastRotationAt":{"type":"string","format":"date-time","description":"LastRotationAt is the timestamp at which the Credential was last rotated"},"totalRotations":{"type":"integer","format":"uint32","minimum":0,"description":"TotalRotations is the total number of the Credential's rotations"},"totalAuthentications":{"type":"integer","format":"uint32","minimum":0,"description":"TotalAuthentications is the total number of the authentications\nperformed via the Credential"},"isLocked":{"type":"boolean","description":"IsLocked indicates whether the Credential is locked by the Cluster"},"pkce":{"$ref":"#/definitions/octelium.api.main.core.v1.Credential.Status.PKCE","description":"PKCE is set when the Credential is issued to a client login flow that\nsupplied a code challenge."}},"additionalProperties":false,"description":"Status is the current status of the Credential"},"octelium.api.main.core.v1.Credential.Status.PKCE":{"type":"object","properties":{"codeChallenge":{"type":"string","contentEncoding":"base64","description":"CodeChallenge is the SHA256 digest of the code verifier."}},"additionalProperties":false,"description":"PKCE binds the Credential to a code challenge supplied by the client\nthat initiated the login."},"octelium.api.main.core.v1.CredentialList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `CredentialList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Credential"},"description":"Items is the list of Credentials."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"CredentialList is the list of Credentials returned by the ListCredential\nmethod."},"octelium.api.main.core.v1.CredentialToken":{"type":"object","properties":{"authenticationToken":{"$ref":"#/definitions/octelium.api.main.core.v1.CredentialToken.AuthenticationToken","description":"AuthenticationToken is the returned authentication token","x-oneof":"type"},"oauth2Credentials":{"$ref":"#/definitions/octelium.api.main.core.v1.CredentialToken.OAuth2Credentials","description":"OAuth2Credentials is the returned OAuth2 client credential","x-oneof":"type"},"accessToken":{"$ref":"#/definitions/octelium.api.main.core.v1.CredentialToken.AccessToken","description":"AccessToken is the returned access token","x-oneof":"type"}},"additionalProperties":false,"description":"CredentialToken is the token generated by the GenerateCredentialToken\nmethod. Generating a new token for a Credential rotates it and immediately\ninvalidates its older token.","x-oneofs":{"type":["authenticationToken","oauth2Credentials","accessToken"]}},"octelium.api.main.core.v1.CredentialToken.AccessToken":{"type":"object","properties":{"accessToken":{"type":"string","description":"AccessToken is the bearer access token itself"}},"additionalProperties":false,"description":"AccessToken is the token of an ACCESS_TOKEN Credential"},"octelium.api.main.core.v1.CredentialToken.AuthenticationToken":{"type":"object","properties":{"authenticationToken":{"type":"string","description":"AuthenticationToken is the authentication token itself"}},"additionalProperties":false,"description":"AuthenticationToken is the token of an AUTH_TOKEN Credential"},"octelium.api.main.core.v1.CredentialToken.OAuth2Credentials":{"type":"object","properties":{"clientID":{"type":"string","description":"ClientID is the OAuth2 client ID"},"clientSecret":{"type":"string","description":"ClientSecret is the OAuth2 client secret"}},"additionalProperties":false,"description":"OAuth2Credentials is the client credentials of an OAUTH2 Credential"},"octelium.api.main.core.v1.Device":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `Device`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Spec","description":"Spec is the Device specification."},"status":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status","description":"Status is the current status of the Device."}},"additionalProperties":false,"description":"Device is the Cluster's representation of a User's machine. A Device is\noptionally registered/enrolled by a logged-in User and it belongs to the one\nUser that registered it. One or more of the User's Sessions can belong to\nthe same Device. It is up to the access control Policies to allow or deny a\nrequest based on the Device's information."},"octelium.api.main.core.v1.Device.Spec":{"type":"object","properties":{"state":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Spec.State","description":"State is the Device state"},"authorization":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Spec.Authorization","description":"Authorization sets the authorization-related configuration"}},"additionalProperties":false,"description":"Spec is the Device specification"},"octelium.api.main.core.v1.Device.Spec.Authorization":{"type":"object","properties":{"policies":{"type":"array","items":{"type":"string"},"description":"Policies is the list of standalone Policies"},"inlinePolicies":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.InlinePolicy"},"description":"InlinePolicies is the list of inline Policies"}},"additionalProperties":false,"description":"Authorization sets the Policies that are applied to the Sessions\nbelonging to the Device"},"octelium.api.main.core.v1.Device.Spec.State":{"type":"string","enum":["STATE_UNKNOWN","ACTIVE","PENDING","REJECTED"],"description":"State is the state of the Device","x-enumDescriptions":{"STATE_UNKNOWN":"STATE_UNKNOWN is not used","ACTIVE":"ACTIVE means that the Device is active","PENDING":"PENDING means that the Device is pending an activation or rejection.","REJECTED":"REJECTED means that the Device is rejected"}},"octelium.api.main.core.v1.Device.Status":{"type":"object","properties":{"ext":{"type":"object","additionalProperties":{"type":"object"},"description":"Ext is a map of internal Cluster-managed extension data"},"userRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"UserRef is a reference to the owner User"},"osType":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.OSType","description":"OSType is the OS type"},"hostname":{"type":"string","description":"Hostname is the Device's hostname"},"id":{"type":"string","description":"ID is a unique Device identifier that is derived from the Device's host"},"serialNumber":{"type":"string","description":"SerialNumber is the Device's hardware serial number reported by the\nclient at registration. It is not a verified identity."},"isLocked":{"type":"boolean","description":"IsLocked indicates whether the Device is locked by the Cluster"},"macAddresses":{"type":"array","items":{"type":"string"},"description":"MacAddresses is the list of the MAC addresses of the Device's network\ninterfaces reported by the client at registration. They are not a\nverified identity."},"posture":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.Posture","description":"Posture is the last posture collected from the bound DeviceManager. In\nthe authorization context, it is only exposed while the Binding is\nACCEPTED and VALID and the Posture has not expired. Otherwise, it is\nomitted so that CEL expressions do not need to check these conditions."},"binding":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.Binding","description":"Binding is the Device's link to its single authoritative DeviceManager"},"probeAttempt":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.ProbeAttempt","description":"ProbeAttempt is the most recent device probing attempt"}},"additionalProperties":false,"description":"Status is the current status of the Device"},"octelium.api.main.core.v1.Device.Status.Binding":{"type":"object","properties":{"uid":{"type":"string","description":"UID is the unique identifier of the Binding. Resetting the Binding or\nselecting another DeviceManager or inventory entry creates a new UID."},"ownerRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"OwnerRef is the reference of the DeviceManager of the Binding"},"externalID":{"type":"string","description":"ExternalID is the identifier of the inventory entry in the\nDeviceManager's provider"},"state":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.Binding.State","description":"State is the state of the Binding"},"validity":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.Binding.Validity","description":"Validity is whether an ACCEPTED Binding is currently usable"},"reason":{"type":"string","description":"Reason is a machine-readable reason of the current State and Validity"},"message":{"type":"string","description":"Message is a human-readable message that explains Reason"},"acceptedAt":{"type":"string","format":"date-time","description":"AcceptedAt is the timestamp at which the Binding was accepted"},"lastVerifiedAt":{"type":"string","format":"date-time","description":"LastVerifiedAt is the timestamp at which the Binding was last verified"},"nextVerificationAt":{"type":"string","format":"date-time","description":"NextVerificationAt is the timestamp after which the Device is probed\nagain to verify the Binding"}},"additionalProperties":false,"description":"Binding is the Device's link to one inventory entry of its single\nauthoritative DeviceManager. An ACCEPTED Binding is kept through\nprovider outages until it is explicitly reset or its DeviceManager is\ndeleted. A Binding that is not VALID makes the Posture unavailable; it\nnever causes a fallback to another DeviceManager."},"octelium.api.main.core.v1.Device.Status.Binding.State":{"type":"string","enum":["STATE_UNKNOWN","ACCEPTED","AMBIGUOUS","CONFLICT"],"description":"State is the state of the Binding","x-enumDescriptions":{"STATE_UNKNOWN":"STATE_UNKNOWN is not used","ACCEPTED":"ACCEPTED means that the Device is bound to the inventory entry","AMBIGUOUS":"AMBIGUOUS means that the Device could not be resolved to a unique\ninventory entry of the DeviceManager","CONFLICT":"CONFLICT means that the inventory entry is already bound to another\nDevice. It is retried once the other Binding is released."}},"octelium.api.main.core.v1.Device.Status.Binding.Validity":{"type":"string","enum":["VALIDITY_UNKNOWN","VALID","SUSPENDED","LOST"],"description":"Validity is whether an ACCEPTED Binding is currently usable","x-enumDescriptions":{"VALIDITY_UNKNOWN":"VALIDITY_UNKNOWN is not used","VALID":"VALID means that the Binding is verified and its Posture is usable","SUSPENDED":"SUSPENDED means that the Binding could not be verified and the\nPosture must not be used until it is verified again","LOST":"LOST means that the inventory entry no longer exists or no longer\napplies to the Device"}},"octelium.api.main.core.v1.Device.Status.OSType":{"type":"string","enum":["OS_TYPE_UNKNOWN","LINUX","WINDOWS","MAC","ANDROID","IOS","CHROMEOS"],"description":"OSType is the operating system of the Device","x-enumDescriptions":{"OS_TYPE_UNKNOWN":"OS_TYPE_UNKNOWN is not used","LINUX":"LINUX means that the Device runs Linux","WINDOWS":"WINDOWS means that the Device runs Windows","MAC":"MAC means that the Device runs macOS","ANDROID":"ANDROID means that the Device runs Android","IOS":"IOS means that the Device runs iOS or iPadOS","CHROMEOS":"CHROMEOS means that the Device runs ChromeOS"}},"octelium.api.main.core.v1.Device.Status.Posture":{"type":"object","properties":{"riskLevel":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.Posture.RiskLevel","description":"RiskLevel is the overall risk level of the Device as assessed by the\nprovider"},"diskEncryption":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.Posture.SignalState","description":"DiskEncryption is PASS when the provider reports that the Device's\ndisk encryption requirements are satisfied"},"compliant":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.Posture.SignalState","description":"Compliant is PASS when the Device meets the provider's compliance\npolicy"},"threatFree":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.Posture.SignalState","description":"ThreatFree is PASS when the provider reports no active threats"},"signals":{"type":"object","additionalProperties":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.Posture.SignalState"},"description":"Signals contains additional provider-specific signals keyed by\n`x.<provider>.<name>`. Signals that have a dedicated field are never\nduplicated in this map."},"lastSyncAt":{"type":"string","format":"date-time","description":"LastSyncAt is the timestamp at which the Posture was last synced from\nthe provider"},"lastSeenAt":{"type":"string","format":"date-time","description":"LastSeenAt is the timestamp at which the Device was last seen by the\nprovider"},"expiresAt":{"type":"string","format":"date-time","description":"ExpiresAt is the timestamp after which the Posture is no longer valid.\nThe Cluster evaluates it using its own clock. It is never later than\nthe expiry of the oldest provider observation represented by the\nPosture, so polling does not refresh the lifetime of an old\nobservation."},"attrs":{"type":"object","description":"Attrs is a map of the additional provider-specific attributes of the\nDevice"},"firewall":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.Posture.SignalState","description":"Firewall is PASS when the provider reports the Device's firewall as\nenabled"},"screenLock":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.Posture.SignalState","description":"ScreenLock is PASS when the Device meets the provider's screen lock\nrequirements"},"secureBoot":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.Posture.SignalState","description":"SecureBoot is PASS when the provider reports secure boot as enabled"},"osUpToDate":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.Posture.SignalState","description":"OSUpToDate is PASS when the Device meets the provider's OS update\nrequirements"},"agentHealthy":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.Posture.SignalState","description":"AgentHealthy is PASS when the provider reports its agent on the\nDevice as installed, running and recently reporting"},"enrolled":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.Posture.SignalState","description":"Enrolled is PASS when the provider reports the Device as enrolled in\nits management system"},"notContained":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.Posture.SignalState","description":"NotContained is PASS when the provider reports that the Device is not\nisolated or contained"},"mobileIntegrity":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.Posture.SignalState","description":"MobileIntegrity is PASS when the provider reports that the mobile\nDevice is neither jailbroken nor rooted"}},"additionalProperties":false,"description":"Posture is the security posture reported by the Device's bound\nDeviceManager. Common signals have dedicated fields for use in CEL.\nA signal is satisfied only when its state is PASS; unknown and\ninapplicable signals do not satisfy a posture requirement."},"octelium.api.main.core.v1.Device.Status.Posture.RiskLevel":{"type":"string","enum":["RISK_LEVEL_UNKNOWN","LOW","MEDIUM","HIGH","CRITICAL"],"description":"RiskLevel is the overall risk level of the Device as assessed by the\nprovider itself","x-enumDescriptions":{"RISK_LEVEL_UNKNOWN":"RISK_LEVEL_UNKNOWN means that the provider reported no risk level","LOW":"LOW is a low risk level","MEDIUM":"MEDIUM is a medium risk level","HIGH":"HIGH is a high risk level","CRITICAL":"CRITICAL is a critical risk level"}},"octelium.api.main.core.v1.Device.Status.Posture.SignalState":{"type":"string","enum":["SIGNAL_STATE_UNKNOWN","PASS","FAIL","NOT_APPLICABLE"],"description":"SignalState is the state of a posture signal","x-enumDescriptions":{"SIGNAL_STATE_UNKNOWN":"SIGNAL_STATE_UNKNOWN means that the provider did not report the\nsignal","PASS":"PASS means that the signal is satisfied","FAIL":"FAIL means that the signal is not satisfied","NOT_APPLICABLE":"NOT_APPLICABLE means that the signal cannot apply to the Device's\nplatform"}},"octelium.api.main.core.v1.Device.Status.ProbeAttempt":{"type":"object","properties":{"uid":{"type":"string","description":"UID is the unique identifier of the ProbeAttempt"},"startedAt":{"type":"string","format":"date-time","description":"StartedAt is the timestamp at which the ProbeAttempt started"},"probes":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.Device.Probe"},"description":"Probes is the list of the Probes that were issued to the Device"},"results":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.ProbeAttempt.Result"},"description":"Results is the list of the Results of the issued Probes"},"state":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.ProbeAttempt.State","description":"State is the state of the ProbeAttempt"},"expiresAt":{"type":"string","format":"date-time","description":"ExpiresAt is the timestamp after which the ProbeAttempt can no longer\nbe completed. The Cluster evaluates it using its own clock."},"submittedAt":{"type":"string","format":"date-time","description":"SubmittedAt is the timestamp at which the Results were submitted"},"sessionRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"SessionRef is a reference to the Session that started the\nProbeAttempt"}},"additionalProperties":false,"description":"ProbeAttempt is the most recent attempt to run the Cluster's Probes on\nthe Device to collect evidence for selecting or verifying its Binding"},"octelium.api.main.core.v1.Device.Status.ProbeAttempt.Result":{"type":"object","properties":{"probeID":{"type":"string","description":"ProbeID is the ID of the Probe that produced the Result"},"status":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.ProbeAttempt.Result.Status","description":"Status is the outcome of running the Probe"},"text":{"type":"string","description":"Text is a textual value","x-oneof":"value"},"data":{"type":"string","contentEncoding":"base64","description":"Data is a binary value","x-oneof":"value"},"list":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.ProbeAttempt.Result.List","description":"List is a list of values","x-oneof":"value"},"isTruncated":{"type":"boolean","description":"IsTruncated indicates whether the value was truncated"},"exitCode":{"type":"integer","format":"int32","description":"ExitCode is the exit code of a RunCommand Probe"},"detail":{"type":"string","description":"Detail is a human-readable detail of the Status"}},"additionalProperties":false,"description":"Result is the result of running a single Probe","x-oneofs":{"value":["text","data","list"]}},"octelium.api.main.core.v1.Device.Status.ProbeAttempt.Result.List":{"type":"object","properties":{"items":{"type":"array","items":{"type":"string"},"description":"Items is the list of values"}},"additionalProperties":false,"description":"List is a list of values"},"octelium.api.main.core.v1.Device.Status.ProbeAttempt.Result.Status":{"type":"string","enum":["STATUS_UNKNOWN","OK","NOT_FOUND","UNSUPPORTED","PERMISSION_REQUIRED","TIMEOUT","FAILED"],"description":"Status is the outcome of running the Probe","x-enumDescriptions":{"STATUS_UNKNOWN":"STATUS_UNKNOWN is not used","OK":"OK means that the Probe succeeded","NOT_FOUND":"NOT_FOUND means that the probed item does not exist on the Device","UNSUPPORTED":"UNSUPPORTED means that the client does not support the Probe","PERMISSION_REQUIRED":"PERMISSION_REQUIRED means that running the Probe requires\nprivileges that the client does not have","TIMEOUT":"TIMEOUT means that running the Probe timed out","FAILED":"FAILED means that running the Probe failed"}},"octelium.api.main.core.v1.Device.Status.ProbeAttempt.State":{"type":"string","enum":["STATE_UNKNOWN","ISSUED","SUBMITTED","PROCESSED"],"description":"State is the state of the ProbeAttempt","x-enumDescriptions":{"STATE_UNKNOWN":"STATE_UNKNOWN is not used","ISSUED":"ISSUED means that the Probes were issued and the Cluster is waiting\nfor their Results","SUBMITTED":"SUBMITTED means that the Results were submitted and are waiting to\nbe processed","PROCESSED":"PROCESSED means that the Results were processed"}},"octelium.api.main.core.v1.DeviceList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `DeviceList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Device"},"description":"Items is the list of Devices."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"DeviceList is the list of Devices returned by the ListDevice method."},"octelium.api.main.core.v1.Gateway":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `Gateway`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.core.v1.Gateway.Spec","description":"Spec is the Gateway specification."},"status":{"$ref":"#/definitions/octelium.api.main.core.v1.Gateway.Status","description":"Status is the current status of the Gateway."}},"additionalProperties":false,"description":"Gateway represents a Kubernetes node that is part of the data-plane of the\nCluster. A Gateway hosts the Services running on that node and maintains the\nWireGuard/QUIC tunnel interfaces at which the Users' tunneled traffic is\nterminated."},"octelium.api.main.core.v1.Gateway.Spec":{"type":"object","properties":{},"additionalProperties":false,"description":"Spec is the Gateway specification"},"octelium.api.main.core.v1.Gateway.Status":{"type":"object","properties":{"regionRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"RegionRef is the reference to the owner Region"},"nodeRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"NodeRef is the reference to the owner Kubernetes node using the UID set\nby Kubernetes"},"id":{"type":"string","description":"ID is a unique Gateway ID"},"cidr":{"$ref":"#/definitions/octelium.api.main.meta.v1.DualStackNetwork","description":"CIDR is the dual-stack CIDR of the Gateway encompassing all the Services\naddresses serving in it"},"wireguard":{"$ref":"#/definitions/octelium.api.main.core.v1.Gateway.Status.WireGuard","description":"Wireguard is the Gateway WireGuard's information"},"quicv0":{"$ref":"#/definitions/octelium.api.main.core.v1.Gateway.Status.QUICV0","description":"Quicv0 is the Gateway QUICv0 information"},"publicIPs":{"type":"array","items":{"type":"string"},"description":"PublicIPs is the list of public IPs of the Gateway when connected to by\nthe User clients"},"hostname":{"type":"string","description":"Hostname is the public hostname of the Gateway when connected to by\nthe User clients. Currently used by QUICv0 Gateways."},"index":{"type":"integer","format":"int32","description":"Index is the Gateway's index within its Region"}},"additionalProperties":false,"description":"Status is the current status of the Gateway"},"octelium.api.main.core.v1.Gateway.Status.QUICV0":{"type":"object","properties":{"port":{"type":"integer","format":"int32","description":"Port is the listen port"}},"additionalProperties":false,"description":"QUICV0 is the Gateway's QUICv0-specific information"},"octelium.api.main.core.v1.Gateway.Status.WireGuard":{"type":"object","properties":{"port":{"type":"integer","format":"int32","description":"Port is the listen port"},"publicKey":{"type":"string","description":"PublicKey is the current public key"},"keyRotatedAt":{"type":"string","format":"date-time","description":"KeyRotatedAt is the timestamp at which the key pair was last rotated"}},"additionalProperties":false,"description":"WireGuard is the Gateway's WireGuard-specific information"},"octelium.api.main.core.v1.GatewayList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `GatewayList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Gateway"},"description":"Items is the list of Gateways."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"GatewayList is the list of Gateways returned by the ListGateway method."},"octelium.api.main.core.v1.GenerateCredentialTokenRequest":{"type":"object","properties":{"credentialRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"CredentialRef is the reference of the Credential whose token is generated\nor rotated"}},"additionalProperties":false,"description":"GenerateCredentialTokenRequest is the request of the\nGenerateCredentialToken method."},"octelium.api.main.core.v1.GeoIP":{"type":"object","properties":{"ip":{"type":"string","description":"IP is the IP address itself"},"ipVersion":{"$ref":"#/definitions/octelium.api.main.core.v1.GeoIP.IPVersion","description":"IPVersion is the version of the IP address"},"country":{"$ref":"#/definitions/octelium.api.main.core.v1.GeoIP.Country","description":"Country is the country of the IP address"},"region":{"$ref":"#/definitions/octelium.api.main.core.v1.GeoIP.Region","description":"Region is the subdivision/region of the IP address within its country"},"city":{"$ref":"#/definitions/octelium.api.main.core.v1.GeoIP.City","description":"City is the city of the IP address"},"continent":{"$ref":"#/definitions/octelium.api.main.core.v1.GeoIP.Continent","description":"Continent is the continent of the IP address"},"network":{"$ref":"#/definitions/octelium.api.main.core.v1.GeoIP.Network","description":"Network is the network information of the IP address"},"timezone":{"$ref":"#/definitions/octelium.api.main.core.v1.GeoIP.Timezone","description":"Timezone is the timezone of the IP address"},"postalCode":{"type":"string","description":"PostalCode is the postal code of the IP address"},"coordinates":{"$ref":"#/definitions/octelium.api.main.core.v1.GeoIP.Coordinates","description":"Coordinates is the approximate geographic location of the IP address"}},"additionalProperties":false,"description":"GeoIP is the geolocation information of an IP address. It is resolved by the\nCluster from the MaxMind MMDB databases that are set in the ClusterConfig\nand it is only set if geolocation is enabled."},"octelium.api.main.core.v1.GeoIP.City":{"type":"object","properties":{"name":{"type":"string","description":"Name is the city's name (e.g. \"New York\")"}},"additionalProperties":false,"description":"City is the city of the IP address"},"octelium.api.main.core.v1.GeoIP.Continent":{"type":"object","properties":{"code":{"type":"string","description":"Code is the continent's code (e.g. \"EU\")"},"name":{"type":"string","description":"Name is the continent's name (e.g. \"Europe\")"}},"additionalProperties":false,"description":"Continent is the continent of the IP address"},"octelium.api.main.core.v1.GeoIP.Coordinates":{"type":"object","properties":{"latitude":{"type":"number","description":"Latitude is the latitude in degrees"},"longitude":{"type":"number","description":"Longitude is the longitude in degrees"},"accuracyRadius":{"type":"number","description":"AccuracyRadius is the radius in kilometers within which the IP address\nis likely to be located"}},"additionalProperties":false,"description":"Coordinates is the approximate geographic location of the IP address"},"octelium.api.main.core.v1.GeoIP.Country":{"type":"object","properties":{"code":{"type":"string","description":"Code is the ISO 3166-1 country code (e.g. \"US\")"},"name":{"type":"string","description":"Name is the country's name (e.g. \"United States\")"}},"additionalProperties":false,"description":"Country is the country of the IP address"},"octelium.api.main.core.v1.GeoIP.IPVersion":{"type":"string","enum":["IP_VERSION_UNKNOWN","V4","V6"],"description":"IPVersion is the version of the IP address","x-enumDescriptions":{"IP_VERSION_UNKNOWN":"IP_VERSION_UNKNOWN is not used","V4":"V4 means that the IP address is IPv4","V6":"V6 means that the IP address is IPv6"}},"octelium.api.main.core.v1.GeoIP.Network":{"type":"object","properties":{"asn":{"type":["integer","string"],"format":"int64","description":"ASN is the autonomous system number of the network"},"isp":{"type":"string","description":"ISP is the name of the internet service provider"},"organization":{"type":"string","description":"Organization is the name of the organization that owns the network"},"domain":{"type":"string","description":"Domain is the second-level domain of the network"}},"additionalProperties":false,"description":"Network is the network information of the IP address"},"octelium.api.main.core.v1.GeoIP.Region":{"type":"object","properties":{"code":{"type":"string","description":"Code is the region's code"},"name":{"type":"string","description":"Name is the region's name"}},"additionalProperties":false,"description":"Region is the subdivision/region of the IP address within its country"},"octelium.api.main.core.v1.GeoIP.Timezone":{"type":"object","properties":{"id":{"type":"string","description":"ID is the IANA timezone identifier (e.g. \"America/New_York\")"},"offset":{"type":"number","description":"Offset is the timezone's offset in hours from UTC"}},"additionalProperties":false,"description":"Timezone is the timezone of the IP address"},"octelium.api.main.core.v1.GetClusterConfigRequest":{"type":"object","properties":{},"additionalProperties":false,"description":"GetClusterConfigRequest is the request of the GetClusterConfig method."},"octelium.api.main.core.v1.Group":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `Group`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.core.v1.Group.Spec","description":"Spec is the Group specification."},"status":{"$ref":"#/definitions/octelium.api.main.core.v1.Group.Status","description":"Status is the current status of the Group."}},"additionalProperties":false,"description":"Group is a collection of Users according to whatever classification is\nneeded by the Cluster administrators (e.g. roles in a company such as DevOps\nor developers, different groupings of workloads, etc...). A User can belong\nto one or more Groups. Groups are especially useful for access control where\na Policy can be applied to a whole set of Users at once."},"octelium.api.main.core.v1.Group.Spec":{"type":"object","properties":{"authorization":{"$ref":"#/definitions/octelium.api.main.core.v1.Group.Spec.Authorization","description":"Authorization sets the authorization-related configuration"},"attrs":{"type":"object","description":"Attrs is a map of user-defined attributes, mostly used in authorization\nrules. It is strongly recommended to stick to camelCase in order to be\nconformant with Octelium's API naming conventions."}},"additionalProperties":false,"description":"Spec is the Group specification"},"octelium.api.main.core.v1.Group.Spec.Authorization":{"type":"object","properties":{"policies":{"type":"array","items":{"type":"string"},"description":"Policies is the list of standalone Policies"},"inlinePolicies":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.InlinePolicy"},"description":"InlinePolicies is the list of inline Policies"}},"additionalProperties":false,"description":"Authorization sets the Policies that are applied to the Users belonging\nto the Group"},"octelium.api.main.core.v1.Group.Status":{"type":"object","properties":{"ext":{"type":"object","additionalProperties":{"type":"object"},"description":"Ext is a map of internal Cluster-managed extension data"}},"additionalProperties":false,"description":"Status is the current status of the Group"},"octelium.api.main.core.v1.GroupList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `GroupList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Group"},"description":"Items is the list of Groups."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"GroupList is the list of Groups returned by the ListGroup method."},"octelium.api.main.core.v1.IdentityProvider":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `IdentityProvider`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.core.v1.IdentityProvider.Spec","description":"Spec is the IdentityProvider specification."},"status":{"$ref":"#/definitions/octelium.api.main.core.v1.IdentityProvider.Status","description":"Status is the current status of the IdentityProvider."}},"additionalProperties":false,"description":"IdentityProvider represents an identity provider (IdP) that is used by the\nCluster to authenticate and re-authenticate the Users in order for them to\nobtain and keep a valid Session."},"octelium.api.main.core.v1.IdentityProvider.Spec":{"type":"object","properties":{"isDisabled":{"type":"boolean","description":"IsDisabled disables the IdentityProvider"},"displayName":{"type":"string","description":"DisplayName is the public IdentityProvider display name that Users see\nwhen they try to authenticate"},"aalRules":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.IdentityProvider.Spec.AALRule"},"description":"AALRules is the list of Authenticator assurance level rules"},"disableEmailAsIdentity":{"type":"boolean","description":"DisableEmailAsIdentity disables using the email field in the User spec\nas an identity to be matched against the information returned by the\nIdentityProvider during the authentication flow. In other words, if\nthis field is set to true, then you must create an identity for the\nIdentityProvider with an explicit identifier in the User spec. This\nfield is only meaningful for web-based IdentityProviders only (i.e. the\nones with types \"github\", \"oidc\" or \"saml\")."},"postAuthenticationRules":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.IdentityProvider.Spec.PostAuthenticationRule"},"description":"PostAuthenticationRules is the list of the rules that decide whether an\notherwise successful authentication via the IdentityProvider is\neventually accepted or rejected"},"github":{"$ref":"#/definitions/octelium.api.main.core.v1.IdentityProvider.Spec.Github","description":"Github sets the Github OAuth2 provider specific options.","x-oneof":"type"},"oidc":{"$ref":"#/definitions/octelium.api.main.core.v1.IdentityProvider.Spec.OIDC","description":"OIDC sets the OpenID Connect provider options.","x-oneof":"type"},"saml":{"$ref":"#/definitions/octelium.api.main.core.v1.IdentityProvider.Spec.SAML","description":"SAML sets the SAML 2.0 identity provider options.","x-oneof":"type"},"oidcIdentityToken":{"$ref":"#/definitions/octelium.api.main.core.v1.IdentityProvider.Spec.OIDCIdentityToken","description":"OIDCIdentityToken sets the OIDC-based assertion options used for\nWORKLOAD User authentication","x-oneof":"type"}},"additionalProperties":false,"description":"Spec is the IdentityProvider specification","x-oneofs":{"type":["github","oidc","saml","oidcIdentityToken"]}},"octelium.api.main.core.v1.IdentityProvider.Spec.AALRule":{"type":"object","properties":{"condition":{"$ref":"#/definitions/octelium.api.main.core.v1.Condition","description":"Condition is the rule's condition"},"aal":{"$ref":"#/definitions/octelium.api.main.core.v1.IdentityProvider.Spec.AALRule.AAL","description":"AAL is the corresponding AAL level if the condition matches"}},"additionalProperties":false,"description":"AALRule sets the authenticator assurance level (AAL) of the\nauthentication based on the content of the IdentityProvider's assertion.\nThe AAL of the first rule whose Condition matches is the one that is\nused."},"octelium.api.main.core.v1.IdentityProvider.Spec.AALRule.AAL":{"type":"string","enum":["AAL_UNSET","AAL1","AAL2","AAL3"],"description":"AAL is the authenticator assurance level as defined by NIST SP 800-63B","x-enumDescriptions":{"AAL_UNSET":"AAL_UNSET is not used","AAL1":"AAL1 provides some assurance that the User controls a single\nauthentication factor","AAL2":"AAL2 provides high confidence that the User controls two distinct\nauthentication factors","AAL3":"AAL3 provides very high confidence that the User controls a\nhardware-based authenticator"}},"octelium.api.main.core.v1.IdentityProvider.Spec.Github":{"type":"object","properties":{"clientID":{"type":"string","description":"ClientID is the GitHub OAuth2 client ID"},"clientSecret":{"$ref":"#/definitions/octelium.api.main.core.v1.IdentityProvider.Spec.Github.ClientSecret","description":"ClientSecret is the GitHub OAuth2 client secret"}},"additionalProperties":false,"description":"Github sets the GitHub OAuth2 provider specific options"},"octelium.api.main.core.v1.IdentityProvider.Spec.Github.ClientSecret":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value contains the\nClientSecret","x-oneof":"type"}},"additionalProperties":false,"description":"ClientSecret is the GitHub OAuth2 client secret","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.IdentityProvider.Spec.OIDC":{"type":"object","properties":{"clientID":{"type":"string","description":"ClientID is the OIDC OAuth2 client ID"},"clientSecret":{"$ref":"#/definitions/octelium.api.main.core.v1.IdentityProvider.Spec.OIDC.ClientSecret","description":"ClientSecret is the OIDC OAuth2 client secret"},"issuerURL":{"type":"string","description":"IssuerURL is the issuer URL where the OIDC configuration can be\nobtained automatically by adding this IssuerURL to the path\n\"/.well-known/openid-configuration\""},"scopes":{"type":"array","items":{"type":"string"},"description":"Scopes are the additional scopes to `openid`. The default value is\n[`profile`, `email`]."},"identifierClaim":{"type":"string","description":"IdentifierClaim overrides the default claim (i.e. currently `email`) as\nthe claim whose value is used as the identifier."},"checkEmailVerified":{"type":"boolean","description":"CheckEmailVerified checks that the `email_verified` claim\nis set to true."},"useUserInfoEndpoint":{"type":"boolean","description":"UseUserInfoEndpoint obtains the claims via the UserInfo endpoint."}},"additionalProperties":false,"description":"OIDC sets the OpenID Connect provider specific options"},"octelium.api.main.core.v1.IdentityProvider.Spec.OIDC.ClientSecret":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value contains the\nClientSecret","x-oneof":"type"}},"additionalProperties":false,"description":"ClientSecret is the OIDC OAuth2 client secret","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.IdentityProvider.Spec.OIDCIdentityToken":{"type":"object","properties":{"issuerURL":{"type":"string","description":"IssuerURL is the issuer URL from which the OIDC configuration, and\nsubsequently the JWKS, is obtained automatically","x-oneof":"type"},"jwksURL":{"type":"string","description":"JWKSURL is the URL of the issuer's JSON Web Key Set","x-oneof":"type"},"jwksContent":{"type":"string","description":"JWKSContent is the inline content of the issuer's JSON Web Key Set","x-oneof":"type"},"issuer":{"type":"string","description":"Issuer is the expected value of the identity token's `iss` claim"},"audience":{"type":"string","description":"Audience is the expected value of the identity token's `aud` claim"}},"additionalProperties":false,"description":"OIDCIdentityToken sets the OIDC-based assertion options used for\nWORKLOAD User authentication. The WORKLOAD User authenticates via an\nidentity token that is issued by an external OIDC-compliant issuer (e.g.\na CI platform or a cloud provider) instead of an interactive login.","x-oneofs":{"type":["issuerURL","jwksURL","jwksContent"]}},"octelium.api.main.core.v1.IdentityProvider.Spec.PostAuthenticationRule":{"type":"object","properties":{"condition":{"$ref":"#/definitions/octelium.api.main.core.v1.Condition","description":"Condition is the rule's Condition"},"effect":{"$ref":"#/definitions/octelium.api.main.core.v1.IdentityProvider.Spec.PostAuthenticationRule.Effect","description":"Effect is the effect of the rule when a match happens to any of the\nConditions."}},"additionalProperties":false,"description":"PostAuthenticationRule decides whether an otherwise successful\nauthentication via the IdentityProvider is eventually accepted or\nrejected"},"octelium.api.main.core.v1.IdentityProvider.Spec.PostAuthenticationRule.Effect":{"type":"string","enum":["EFFECT_UNKNOWN","ALLOW","DENY"],"description":"Effect is the decision of the rule once its Condition matches","x-enumDescriptions":{"EFFECT_UNKNOWN":"EFFECT_UNKNOWN is not used.","ALLOW":"ALLOW accepts the authentication.","DENY":"DENY rejects the authentication."}},"octelium.api.main.core.v1.IdentityProvider.Spec.SAML":{"type":"object","properties":{"metadataURL":{"type":"string","description":"MetadataURL is the SAML 2.0 metadata URL","x-oneof":"metadataType"},"metadata":{"type":"string","description":"Metadata is the inline metadata XML content","x-oneof":"metadataType"},"entityID":{"type":"string","description":"EntityID is the entity ID. If not set, then the value\n\"https://<CLUSTER_DOMAIN>\" is used as the default entity ID."},"identifierAttribute":{"type":"string","description":"IdentifierAttribute is the attribute of the identifier used for\nauthentication. If not set, then the default value\n\"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress\" is\nused instead."},"forceAuthn":{"type":"boolean","description":"ForceAuthn forces re-authentication by the IdP even if the user has a\nvalid SSO session"}},"additionalProperties":false,"description":"SAML sets the SAML 2.0 identity provider specific options","x-oneofs":{"metadataType":["metadataURL","metadata"]}},"octelium.api.main.core.v1.IdentityProvider.Status":{"type":"object","properties":{"type":{"$ref":"#/definitions/octelium.api.main.core.v1.IdentityProvider.Status.Type","description":"Type is the type of the IdentityProvider"},"isLocked":{"type":"boolean","description":"IsLocked indicates whether the IdentityProvider is locked by the Cluster"}},"additionalProperties":false,"description":"Status is the current status of the IdentityProvider"},"octelium.api.main.core.v1.IdentityProvider.Status.Type":{"type":"string","enum":["TYPE_UNKNOWN","GITHUB","OIDC","SAML","OIDC_IDENTITY_TOKEN"],"description":"Type is the type of the IdentityProvider","x-enumDescriptions":{"TYPE_UNKNOWN":"TYPE_UNKNOWN is not used","GITHUB":"GITHUB means that the IdentityProvider is a GitHub OAuth2 provider","OIDC":"OIDC means that the IdentityProvider is an OpenID Connect provider","SAML":"SAML means that the IdentityProvider is a SAML 2.0 provider","OIDC_IDENTITY_TOKEN":"OIDC_IDENTITY_TOKEN means that the IdentityProvider verifies the OIDC\nidentity tokens used by the WORKLOAD Users"}},"octelium.api.main.core.v1.IdentityProviderList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `IdentityProviderList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.IdentityProvider"},"description":"Items is the list of IdentityProviders."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"IdentityProviderList is the list of IdentityProviders returned by the\nListIdentityProvider method."},"octelium.api.main.core.v1.InlinePolicy":{"type":"object","properties":{"name":{"type":"string","description":"Name is the name of the inline Policy"},"spec":{"$ref":"#/definitions/octelium.api.main.core.v1.Policy.Spec","description":"Spec is the Policy spec"}},"additionalProperties":false,"description":"InlinePolicy is a Policy that is defined inline within the resource that\nattaches it instead of being created as a standalone Policy resource."},"octelium.api.main.core.v1.ListAuthenticatorOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common sets the common listing options (e.g. pagination, ordering and\nfiltering)"},"userRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"UserRef filters the Authenticators by their User"}},"additionalProperties":false,"description":"ListAuthenticatorOptions is the request of the ListAuthenticator method."},"octelium.api.main.core.v1.ListConfigOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common sets the common listing options (e.g. pagination, ordering and\nfiltering)"}},"additionalProperties":false,"description":"ListConfigOptions is the request of the ListConfig method."},"octelium.api.main.core.v1.ListCredentialOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common sets the common listing options (e.g. pagination, ordering and\nfiltering)"},"userRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"UserRef filters the Credentials by their User"}},"additionalProperties":false,"description":"ListCredentialOptions is the request of the ListCredential method."},"octelium.api.main.core.v1.ListDeviceOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common sets the common listing options (e.g. pagination, ordering and\nfiltering)"},"userRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"UserRef filters the Devices by their User"}},"additionalProperties":false,"description":"ListDeviceOptions is the request of the ListDevice method."},"octelium.api.main.core.v1.ListGatewayOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common sets the common listing options (e.g. pagination, ordering and\nfiltering)"},"regionRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"RegionRef filters the Gateways by their owner Region"}},"additionalProperties":false,"description":"ListGatewayOptions is the request of the ListGateway method."},"octelium.api.main.core.v1.ListGroupOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common sets the common listing options (e.g. pagination, ordering and\nfiltering)"}},"additionalProperties":false,"description":"ListGroupOptions is the request of the ListGroup method."},"octelium.api.main.core.v1.ListIdentityProviderOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common sets the common listing options (e.g. pagination, ordering and\nfiltering)"}},"additionalProperties":false,"description":"ListIdentityProviderOptions is the request of the ListIdentityProvider\nmethod."},"octelium.api.main.core.v1.ListNamespaceOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common sets the common listing options (e.g. pagination, ordering and\nfiltering)"}},"additionalProperties":false,"description":"ListNamespaceOptions is the request of the ListNamespace method."},"octelium.api.main.core.v1.ListPolicyOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common sets the common listing options (e.g. pagination, ordering and\nfiltering)"}},"additionalProperties":false,"description":"ListPolicyOptions is the request of the ListPolicy method."},"octelium.api.main.core.v1.ListRegionOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common sets the common listing options (e.g. pagination, ordering and\nfiltering)"}},"additionalProperties":false,"description":"ListRegionOptions is the request of the ListRegion method."},"octelium.api.main.core.v1.ListSecretOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common sets the common listing options (e.g. pagination, ordering and\nfiltering)"}},"additionalProperties":false,"description":"ListSecretOptions is the request of the ListSecret method."},"octelium.api.main.core.v1.ListServiceOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common sets the common listing options (e.g. pagination, ordering and\nfiltering)"},"namespaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"NamespaceRef filters the Services by their owner Namespace"},"regionRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"RegionRef filters the Services by the Region in which they are deployed"}},"additionalProperties":false,"description":"ListServiceOptions is the request of the ListService method."},"octelium.api.main.core.v1.ListSessionOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common sets the common listing options (e.g. pagination, ordering and\nfiltering)"},"userRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"UserRef filters the Sessions by their User"}},"additionalProperties":false,"description":"ListSessionOptions is the request of the ListSession method."},"octelium.api.main.core.v1.ListUserOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common sets the common listing options (e.g. pagination, ordering and\nfiltering)"}},"additionalProperties":false,"description":"ListUserOptions is the request of the ListUser method."},"octelium.api.main.core.v1.Namespace":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `Namespace`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.core.v1.Namespace.Spec","description":"Spec is the Namespace specification."},"status":{"$ref":"#/definitions/octelium.api.main.core.v1.Namespace.Status","description":"Status is the current status of the Namespace."}},"additionalProperties":false,"description":"Namespace is a logical grouping of Services according to a common\nfunctionality (e.g. project names, environments such as production or\nstaging, regions, etc...). Every Service belongs to a single Namespace which\nalso acts as the parent domain of its Services' FQDNs. A Service that does\nnot explicitly specify a Namespace belongs to the `default` Namespace which\nis automatically created upon the Cluster's installation."},"octelium.api.main.core.v1.Namespace.Spec":{"type":"object","properties":{"authorization":{"$ref":"#/definitions/octelium.api.main.core.v1.Namespace.Spec.Authorization","description":"Authorization sets the authorization-related configuration"},"attrs":{"type":"object","description":"Attrs is a map of user-defined attributes, mostly used in authorization\nrules. It is strongly recommended to stick to camelCase in order to be\nconformant with Octelium's API naming conventions."}},"additionalProperties":false,"description":"Spec is the Namespace specification"},"octelium.api.main.core.v1.Namespace.Spec.Authorization":{"type":"object","properties":{"policies":{"type":"array","items":{"type":"string"},"description":"Policies is the list of standalone Policies"},"inlinePolicies":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.InlinePolicy"},"description":"InlinePolicies is the list of inline Policies"}},"additionalProperties":false,"description":"Authorization sets the Policies that are applied to every Service owned\nby the Namespace"},"octelium.api.main.core.v1.Namespace.Status":{"type":"object","properties":{},"additionalProperties":false,"description":"Status is the current status of the Namespace"},"octelium.api.main.core.v1.NamespaceList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `NamespaceList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Namespace"},"description":"Items is the list of Namespaces."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"NamespaceList is the list of Namespaces returned by the ListNamespace\nmethod."},"octelium.api.main.core.v1.Policy":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `Policy`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.core.v1.Policy.Spec","description":"Spec is the Policy specification."},"status":{"$ref":"#/definitions/octelium.api.main.core.v1.Policy.Status","description":"Status is the current status of the Policy."}},"additionalProperties":false,"description":"Policy is a set of policy-as-code rules that decide whether a request is\nallowed or denied. A Policy that is attached to the resources involved in a\nrequest is evaluated for that request."},"octelium.api.main.core.v1.Policy.Spec":{"type":"object","properties":{"rules":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Policy.Spec.Rule"},"description":"Rules is the list of Policy rules"},"enforcementRules":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Policy.Spec.EnforcementRule"},"description":"EnforcementRules is the list of enforcement rules that are typically used\nas a precondition for using the Policy rules. You can simply extract your\nshared conditions from your rules and write them instead inside\nenforcementRules for better performance and readability"},"attrs":{"type":"object","description":"Attrs is a map of user-defined attributes that can be reused inside the\nPolicy rules. It is strongly recommended to stick to camelCase in order\nto be conformant with Octelium's API naming conventions."},"isDisabled":{"type":"boolean","description":"IsDisabled disables (i.e. deactivates) the Policy. You can use this to\ntemporarily disable enforcing the Policy altogether instead of having to\ndelete it or de-attach it from the different Resources attaching it."}},"additionalProperties":false,"description":"Spec is the Policy specification"},"octelium.api.main.core.v1.Policy.Spec.EnforcementRule":{"type":"object","properties":{"condition":{"$ref":"#/definitions/octelium.api.main.core.v1.Condition","description":"Condition is the enforcement rule's Condition"},"effect":{"$ref":"#/definitions/octelium.api.main.core.v1.Policy.Spec.EnforcementRule.Effect","description":"Effect is the effect of the enforcement rule when a match happens to\nany of the Conditions."}},"additionalProperties":false,"description":"EnforcementRule is a pre-condition that decides whether the Policy is\nevaluated at all. If no EnforcementRule matches, or if the list of\nEnforcementRules is empty, then the Policy is enforced. ENFORCE rules\nalways override IGNORE rules in the same way that DENY rules override\nALLOW rules."},"octelium.api.main.core.v1.Policy.Spec.EnforcementRule.Effect":{"type":"string","enum":["EFFECT_UNKNOWN","ENFORCE","IGNORE"],"description":"Effect is the decision of the EnforcementRule once its Condition\nmatches","x-enumDescriptions":{"EFFECT_UNKNOWN":"EFFECT_UNKNOWN is not used.","ENFORCE":"ENFORCE forces the Policy to be evaluated","IGNORE":"IGNORE forces the Policy to be ignored altogether"}},"octelium.api.main.core.v1.Policy.Spec.Rule":{"type":"object","properties":{"name":{"type":"string","description":"Name is an optional name for the rule. It is currently useful in Logs\nto understand which rule triggered the Policy."},"condition":{"$ref":"#/definitions/octelium.api.main.core.v1.Condition","description":"Condition is the rule's Condition that must match in order for the\nrule, and subsequently the Policy as whole, to match"},"effect":{"$ref":"#/definitions/octelium.api.main.core.v1.Policy.Spec.Rule.Effect","description":"Effect is the effect of the policy when a match happens to any of the\nConditions."},"priority":{"type":"integer","format":"int32","description":"Priority is an integer that sets the rule priority level. The lower the\nnumber, the higher the priority. Currently the range of numbers is\nbetween -4 (i.e. the highest priority) and 4\n(i.e. the lowest priority)."}},"additionalProperties":false,"description":"Rule is a single access control rule of the Policy"},"octelium.api.main.core.v1.Policy.Spec.Rule.Effect":{"type":"string","enum":["EFFECT_UNKNOWN","ALLOW","DENY"],"description":"Effect is the decision of the Rule once its Condition matches","x-enumDescriptions":{"EFFECT_UNKNOWN":"EFFECT_UNKNOWN is not used.","ALLOW":"ALLOW allows the request.","DENY":"DENY denies the request."}},"octelium.api.main.core.v1.Policy.Status":{"type":"object","properties":{"parentPolicyRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"ParentPolicyRef is the reference of the parent Policy, if any"}},"additionalProperties":false,"description":"Status is the current status of the Policy"},"octelium.api.main.core.v1.PolicyList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `PolicyList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Policy"},"description":"Items is the list of Policies."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"PolicyList is the list of Policies returned by the ListPolicy method."},"octelium.api.main.core.v1.Region":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `Region`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.core.v1.Region.Spec","description":"Spec is the Region specification."},"status":{"$ref":"#/definitions/octelium.api.main.core.v1.Region.Status","description":"Status is the current status of the Region."}},"additionalProperties":false,"description":"Region represents a single Kubernetes cluster of the Octelium Cluster. A\nCluster is designed to run on top of a single Kubernetes cluster or to be\ndistributed over multiple ones where each Kubernetes cluster acts as a\nRegion. The initial Kubernetes cluster represents the `default` Region upon\nwhich the Services are deployed by default."},"octelium.api.main.core.v1.Region.Spec":{"type":"object","properties":{},"additionalProperties":false,"description":"Spec is the Region specification"},"octelium.api.main.core.v1.Region.Status":{"type":"object","properties":{"index":{"type":"integer","format":"int32","description":"Index is the Region's index within the Cluster"},"ingressAddresses":{"type":"array","items":{"type":"string"},"description":"IngressAddresses is the list of the public addresses of the Region's\nIngress"},"publicHostname":{"type":"string","description":"PublicHostname is the Region's public hostname"},"ext":{"type":"object","additionalProperties":{"type":"object"},"description":"Ext is a map of internal Cluster-managed extension data"},"version":{"type":"string","description":"Version is the Region's version"},"versionInfoMap":{"type":"object","additionalProperties":{"$ref":"#/definitions/octelium.api.main.core.v1.Region.Status.VersionInfo"},"description":"VersionInfoMap is the map of the version information of the Region's\ncomponents keyed by the component's name"}},"additionalProperties":false,"description":"Status is the current status of the Region"},"octelium.api.main.core.v1.Region.Status.VersionInfo":{"type":"object","properties":{"version":{"type":"string","description":"Version is the component's version"},"package":{"type":"string","description":"Package is the name of the component's package"},"id":{"type":"string","description":"ID is the unique identifier of the version"},"setAt":{"type":"string","format":"date-time","description":"SetAt is the timestamp at which the version was set"},"ext":{"type":"object","additionalProperties":{"type":"object"},"description":"Ext is a map of internal Cluster-managed extension data"}},"additionalProperties":false,"description":"VersionInfo is the version information of a single Cluster component"},"octelium.api.main.core.v1.RegionList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `RegionList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Region"},"description":"Items is the list of Regions."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"RegionList is the list of Regions returned by the ListRegion method."},"octelium.api.main.core.v1.Scope":{"type":"object","properties":{"service":{"$ref":"#/definitions/octelium.api.main.core.v1.Scope.Service","description":"Service means that this is a Service scope","x-oneof":"type"},"api":{"$ref":"#/definitions/octelium.api.main.core.v1.Scope.API","description":"API means that this is an API scope","x-oneof":"type"}},"additionalProperties":false,"description":"Scope restricts what a Session is allowed to reach. A Session that carries\nno Scopes is unrestricted, otherwise it can only reach what its Scopes\nallow. Scopes narrow a Session down, they never widen it beyond what the\nauthorization Policies already allow.","x-oneofs":{"type":["service","api"]}},"octelium.api.main.core.v1.Scope.API":{"type":"object","properties":{"all":{"$ref":"#/definitions/octelium.api.main.core.v1.Scope.API.All","description":"All means allow access to all APIs","x-oneof":"type"},"filter":{"$ref":"#/definitions/octelium.api.main.core.v1.Scope.API.Filter","description":"Filter filters access to certain APIs or certain methods of certain\nAPIs","x-oneof":"type"}},"additionalProperties":false,"description":"API scopes the access to the Cluster's own gRPC APIs","x-oneofs":{"type":["all","filter"]}},"octelium.api.main.core.v1.Scope.API.All":{"type":"object","properties":{},"additionalProperties":false,"description":"All allows access to all APIs"},"octelium.api.main.core.v1.Scope.API.Filter":{"type":"object","properties":{"packages":{"type":"array","items":{"type":"string"},"description":"Packages is the list of gRPC packages"},"services":{"type":"array","items":{"type":"string"},"description":"Services is the list of gRPC services"},"methods":{"type":"array","items":{"type":"string"},"description":"Methods is the list of gRPC methods"}},"additionalProperties":false,"description":"Filter restricts the access to certain gRPC packages, services or\nmethods"},"octelium.api.main.core.v1.Scope.Service":{"type":"object","properties":{"all":{"$ref":"#/definitions/octelium.api.main.core.v1.Scope.Service.All","description":"All means allow access to all Services","x-oneof":"type"},"filter":{"$ref":"#/definitions/octelium.api.main.core.v1.Scope.Service.Filter","description":"Filter filters access to certain Services or certain Namespaces","x-oneof":"type"}},"additionalProperties":false,"description":"Service scopes the access to the Cluster's Services","x-oneofs":{"type":["all","filter"]}},"octelium.api.main.core.v1.Scope.Service.All":{"type":"object","properties":{},"additionalProperties":false,"description":"All allows access to all Services"},"octelium.api.main.core.v1.Scope.Service.Filter":{"type":"object","properties":{"names":{"type":"array","items":{"type":"string"},"description":"Names is the list of allowed Service names"},"namespaces":{"type":"array","items":{"type":"string"},"description":"Namespaces is the list of allowed Namespace names"}},"additionalProperties":false,"description":"Filter restricts the access to certain Services or Namespaces"},"octelium.api.main.core.v1.Secret":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `Secret`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.core.v1.Secret.Spec","description":"Spec is the Secret specification."},"status":{"$ref":"#/definitions/octelium.api.main.core.v1.Secret.Status","description":"Status is the current status of the Secret."},"data":{"$ref":"#/definitions/octelium.api.main.core.v1.Secret.Data","description":"Data is the Secret's actual secret data content."}},"additionalProperties":false,"description":"Secret stores a sensitive value (e.g. an API key, a password, a private key\nor a TLS certificate) that is referenced by its name from the other Cluster\nresources. It avoids storing the sensitive data itself along with the rest\nof the Cluster configuration. The Cluster does not expose the Secret's data\nvia the API, therefore a Secret that is read back from the API contains\neverything but its data."},"octelium.api.main.core.v1.Secret.Data":{"type":"object","properties":{"value":{"type":"string","description":"Value is a string value","x-oneof":"type"},"valueBytes":{"type":"string","contentEncoding":"base64","description":"ValueBytes is a raw sequence of bytes value","x-oneof":"type"}},"additionalProperties":false,"description":"Data is the Secret's sensitive data content","x-oneofs":{"type":["value","valueBytes"]}},"octelium.api.main.core.v1.Secret.Spec":{"type":"object","properties":{"data":{"$ref":"#/definitions/octelium.api.main.core.v1.Secret.Spec.Data","description":"Data is the Secret's sensitive data content"}},"additionalProperties":false,"description":"Spec is the Secret specification"},"octelium.api.main.core.v1.Secret.Spec.Data":{"type":"object","properties":{"value":{"type":"string","description":"Value is a string value","x-oneof":"type"},"valueBytes":{"type":"string","contentEncoding":"base64","description":"ValueBytes is a raw sequence of bytes value","x-oneof":"type"}},"additionalProperties":false,"description":"Data is the Secret's sensitive data content","x-oneofs":{"type":["value","valueBytes"]}},"octelium.api.main.core.v1.Secret.Status":{"type":"object","properties":{"ext":{"type":"object","additionalProperties":{"type":"object"},"description":"Ext is a map of internal Cluster-managed extension data"}},"additionalProperties":false,"description":"Status is the current status of the Secret"},"octelium.api.main.core.v1.SecretList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `SecretList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Secret"},"description":"Items is the list of Secrets."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"SecretList is the list of Secrets returned by the ListSecret method."},"octelium.api.main.core.v1.Service":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `Service`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec","description":"Spec is the Service specification."},"status":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Status","description":"Status is the current status of the Service."}},"additionalProperties":false,"description":"Service represents a protected upstream resource (e.g. a web application,\nan API, an SSH server, a database, a Kubernetes cluster, etc...) inside the\nCluster. A Service is implemented by Vigil, an identity-aware proxy (IaP)\nthat understands the application-layer protocol of the upstream and provides\naccess control, secretless access, dynamic configuration as well as\napplication-layer visibility and access logging. Every Service belongs to a\nsingle Namespace and has the private FQDN\n`<SERVICE>.<NAMESPACE>.local.<DOMAIN>` and, when publicly exposed, the\npublic FQDN `<SERVICE>.<NAMESPACE>.<DOMAIN>`."},"octelium.api.main.core.v1.Service.Spec":{"type":"object","properties":{"port":{"type":"integer","format":"uint32","minimum":0,"description":"Port is the port number used by the listener. If not set, Octelium will\ntry to assume the number from the backend URL. (e.g. if the backend's\nURL scheme is `http` then the port number is 80)."},"mode":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Mode","description":"Mode is the mode of the protocol used by the proxy implementing the\nService. If UNSET which is the default value, the Service will\nautomatically decide the mode using the scheme of the Upstream's URL."},"authorization":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Authorization","description":"Authorization sets the authorization-related configuration"},"config":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config","description":"Config sets the listener's application-layer specific options."},"dynamicConfig":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.DynamicConfig","description":"DynamicConfig sets the dynamic configuration options. DynamicConfig can\nsimply dynamically override the global/static Service configuration via\nprogrammable CEL rules that take identity and context into account."},"isTLS":{"type":"boolean","description":"IsTLS enables TLS for the listener using its Namespace certificate\n(i.e. You have to enable TLS at the Namespace level in order to enable\nthis field)."},"isPublic":{"type":"boolean","description":"IsPublic enables the client-less public \"BeyondCorp\" mode access for the\nService. Only works for HTTP-based Service modes for now."},"isAnonymous":{"type":"boolean","description":"IsAnonymous turns a publicly exposed HTTP-based Service into an\nanonymously exposed Service that can be anonymously accessed publicly. In\nother words, this turns off authentication and authorization for the\nService. This requires the isPublic field to be enabled too. Refer to the\ndocs for more."},"deployment":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Deployment","description":"Deployment sets the Service's underlying deployment configurations."},"isDisabled":{"type":"boolean","description":"IsDisabled disables the Service. Simply the Service stops accepting\nrequests altogether as if it is not running."},"attrs":{"type":"object","description":"Attrs is a map of user-defined attributes, mostly used in authorization\nrules. It is strongly recommended to stick to camelCase in order to be\nconformant with Octelium's API naming conventions."},"region":{"type":"string","description":"Region explicitly sets the Region name in which the Service is deployed.\nBy default, a Service is deployed in the \"default\" Region."}},"additionalProperties":false,"description":"Spec is the Service specification"},"octelium.api.main.core.v1.Service.Spec.Authorization":{"type":"object","properties":{"policies":{"type":"array","items":{"type":"string"},"description":"Policies is the list of standalone Policies"},"inlinePolicies":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.InlinePolicy"},"description":"InlinePolicies is the list of inline Policies"},"enableAnonymous":{"type":"boolean","description":"EnableAnonymous enables authorization for anonymous Services (i.e.\nServices whose isAnonymous field is enabled). By default, an anonymous\nService enforces no authorization at all. Once enabled, the Policies\nof the Service are evaluated for the anonymous requests and, as it is\nthe case with the authenticated authorization, a request that matches\nno rule is denied."}},"additionalProperties":false,"description":"Authorization sets the Policies that are applied to the Service"},"octelium.api.main.core.v1.Service.Spec.Config":{"type":"object","properties":{"name":{"type":"string","description":"Name is a unique name the describes the Config. Only needed for Configs\ndescribed within the DynamicConfig. The default Config is assumed to\nhave the name \"default\"."},"clientCertificate":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.ClientCertificate","description":"ClientCertificate sets mTLS-related configuration (i.e. the client x509\ncertificate chain and its corresponding private key) to authenticate to\nan upstream that requires mTLS. This is unused for certain modes such\nas SSH since it does not use mTLS."},"upstream":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream","description":"Upstream is the Service detailed upstream information. Only one of the\nURL or Upstream must be set."},"parent":{"type":"string","description":"Parent is the name of the parent configuration"},"tls":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.TLS","description":"TLS sets the TLS client-side configuration used by the Service to\nconnect to an upstream that is listening over TLS."},"http":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP","description":"HTTP sets HTTP-specific configuration","x-oneof":"type"},"ssh":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.SSH","description":"SSH sets SSH-specific configuration","x-oneof":"type"},"postgres":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Postgres","description":"Postgres sets PostgreSQL-specific configuration","x-oneof":"type"},"mysql":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.MySQL","description":"MySQL (EXPERIMENTAL) sets MySQL-specific configuration","x-oneof":"type"},"kubernetes":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Kubernetes","description":"Kubernetes sets Kubernetes-specific configuration","x-oneof":"type"},"socks5":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.SOCKS5","description":"SOCKS5 sets SOCKS5-specific configuration","x-oneof":"type"},"rdp":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.RDP","description":"RDP sets RDP-specific configuration","x-oneof":"type"},"mcp":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.MCP","description":"MCP sets Model Context Protocol-specific configuration","x-oneof":"type"},"llm":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM","description":"LLM sets LLM-gateway-specific configuration","x-oneof":"type"}},"additionalProperties":false,"description":"Config is the Service configuration. It contains the upstream\ninformation as well as the configuration that is specific to the\napplication-layer protocol used by the Service.","x-oneofs":{"type":["http","ssh","postgres","mysql","kubernetes","socks5","rdp","mcp","llm"]}},"octelium.api.main.core.v1.Service.Spec.Config.ClientCertificate":{"type":"object","properties":{"trustedCAs":{"type":"array","items":{"type":"string"},"description":"TrustedCAs is the list of the PEM-encoded root certificate\nauthorities that are trusted to verify the upstream's certificate."},"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value contains the\nPEM representations of both the client certificate chain and its\ncorresponding private key","x-oneof":"type"}},"additionalProperties":false,"description":"ClientCertificate sets the x509 client certificate used to\nauthenticate to an upstream that requires mTLS","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP":{"type":"object","properties":{"auth":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth","description":"Auth sets authentication-to-upstream specific configuration"},"header":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Header","description":"Header sets request and response header manipulation options"},"path":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Path","description":"Path sets the request path options"},"cors":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.CORS","description":"CORS sets the Cross-Origin Resource Sharing (CORS)-specific\noptions. Read more at\nhttps://developer.mozilla.org/en-US/docs/Web/HTTP/Headers."},"isUpstreamHTTP2":{"type":"boolean","description":"IsUpstreamHTTP2 sets HTTP connections to the upstream to HTTP/2. Not\nenabled by default."},"listenHTTP2":{"type":"boolean","description":"ListenHTTP2 sets the Service to listen to HTTP 2.0 connections. This\nis only enabled by default for Services using TLS. This field has to\nbe enabled in the in the \"default\" or global Configuration (as\nopposed to named dynamic Configs) in order to actually work."},"enableRequestBuffering":{"type":"boolean","description":"EnableRequestBuffering buffers the entire request body before sending\nit to the upstream. This can be used to check the request body\ncontent for access control and dynamic configuration. This means that\nit has to be enabled in the \"default\" or global Configuration (as\nopposed to named dynamic Configs) in order to actually work."},"body":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Body","description":"Body sets the body-specific options."},"response":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Response","description":"Response sets the response-specific configurations"},"plugins":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin"},"description":"Plugins is the list of plugins"},"visibility":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Visibility","description":"Visibility sets the visibility/access logging specific options"},"retry":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Retry","description":"Retry sets the retrying of the failed upstream requests"}},"additionalProperties":false,"description":"HTTP sets the HTTP-specific configuration. It is used by every\nHTTP-based Service mode (i.e. HTTP, WEB and GRPC)."},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth":{"type":"object","properties":{"bearer":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth.Bearer","description":"Bearer sets bearer authentication details","x-oneof":"type"},"basic":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth.Basic","description":"Basic sets basic authentication details","x-oneof":"type"},"custom":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth.Custom","description":"Custom sets authentication inside custom header","x-oneof":"type"},"oauth2ClientCredentials":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth.OAuth2ClientCredentials","description":"OAuth2ClientCredentials sets OAuth2 client credentials\nauthentication flow details","x-oneof":"type"},"sigv4":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth.Sigv4","description":"Sigv4 sets the AWS signature v4 authentication details","x-oneof":"type"}},"additionalProperties":false,"description":"Auth sets the application-layer credentials that are injected by\nthe Service on-the-fly to authenticate to the upstream. This\nprovides secretless access where the credentials are never shared\nwith the Users.","x-oneofs":{"type":["bearer","basic","custom","oauth2ClientCredentials","sigv4"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth.Basic":{"type":"object","properties":{"username":{"type":"string","description":"Username is the username value of HTTP basic authentication"},"password":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth.Basic.Password","description":"Password is the password value of HTTP basic authentication"}},"additionalProperties":false,"description":"Basic is the HTTP basic authentication credentials"},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth.Basic.Password":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value contains\nthe Password","x-oneof":"type"}},"additionalProperties":false,"description":"Password is the password value of HTTP basic authentication","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth.Bearer":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value contains\nthe bearer token","x-oneof":"type"}},"additionalProperties":false,"description":"Bearer is the bearer token that is set in the `Authorization`\nrequest header","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth.Custom":{"type":"object","properties":{"header":{"type":"string","description":"Header is the name of the HTTP header (e.g. \"X-Custom-Auth\")"},"value":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth.Custom.Value","description":"Value is the value of the header"}},"additionalProperties":false,"description":"Custom is a credential that is set in a custom request header"},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth.Custom.Value":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value contains\nthe header's Value","x-oneof":"type"}},"additionalProperties":false,"description":"Value is the value of the custom request header","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth.OAuth2ClientCredentials":{"type":"object","properties":{"clientID":{"type":"string","description":"ClientID sets the OAuth2 client ID"},"clientSecret":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth.OAuth2ClientCredentials.ClientSecret","description":"ClientSecret sets the OAuth2 client secret"},"tokenURL":{"type":"string","description":"TokenURL sets the token URL endpoint"},"scopes":{"type":"array","items":{"type":"string"},"description":"Scopes is the list of OAuth2 scopes"}},"additionalProperties":false,"description":"OAuth2ClientCredentials authenticates to the upstream via the\nstandard OAuth2 client credentials flow"},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth.OAuth2ClientCredentials.ClientSecret":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value contains\nthe ClientSecret","x-oneof":"type"}},"additionalProperties":false,"description":"ClientSecret is the OAuth2 client secret","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth.Sigv4":{"type":"object","properties":{"accessKeyID":{"type":"string","description":"AccessKeyID is the AWS access key ID"},"secretAccessKey":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth.Sigv4.SecretAccessKey","description":"SecretAccessKey is the AWS secret access key"},"region":{"type":"string","description":"Region is the AWS region of the upstream API (e.g.\n\"eu-central-1\")"},"service":{"type":"string","description":"Service is the AWS service of the upstream API (e.g. \"lambda\",\n\"s3\")"}},"additionalProperties":false,"description":"Sigv4 computes and injects AWS Signature Version 4 signatures\non-the-fly for a Sigv4-compliant upstream API"},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth.Sigv4.SecretAccessKey":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value contains\nthe SecretAccessKey","x-oneof":"type"}},"additionalProperties":false,"description":"SecretAccessKey is the AWS secret access key","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Body":{"type":"object","properties":{"mode":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Body.Mode","description":"Mode sets the expected format of the request body"},"maxRequestSize":{"type":"integer","format":"uint32","minimum":0,"description":"MaxRequestSize sets the max body request byte size."},"validation":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Body.Validation","description":"Validation sets the validation of the request body content"}},"additionalProperties":false,"description":"Body sets the request body-specific options. It requires\nenableRequestBuffering to be enabled."},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Body.Mode":{"type":"string","enum":["MODE_UNSET","JSON"],"description":"Mode is the expected format of the request body","x-enumDescriptions":{"MODE_UNSET":"MODE_UNSET performs no request body format validation. This is\nthe default value.","JSON":"JSON means that the request body must be validated for a valid\nJSON"}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Body.Validation":{"type":"object","properties":{"jsonSchema":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Body.Validation.JSONSchema","description":"JSONSchema validates the request body against a JSON schema","x-oneof":"type"}},"additionalProperties":false,"description":"Validation validates the content of the request body. A request\nwhose body is invalid is rejected with a status code of `400`.","x-oneofs":{"type":["jsonSchema"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Body.Validation.JSONSchema":{"type":"object","properties":{"inline":{"type":"string","description":"Inline is the JSON schema itself","x-oneof":"type"}},"additionalProperties":false,"description":"JSONSchema validates the request body against a JSON schema","x-oneofs":{"type":["inline"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.CORS":{"type":"object","properties":{"allowOriginStringMatch":{"type":"array","items":{"type":"string"},"description":"AllowOriginStringMatch is the list of the allowed origins. An\nentry is either an exact origin (e.g. \"https://example.com\") or a\n`*` which allows every origin. A request whose Origin matches the\nService's own origin is always allowed and it does not need to be\nlisted here. Note that Octelium always responds with the request's\nown Origin rather than with a literal `*` since the browsers\nreject a wildcard whenever the request carries credentials."},"allowMethods":{"type":"string","description":"AllowMethods specifies the content for the\naccess-control-allow-methods header."},"allowHeaders":{"type":"string","description":"AllowHeaders specifies the content for the\naccess-control-allow-headers header."},"exposeHeaders":{"type":"string","description":"ExposeHeaders specifies the content for the\naccess-control-expose-headers header."},"maxAge":{"type":"string","description":"MaxAge specifies the content for the access-control-max-age\nheader."},"allowCredentials":{"type":"boolean","description":"AllowCredentials specifies whether the resource allows\ncredentials."},"allowClusterServices":{"type":"boolean","description":"AllowClusterServices allows the origins of the Cluster's own\nServices (i.e. the Cluster domain itself as well as any of its\nsubdomains at any depth, over HTTPS only) in addition to the\norigins that are set in `allowOriginStringMatch`. Credentials are\nalways allowed for such origins regardless of `allowCredentials`\nsince the Cluster's Services authenticate the browsers with the\n`octelium_auth` Cookie. This is needed to access the Service from\nthe Cluster's own web console (e.g. the MCP and LLM playgrounds).\nNote that enabling this effectively trusts every Service in the\nCluster since a browser-based application served by any of them\ncan then read this Service's responses on behalf of the browsing\nUser."}},"additionalProperties":false,"description":"CORS sets the Cross-Origin Resource Sharing options which are needed\nto access the Service from a browser-based application that is\nserved at a different origin"},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Header":{"type":"object","properties":{"addRequestHeaders":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Header.KeyValue"},"description":"AddRequestHeaders is the list of request headers to be added."},"removeRequestHeaders":{"type":"array","items":{"type":"string"},"description":"RemoveRequestHeaders is the list of request headers to be\nremoved."},"addResponseHeaders":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Header.KeyValue"},"description":"AddResponseHeaders is the list of response headers to be added."},"removeResponseHeaders":{"type":"array","items":{"type":"string"},"description":"RemoveResponseHeaders is the list of response headers to be\nremoved."},"forwardedMode":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Header.ForwardedMode","description":"Forwarded handles the forwarded request header."},"host":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Header.Host","description":"Host sets the Host request header forwarded to the upstream"},"authorizationMode":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Header.AuthorizationMode","description":"AuthorizationMode sets the behavior of passing the Authorization\nrequest header to the upstream. The default behavior is to delete\nit unless when used by anonymous Services. You can use either the\nvalue \"PASS\" to pass the downstream Authorization header to the\nupstream or \"DELETE\" to delete it."}},"additionalProperties":false,"description":"Header sets the manipulation of the request and response headers"},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Header.AuthorizationMode":{"type":"string","enum":["AUTHORIZATION_MODE_UNSET","PASS","DELETE"],"description":"AuthorizationMode sets how the downstream's `Authorization`\nrequest header is handled","x-enumDescriptions":{"AUTHORIZATION_MODE_UNSET":"AUTHORIZATION_MODE_UNSET falls back to the default behavior\nwhich is to delete the header unless the Service is anonymous.","PASS":"PASS passes the downstream's Authorization request header to the\nupstream as is, if it exists.","DELETE":"DELETE deletes the downstream's Authorization request header"}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Header.ForwardedMode":{"type":"string","enum":["UNSET","DROP","OBFUSCATE","TRANSPARENT"],"description":"ForwardedMode sets how the `Forwarded` request header set by the\ndownstream is handled","x-enumDescriptions":{"UNSET":"UNSET falls back to the default behavior which is currently DROP","DROP":"DROP deletes the Forwarded header. Currently the default\nbehavior.","OBFUSCATE":"OBFUSCATE obfuscates from and by fields of the header","TRANSPARENT":"TRANSPARENT transparently passes the Forwarded header as is, if\nexists."}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Header.Host":{"type":"object","properties":{"preserve":{"type":"boolean","description":"Preserve preserves the Host header by using the Service's own\nFQDN as its value.","x-oneof":"type"},"value":{"type":"string","description":"Value explicitly sets the Host header's value","x-oneof":"type"},"eval":{"type":"string","description":"Eval sets the Host header's value to the result of a CEL\nexpression that is evaluated against the request context.","x-oneof":"type"}},"additionalProperties":false,"description":"Host sets the `Host` request header that is forwarded to the\nupstream. By default, the Host header is rewritten to the\nupstream's real host (i.e. the host of the Upstream's URL).","x-oneofs":{"type":["preserve","value","eval"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Header.KeyValue":{"type":"object","properties":{"key":{"type":"string","description":"Key is the header's name."},"value":{"type":"string","description":"Value is the header's value.","x-oneof":"type"},"eval":{"type":"string","description":"Eval sets the header's value to the result of a CEL expression\nthat is evaluated against the request context.","x-oneof":"type"},"append":{"type":"boolean","description":"Append appends the header value instead of\nsetting/overwriting/replacing it which is the default behavior."}},"additionalProperties":false,"description":"KeyValue is a header that is added to the request or the response","x-oneofs":{"type":["value","eval"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Path":{"type":"object","properties":{"addPrefix":{"type":"string","description":"AddPrefix adds a prefix to the request path."},"removePrefix":{"type":"string","description":"RemovePrefix removes a prefix from the request path. You can use\nboth RemovePrefix and AddPrefix at the same time to replace a\nprefix by another one."}},"additionalProperties":false,"description":"Path sets the manipulation of the request path that is forwarded to\nthe upstream"},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin":{"type":"object","properties":{"name":{"type":"string","description":"Name is the unique name of the Plugin"},"isDisabled":{"type":"boolean","description":"IsDisabled disables the Plugin without having to change its\nCondition or to delete it."},"phase":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Phase","description":"Phase sets whether the Plugin is invoked before or after the\nauthentication and authorization processes"},"condition":{"$ref":"#/definitions/octelium.api.main.core.v1.Condition","description":"Condition decides whether the Plugin is invoked on a per-request\nbasis"},"extProc":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.ExtProc","description":"ExtProc processes the requests via an Envoy ext_proc compliant\ngRPC server","x-oneof":"type"},"lua":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Lua","description":"Lua processes the requests via a Lua script","x-oneof":"type"},"direct":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Direct","description":"Direct returns a response directly without proxying the request\nto the upstream","x-oneof":"type"},"rateLimit":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.RateLimit","description":"RateLimit rate limits the requests","x-oneof":"type"},"cache":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Cache","description":"Cache returns globally cached responses","x-oneof":"type"},"jsonSchema":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.JSONSchema","description":"JSONSchema validates the JSON request body against a JSON schema","x-oneof":"type"},"path":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Path","description":"Path removes and/or adds prefixes of the request path","x-oneof":"type"}},"additionalProperties":false,"description":"Plugin provides a more advanced and dynamic way to manipulate the\nHTTP requests and responses. A Service can have one or more Plugins,\nincluding multiple Plugins of the same type.","x-oneofs":{"type":["extProc","lua","direct","rateLimit","cache","jsonSchema","path"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Cache":{"type":"object","properties":{"key":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Cache.Key","description":"Key sets the key of the cache entry"},"ttl":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"TTL is the duration after which a cache entry expires"},"maxSize":{"type":["integer","string"],"format":"uint64","description":"MaxSize is the maximum size in bytes of a response that can be\ncached"},"useXCacheHeader":{"type":"boolean","description":"UseXCacheHeader sets the `X-Cache` response header to indicate\nwhether the response was served from the cache."},"allowUnsafeMethods":{"type":"boolean","description":"AllowUnsafeMethods additionally caches the responses of the HTTP\nmethods other than GET and HEAD which are the only cached\nmethods by default."}},"additionalProperties":false,"description":"Cache returns globally cached responses that are stored in the\nCluster's Redis store"},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Cache.Key":{"type":"object","properties":{"eval":{"type":"string","description":"Eval sets the key to the result of a CEL expression that is\nevaluated against the request context.","x-oneof":"type"}},"additionalProperties":false,"description":"Key is the key of the cache entry. By default, the request URI\n(i.e. the path and the query parameters) is used as the key on a\nper-Service basis.","x-oneofs":{"type":["eval"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Direct":{"type":"object","properties":{"statusCode":{"type":"integer","format":"int32","description":"StatusCode is the status code of the returned response"},"body":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Direct.Body","description":"Body is the body of the returned response"},"headers":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Direct.KeyValue"},"description":"Headers is the list of the headers that are set in the returned\nresponse"}},"additionalProperties":false,"description":"Direct returns a response directly without proxying the request to\nthe upstream"},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Direct.Body":{"type":"object","properties":{"inline":{"type":"string","description":"Inline is the response body as a string","x-oneof":"type"},"inlineBytes":{"type":"string","contentEncoding":"base64","description":"InlineBytes is the response body as raw bytes","x-oneof":"type"}},"additionalProperties":false,"description":"Body is the body of the returned response","x-oneofs":{"type":["inline","inlineBytes"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Direct.KeyValue":{"type":"object","properties":{"key":{"type":"string","description":"Key is the header's name"},"value":{"type":"string","description":"Value is the header's value"}},"additionalProperties":false,"description":"KeyValue is a header that is set in the returned response"},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.ExtProc":{"type":"object","properties":{"address":{"type":"string","description":"Address is the address of the ext_proc gRPC server (e.g.\n\"ext-proc.default.svc:8080\")","x-oneof":"type"},"container":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.ExtProc.Container","description":"Container serves the ext_proc gRPC server from a managed\ncontainer","x-oneof":"type"},"processingMode":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.ExtProc.ProcessingMode","description":"ProcessingMode sets which parts of the request and the response\nare sent to the ext_proc server"},"messageTimeout":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"MessageTimeout is the duration after which a message sent to the\next_proc server times out"}},"additionalProperties":false,"description":"ExtProc processes the requests via an external gRPC server that is\ncompliant with Envoy's ext_proc protocol. Vigil acts as the\next_proc gRPC client that sends a ProcessingRequest and waits for\na ProcessingResponse on every request.","x-oneofs":{"type":["address","container"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.ExtProc.Container":{"type":"object","properties":{"image":{"type":"string","description":"Image is the image URL of the container"},"port":{"type":"integer","format":"int32","description":"Port is the port at which the ext_proc gRPC server listens"}},"additionalProperties":false,"description":"Container is a managed container that serves the ext_proc gRPC\nserver"},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.ExtProc.ProcessingMode":{"type":"object","properties":{"requestHeaderMode":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.ExtProc.ProcessingMode.HeaderSendMode","description":"RequestHeaderMode sets whether the request headers are sent to\nthe ext_proc server"},"responseHeaderMode":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.ExtProc.ProcessingMode.HeaderSendMode","description":"ResponseHeaderMode sets whether the response headers are sent\nto the ext_proc server"},"requestBodyMode":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.ExtProc.ProcessingMode.BodySendMode","description":"RequestBodyMode sets whether the request body is sent to the\next_proc server"},"responseBodyMode":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.ExtProc.ProcessingMode.BodySendMode","description":"ResponseBodyMode sets whether the response body is sent to the\next_proc server"}},"additionalProperties":false,"description":"ProcessingMode sets which parts of the request and the response\nare sent to the ext_proc server"},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.ExtProc.ProcessingMode.BodySendMode":{"type":"string","enum":["BODY_SEND_MODE_UNSET","NONE","BUFFERED"],"description":"BodySendMode sets whether the body is sent to the ext_proc\nserver","x-enumDescriptions":{"BODY_SEND_MODE_UNSET":"BODY_SEND_MODE_UNSET falls back to the default behavior","NONE":"NONE does not send the body to the ext_proc server","BUFFERED":"BUFFERED buffers the entire body and sends it to the\next_proc server in a single message"}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.ExtProc.ProcessingMode.HeaderSendMode":{"type":"string","enum":["HEADER_SEND_MODE_UNSET","SEND","SKIP"],"description":"HeaderSendMode sets whether the headers are sent to the\next_proc server","x-enumDescriptions":{"HEADER_SEND_MODE_UNSET":"HEADER_SEND_MODE_UNSET falls back to the default behavior","SEND":"SEND sends the headers to the ext_proc server","SKIP":"SKIP does not send the headers to the ext_proc server"}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.JSONSchema":{"type":"object","properties":{"inline":{"type":"string","description":"Inline is the JSON schema itself","x-oneof":"type"},"statusCode":{"type":"integer","format":"int32","description":"StatusCode is the status code that is returned once the\nvalidation fails"},"body":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.JSONSchema.Body","description":"Body is the body of the response that is returned once the\nvalidation fails"},"headers":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.JSONSchema.KeyValue"},"description":"Headers is the list of the headers that are set in the response\nthat is returned once the validation fails"}},"additionalProperties":false,"description":"JSONSchema validates the JSON request body against a JSON schema","x-oneofs":{"type":["inline"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.JSONSchema.Body":{"type":"object","properties":{"inline":{"type":"string","description":"Inline is the response body as a string","x-oneof":"type"},"inlineBytes":{"type":"string","contentEncoding":"base64","description":"InlineBytes is the response body as raw bytes","x-oneof":"type"}},"additionalProperties":false,"description":"Body is the body of the response that is returned once the\nvalidation fails","x-oneofs":{"type":["inline","inlineBytes"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.JSONSchema.KeyValue":{"type":"object","properties":{"key":{"type":"string","description":"Key is the header's name"},"value":{"type":"string","description":"Value is the header's value"}},"additionalProperties":false,"description":"KeyValue is a header that is set in the returned response"},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Lua":{"type":"object","properties":{"inline":{"type":"string","description":"Inline is the Lua script itself","x-oneof":"type"}},"additionalProperties":false,"description":"Lua invokes a Lua script that can define an `onRequest` function\nwhich is invoked upon receiving the request before proxying it to\nthe upstream, and an `onResponse` function which is invoked upon\nreceiving the response from the upstream. A function that is not\ndefined is silently skipped.","x-oneofs":{"type":["inline"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Path":{"type":"object","properties":{"addPrefix":{"type":"string","description":"AddPrefix adds a prefix to the request path."},"removePrefix":{"type":"string","description":"RemovePrefix removes a prefix from the request path. You can use\nboth RemovePrefix and AddPrefix at the same time to replace a\nprefix by another one."}},"additionalProperties":false,"description":"Path removes and/or adds prefixes of the request path"},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Phase":{"type":"string","enum":["PHASE_UNSET","PRE_AUTH","POST_AUTH"],"description":"Phase sets whether the Plugin is invoked before or after the\nauthentication and authorization processes","x-enumDescriptions":{"PHASE_UNSET":"PHASE_UNSET falls back to the default behavior which is\nPOST_AUTH","PRE_AUTH":"PRE_AUTH invokes the Plugin before the authentication and\nauthorization processes. This is useful to manipulate or even\nentirely drop the requests before proceeding further to the\nauthentication and authorization processes. A PRE_AUTH Plugin\nhas to be set in the \"default\" or global Configuration (as\nopposed to named dynamic Configs) in order to actually work.","POST_AUTH":"POST_AUTH invokes the Plugin after the authentication and\nauthorization processes. This is the default behavior."}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.RateLimit":{"type":"object","properties":{"statusCode":{"type":"integer","format":"int32","description":"StatusCode is the status code that is returned once the rate\nlimit is exceeded. It is 429 by default."},"body":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.RateLimit.Body","description":"Body is the body of the response that is returned once the rate\nlimit is exceeded"},"key":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.RateLimit.Key","description":"Key sets the key by which the requests are counted"},"limit":{"type":["integer","string"],"format":"int64","description":"Limit is the maximum number of requests that are allowed within\nthe window"},"window":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"Window is the duration of the sliding window"},"headers":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.RateLimit.KeyValue"},"description":"Headers is the list of the headers that are set in the response\nthat is returned once the rate limit is exceeded"}},"additionalProperties":false,"description":"RateLimit provides a global sliding-window rate limiting mechanism\nthat is backed by the Cluster's Redis store"},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.RateLimit.Body":{"type":"object","properties":{"inline":{"type":"string","description":"Inline is the response body as a string","x-oneof":"type"},"inlineBytes":{"type":"string","contentEncoding":"base64","description":"InlineBytes is the response body as raw bytes","x-oneof":"type"}},"additionalProperties":false,"description":"Body is the body of the response that is returned once the rate\nlimit is exceeded","x-oneofs":{"type":["inline","inlineBytes"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.RateLimit.Key":{"type":"object","properties":{"eval":{"type":"string","description":"Eval sets the key to the result of a CEL expression that is\nevaluated against the request context.","x-oneof":"type"},"perSession":{"type":"boolean","description":"PerSession applies the rate limit on a per-Session basis","x-oneof":"type"},"perUser":{"type":"boolean","description":"PerUser applies the rate limit on a per-User basis","x-oneof":"type"}},"additionalProperties":false,"description":"Key is the key by which the requests are counted. By default,\nthe rate limit is applied on a per-Session basis.","x-oneofs":{"type":["eval","perSession","perUser"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.RateLimit.KeyValue":{"type":"object","properties":{"key":{"type":"string","description":"Key is the header's name"},"value":{"type":"string","description":"Value is the header's value"}},"additionalProperties":false,"description":"KeyValue is a header that is set in the returned response"},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Response":{"type":"object","properties":{"direct":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Response.Direct","description":"Direct returns a response directly without proxying the request\nto the upstream","x-oneof":"type"}},"additionalProperties":false,"description":"Response sets the response-specific configuration","x-oneofs":{"type":["direct"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Response.Direct":{"type":"object","properties":{"statusCode":{"type":"integer","format":"int32","description":"StatusCode is the status code of the returned response"},"contentType":{"type":"string","description":"ContentType is the value of the `Content-Type` response header\n(e.g. \"image/png\")"},"inline":{"type":"string","description":"Inline is the response body as a string","x-oneof":"type"},"inlineBytes":{"type":"string","contentEncoding":"base64","description":"InlineBytes is the response body as raw bytes","x-oneof":"type"}},"additionalProperties":false,"description":"Direct returns a response directly from the Service without\nproxying the request to the upstream","x-oneofs":{"type":["inline","inlineBytes"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Retry":{"type":"object","properties":{"maxRetries":{"type":"integer","format":"uint32","minimum":0,"description":"MaxRetries is the maximum number of retries"},"initialInterval":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"InitialInterval is the duration of the backoff before the first\nretry"},"maxInterval":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"MaxInterval is the upper bound of the backoff duration between the\nretries"},"maxElapsedTime":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"MaxElapsedTime is the deadline after which no further retries are\nperformed"},"multiplier":{"type":"number","description":"Multiplier is the floating point value by which the backoff\nduration is multiplied on each retry"},"statusCodes":{"type":"array","items":{"type":"integer","format":"int32"},"description":"StatusCodes is the list of the response status codes that are\nretried. By default, the Service currently retries on the 502, 503\nand 504 status codes."},"retryOnServerErrors":{"type":"boolean","description":"RetryOnServerErrors additionally retries on every 5xx response\nstatus code."}},"additionalProperties":false,"description":"Retry sets the retrying of the failed upstream requests. Retrying is\ndisabled by default. The Service uses an exponential backoff that\nstarts with the initialInterval duration which is multiplied on each\nretry by the multiplier until it reaches the maxInterval duration."},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Visibility":{"type":"object","properties":{"enableRequestBody":{"type":"boolean","description":"Capture the request body"},"enableRequestBodyMap":{"type":"boolean","description":"Capture the request body map, currently JSON"},"enableResponseBody":{"type":"boolean","description":"Capture the response body"},"enableResponseBodyMap":{"type":"boolean","description":"Capture the response body map, currently JSON"},"includeRequestHeaders":{"type":"array","items":{"type":"string"},"description":"IncludeRequestHeaders is the list of the request headers that are\nrecorded in the AccessLogs."},"includeResponseHeaders":{"type":"array","items":{"type":"string"},"description":"IncludeResponseHeaders is the list of the response headers that\nare recorded in the AccessLogs."},"includeAllRequestHeaders":{"type":"boolean","description":"IncludeAllRequestHeaders records every request header in the\nAccessLogs except for the ones set in excludeRequestHeaders."},"includeAllResponseHeaders":{"type":"boolean","description":"IncludeAllResponseHeaders records every response header in the\nAccessLogs except for the ones set in excludeResponseHeaders."},"excludeRequestHeaders":{"type":"array","items":{"type":"string"},"description":"ExcludeRequestHeaders is the list of the request headers that are\nnever recorded in the AccessLogs."},"excludeResponseHeaders":{"type":"array","items":{"type":"string"},"description":"ExcludeResponseHeaders is the list of the response headers that\nare never recorded in the AccessLogs."}},"additionalProperties":false,"description":"Visibility sets the HTTP-specific access logging configuration"},"octelium.api.main.core.v1.Service.Spec.Config.Kubernetes":{"type":"object","properties":{"kubeconfig":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Kubernetes.Kubeconfig","description":"Kubeconfig sets the cluster configuration from a kubeconfig","x-oneof":"type"},"bearerToken":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Kubernetes.BearerToken","description":"BearerToken sets the bearer token used for authentication","x-oneof":"type"},"clientCertificate":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.ClientCertificate","description":"ClientCertificate sets the x509 client certificate used for\nauthentication","x-oneof":"type"}},"additionalProperties":false,"description":"Kubernetes sets the Kubernetes-specific configuration","x-oneofs":{"type":["kubeconfig","bearerToken","clientCertificate"]}},"octelium.api.main.core.v1.Service.Spec.Config.Kubernetes.BearerToken":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value contains the\nbearer token","x-oneof":"type"},"trustedCAs":{"type":"array","items":{"type":"string"},"description":"TrustedCAs is the list of the PEM-encoded root certificate\nauthorities that are trusted to verify the upstream's certificate."}},"additionalProperties":false,"description":"BearerToken is the bearer token used to authenticate to the upstream\nKubernetes cluster","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.Service.Spec.Config.Kubernetes.Kubeconfig":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value contains the\nkubeconfig","x-oneof":"type"},"context":{"type":"string","description":"Context is the kubeconfig context (e.g.\n\"kubernetes-admin@kubernetes\")"}},"additionalProperties":false,"description":"Kubeconfig is the kubeconfig of the upstream Kubernetes cluster","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.Service.Spec.Config.LLM":{"type":"object","properties":{"protocol":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Protocol","description":"Protocol is the inference API protocol spoken by both the\ndownstreams and the upstream. Note that the path of the upstream URL\nsets the upstream's base path in the same sense that the official\nOpenAI and Anthropic SDKs use a base URL. Octelium always serves the\ncanonical routes of the protocol to the downstreams (e.g.\n`/v1/chat/completions`) and it rewrites the upstream request path to\nthe base path followed by the route without the leading version\nsegment of the protocol, which is `/v1` for the OPENAI and the\nANTHROPIC protocols and `/v1beta` for the GEMINI one. For instance,\nan upstream URL of `https://openrouter.ai/api/v1` turns a downstream\nrequest to `/v1/chat/completions` into an upstream request to\n`/api/v1/chat/completions`. The base path therefore has to contain\nthe API version segment whenever the upstream uses one. The BEDROCK\nprotocol is the exception, since its own routes carry no version\nsegment at all: its request path is appended to the base path as is.\nWhenever the upstream URL carries no path at all, which is the\ndefault, the downstream request path is proxied to the upstream as\nis. The upstreams that serve neither of these two shapes are\nsupported via the `path` field instead. If not set, which is the\ndefault, the OPENAI protocol is used. Note that this is the protocol\nthat the downstreams speak as well as the one that the upstream\nspeaks, unless a `translation` is set, which is what makes the two\ndiffer. This field has to be set in the \"default\" or global\nConfiguration (as opposed to named dynamic Configs) in order to\nactually work."},"model":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Model","description":"Model overwrites the model name requested by the downstream before\nthe request is proxied to the upstream. It is the default of the\nService: a Model Plugin whose Condition matches overwrites it for\nthat request. If neither is set, which is the default, the\nrequested model name is preserved as is. Note that the model access\ncontrol itself is done by the Policies via the\n`ctx.request.llm.model` field which always carries the model name as\nrequested by the downstream."},"limits":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Limits","description":"Limits sets the request parsing and semantic limits. These fields\nhave to be set in the \"default\" or global Configuration (as opposed\nto named dynamic Configs) in order to actually work."},"auth":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth","description":"Auth sets authentication-to-upstream specific configuration. This is\nwhere the upstream provider credentials (e.g. the OpenAI API key as\na bearer token or the Anthropic API key as the `x-api-key` custom\nheader) are set. Octelium never forwards the downstream credentials\nto the upstream provider."},"header":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Header","description":"Header sets request and response header manipulation options"},"path":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Path","description":"Path sets the upstream request path options"},"plugins":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin"},"description":"Plugins is the list of the Plugins of the Service. Unlike the\nfields of this Configuration, which apply to every request that the\nConfiguration serves, every Plugin carries its own Condition which\ndecides whether that Plugin is invoked for a specific request.\nNote that this list used to be a list of the HTTP mode's own\nPlugins. The LLM Plugin keeps the same field names and the same\nfield numbers for every Plugin type that the two modes share, so\nthe Plugins that were already valid for an LLM Service are\nunaffected. The Cache Plugin, which was already rejected for the\nLLM Services, is the only removed type."},"isUpstreamHTTP2":{"type":"boolean","description":"IsUpstreamHTTP2 sets HTTP connections to the upstream to HTTP/2. Not\nenabled by default."},"listenHTTP2":{"type":"boolean","description":"ListenHTTP2 sets the Service to listen to HTTP 2.0 connections. This\nis only enabled by default for Services using TLS. This field has to\nbe enabled in the \"default\" or global Configuration (as opposed to\nnamed dynamic Configs) in order to actually work."},"visibility":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Visibility","description":"Visibility sets the visibility/access logging specific options"},"cors":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.CORS","description":"CORS sets the Cross-Origin Resource Sharing options which are needed\nto access the Service from a browser-based application served at a\ndifferent origin (e.g. the Cluster's own web dashboard). This field\nhas to be set in the \"default\" or global Configuration (as opposed\nto named dynamic Configs) in order to actually work since the CORS\npreflight requests carry no identity."},"reasoning":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Reasoning","description":"Reasoning sets the reasoning, or thinking, configuration of the\nrequests before they are proxied to the upstream. It is the default\nof the Service: a Reasoning Plugin whose Condition matches\noverwrites it for that request. If neither is set, which is the\ndefault, the reasoning configuration that the downstream requested\nis preserved as is."},"embedding":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Embedding","description":"Embedding sets how the semantic representations of the requests are\ngenerated. It is the default of the Service: a SemanticCache or a\nSemanticRouter Plugin that sets an `embedding` of its own uses that\none instead. A Plugin which needs an embedding while neither is set\nis rejected rather than silently disabled."},"translation":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Translation","description":"Translation converts the requests and the responses between the\nprotocol that the Service serves to its downstreams and the\nprotocol that its upstream speaks. If not set, which is the\ndefault, the two are the same protocol and nothing is translated.\nThis field has to be set in the \"default\" or global Configuration\n(as opposed to named dynamic Configs) in order to actually work."}},"additionalProperties":false,"description":"LLM sets the LLM-gateway-specific configuration. LLM Services are\nHTTP-based: they reuse the entire HTTP dataplane and additionally\nunderstand the inference API semantics."},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Embedding":{"type":"object","properties":{"source":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Embedding.Source","description":"Source sets where the embedding requests are sent"},"model":{"type":"string","description":"Model is the name of the embedding model (e.g.\n\"text-embedding-3-small\")"},"dimensions":{"type":"integer","format":"uint32","minimum":0,"description":"Dimensions requests this vector size from the embedding backends\nthat accept one. Zero, which is the default, uses the model's own\ndefault size. Note that a smaller vector is materially cheaper to\nstore and to search, so it is worth setting wherever the model\nsupports it, and that changing it makes whatever was already\nstored under the previous size unreachable rather than incorrect."}},"additionalProperties":false,"description":"Embedding sets how the semantic representation, or embedding, of a\ntext is generated. It is used by the Plugins that decide from the\nmeaning of a request rather than from its literal content (i.e.\nSemanticCache and SemanticRouter) and it is written once here so\nthat a Service does not have to repeat it for each of them.\n\nNote that an embedding is generated from content that the downstream\nitself supplied, so whichever API this field names does see the\nprompts of the Service. That is why every Guardrail Plugin is always\napplied before any embedding is generated, so that a redacted prompt\nis embedded rather than the original one, and why a Service whose\nprompts must not leave its own upstream has to name an embedding\nbackend that satisfies that requirement."},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Embedding.Source":{"type":"object","properties":{"currentUpstream":{"type":"boolean","description":"CurrentUpstream sends the embedding requests to the Service's\nown upstream, with the Service's own credentials and in the\nService's own protocol. It is only usable where that upstream\nserves an embedding operation that the protocol itself\ndefines, which is the case for the OPENAI and the GEMINI\nprotocols. The ANTHROPIC protocol serves no embedding\noperation at all and the BEDROCK one serves its embedding\nmodels through the InvokeModel operations whose bodies are\nmodel-native rather than defined by the protocol, so the\nServices of either protocol name an `upstream` instead.","x-oneof":"type"},"upstream":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Embedding.Source.Upstream","description":"Upstream sends the embedding requests to a separate embedding\nAPI. It is how a Service whose own upstream serves no\nembedding operation, or whose embedding model is served\nelsewhere, generates embeddings.","x-oneof":"type"}},"additionalProperties":false,"description":"Source sets where the embedding requests are sent","x-oneofs":{"type":["currentUpstream","upstream"]}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Embedding.Source.Upstream":{"type":"object","properties":{"url":{"type":"string","description":"URL is the base URL of the embedding API, in the same sense\nthat the Service's own upstream URL is a base URL"},"protocol":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Protocol","description":"Protocol is the inference API protocol spoken by the URL. If\nnot set, which is the default, the OPENAI protocol is used."},"auth":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth","description":"Auth sets the credentials that are used with the URL. Octelium\nnever forwards the downstream credentials to it."}},"additionalProperties":false,"description":"Upstream is an embedding API that is not the Service's own\nupstream"},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Limits":{"type":"object","properties":{"maxRequestBytes":{"type":"integer","format":"uint32","minimum":0,"description":"MaxRequestBytes is the maximum size in bytes of the request body\nthat is buffered and parsed. Zero uses the default value. This\nvalue is always bounded by an internal hard limit."},"maxStreamEventBytes":{"type":"integer","format":"uint32","minimum":0,"description":"MaxStreamEventBytes is the maximum size in bytes of a single\n`text/event-stream` response event that is parsed. Larger events\nare still forwarded to the downstream as is, they are simply not\ninspected. Zero uses the default value."},"maxEstimatedInputTokens":{"type":["integer","string"],"format":"uint64","description":"MaxEstimatedInputTokens rejects the requests whose pre-flight\nestimated input token count is above this value. Note that this\ncount is a byte-based heuristic calculated by Octelium itself, it\nis neither a provider-accurate token count nor an upper bound of\none. Read the `ctx.request.llm.estimateQuality` field to know\nwhether the estimate accounted for the entire input. Use the\nMaxRequestBytes field whenever an exact ceiling is needed."},"maxOutputTokens":{"type":["integer","string"],"format":"uint64","description":"MaxOutputTokens rejects the requests whose own requested maximum\noutput token count is above this value."},"maxTools":{"type":"integer","format":"uint32","minimum":0,"description":"MaxTools rejects the requests that declare more tools than this\nvalue."},"maxToolSchemaBytes":{"type":"integer","format":"uint32","minimum":0,"description":"MaxToolSchemaBytes rejects the requests that declare a tool whose\nserialized JSON Schema is above this value. Note that the\nMaxTools field bounds the number of the declared tools while this\nfield bounds the size of a single one. Zero uses the default\nvalue."}},"additionalProperties":false,"description":"Limits sets the LLM request parsing and inference limits"},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Model":{"type":"object","properties":{"value":{"type":"string","description":"Value overwrites the model name requested by the downstream with\na static one.","x-oneof":"type"},"eval":{"type":"string","description":"Eval overwrites the model name requested by the downstream with\nthe result of a CEL expression that is evaluated against the\nrequest context. An empty result preserves the requested model\nname.","x-oneof":"type"},"opa":{"type":"string","description":"OPA overwrites the model name requested by the downstream with\nthe string result of a Rego script. An empty result preserves\nthe requested model name.","x-oneof":"type"}},"additionalProperties":false,"description":"Model overwrites the model name requested by the downstream","x-oneofs":{"type":["value","eval","opa"]}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin":{"type":"object","properties":{"name":{"type":"string","description":"Name is the unique name of the Plugin"},"isDisabled":{"type":"boolean","description":"IsDisabled disables the Plugin without having to change its\nCondition or to delete it."},"phase":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Phase","description":"Phase sets whether the Plugin is invoked before or after the\nauthentication and authorization processes. It is the HTTP mode's\nown Phase so that a Plugin behaves identically in either mode.\nThe two phases sit on either side of a single step which\nauthenticates and authorizes at once: a PRE_AUTH Plugin therefore\nruns without a known User while a POST_AUTH one runs after the\nPolicies have already decided. Note that the inference-specific\nPlugins (i.e. Prompt, Tools, Guardrail, Model, Reasoning,\nTokenRateLimit, SemanticCache and SemanticRouter) are always\ninvoked in the POST_AUTH phase, since they act on a\nrequest whose content and verdict both routinely depend on the\nidentity of the requesting User, and that setting PRE_AUTH for\none of them is rejected rather than silently ignored."},"condition":{"$ref":"#/definitions/octelium.api.main.core.v1.Condition","description":"Condition decides whether the Plugin is invoked on a per-request\nbasis. It is always required: a Plugin that carries no Condition\nis rejected rather than silently never invoked. Use `matchAny` in\norder to invoke a Plugin unconditionally. Note that a Condition\nis always evaluated against the request context, including for\nthe Plugins that act on the response, so the response status, the\ntoken usage, the finish reason and the model that the upstream\nitself reported are unavailable to it. Note also that a Condition\nof an inference-specific Plugin (i.e. Prompt, Tools, Guardrail,\nModel, Reasoning, TokenRateLimit, SemanticCache and\nSemanticRouter) which cannot be evaluated at\nall (e.g. it\nerrors at runtime or it exceeds its cost limit) rejects the\nrequest rather than skipping the Plugin, since skipping it would\nturn an evaluation error into a silent bypass of the control that\nit carries. The Plugins that\nreuse the HTTP mode's own types behave in either mode as they do\nin the HTTP one, where such a Plugin is skipped instead."},"extProc":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.ExtProc","description":"ExtProc processes the requests via an Envoy ext_proc compliant\ngRPC server","x-oneof":"type"},"lua":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Lua","description":"Lua processes the requests via a Lua script","x-oneof":"type"},"direct":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Direct","description":"Direct returns a response directly without proxying the request\nto the upstream. Note that the body is served to an inference\nAPI client, so it has to be a valid response or error object of\nthe Service's own protocol.","x-oneof":"type"},"rateLimit":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.RateLimit","description":"RateLimit rate limits the requests","x-oneof":"type"},"jsonSchema":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.JSONSchema","description":"JSONSchema validates the JSON request body against a JSON\nschema","x-oneof":"type"},"path":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Path","description":"Path removes and/or adds prefixes of the request path","x-oneof":"type"},"prompt":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Prompt","description":"Prompt manipulates the instruction content of the request","x-oneof":"type"},"tools":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Tools","description":"Tools controls the tools that the request declares to the model","x-oneof":"type"},"guardrail":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Guardrail","description":"Guardrail inspects the content of the request, and optionally\nof the response, and decides what to do about it","x-oneof":"type"},"model":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Model","description":"Model overwrites the model name requested by the downstream. It\noverwrites the Configuration's own `model` field for the\nrequests whose Condition matches.","x-oneof":"type"},"reasoning":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Reasoning","description":"Reasoning sets the reasoning configuration of the request. It\noverwrites the Configuration's own `reasoning` field for the\nrequests whose Condition matches.","x-oneof":"type"},"tokenRateLimit":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.TokenRateLimit","description":"TokenRateLimit rate limits the inference token consumption of\nthe requests","x-oneof":"type"},"semanticCache":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.SemanticCache","description":"SemanticCache serves the requests from the responses that the\nService already produced for the earlier requests of the same\nmeaning","x-oneof":"type"},"semanticRouter":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.SemanticRouter","description":"SemanticRouter selects the model of a request from what the\nrequest means. It overwrites the Configuration's own `model`\nfield for the requests whose Condition matches.","x-oneof":"type"}},"additionalProperties":false,"description":"Plugin provides a dynamic, per-request way to manipulate the\ninference requests and responses. A Service can have one or more\nPlugins, including multiple Plugins of the same type. Unlike the\nConfiguration fields, which apply to every request that the\nConfiguration serves, every Plugin carries its own Condition which\ndecides whether that Plugin is invoked for a specific request.\n\nThe Plugins that are not specific to the inference semantics (e.g.\nLua, ExtProc, RateLimit) reuse the HTTP mode's own Plugin types as\nis, and they deliberately keep the same field names and the same\nfield numbers that they have in the HTTP mode's Plugin. The Cache\nPlugin is the only HTTP Plugin that has no counterpart here since\ngeneric HTTP caching understands neither the authorization scope\nnor the model, tool and sampling parameters that make up a correct\ninference cache key. The SemanticCache Plugin is the\ninference-aware replacement of it.\n\nThe inference-specific Plugins (i.e. Prompt, Tools, Guardrail,\nModel, Reasoning, TokenRateLimit, SemanticCache and SemanticRouter)\nare invoked in a fixed order that does not depend on the order of\nthe Plugin list: every Guardrail first, then every Tools, then the\nSemanticRouter, then every Prompt, then every Model, then every\nReasoning, then the SemanticCache and finally every TokenRateLimit.\nA Guardrail therefore always inspects the request before the Service\nhas added anything of its own to it, a SemanticRouter always decides\nfrom what the downstream asked rather than from what the Service\nthen added, a SemanticCache always keys on the request that the\nupstream would actually receive, a TokenRateLimit always counts the\nrequest that the upstream actually receives and never counts a\nrequest that the cache served instead, and a later Plugin always\nobserves the mutations of the earlier ones, including through its\nown Condition and through the request context that its own\nexpressions read. The Model Plugin is the exception: it\nrewrites the model of the request that is proxied to the upstream\nrather than the model that the request context carries, so the\n`ctx.request.llm.model` field that a Condition and an expression\nread is always the model that the downstream itself requested. That\nis deliberate, since the record of a request is the record of what\nwas asked for rather than of what the Service turned it into, and a\nReasoning Plugin therefore decides from the requested model. The\nSemanticRouter Plugin behaves in the same way for the same reason.\nTwo Plugins of the same type are invoked in the order in which they\nare listed, so the last Model or Reasoning Plugin that is invoked is\nthe one whose value is served. The TokenRateLimit Plugin is the\nexception to that as well, since a quota that a later Plugin could\noverwrite would be no quota at all: every TokenRateLimit Plugin\nwhose Condition matches is enforced and the request is served only\nif all of them admit it. The SemanticCache and the SemanticRouter\nPlugins are the opposite exception: the first one of either type\nwhose Condition matches is the one that is applied and the rest are\nskipped, since a second cache lookup or a second routing decision\nwould either repeat work that was already done or silently discard\nits result.\n\nThe Model and the Reasoning Plugins are the per-request form of the\nConfiguration's own `model` and `reasoning` fields: the\nConfiguration field is the default of every request that the\nConfiguration serves and a Plugin whose Condition matches\noverwrites it. The two exist side by side because they answer\ndifferent questions: a Configuration field states what the Service\nis, while a Plugin states what a particular request gets. The\nSemanticRouter sits between the two where the model is concerned: it\noverwrites the Configuration's own `model` field and a Model Plugin\noverwrites it in turn, so the model of a request is decided by what\nthe Service is by default, then by what the request means, and\nfinally by whatever a Model Plugin states explicitly. The\nTokenRateLimit, the SemanticCache and the SemanticRouter Plugins\ndeliberately have no Configuration counterpart of their own, since\neach of them is only meaningful for the requests that a Condition\nselects: use a Plugin whose Condition is `matchAny` in order to\napply one to every request. The Configuration's own `embedding`\nfield is not such a counterpart: it is the default embedding\nconfiguration that the SemanticCache and the SemanticRouter Plugins\nread whenever they set none of their own, so that a Service which\nuses both of them describes its embedding backend once.\n\nA `translation`, whenever the Configuration sets one, sits outside\nthat order as well: it is applied to a request after every\ninference-specific Plugin and to a response before every one of\nthem, so that every Plugin reads and writes the protocol that the\ndownstream itself used rather than the one that the upstream speaks.\n\nNote that the Plugins which reuse the HTTP mode's own types sit\noutside that order and outside the Guardrail boundary: they run\nbefore every inference-specific Plugin on the request and after\nevery one of them on the response. A Lua or an ExtProc Plugin can\ntherefore rewrite a response that a Guardrail has already inspected,\nand a Direct Plugin answers a request that no Guardrail has seen.\nThat boundary is deliberate, since those Plugins carry the logic of\nthe Service itself rather than the content of the downstream or of\nthe upstream, but a Service that uses them to carry inference\ncontent has to inspect that content itself.","x-oneofs":{"type":["extProc","lua","direct","rateLimit","jsonSchema","path","prompt","tools","guardrail","model","reasoning","tokenRateLimit","semanticCache","semanticRouter"]}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Guardrail":{"type":"object","properties":{"leg":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Guardrail.Leg","description":"Leg is the part of the exchange that is inspected"},"scopes":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Guardrail.Scope"},"description":"Scopes is the list of the parts of the content that are\ninspected. If not set, only CONTENT is inspected. Note that it\nis unused on the RESPONSE leg, where the generated content is\nthe only content that there is to inspect."},"patterns":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Guardrail.Pattern"},"description":"Patterns is the list of the Patterns that are matched against\nthe inspected content"},"denyMessage":{"type":"string","description":"DenyMessage is the message of the protocol-correct error that\nis returned for the DENY Action. Note that it is served to the\ndownstream, so it should not disclose the detection logic\nitself."}},"additionalProperties":false,"description":"Guardrail inspects the content of the request, and optionally of\nthe response, and decides what to do about it. Note that a\nGuardrail is a content control: the identity, the model and the\noperation of a request are governed by the Policies, and its\nshape is governed by the `limits` field, and both of them are\nalways evaluated regardless of the Guardrails. Note also that a\nGuardrail verdict is never an input to the Policies: a Guardrail\nruns after the authorization decision has already been reached,\nit acts on the request itself rather than informing a Policy\nabout it. A Guardrail is always invoked in the POST_AUTH phase.\n\nA Guardrail that cannot reach a verdict at all (e.g. a `replace`\nevaluation that errors) rejects the request rather than\nproceeding: a Guardrail that silently allows the content that it\ncould not inspect provides a compliance claim that is not true."},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Guardrail.Leg":{"type":"string","enum":["LEG_UNSET","REQUEST","RESPONSE","BOTH"],"description":"Leg is the part of the exchange that is inspected","x-enumDescriptions":{"LEG_UNSET":"LEG_UNSET falls back to the default behavior which is REQUEST","REQUEST":"REQUEST inspects the request before it is proxied to the\nupstream","RESPONSE":"RESPONSE inspects the response before it is served to the\ndownstream. Note that a streamed response is withheld in its\nentirety until it ends, then inspected, and only then\nforwarded: it is the only behavior that guarantees that no\nmatched content ever reaches the downstream, and its price is\nthat the time to first token grows by the duration that the\nupstream needs in order to generate the whole response.","BOTH":"BOTH inspects the request as well as the response"}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Guardrail.Pattern":{"type":"object","properties":{"regex":{"type":"string","description":"Regex is an RE2 regular expression. Note that RE2 has\nneither backreferences nor lookarounds, which is what makes\nits matching time linear in the size of the input.","x-oneof":"match"},"type":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Guardrail.Pattern.Type","description":"Type is a built-in deterministic detector of personal\ninformation","x-oneof":"match"},"secrets":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Guardrail.Pattern.Secrets","description":"Secrets is the built-in secret detector","x-oneof":"match"},"action":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Guardrail.Pattern.Action","description":"Action is what happens to the matched content"},"replace":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Guardrail.Pattern.Replace","description":"Replace is the content that replaces the matched content. It\nis only used for the REPLACE Action."}},"additionalProperties":false,"description":"Pattern matches the inspected content and decides what happens\nto a match. Every Pattern is evaluated against the content and\nits own Action applies to its own matches, so that a Guardrail\ncan redact one kind of content while it strips another. A\nsingle match whose Action is DENY rejects the request, or\nwithholds the response, regardless of what the remaining\nPatterns decided, and the rewriting Actions are applied to the\nmatched spans in the order in which they appear in the content\nso that the result never depends on the order of this list.\n\nTwo rewriting Patterns whose matches overlap are applied once,\nto the union of the two spans, with the most destructive Action\namong them: STRIP removes more than REPLACE, which in turn does\nnot preserve what REDACT names. Two overlapping matches of the\nsame Action are decided by the order of this list, and two\nmatches that are merely adjacent are applied separately. Note\nthat a Pattern which matches more than an internal hard limit of\ntimes in a single run of text rejects the request rather than\nrewriting it, since neither the work nor the size of such a\nrewrite is bounded by anything that the Service configured.","x-oneofs":{"match":["regex","type","secrets"]}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Guardrail.Pattern.Action":{"type":"string","enum":["ACTION_UNSET","DENY","REDACT","STRIP","REPLACE"],"description":"Action is what happens to the matched content. Note that\nthe rewriting Actions, which are REDACT, STRIP and REPLACE,\napply to the request leg only: a Guardrail whose leg is\nRESPONSE or BOTH, as well as one whose scopes carry the tool\ndefinitions, can only use the DENY Action, since rewriting a\nresponse that the downstream is already reading, or a\nstructured document that is not free text, sanitizes nothing\nwhile it reports that it did.","x-enumDescriptions":{"ACTION_UNSET":"ACTION_UNSET falls back to the default behavior which is\nDENY","DENY":"DENY rejects the request, or withholds the response, with a\nprotocol-correct error","REDACT":"REDACT replaces the matched content with a fixed\nplaceholder, which names the built-in detector that matched\nit whenever the Pattern is one, and the secret detection\nrule that matched it whenever it is a `secrets` one, and\nproceeds","STRIP":"STRIP removes the matched content entirely and proceeds","REPLACE":"REPLACE replaces the matched content with the content that\nthe `replace` field computes, and proceeds"}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Guardrail.Pattern.Replace":{"type":"object","properties":{"value":{"type":"string","description":"Value is a static string","x-oneof":"type"},"eval":{"type":"string","description":"Eval is a CEL expression that is evaluated against the\nrequest context and whose string result is used as the\ncontent","x-oneof":"type"},"opa":{"type":"string","description":"OPA is a Rego script whose string result is used as the\ncontent","x-oneof":"type"}},"additionalProperties":false,"description":"Replace is the content that replaces the matched content","x-oneofs":{"type":["value","eval","opa"]}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Guardrail.Pattern.Secrets":{"type":"object","properties":{"excludeRules":{"type":"array","items":{"type":"string"},"description":"ExcludeRules is the list of the rules that are skipped,\nwhich is how a rule that matches content that the Service\nlegitimately carries is turned off without giving up the\ndetector as a whole. A rule is named by its identifier,\nwhich is the name that the REDACT placeholder carries and\nwhich is matched without regard to its case, and an\nidentifier that no rule has is ignored."}},"additionalProperties":false,"description":"Secrets is the built-in secret detector. It matches the\ncredentials that its rules recognize, which are the API keys,\nthe tokens, the private keys and the connection strings of\nhundreds of providers, so that a Service does not have to\nname each of them in a Pattern of its own. Note that it\ndetects credentials rather than personal information, which\nthe `type` detectors match instead.\n\nA matched span covers the credential together with whatever\nits rule needs in order to recognize it, which is sometimes\nthe assignment that carries it rather than the secret alone,\nso a rewriting Action can remove slightly more than the\ncredential. Note also that a credential which appears more\nthan once in the same run of text is reported once, which is\nwhy every occurrence of a matched span, rather than only the\nreported one, is rewritten."},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Guardrail.Pattern.Type":{"type":"string","enum":["TYPE_UNSET","EMAIL","CREDIT_CARD","IBAN","US_SSN"],"description":"Type is a built-in deterministic detector of personal\ninformation. Note that the credentials are matched by the\n`secrets` detector instead.","x-enumDescriptions":{"TYPE_UNSET":"TYPE_UNSET is not used","EMAIL":"EMAIL is an email address","CREDIT_CARD":"CREDIT_CARD is a Luhn-validated payment card number","IBAN":"IBAN is an international bank account number","US_SSN":"US_SSN is a United States social security number"}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Guardrail.Scope":{"type":"string","enum":["SCOPE_UNSET","CONTENT","INSTRUCTIONS","TOOL_DEFINITIONS","TOOL_RESULTS","ALL"],"description":"Scope is the part of the content that is inspected","x-enumDescriptions":{"SCOPE_UNSET":"SCOPE_UNSET falls back to the default behavior which is\nCONTENT","CONTENT":"CONTENT is the text that the request carries as its own\ninput, which is the conversation messages of the operations\nthat carry a conversation, the `prompt` of the `COMPLETIONS`\noperation and the `input` of the `EMBEDDINGS` and the\n`MODERATIONS` ones","INSTRUCTIONS":"INSTRUCTIONS is the system instructions","TOOL_DEFINITIONS":"TOOL_DEFINITIONS is the names, the descriptions and the JSON\nSchemas of the declared tools. Note that it is inspect-only:\na tool definition is a structured document rather than free\ntext, so the REDACT, STRIP and REPLACE Actions are rejected\nfor this Scope and only the DENY one is available. Use a\nTools Plugin in order to rewrite a tool definition.","TOOL_RESULTS":"TOOL_RESULTS is the content of the tool results that the\nrequest carries. It is the content that the model retrieved\nfrom somewhere else, which makes it the usual carrier of\nindirect prompt injection. A content block is a tool result\nwhenever the protocol names it one (i.e. `tool_result`,\n`function_call_output`, `search_result` and the\n`*_tool_result` blocks of the provider-hosted tools), and\nevery block that is not one of those, including the ones that\na provider adds after this list was written, belongs to\nCONTENT instead so that no block is skipped by both Scopes.","ALL":"ALL is every scope"}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Prompt":{"type":"object","properties":{"system":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Prompt.System","description":"System manipulates the system instructions of the request","x-oneof":"type"},"message":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Prompt.Message","description":"Message inserts or edits the conversation messages of the\nrequest","x-oneof":"type"}},"additionalProperties":false,"description":"Prompt manipulates the instruction content of the request before\nit is proxied to the upstream. It is the mechanism by which the\nService, rather than the downstream, controls the instructions\nthat are actually sent to the upstream.\n\nIt applies to the operations that carry a conversation, which are\nthe `CHAT_COMPLETIONS` and the `RESPONSES` operations of the\nOPENAI protocol and the `MESSAGES` and `COUNT_TOKENS` operations\nof the ANTHROPIC one, and it is a no-op for the operations that\ncarry neither instructions nor messages at all (e.g.\n`COMPLETIONS`, `EMBEDDINGS`, `MODERATIONS`, `MODELS_LIST`). Note\nthat `COUNT_TOKENS` is included deliberately, so that the count\nthat the downstream receives is the count of the request that\nthis Service would actually send. Use the Condition whenever a\nPlugin has to be scoped to a specific operation.\n\nNote that a Prompt Plugin is always invoked in the POST_AUTH\nphase since the inserted content routinely depends on the\nidentity of the requesting User, and since mutating the request\nbefore the authorization process would invalidate the pre-flight\nlimits that were already applied to it. The consequence of that\nphase is that the `limits` field is evaluated against the request\nexactly as the downstream sent it, before any content is inserted\nhere, so a Service that inserts large instructions has to size\n`maxEstimatedInputTokens` with that added content in mind. The\nsize of the rendered content itself is bounded by an internal\nhard limit.","x-oneofs":{"type":["system","message"]}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Prompt.Content":{"type":"object","properties":{"value":{"type":"string","description":"Value is a static string","x-oneof":"type"},"eval":{"type":"string","description":"Eval is a CEL expression that is evaluated against the\nrequest context and whose string result is used as the\ncontent. An empty result is a no-op which leaves the\nrequest exactly as it is. A result that is not a string at\nall is an error rather than an empty result.","x-oneof":"type"},"opa":{"type":"string","description":"OPA is a Rego script whose string result is used as the\ncontent. An empty result is a no-op while a result that is\nnot a string at all is an error.","x-oneof":"type"}},"additionalProperties":false,"description":"Content is the instruction content that is inserted by the\nPlugin. Note that an evaluation which fails outright (e.g. the\nexpression returns a non-string result, exceeds its cost limit\nor errors at runtime) rejects the request rather than inserting\nnothing: a Prompt Plugin that silently disappears whenever its\nown evaluation breaks provides a control that is not there.","x-oneofs":{"type":["value","eval","opa"]}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Prompt.Message":{"type":"object","properties":{"role":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Prompt.Message.Role","description":"Role is the role of the messages that are inserted or edited"},"position":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Prompt.Message.Position","description":"Position sets where the content goes"},"selector":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Prompt.Message.Selector","description":"Selector chooses which of the messages of the Role are\nselected"},"content":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Prompt.Content","description":"Content is the message content"}},"additionalProperties":false,"description":"Message inserts or edits the conversation messages of the\nrequest. Note that the inserted content is recorded only\nwherever the request body is recorded at all, which the\n`visibility` field governs, and that a recorded body records\nthe request as the upstream receives it rather than as the\ndownstream sent it."},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Prompt.Message.Position":{"type":"string","enum":["POSITION_UNSET","PREPEND","APPEND","NEW_BEFORE","NEW_AFTER"],"description":"Position sets where the content goes","x-enumDescriptions":{"POSITION_UNSET":"POSITION_UNSET falls back to the default behavior which is\nAPPEND","PREPEND":"PREPEND inserts the content into the selected message\nitself, before that message's own content","APPEND":"APPEND inserts the content into the selected message\nitself, after that message's own content","NEW_BEFORE":"NEW_BEFORE inserts a whole new message of the Role before\nthe selected one. Whenever the request carries no message of\nthat Role at all, the new message is appended at the end of\nthe conversation.","NEW_AFTER":"NEW_AFTER inserts a whole new message of the Role after the\nselected one. Whenever the request carries no message of\nthat Role at all, the new message is appended at the end of\nthe conversation."}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Prompt.Message.Role":{"type":"string","enum":["ROLE_UNSET","USER","ASSISTANT"],"description":"Role is the role of the messages that are inserted or edited","x-enumDescriptions":{"ROLE_UNSET":"ROLE_UNSET is not used","USER":"USER is a user message","ASSISTANT":"ASSISTANT is an assistant message. Note that a trailing\nassistant message is a prefill, which only the ANTHROPIC\nprotocol supports at all: a prefill against the OPENAI\nprotocol rejects the request rather than being silently\ndropped, while editing or inserting an assistant message\nthat is not the trailing one is supported by either\nprotocol. Note also that a prefill is additionally subject\nto the upstream's own rules, which a gateway cannot know in\nadvance (e.g. Anthropic rejects a prefill whenever extended\nthinking is enabled), so an upstream that refuses one\nsurfaces as an upstream error."}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Prompt.Message.Selector":{"type":"string","enum":["SELECTOR_UNSET","LAST","FIRST","ALL"],"description":"Selector chooses which of the messages of the Role are\nselected","x-enumDescriptions":{"SELECTOR_UNSET":"SELECTOR_UNSET falls back to the default behavior which is\nLAST","LAST":"LAST selects the last message of the Role","FIRST":"FIRST selects the first message of the Role","ALL":"ALL selects every message of the Role. It is unused for the\nNEW_BEFORE and the NEW_AFTER positions."}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Prompt.System":{"type":"object","properties":{"mode":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Prompt.System.Mode","description":"Mode sets how the content is applied"},"content":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Prompt.Content","description":"Content is the instruction content"}},"additionalProperties":false,"description":"System manipulates the system instructions of the request. Note\nthat the system instructions are not simply a message that has\na `system` role: they are the top-level `system` field for the\nANTHROPIC protocol, the top-level `instructions` field for the\n`RESPONSES` operation, and the `system` or `developer` role\nmessages for the `CHAT_COMPLETIONS` operation. Octelium always\nreads and writes every instruction carrier that the request's\nown protocol and operation allow, which for the `RESPONSES`\noperation includes the instruction-role input items as well as\nthe top-level field, so that a downstream cannot keep its own\ninstructions by moving them from one carrier to another."},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Prompt.System.Mode":{"type":"string","enum":["MODE_UNSET","PREPEND","APPEND","REPLACE","STRIP","REJECT"],"description":"Mode sets how the content is applied to the instructions that\nthe downstream itself supplied","x-enumDescriptions":{"MODE_UNSET":"MODE_UNSET falls back to the default behavior which is\nPREPEND","PREPEND":"PREPEND inserts the content before the downstream's own\ninstructions. The downstream's own instruction carrier is\npreserved as it is: a structured system block list keeps its\nblocks and their metadata, and the instruction messages of\nthe `CHAT_COMPLETIONS` operation keep their own roles and\ntheir own order.","APPEND":"APPEND inserts the content after the downstream's own\ninstructions. It preserves the downstream's own instruction\ncarrier in the same way as PREPEND.","REPLACE":"REPLACE discards the downstream's own instructions entirely\nand uses the content instead. Note that it therefore also\ndiscards the structure of the downstream's own instruction\ncarrier, which is the point of owning that carrier.","STRIP":"STRIP removes the downstream's own instructions and inserts\nnothing at all. The content field is unused.","REJECT":"REJECT rejects the requests that carry their own system\ninstructions instead of silently discarding them, and\notherwise inserts the content. Note that it tests the\ninstructions that the request carried when it reached the\nPrompt stage, so that several Prompt Plugins never reject\nthe content that one another inserted. Use it whenever the\nService, rather than the downstream, has to own the\ninstruction carrier that reaches the upstream: without it, a\ndownstream that supplies its own instructions turns the\nService's instructions into one more input that the model\nweighs rather than a control that it obeys. A REJECT that\ncarries no content at all is how a Service refuses every\ndownstream-supplied instruction outright. Note that this\nowns the carrier and nothing beyond it: it decides which\ninstructions are sent upstream, it does not make a model\nobey them and it does not stop a prompt injection that\narrives through the messages, the tool results or the\nretrieved content."}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.SemanticCache":{"type":"object","properties":{"embedding":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Embedding","description":"Embedding sets how the semantic subject of the request is\nembedded. It overwrites the Configuration's own `embedding`\nfield for the requests whose Condition matches."},"scope":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.SemanticCache.Scope","description":"Scope sets the caller partition of the cache. If not set, which\nis the default, the cache is partitioned per User."},"minSimilarity":{"type":"number","description":"MinSimilarity is the smallest cosine similarity, between 0 and\n1, at which two semantic subjects are treated as the same\nquestion. Zero uses the default value which is deliberately\nconservative. Note that the value that is correct for one\nembedding model is not the value that is correct for another, so\nit has to be tuned against the model that the `embedding` field\nnames rather than carried over from another Service."},"ttl":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"TTL is the duration after which a cache entry expires. Zero uses\nthe default value. Note that it is also the window during which\na response that a model would generate differently today is\nstill served, so it is the Service's own statement of how stale\nan answer is allowed to be."},"maxSize":{"type":["integer","string"],"format":"uint64","description":"MaxSize is the maximum size in bytes of a response that can be\nstored. Zero uses the default value. A larger response is served\nto the downstream as it is, it is simply not stored. This value\nis always bounded by an internal hard limit.\n\nNote that a response is only stored once it is known to be\ncomplete: a stream that ended before its own final event, a\nresponse that carries a tool call and a response that a\nGuardrail rejected are all served to the downstream that asked\nfor them and none of them is stored."},"useXCacheHeader":{"type":"boolean","description":"UseXCacheHeader sets the `X-Cache` response header to indicate\nwhether the response was served from the cache"}},"additionalProperties":false,"description":"SemanticCache serves a request from a response that the Service\nalready produced for an earlier request of the same meaning,\nwithout invoking the model at all. It is the inference-aware\nreplacement of the HTTP mode's own Cache Plugin, which has no\ncounterpart here because a generic HTTP cache keys on a URI and\ntherefore understands neither who is allowed to read a response\nnor which of the request's own fields change what the model would\nhave generated.\n\nA lookup has two stages. An exactly repeated request is served\nfrom the cache without generating an embedding at all, since the\nembedding is routinely the most expensive part of the lookup and\nan identical request needs no similarity to be recognized. Only a\nrequest that no exact entry matches is embedded and searched by\nsimilarity.\n\nIt applies to the operations that generate a completion from a\nconversation, which are the `CHAT_COMPLETIONS` and `RESPONSES`\noperations of the OPENAI protocol, the `MESSAGES` operation of the\nANTHROPIC one, the `GENERATE_CONTENT` operation of the GEMINI one\nand the `CONVERSE` operation of the BEDROCK one, and it is a no-op\nfor the rest of them rather than an error. Only a successful\nresponse is ever stored, and a response that asks the downstream\nto call a tool is deliberately never stored at all: replaying such\na response would make an application carry out an action again\neven though no model decided that it should be carried out now.\n\nThe identity of a cache entry is deliberately split in two. The\nsemantic subject, which is the content that the downstream is\nactually asking about, is the only part that is matched by\nmeaning. Everything else that decides what the model would\ngenerate (i.e. the effective model, the operation, the system\ninstructions, the preceding messages, the tools, the tool choice,\nthe response schema, the reasoning configuration, the sampling\nparameters and every other field of the request that Octelium does\nnot recognize) is matched exactly, so two requests only ever\ncompete with one another when their entire execution context is\nidentical. Embedding a whole request instead would let two\nrequests that merely read similarly be served the same answer even\nthough they asked different models, carried different instructions\nor declared different tools.\n\nThe cache always acts on the request as the upstream would have\nreceived it, which is why it is invoked after every Plugin that\nrewrites that request: a secret that a Guardrail redacted is never\nembedded, instructions that a Prompt inserted are a part of the\nexact context, and the model that a Model Plugin or a\nSemanticRouter selected is the model whose responses the entry\nbelongs to rather than the one that the downstream named.\n\nNote that a hit consumes no inference tokens at all, which is why\nthe cache is invoked before every TokenRateLimit Plugin: a request\nthat the model never saw does not spend the quota of the identity\nthat sent it. Note also that a hit is not a bypass of the\nService's own controls: the response Guardrails are applied to a\ncached response exactly as they are applied to an upstream one,\nsince an administrator can have changed a Guardrail after the\nentry was stored, and a response that a Guardrail rejected is\nnever stored in the first place.\n\nNote that the exact execution context is derived from the request\nbody, from the request path and from the Configuration that served\nthe request, and that it deliberately does not include the request\nheaders, since the headers that the Service itself adds are not\napplied until after this Plugin has already decided. A Service\nwhose answers vary with a header that the downstream sends, or\nwith one that the Service derives from an expression, therefore\nhas to name that value in an `eval` scope rather than to assume\nthat the cache separates it.\n\nNote that this Plugin fails open. A request whose embedding\nbackend or whose vector store is unavailable, times out or errors\nis proxied to the upstream as a miss rather than rejected, since a\ncache that can refuse to serve a Service is a new availability\ndependency rather than an optimization.\n\nNote finally that enabling this Plugin stores prompt-derived\nvectors and generated responses for the lifetime of an entry, and\nthat it does so independently of the `visibility` field: a Service\nthat records neither request nor response bodies in its AccessLogs\nstill stores both of them here while its entries live. Octelium\nnever stores the prompts themselves, it stores their vectors and\nopaque digests of their execution context, but the generated\nresponses are stored as they are since serving them again is the\nentire point."},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.SemanticCache.Scope":{"type":"object","properties":{"perUser":{"type":"boolean","description":"PerUser partitions the cache by User, which is the default.\nA response is therefore only ever served again to the User\nthat it was generated for.","x-oneof":"type"},"perSession":{"type":"boolean","description":"PerSession partitions the cache by Session, which is the\nnarrowest partition. It is the default for the Services that\nserve anonymous requests, where there is no User to\npartition by.","x-oneof":"type"},"shared":{"type":"boolean","description":"Shared lets every authorized caller of the Service be served\nany cached response of the Service. It is a deliberate\ncross-identity boundary: a response that was generated from\none caller's prompt is served to another caller whose own\nprompt merely means the same thing, so it is only ever\ncorrect where every caller of the Service is already\nentitled to every answer that the Service can produce.","x-oneof":"type"},"eval":{"type":"string","description":"Eval partitions the cache by the string result of a CEL\nexpression that is evaluated against the request context\n(e.g. a tenant identifier). An empty result is rejected\nrather than read as a shared partition, since a partition\nthat silently collapses into a shared one is a silent\ncross-identity exposure.","x-oneof":"type"}},"additionalProperties":false,"description":"Scope partitions the cached responses between the callers. It is\nthe boundary that decides who is allowed to be served a response\nthat was generated for somebody else, so it is a security\ncontrol rather than a tuning parameter.","x-oneofs":{"type":["perUser","perSession","shared","eval"]}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.SemanticRouter":{"type":"object","properties":{"embedding":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Embedding","description":"Embedding sets how the semantic subjects of the requests and of\nthe Routes are embedded. It overwrites the Configuration's own\n`embedding` field for the requests whose Condition matches. Note\nthat the Routes are embedded with it as well, so changing it\nre-embeds every Route."},"routes":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.SemanticRouter.Route"},"description":"Routes is the list of the Routes"},"minSimilarity":{"type":"number","description":"MinSimilarity is the smallest cosine similarity at which a Route\nmatches, for the Routes that set none of their own. Zero uses\nthe default value. Note that a routing threshold is far lower\nthan a caching one, since two requests of the same kind are not\nnearly as similar to one another as two ways of asking the same\nquestion, and that it has to be tuned against the embedding\nmodel that is actually used."},"fallbackModel":{"type":"string","description":"FallbackModel is the model that serves the requests that no\nRoute matched. If not set, which is the default, such a request\nkeeps the model that the downstream itself requested."}},"additionalProperties":false,"description":"SemanticRouter selects the model of a request from what the\nrequest means rather than from what the downstream named. It is\nhow a Service serves one logical endpoint (e.g. a `model` of\n\"auto\") while sending the difficult requests to an expensive model\nand the trivial ones to a cheap one, without every downstream\napplication having to know which model exists or which one it\nought to ask for.\n\nEach Route describes a class of requests, both in prose and by\nexample, and both of those are embedded independently at\nconfiguration time. A request is routed by embedding its own\nsemantic subject and taking the Route of the single\nhighest-scoring description or example, which is why several\nshort, concrete examples define a Route far more sharply than one\nlong description: an example is a point of the space that the\nRoute is claiming while a description is a summary of it. A Route\nwhose best score is below its minimum similarity does not match at\nall, and a request that no Route matched is served the\n`fallbackModel`.\n\nThe routed model is a default rather than an override: it\noverwrites the Configuration's own `model` field, since a Service\nthat routes semantically is stating that the meaning of a request\ndecides its model, but a Model Plugin whose Condition matches\noverwrites it in turn, since naming a model explicitly for a\nrequest is a more specific statement than routing it. Use the\nPlugin's own Condition in order to decide when routing applies at\nall, which is how a Service routes only the requests that asked\nfor it (e.g. `ctx.request.llm.model == \"auto\"`) while serving every\nexplicitly named model as it was asked for.\n\nNote that the semantic subject of a routing decision is what the\ndownstream is asking for rather than the entire request: the\nService's own inserted instructions are deliberately not embedded,\nsince instructions that every request carries are a large\ncomponent that every request shares and that therefore makes the\nRoutes harder rather than easier to tell apart. That is the\nopposite of the SemanticCache, where those same instructions must\nparticipate in the exact context, and it is why this Plugin is\ninvoked before the Prompt Plugins while the cache is invoked after\nthem.\n\nNote that `ctx.request.llm.model` continues to carry the model\nthat the downstream itself requested, exactly as it does for the\nModel Plugin, so the Policies keep deciding on what was asked for\nrather than on what the Service turned it into. The AccessLogs\nrecord the Route that matched, its similarity and the model that\nwas selected.\n\nNote finally that this Plugin fails open as well: a request whose\nembedding could not be generated at all is served the\n`fallbackModel` rather than rejected."},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.SemanticRouter.Route":{"type":"object","properties":{"name":{"type":"string","description":"Name is the identity of the Route. It is unique within the\nPlugin and it is what the AccessLogs record."},"description":{"type":"string","description":"Description describes the class of requests that this Route\nserves, in prose. It participates in the semantic matching."},"examples":{"type":"array","items":{"type":"string"},"description":"Examples are representative requests of this Route (e.g.\n\"Why is this Go program deadlocking?\"). Each one is embedded\nand matched independently of the others and of the\nDescription."},"model":{"type":"string","description":"Model is the model that serves the requests that this Route\nmatched"},"minSimilarity":{"type":"number","description":"MinSimilarity is the smallest cosine similarity at which this\nRoute matches. Zero uses the Plugin's own `minSimilarity`. It\nis how a Route that must not be entered by mistake (e.g. the\none that selects the most expensive model) is held to a\nstricter standard than the rest."}},"additionalProperties":false,"description":"Route is a class of requests and the model that serves it"},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.TokenRateLimit":{"type":"object","properties":{"scope":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.TokenRateLimit.Scope","description":"Scope sets which of the token counts of a request are counted\nagainst the limit"},"key":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.RateLimit.Key","description":"Key sets the identity against which the tokens are counted. It\nis the HTTP mode's own Key so that a rate limit is written\nidentically in either mode. Note that a token quota is usually\nwritten per User rather than per Session, since recreating a\nSession is not supposed to reset a quota. Note also that every\nPlugin counts against a window of its own even where two of them\nresolve to the same key."},"limit":{"type":["integer","string"],"format":"int64","description":"Limit is the maximum number of the tokens of the Scope that can\nbe consumed within the window"},"window":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"Window is the duration of the sliding window"},"defaultOutputTokens":{"type":["integer","string"],"format":"uint64","description":"DefaultOutputTokens is the number of the output tokens that are\nreserved for a request which declares no maximum output token\ncount of its own. Zero, which is the default, reserves nothing\nfor such a request. It is unused for the INPUT Scope."},"denyMessage":{"type":"string","description":"DenyMessage is the message of the protocol-correct 429 error\nthat is returned once the limit is exceeded"},"headers":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.RateLimit.KeyValue"},"description":"Headers is the list of the headers that are set in the response\nthat is returned once the limit is exceeded (e.g. `Retry-After`)"}},"additionalProperties":false,"description":"TokenRateLimit rate limits the inference token consumption of\nthe requests rather than their number. It answers a question that\na request rate limit cannot: a downstream that is bounded to one\nrequest per second is not thereby bounded at all, since a single\nrequest can carry an entire repository as its input and can\ngenerate for minutes. Note that it is therefore not a replacement\nfor the `rateLimit` Plugin, which bounds the request rate itself\nand which is the cheaper control against a downstream that simply\nloops.\n\nNote that this is a consumption quota rather than a per-request\nceiling, which is what distinguishes it from the Configuration's\nown `limits` field: `limits` decides whether a single request may\nbe as large as it is, while this Plugin decides whether an\nidentity may still consume anything at all.\n\n## Reservation and reconciliation\n\nThe token consumption of a request is not known at the moment at\nwhich the request has to be admitted or refused: the input token\ncount that the upstream will report is not exactly the pre-flight\nestimate that Octelium calculates, and the output token count is\nnot known at all until the response has been generated. A limiter\nthat simply charged the consumption after the fact would admit\nevery one of the requests that are already in flight against the\nsame window, which is precisely the case that a quota exists to\nbound.\n\nOctelium therefore reserves before the request is proxied and\nreconciles after the response has been observed. The reservation\noccupies the window from the moment the request is admitted, so\nthat the concurrent requests of the same identity see one another\nrather than each of them seeing the same stale capacity. The\nreconciliation then replaces that reservation by what the request\nactually consumed, which returns the unused part of an\nover-reservation to the window and charges the excess of an\nunder-reservation to it, and it charges that final count at the\nmoment the request completed rather than at the moment it was\nadmitted, so that a request is accounted the same way whether it\ntook an instant or outlived its own window.\n\nNote that a request which is still in flight once the window has\nmoved past its own admission stops occupying that window until it\ncompletes. That follows from counting the requests that fall\nwithin a window rather than the ones that are open, and it means\nthat a Service whose requests routinely run for longer than the\nwindow is bounded by the requests that completed rather than by\nthe ones that are still running.\n\nThe reservation is calculated from the request as the upstream\nreceives it, which is after every other Plugin has already mutated\nit, since the instructions and the tool definitions that a Service\ninserts are consumed by the model exactly as the ones that the\ndownstream sent are. Its input part is the pre-flight estimate,\nwhich is a byte-based heuristic rather than a provider-accurate\ncount, and its output part is the maximum output token count that\nthe request itself declares, or the `defaultOutputTokens` field\nfor a request that declares none.\n\nThe reconciliation uses the token usage that the upstream itself\nreported, which is the only authoritative count and which Octelium\nalready observes for the AccessLogs, including across a streamed\nresponse. Whenever that usage is only partially observed (e.g. a\nstream ended before its usage event) the larger of the reservation\nand the observed count is charged. Whenever a response carried no\nusage at all the reservation is kept as it is rather than\nreturned, since a consumption that could not be measured is not a\nconsumption that did not happen. The exception is an upstream that\nanswered with an error and reported no usage, which releases the\nreservation in full, since a provider does not bill a request that\nit refused and a Service whose upstream is failing has no reason\nto spend its quota on those failures. A request that never reached\nthe upstream at all releases its reservation in the same way.\n\nNote that a request which declares no output maximum of its own\nand whose Plugin sets no `defaultOutputTokens` reserves nothing\nfor its output, so it is admitted against its input alone and is\ncharged for what it generated only once it has already generated\nit. That is a stated limitation rather than a guarantee that is\nquietly approximated: Octelium cannot bound in advance an output\nwhose ceiling neither the downstream nor the Service has declared."},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.TokenRateLimit.Scope":{"type":"string","enum":["SCOPE_UNSET","TOTAL","INPUT","OUTPUT"],"description":"Scope sets which of the token counts of a request are counted\nagainst the limit","x-enumDescriptions":{"SCOPE_UNSET":"SCOPE_UNSET falls back to the default behavior which is TOTAL","TOTAL":"TOTAL counts the input tokens together with the output ones","INPUT":"INPUT counts the input tokens only. Note that the cached input\ntokens are counted as input wherever the upstream reports them\nas a part of the input rather than as a discount on it.","OUTPUT":"OUTPUT counts the output tokens only, which include the\nreasoning tokens that the upstream reports"}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Tools":{"type":"object","properties":{"filters":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Tools.Filter"},"description":"Filters decides what happens to the tools that the request\ndeclares. If not set, every declared tool is preserved as is."},"tools":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Tools.Tool"},"description":"Tools is the list of the tool definitions that the Service\nitself adds to the request"},"choice":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Tools.Choice","description":"Choice sets how the requested tool choice is handled. Note that\na tool choice which names a tool that is no longer declared,\nbecause a Filter removed or replaced it, is always reconciled\nagainst the remaining tools regardless of this field."},"denyMessage":{"type":"string","description":"DenyMessage is the message of the protocol-correct error that\nis returned for the DENY Decision. Note that it is served to\nthe downstream, so it should not disclose the policy itself."}},"additionalProperties":false,"description":"Tools controls the tools that the request declares to the model.\nTools are where a model stops generating text and starts acting,\nwhich makes them the main lever against excessive agency. Note\nthat this Plugin governs the tools that an inference request\noffers to the model, and that where those tools are eventually\nexecuted decides what else governs them. A tool call that the\ndownstream executes against an MCP Service is additionally\ngoverned by the Policies of that Service. A provider-hosted tool\n(e.g. web search, file search, code execution or computer use)\nand a remote MCP server that the inference provider itself\ninvokes are both executed inside the provider, so they never\nreach an Octelium Service at all and this Plugin is the only\nplace where they are governed. A Tools Plugin is always invoked\nin the POST_AUTH phase."},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Tools.Choice":{"type":"string","enum":["CHOICE_UNSET","PRESERVE","NONE","AUTO"],"description":"Choice sets how the tool choice that is requested by the\ndownstream itself is handled","x-enumDescriptions":{"CHOICE_UNSET":"CHOICE_UNSET falls back to the default behavior which is\nPRESERVE","PRESERVE":"PRESERVE keeps the requested tool choice as is","NONE":"NONE forces the tool choice to \"none\" which means that the\nmodel is still offered the tools but it may not call any of\nthem","AUTO":"AUTO downgrades a forced tool choice (i.e. \"required\" or a\nnamed tool) to \"auto\". It neutralizes a downstream that\ncompels a specific tool call without otherwise changing the\nrequest."}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Tools.Filter":{"type":"object","properties":{"name":{"type":"string","description":"Name is a glob pattern (e.g. \"read_*\") that is matched\nagainst the name of the tool. The name is read from\n`tools[].name` for the ANTHROPIC protocol as well as for\nthe `RESPONSES` operation of the OPENAI one, and from\n`tools[].function.name` for its `CHAT_COMPLETIONS`\noperation. Note that the provider-hosted tools usually\ncarry no name at all, which means that a name pattern\ncannot express them and that the `type` field is what\nmatches them.","x-oneof":"match"},"type":{"type":"string","description":"Type is a glob pattern (e.g. \"web_search*\") that is matched\nagainst the `tools[].type` field, which is how the\nprovider-hosted tools and the provider-invoked remote MCP\nservers are declared and which is the only identity that\nmost of them carry. A tool that declares no type at all is\nmatched as \"function\". Note that a type is a coarse\nidentity: every remote MCP server declaration shares the\nsame \"mcp\" type regardless of the endpoint that it points\nto, so allowing that type allows every such server. Use the\nREPLACE Decision in order to pin a specific declaration.","x-oneof":"match"},"decision":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Tools.Filter.Decision","description":"Decision is what happens to a tool that the Filter matches"},"replace":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Tools.Filter.Replace","description":"Replace is the tool definition that replaces the matched one.\nIt is only used for the REPLACE Decision."}},"additionalProperties":false,"description":"Filter decides what happens to a declared tool. The Filters are\nevaluated in the order in which they are listed and the first\none that matches a tool decides what happens to it.\n\nA tool that matches no Filter at all is allowed, with one\ndeliberate exception: whenever at least one Filter is set, a\nprovider-hosted tool (i.e. a tool whose `type` is set to\nanything other than \"function\") that matches no Filter is\nremoved rather than allowed, since such a tool executes inside\nthe inference provider and therefore crosses the execution\nboundary before any Octelium Service sees it. Use a `type`\nFilter in order to allow one explicitly.","x-oneofs":{"match":["name","type"]}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Tools.Filter.Decision":{"type":"string","enum":["DECISION_UNSET","ALLOW","REMOVE","DENY","REPLACE"],"description":"Decision is what happens to a tool that the Filter matches","x-enumDescriptions":{"DECISION_UNSET":"DECISION_UNSET falls back to the default behavior which is\nREMOVE","ALLOW":"ALLOW keeps the tool as is and stops the evaluation of the\nremaining Filters for it. It is how an allow list is\nwritten: the allowed tools are listed first and a catch-all\nFilter that removes or denies everything else is listed\nlast.","REMOVE":"REMOVE silently drops the tool from the request and proxies\nit to the upstream. Use it for the downstreams that\noptimistically declare a superset of the tools that they\nactually need.","DENY":"DENY rejects the entire request. This is the auditable\nbehavior: the downstream is told that the tool is not\nallowed instead of silently receiving a model that is\nunable to call it.","REPLACE":"REPLACE replaces the declared tool definition with the one\nthat the `replace` field computes. Use it in order to pin a\ntool that a downstream may declare but may not define, for\ninstance to narrow the JSON Schema of a tool, to rewrite\nits description, or to pin the endpoint of a remote MCP\nserver declaration."}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Tools.Filter.Replace":{"type":"object","properties":{"value":{"type":"string","description":"Value is a static serialized JSON object","x-oneof":"type"},"eval":{"type":"string","description":"Eval is a CEL expression that is evaluated against the\nrequest context and whose string result is the\nserialized JSON object","x-oneof":"type"},"opa":{"type":"string","description":"OPA is a Rego script whose result is the tool definition","x-oneof":"type"}},"additionalProperties":false,"description":"Replace is the tool definition that replaces the matched one.\nIt is a serialized JSON object of the request's own protocol\n(i.e. a single entry of the request's `tools` array) and it\nis inserted as is, which means that the Service rather than\nthe downstream defines the tool. An evaluation that fails\noutright, or that returns anything that is not a JSON object,\nrejects the request.","x-oneofs":{"type":["value","eval","opa"]}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Tools.Tool":{"type":"object","properties":{"value":{"type":"string","description":"Value is a static serialized JSON object","x-oneof":"type"},"eval":{"type":"string","description":"Eval is a CEL expression that is evaluated against the\nrequest context and whose string result is the serialized\nJSON object","x-oneof":"type"},"opa":{"type":"string","description":"OPA is a Rego script whose result is the tool definition","x-oneof":"type"},"position":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Tools.Tool.Position","description":"Position sets where the tool is added"}},"additionalProperties":false,"description":"Tool is a tool definition that the Service itself adds to the\nrequest. It is a serialized JSON object of the request's own\nprotocol (i.e. a single entry of the request's `tools` array).\nNote that the added tools are not subject to the Filters, since\nthe Service rather than the downstream declared them, and that\nan evaluation that fails outright, or that returns anything\nthat is not a JSON object, rejects the request.","x-oneofs":{"type":["value","eval","opa"]}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Tools.Tool.Position":{"type":"string","enum":["POSITION_UNSET","PREPEND","APPEND"],"description":"Position sets where the tool is added","x-enumDescriptions":{"POSITION_UNSET":"POSITION_UNSET falls back to the default behavior which is\nAPPEND","PREPEND":"PREPEND adds the tool before the downstream's own tools","APPEND":"APPEND adds the tool after the downstream's own tools"}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Protocol":{"type":"string","enum":["PROTOCOL_UNSET","OPENAI","ANTHROPIC","GEMINI","BEDROCK"],"description":"Protocol is the inference API protocol served by the Service.","x-enumDescriptions":{"PROTOCOL_UNSET":"PROTOCOL_UNSET falls back to the default behavior which is\ncurrently OPENAI","OPENAI":"OPENAI is the OpenAI REST API. It is also spoken by the\nOpenAI-compatible servers and provider surfaces that serve the\nsame canonical `/v1` routes (e.g. vLLM, Ollama). The providers\nthat use their own request paths or API versioning schemes (e.g.\nthe Azure OpenAI deployment routes) are not supported.","ANTHROPIC":"ANTHROPIC is the native Anthropic Messages API.","GEMINI":"GEMINI is the Google Gemini API, which is the `/v1beta` generative\nlanguage surface that the Google GenAI SDKs speak to the Gemini\nDeveloper API. Note that the model is named by the request path\nrather than by the request body, and that Vertex AI is not this\nprotocol: it serves the same body shapes under project and\nlocation scoped paths and it authenticates differently.","BEDROCK":"BEDROCK is the AWS Bedrock Runtime API. Its Converse operations\nare the inference surface that Octelium understands, while its\nInvokeModel operations are proxied without their bodies being\nparsed since those bodies are model-native rather than defined by\nthe protocol. Note that the model is named by the request path\nrather than by the request body, and that the upstream\nauthenticates with AWS Signature Version 4 which the `auth` field\nprovides via its `sigv4` type."}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Reasoning":{"type":"object","properties":{"level":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Reasoning.Level","description":"Level sets a model-independent reasoning effort. It is the\nportable way to configure reasoning: Octelium translates it\ninto an ordinal effort, into a token budget or into disabled\nreasoning, according to what the model that serves the request\naccepts.","x-oneof":"type"},"tokenBudget":{"type":["integer","string"],"format":"uint64","description":"TokenBudget sets the number of the tokens that the model is\nallowed to spend on reasoning. Unlike a Level it is exact\nrather than portable: it is served only to the models that\naccept a numeric reasoning budget and the requests of a model\nthat accepts an ordinal effort instead are rejected, since\ntranslating a budget into an effort would mean inventing a\ncorrespondence that no provider defines. Note that the models\nwhich do accept a budget commonly read it as guidance rather\nthan as a ceiling, so it bounds what the Service asks for\nrather than what the model eventually spends. Note also that\nzero is rejected rather than read as disabling reasoning, since\nthe two are too easy to confuse in a generated configuration:\nuse the NONE Level in order to disable it.","x-oneof":"type"},"eval":{"type":"string","description":"Eval is a CEL expression that is evaluated against the request\ncontext and whose string result is the name of a Level (e.g.\n`HIGH`), a number of tokens (e.g. `4096`) or a model-native\neffort, which are read in the same way as the `level`, the\n`tokenBudget` and the `effort` fields respectively. An empty\nresult preserves the reasoning configuration that the\ndownstream requested.","x-oneof":"type"},"opa":{"type":"string","description":"OPA is a Rego script whose string result is used in the same\nway as the one of the `eval` field","x-oneof":"type"},"effort":{"type":"string","description":"Effort sets a model-native ordinal reasoning effort that is\nserved to the upstream exactly as it is written here. It is the\nescape hatch of the `level` field: a provider that names an\neffort which no Level names yet is usable through it without\nwaiting for Octelium to name it. Since Octelium knows neither\nwhere such a value sits on its own scale nor whether the model\naccepts it at all, an Effort is neither ordered nor translated:\nit is served only to the models that accept an ordinal effort,\nthe requests of a model that accepts a numeric budget instead\nare rejected, and a value that the model does not accept is\nrejected by the upstream itself rather than by Octelium. Prefer\na Level wherever one names the wanted effort.","x-oneof":"type"}},"additionalProperties":false,"description":"Reasoning sets the reasoning, or thinking, configuration of the\nrequest before it is proxied to the upstream. It is the mechanism\nby which the Service, rather than the downstream, decides how much\na model is allowed to think, which is the largest controllable\ncomponent of both the latency and the cost of a reasoning model.\n\nEvery model expresses reasoning in its own way: some accept an\nordinal effort, others accept a numeric token budget, and the same\nprovider routinely changes which of the two a model family accepts\nfrom one generation to the next. The protocol does not decide it\neither, since a protocol that is a transport over the models of\nseveral vendors carries whatever each of those models defines\nrather than a reasoning configuration of its own. A Reasoning is\ntherefore written once, as an intent that belongs to no model in\nparticular, and Octelium encodes that intent in whatever the model\nthat actually serves the request accepts.\n\nThe intent is resolved by a single rule: Octelium serves the\nclosest configuration that the model accepts and that does not\nexceed the configured one, and it rejects the request whenever the\nmodel accepts nothing at or below it. A `level` that the model does\nnot offer is therefore served as the strongest level below it that\nthe model does offer rather than dropped, a `tokenBudget` larger\nthan the largest budget of the model is lowered to that budget, and\na `tokenBudget` smaller than the smallest one is served as disabled\nreasoning wherever the model can stop reasoning at all. Nothing is\never resolved upwards, since a Service that configured little\nreasoning is not asking for whatever larger amount the model\nhappens to offer, and nothing is silently dropped, since a dropped\nconfiguration lets the model think as much as it likes.\n\nNote that a Reasoning overwrites whatever the downstream requested\nrather than merging with it, and that it applies to the operations\nthat carry a reasoning configuration at all: it is a no-op for the\nother operations rather than an error, since a Service usually\nserves a mixture of them.","x-oneofs":{"type":["level","tokenBudget","eval","opa","effort"]}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Reasoning.Level":{"type":"string","enum":["LEVEL_UNSET","NONE","MINIMAL","LOW","MEDIUM","HIGH","XHIGH","MAX"],"description":"Level is a model-independent reasoning effort. The Levels are\nordered, from NONE up to MAX, and they name the positions on that\nscale rather than the values of any particular provider: a model\nthat offers fewer steps than are named here is served the\nstrongest step of its own that does not exceed the configured\nLevel, while a model that names a step which no Level names is\nreached through the `effort` field instead.","x-enumDescriptions":{"LEVEL_UNSET":"LEVEL_UNSET is not used","NONE":"NONE disables reasoning. Note that a model which cannot stop\nreasoning at all offers nothing at or below this Level, so its\nrequests are rejected rather than served the smallest effort,\nor the smallest budget, that the model does accept, which would\nbe more reasoning than the Service allowed.","MINIMAL":"MINIMAL is the smallest amount of reasoning that a model\nperforms while still reasoning at all","LOW":"LOW is a small amount of reasoning","MEDIUM":"MEDIUM is a moderate amount of reasoning","HIGH":"HIGH is a large amount of reasoning","XHIGH":"XHIGH is a larger amount of reasoning than HIGH. It is only\ndistinct from HIGH for the models that offer a step between\nHIGH and their own largest one, and it is served as HIGH by the\nmodels that do not.","MAX":"MAX is the largest amount of reasoning that the model offers.\nIt is the one Level that no model can exceed, which makes it\nthe way to ask for as much reasoning as possible without naming\na budget that a later model would then cap."}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Translation":{"type":"object","properties":{"upstreamProtocol":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Protocol","description":"UpstreamProtocol is the inference API protocol spoken by the\nupstream. It is the field that enables the translation: whenever\nit is unset, or set to the same protocol as the `protocol` field,\nno translation is performed at all and the requests are proxied\nin the protocol that the downstreams themselves used.\n\nEvery protocol currently translates to every other one, for the\ngeneration operation that each of them defines, which is the\n`CHAT_COMPLETIONS` route of the OPENAI protocol, the `MESSAGES`\nroute of the ANTHROPIC one, the `GENERATE_CONTENT` route of the\nGEMINI one and the `CONVERSE` route of the BEDROCK one, together\nwith their streaming forms. The other operations, which have no\ncounterpart at all in one another (e.g. embeddings, moderations,\ntoken counting, model listing and the Bedrock InvokeModel\noperations whose bodies are model-native), are rejected rather\nthan proxied, since an upstream that speaks another protocol\nserves none of them.\n\nNote that the GEMINI and the BEDROCK protocols name the model in\nthe request path rather than in the request body, so a translated\nrequest is addressed to the model that the Service resolved for\nit, which is the one that the Model field, a Model Plugin or a\nSemanticRouter Plugin decided and otherwise the one that the\ndownstream itself requested. A model name that the target\nprotocol cannot address is rejected rather than rewritten."},"defaultMaxOutputTokens":{"type":["integer","string"],"format":"uint64","description":"DefaultMaxOutputTokens is the maximum output token count that is\nserved to an upstream whose protocol requires one while the\ndownstream protocol allows omitting it, which is the case for an\nANTHROPIC upstream serving the requests of an OPENAI downstream.\nIt is only used for the requests that declare no output limit of\ntheir own. Zero uses Octelium's own default. Note that it is a\ntranslation behavior rather than something that the downstream\nasked for, so the `ctx.request.llm.maxOutputTokens` field and the\nAccessLogs keep reporting zero for such a request, and that the\n`limits.maxOutputTokens` field bounds it in the same way that it\nbounds a downstream's own limit. It is only needed for an\nANTHROPIC upstream, since the other protocols let a request\ndeclare no output limit at all. Note also that a reasoning token\nbudget which the Service itself decided is added on top of it,\nsince a model whose output limit does not exceed its own reasoning\nbudget rejects the request outright."}},"additionalProperties":false,"description":"Translation converts the inference requests and responses between\nthe protocol that the Service serves to its downstreams, which is\nthe `protocol` field, and the protocol that its upstream speaks.\nWithout it the two are the same protocol and Octelium proxies the\nrequests to the upstream in whichever protocol it accepted them\nfrom the downstreams, which is the default.\n\nIt is what lets an OpenAI SDK client, an Anthropic SDK client and a\ncoding agent that speaks one of them reach an upstream that serves\nthe other one, with every Policy, Plugin and AccessLog of the\nService continuing to read the request exactly as the downstream\nsent it. A translation is applied after every inference-specific\nPlugin, so a Guardrail inspects what the downstream wrote, a Prompt\nand a Tools Plugin manipulate the downstream's own protocol, a\nSemanticCache stores the response in the downstream's own protocol,\nand the conversion to the upstream protocol is the last thing that\nhappens to a request before its credentials and its path are\napplied.\n\nOctelium translates a deliberately bounded subset rather than every\nfield of every protocol, and it rejects the requests that carry a\nfeature outside that subset instead of silently dropping it, since\na request that is quietly turned into a materially different one is\nworse than a request that is refused. The subset is the text,\nimage, system instruction, multi-turn history, client tool, tool\ncall, tool result, tool choice, stop sequence, output limit,\nsampling, streaming and usage surface that the protocols have in\ncommon. The provider-specific features that no other protocol\ndefines (e.g. the OpenAI logprobs, logit biases, penalties, seeds\nand structured outputs, the Anthropic top_k sampling, thinking\nblocks, assistant prefills, documents, citations and server tools,\nthe Gemini safety settings, cached content, multiple candidates and\nbuilt-in tools, and the Bedrock guardrail configuration, prompt\nvariables and additional model request fields) are rejected. The\nprompt cache controls of a protocol that the target protocol does\nnot define are dropped rather than rejected, since they change what\na request costs rather than what it generates. The tool schemas are\nproxied verbatim rather than rewritten, so a schema that the target\nmodel does not accept is rejected by the provider itself rather\nthan silently stripped of its constraints.\n\nNote that the Gemini models which sign their tool calls require\nthat signature to be returned on the next turn of the conversation,\nwhile no other protocol has anywhere to carry it. Octelium\ntherefore retains those signatures itself, bound to the Session\nthat received them and to the upstream model that issued them, for\nas long as a turn plausibly continues, and restores them into the\ntranslated requests. Nothing of the reasoning content itself is\never exposed to a downstream that did not receive it.\n\nNote that a reasoning configuration that a downstream requested for\nitself is translated only where the two protocols express reasoning\nin the same terms, which the API of a model that accepts an ordinal\neffort and the API of a model that accepts a numeric token budget\ndo not. Set the Service's own `reasoning` field, or a Reasoning\nPlugin, in order to own the reasoning configuration of the\ntranslated requests: it is resolved against the upstream protocol\nand encoded into the upstream request, which is exactly the case\nthat a portable Level is written for."},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Visibility":{"type":"object","properties":{"enableRequestBody":{"type":"boolean","description":"EnableRequestBody records the request body, which contains the\nprompt, in the AccessLogs. It is disabled by default since the\nprompts are far more sensitive than typical HTTP request bodies:\nthey routinely contain secrets, PII, source code and proprietary\ndata."},"enableRequestBodyMap":{"type":"boolean","description":"EnableRequestBodyMap records the serialized request body in the\nAccessLogs. It is disabled by default for the same reason."},"enableResponseBody":{"type":"boolean","description":"EnableResponseBody records the response body, which contains the\ngenerated completion, in the AccessLogs. It is disabled by\ndefault. Note that it is only recorded for the responses that are\nnot streamed."},"enableResponseBodyMap":{"type":"boolean","description":"EnableResponseBodyMap records the serialized response body in the\nAccessLogs. It is disabled by default."},"includeRequestHeaders":{"type":"array","items":{"type":"string"},"description":"IncludeRequestHeaders is the list of the request headers that are\nrecorded in the AccessLogs."},"includeResponseHeaders":{"type":"array","items":{"type":"string"},"description":"IncludeResponseHeaders is the list of the response headers that\nare recorded in the AccessLogs."},"includeAllRequestHeaders":{"type":"boolean","description":"IncludeAllRequestHeaders records every request header in the\nAccessLogs except for the ones set in excludeRequestHeaders."},"includeAllResponseHeaders":{"type":"boolean","description":"IncludeAllResponseHeaders records every response header in the\nAccessLogs except for the ones set in excludeResponseHeaders."},"excludeRequestHeaders":{"type":"array","items":{"type":"string"},"description":"ExcludeRequestHeaders is the list of the request headers that are\nnever recorded in the AccessLogs."},"excludeResponseHeaders":{"type":"array","items":{"type":"string"},"description":"ExcludeResponseHeaders is the list of the response headers that\nare never recorded in the AccessLogs."}},"additionalProperties":false,"description":"Visibility sets the LLM-specific access logging configuration"},"octelium.api.main.core.v1.Service.Spec.Config.MCP":{"type":"object","properties":{"endpoint":{"type":"string","description":"Endpoint is the canonical MCP endpoint path (e.g. `/mcp`) that is\nserved to the downstreams. Any request whose path does not exactly\nmatch it is rejected. If not set, which is the default, every\nrequest path is accepted. Note that this field validates the\ndownstream request path, it does not set the upstream one. Since MCP\nis a single endpoint protocol, the path of the upstream URL entirely\nreplaces the request path that is proxied to the upstream. For\ninstance, an upstream URL of `https://example.com/api/mcp` proxies\nevery request to `/api/mcp` regardless of the downstream path. This\nis needed since many MCP servers are served at a path that differs\nfrom the one that the Service serves to its downstreams. Whenever\nthe upstream URL carries no path at all, which is the default, the\ndownstream request path is proxied to the upstream as is. This is\nneeded since many MCP servers are served at the root path. This field\nhas to be set in the \"default\" or global Configuration (as opposed to\nnamed dynamic Configs) in order to actually work."},"protocol":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.MCP.Protocol","description":"Protocol sets the MCP protocol validation options. These fields have\nto be set in the \"default\" or global Configuration (as opposed to\nnamed dynamic Configs) in order to actually work."},"limits":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.MCP.Limits","description":"Limits sets the MCP request parsing limits. These fields have to be\nset in the \"default\" or global Configuration (as opposed to named\ndynamic Configs) in order to actually work."},"auth":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth","description":"Auth sets authentication-to-upstream specific configuration"},"header":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Header","description":"Header sets request and response header manipulation options. Note\nthat the MCP reserved headers (i.e. `MCP-Protocol-Version`,\n`Mcp-Method`, `Mcp-Name` and `Mcp-Param-*`) can be manipulated here\ntoo. Octelium never uses them to make authorization decisions, which\nare always made from the JSON-RPC request body itself, however the\nupstream MCP server rejects the requests whose headers do not match\nthe body."},"path":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Path","description":"Path sets the upstream request path options"},"plugins":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.MCP.Plugin"},"description":"Plugins is the list of the Plugins of the Service. Unlike the\nfields of this Configuration, which apply to every request that the\nConfiguration serves, every Plugin carries its own Condition which\ndecides whether that Plugin is invoked for a specific request. Note\nthat a Plugin that rewrites the JSON-RPC request body (e.g. Lua,\nExtProc) should also rewrite the corresponding MCP reserved headers\nwhenever the downstream sets them, otherwise the upstream MCP server\nrejects the request since the headers no longer match the body.\nNote that this list used to be a list of the HTTP mode's own\nPlugins. The MCP Plugin keeps the same field names and the same\nfield numbers for every Plugin type that the two modes share, so\nthe Plugins that were already valid for an MCP Service are\nunaffected. The Cache Plugin, which was already rejected for the\nMCP Services, is the only removed type."},"isUpstreamHTTP2":{"type":"boolean","description":"IsUpstreamHTTP2 sets HTTP connections to the upstream to HTTP/2. Not\nenabled by default."},"listenHTTP2":{"type":"boolean","description":"ListenHTTP2 sets the Service to listen to HTTP 2.0 connections. This\nis only enabled by default for Services using TLS. This field has to\nbe enabled in the \"default\" or global Configuration (as opposed to\nnamed dynamic Configs) in order to actually work."},"visibility":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.MCP.Visibility","description":"Visibility sets the visibility/access logging specific options"},"cors":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.CORS","description":"CORS sets the Cross-Origin Resource Sharing options which are needed\nto access the Service from a browser-based application served at a\ndifferent origin (e.g. the Cluster's own web dashboard). An Origin\nthat is allowed here is also accepted by the Origin request header\nvalidation. This field has to be set in the \"default\" or global\nConfiguration (as opposed to named dynamic Configs) in order to\nactually work since the CORS preflight requests carry no identity."},"disableOriginCheck":{"type":"boolean","description":"DisableOriginCheck disables the `Origin` request header validation\nentirely. The validation rejects any request whose Origin is neither\nthe Service's own origin nor an origin that is allowed by the `cors`\nfield. Requests that carry no Origin request header at all, which is\nthe case for nearly every non-browser MCP client (e.g. IDEs, AI\nagents, CLI tools), are always accepted. This field has to be set in\nthe \"default\" or global Configuration (as opposed to named dynamic\nConfigs) in order to actually work."}},"additionalProperties":false,"description":"MCP sets the Model Context Protocol-specific configuration. MCP\nServices are HTTP-based: they reuse the entire HTTP dataplane and\nadditionally understand the MCP JSON-RPC semantics."},"octelium.api.main.core.v1.Service.Spec.Config.MCP.Limits":{"type":"object","properties":{"maxRequestBytes":{"type":"integer","format":"uint32","minimum":0,"description":"MaxRequestBytes is the maximum size in bytes of the JSON-RPC\nrequest body that is buffered and parsed. Zero uses the default\nvalue. This value is always bounded by an internal hard limit."},"maxStreamEventBytes":{"type":"integer","format":"uint32","minimum":0,"description":"MaxStreamEventBytes is the maximum size in bytes of a single\n`text/event-stream` response event that is parsed. Larger events\nare still forwarded to the downstream as is, they are simply not\ninspected. Zero uses the default value."}},"additionalProperties":false,"description":"Limits sets the MCP request parsing limits"},"octelium.api.main.core.v1.Service.Spec.Config.MCP.Plugin":{"type":"object","properties":{"name":{"type":"string","description":"Name is the unique name of the Plugin"},"isDisabled":{"type":"boolean","description":"IsDisabled disables the Plugin without having to change its\nCondition or to delete it."},"phase":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Phase","description":"Phase sets whether the Plugin is invoked before or after the\nauthentication and authorization processes. It is the HTTP mode's\nown Phase so that a Plugin behaves identically in either mode.\nThe two phases sit on either side of a single step which\nauthenticates and authorizes at once: a PRE_AUTH Plugin therefore\nruns without a known User while a POST_AUTH one runs after the\nPolicies have already decided. Note that the MCP-specific Plugins\nare always invoked in the POST_AUTH phase, since they act on a\nrequest whose content and verdict both routinely depend on the\nidentity of the requesting User, and that setting PRE_AUTH for\none of them is rejected rather than silently ignored."},"condition":{"$ref":"#/definitions/octelium.api.main.core.v1.Condition","description":"Condition decides whether the Plugin is invoked on a per-request\nbasis. It is always required: a Plugin that carries no Condition\nis rejected rather than silently never invoked. Use `matchAny` in\norder to invoke a Plugin unconditionally. Note that a Condition\nis always evaluated against the request context, including for\nthe Plugins that act on the response, so the response itself is\nunavailable to it. Note also that a Condition of an MCP-specific\nPlugin which cannot be evaluated at all (e.g. it errors at\nruntime or it exceeds its cost limit) rejects the request rather\nthan skipping the Plugin, since skipping it would turn an\nevaluation error into a silent bypass of the control that it\ncarries. The Plugins that reuse the HTTP mode's own types behave\nin either mode as they do in the HTTP one, where such a Plugin is\nskipped instead."},"extProc":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.ExtProc","description":"ExtProc processes the requests via an Envoy ext_proc compliant\ngRPC server","x-oneof":"type"},"lua":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Lua","description":"Lua processes the requests via a Lua script","x-oneof":"type"},"direct":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Direct","description":"Direct returns a response directly without proxying the request\nto the upstream. Note that the body is served to an MCP client,\nso it has to be a valid JSON-RPC response or error object.","x-oneof":"type"},"rateLimit":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.RateLimit","description":"RateLimit rate limits the requests","x-oneof":"type"},"jsonSchema":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.JSONSchema","description":"JSONSchema validates the JSON request body against a JSON\nschema","x-oneof":"type"},"path":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Path","description":"Path removes and/or adds prefixes of the request path","x-oneof":"type"},"guardrail":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.MCP.Plugin.Guardrail","description":"Guardrail inspects the content that the request carries, and\noptionally the content that the response carries, and decides\nwhat to do about it","x-oneof":"type"}},"additionalProperties":false,"description":"Plugin provides a dynamic, per-request way to manipulate the\nJSON-RPC requests and responses. A Service can have one or more\nPlugins, including multiple Plugins of the same type. Unlike the\nConfiguration fields, which apply to every request that the\nConfiguration serves, every Plugin carries its own Condition which\ndecides whether that Plugin is invoked for a specific request.\n\nThe Plugins that are not specific to the MCP semantics (e.g. Lua,\nExtProc, RateLimit) reuse the HTTP mode's own Plugin types as is,\nand they deliberately keep the same field names and the same field\nnumbers that they have in the HTTP mode's Plugin. The Cache Plugin\nis the only HTTP Plugin that has no counterpart here since generic\nHTTP caching understands neither the authorization scope nor the\nMCP cache invalidation semantics.\n\nThe MCP-specific Plugins are invoked in a fixed order that does not\ndepend on the order of the Plugin list, and two Plugins of the same\ntype are invoked in the order in which they are listed. Note that\nthe Plugins which reuse the HTTP mode's own types sit outside that\norder and outside the Guardrail boundary: they run before every\nMCP-specific Plugin on the request and after every one of them on\nthe response. A Lua or an ExtProc Plugin can therefore rewrite a\nresponse that a Guardrail has already inspected, and a Direct\nPlugin answers a request that no Guardrail has seen. That boundary\nis deliberate, since those Plugins carry the logic of the Service\nitself rather than the content of the downstream or of the\nupstream, but a Service that uses them to carry MCP content has to\ninspect that content itself.","x-oneofs":{"type":["extProc","lua","direct","rateLimit","jsonSchema","path","guardrail"]}},"octelium.api.main.core.v1.Service.Spec.Config.MCP.Plugin.Guardrail":{"type":"object","properties":{"leg":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.MCP.Plugin.Guardrail.Leg","description":"Leg is the part of the exchange that is inspected"},"scopes":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.MCP.Plugin.Guardrail.Scope"},"description":"Scopes is the list of the parts of the content that are\ninspected. If not set, only the default Scope of the inspected\nleg is inspected."},"patterns":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Guardrail.Pattern"},"description":"Patterns is the list of the Patterns that are matched against\nthe inspected content. It is deliberately the LLM mode's own\nPattern: matching content is the same problem in either mode,\nand a Pattern carries nothing that is specific to the inference\nsemantics, so the two modes share one detector set, one Action\nset and one set of guarantees rather than growing two that\ndrift apart."},"denyMessage":{"type":"string","description":"DenyMessage is the message of the JSON-RPC error that is\nreturned for the DENY Action. Note that it is served to the\ndownstream, so it should not disclose the detection logic\nitself."}},"additionalProperties":false,"description":"Guardrail inspects the content that the JSON-RPC request carries,\nand optionally the content that the response carries, and decides\nwhat to do about it. Note that a Guardrail is a content control:\nthe identity, the method and the named target of a request are\ngoverned by the Policies, and its shape is governed by the\n`limits` and the `protocol` fields, and all of them are always\nevaluated regardless of the Guardrails. Note also that a\nGuardrail verdict is never an input to the Policies: a Guardrail\nruns after the authorization decision has already been reached,\nit acts on the request itself rather than informing a Policy\nabout it. A Guardrail is always invoked in the POST_AUTH phase.\n\nA Guardrail that cannot reach a verdict at all (e.g. a `replace`\nevaluation that errors) rejects the request rather than\nproceeding: a Guardrail that silently allows the content that it\ncould not inspect provides a compliance claim that is not true.\n\nThe MCP exchange is the usual carrier of two risks that a\nGuardrail addresses directly. On the request leg, the arguments\nof a tool call are content that the downstream sends to a server\nwhich is frequently operated by somebody else, which makes them\nthe usual carrier of credential and of PII leakage. On the\nresponse leg, the content that a tool call, a resource read or a\nprompt fetch returns is content that the server chose rather than\ncontent that anybody asked for, which makes it the usual carrier\nof indirect prompt injection and of tool poisoning."},"octelium.api.main.core.v1.Service.Spec.Config.MCP.Plugin.Guardrail.Leg":{"type":"string","enum":["LEG_UNSET","REQUEST","RESPONSE","BOTH"],"description":"Leg is the part of the exchange that is inspected","x-enumDescriptions":{"LEG_UNSET":"LEG_UNSET falls back to the default behavior which is REQUEST","REQUEST":"REQUEST inspects the JSON-RPC request before it is proxied to\nthe upstream","RESPONSE":"RESPONSE inspects the JSON-RPC response before it is served\nto the downstream. Note that a response that is streamed as\n`text/event-stream` events is withheld in its entirety until\nit ends, then inspected, and only then forwarded: it is the\nonly behavior that guarantees that no matched content ever\nreaches the downstream.","BOTH":"BOTH inspects the request as well as the response"}},"octelium.api.main.core.v1.Service.Spec.Config.MCP.Plugin.Guardrail.Scope":{"type":"string","enum":["SCOPE_UNSET","TOOL_ARGUMENTS","TOOL_RESULTS","RESOURCE_CONTENTS","PROMPT_MESSAGES","TOOL_DEFINITIONS","ALL"],"description":"Scope is the part of the content that is inspected. Note that\nevery Scope belongs to one leg of the exchange: a Scope that\ndoes not belong to the inspected leg is a no-op rather than an\nerror, since a Guardrail whose leg is BOTH is expected to carry\nthe Scopes of both legs.","x-enumDescriptions":{"SCOPE_UNSET":"SCOPE_UNSET falls back to the default behavior which is\nTOOL_ARGUMENTS on the request leg and TOOL_RESULTS on the\nresponse leg","TOOL_ARGUMENTS":"TOOL_ARGUMENTS is the arguments that a `tools/call` request\ncarries. It is a request-leg Scope.","TOOL_RESULTS":"TOOL_RESULTS is the content that a `tools/call` result\ncarries, which includes both its content blocks and its\nstructured content. It is a response-leg Scope.","RESOURCE_CONTENTS":"RESOURCE_CONTENTS is the content that a `resources/read`\nresult carries. It is a response-leg Scope.","PROMPT_MESSAGES":"PROMPT_MESSAGES is the messages that a `prompts/get` result\ncarries. It is a response-leg Scope.","TOOL_DEFINITIONS":"TOOL_DEFINITIONS is the names, the descriptions and the JSON\nSchemas that a `tools/list` result carries. It is the surface\non which a server describes to a model what it should do,\nwhich makes it the carrier of tool poisoning, and it is a\nresponse-leg Scope. Note that it is inspect-only: a tool\ndefinition is a structured document rather than free text, so\nthe REDACT, STRIP and REPLACE Actions are rejected for this\nScope and only the DENY one is available.","ALL":"ALL is every scope"}},"octelium.api.main.core.v1.Service.Spec.Config.MCP.Protocol":{"type":"object","properties":{"versions":{"type":"array","items":{"type":"string"},"description":"Versions is an optional allowlist of the accepted MCP protocol\nversions (e.g. \"2026-07-28\"). If not set, which is the default,\nevery version is accepted. Octelium does not maintain its own set\nof supported MCP protocol versions."},"requireVersion":{"type":"boolean","description":"RequireVersion rejects the requests that do not declare a protocol\nversion in either the `MCP-Protocol-Version` request header or the\nrequest body's `_meta` field. It is disabled by default since the\nheader was only introduced in the 2025-06-18 revision."},"rejectUnknownMethods":{"type":"boolean","description":"RejectUnknownMethods rejects any JSON-RPC method that is unknown\nto Octelium. It is disabled by default. Keeping it disabled lets\nthe official MCP extensions as well as the newer protocol\nrevisions reach the upstream while still being visible to Policies\nvia the `ctx.request.mcp.method` field."}},"additionalProperties":false,"description":"Protocol sets the MCP protocol validation options"},"octelium.api.main.core.v1.Service.Spec.Config.MCP.Visibility":{"type":"object","properties":{"disableRequestBody":{"type":"boolean","description":"DisableRequestBody disables recording the JSON-RPC request body in\nthe AccessLogs. The request body is recorded by default since\ninspecting the MCP request is the whole point of using MCP mode as\nopposed to HTTP mode."},"disableResponseBody":{"type":"boolean","description":"DisableResponseBody disables recording the JSON-RPC response body,\nwhich includes the individual `text/event-stream` response events,\nin the AccessLogs. The response body is recorded by default."},"includeRequestHeaders":{"type":"array","items":{"type":"string"},"description":"IncludeRequestHeaders is the list of the request headers that are\nrecorded in the AccessLogs."},"includeResponseHeaders":{"type":"array","items":{"type":"string"},"description":"IncludeResponseHeaders is the list of the response headers that\nare recorded in the AccessLogs."},"includeAllRequestHeaders":{"type":"boolean","description":"IncludeAllRequestHeaders records every request header in the\nAccessLogs except for the ones set in excludeRequestHeaders."},"includeAllResponseHeaders":{"type":"boolean","description":"IncludeAllResponseHeaders records every response header in the\nAccessLogs except for the ones set in excludeResponseHeaders."},"excludeRequestHeaders":{"type":"array","items":{"type":"string"},"description":"ExcludeRequestHeaders is the list of the request headers that are\nnever recorded in the AccessLogs."},"excludeResponseHeaders":{"type":"array","items":{"type":"string"},"description":"ExcludeResponseHeaders is the list of the response headers that\nare never recorded in the AccessLogs."}},"additionalProperties":false,"description":"Visibility sets the MCP-specific access logging configuration"},"octelium.api.main.core.v1.Service.Spec.Config.MySQL":{"type":"object","properties":{"user":{"type":"string","description":"User is the MySQL user. If set, it overrides the user values\nrequested by the downstreams. If not set, the user values requested\nby the downstreams is forwarded to the upstream as is."},"auth":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.MySQL.Auth","description":"Auth sets the upstream authentication information"},"database":{"type":"string","description":"Database is the name of the database. If set, it overrides the\ndatabase values requested by the downstreams. If not set, the\ndatabase values requested by the downstreams is forwarded to the\nupstream as is."},"isTLS":{"type":"boolean","description":"IsTLS connects to the upstream over TLS. It must be enabled if the\nupstream database is listening over TLS."},"visibility":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.MySQL.Visibility","description":"Visibility sets the visibility/access logging specific options"},"authorization":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.MySQL.Authorization","description":"Authorization sets MySQL-specific authorization configuration"}},"additionalProperties":false,"description":"MySQL sets the MySQL-specific configuration"},"octelium.api.main.core.v1.Service.Spec.Config.MySQL.Auth":{"type":"object","properties":{"password":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.MySQL.Auth.Password","description":"Password sets the password used for authentication","x-oneof":"type"}},"additionalProperties":false,"description":"Auth sets the credentials used to authenticate to the upstream MySQL\nserver","x-oneofs":{"type":["password"]}},"octelium.api.main.core.v1.Service.Spec.Config.MySQL.Auth.Password":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value contains\nthe Password","x-oneof":"type"}},"additionalProperties":false,"description":"Password is the password of the upstream MySQL server","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.Service.Spec.Config.MySQL.Authorization":{"type":"object","properties":{"mode":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.MySQL.Authorization.Mode","description":"Mode is the authorization mode"}},"additionalProperties":false,"description":"Authorization sets the MySQL-specific authorization configuration"},"octelium.api.main.core.v1.Service.Spec.Config.MySQL.Authorization.Mode":{"type":"string","enum":["MODE_UNSET","ALL","NONE"],"description":"Mode sets when the authorization is enforced","x-enumDescriptions":{"MODE_UNSET":"MODE_UNSET uses the default configuration which is currently NONE","ALL":"ALL forces authorization for every MySQL command (e.g. query\ncommands) not just at the beginning of the connection","NONE":"NONE which is currently the default behavior enforces\nauthorization only at the beginning of the connection"}},"octelium.api.main.core.v1.Service.Spec.Config.MySQL.Visibility":{"type":"object","properties":{"disableQuery":{"type":"boolean","description":"DisableQuery disables recording the statement text of the query\nand prepare statement commands in the access logs. The access log\nentries themselves are still recorded without the statement text.\nThis is recommended for databases whose statements routinely embed\ncredentials or other sensitive values."}},"additionalProperties":false,"description":"Visibility sets the MySQL-specific access logging configuration"},"octelium.api.main.core.v1.Service.Spec.Config.Postgres":{"type":"object","properties":{"user":{"type":"string","description":"User is the postgres user. If set, it overrides the user values\nrequested by the downstreams. If not set, the user values requested\nby the downstreams is forwarded to the upstream as is."},"auth":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Postgres.Auth","description":"Auth sets the upstream authentication information"},"database":{"type":"string","description":"Database is the name of the database. If set, it overrides the\ndatabase values requested by the downstreams. If not set, the\ndatabase values requested by the downstreams is forwarded to the\nupstream as is."},"sslMode":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Postgres.SSLMode","description":"SSLMode is the SSL mode"},"authorization":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Postgres.Authorization","description":"Authorization sets PostgreSQL-specific authorization configuration"},"visibility":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Postgres.Visibility","description":"Visibility sets the visibility/access logging specific options"}},"additionalProperties":false,"description":"Postgres sets the PostgreSQL-specific configuration"},"octelium.api.main.core.v1.Service.Spec.Config.Postgres.Auth":{"type":"object","properties":{"password":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Postgres.Auth.Password","description":"Password sets the password used for authentication","x-oneof":"type"}},"additionalProperties":false,"description":"Auth sets the credentials used to authenticate to the upstream\nPostgreSQL server","x-oneofs":{"type":["password"]}},"octelium.api.main.core.v1.Service.Spec.Config.Postgres.Auth.Password":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value contains\nthe Password","x-oneof":"type"}},"additionalProperties":false,"description":"Password is the password of the upstream PostgreSQL server","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.Service.Spec.Config.Postgres.Authorization":{"type":"object","properties":{"mode":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Postgres.Authorization.Mode","description":"Mode is the authorization mode"}},"additionalProperties":false,"description":"Authorization sets the PostgreSQL-specific authorization\nconfiguration"},"octelium.api.main.core.v1.Service.Spec.Config.Postgres.Authorization.Mode":{"type":"string","enum":["MODE_UNSET","ALL","NONE"],"description":"Mode sets when the authorization is enforced","x-enumDescriptions":{"MODE_UNSET":"MODE_UNSET uses the default configuration which is currently NONE","ALL":"ALL forces authorization for every PostgreSQL command (e.g. query\ncommands) not just at the beginning of the connection","NONE":"NONE which is currently the default behavior enforces\nauthorization only at the beginning of the connection"}},"octelium.api.main.core.v1.Service.Spec.Config.Postgres.SSLMode":{"type":"string","enum":["SSL_MODE_UNSET","DISABLE","REQUIRE","VERIFY_CA","VERIFY_FULL"],"description":"SSLMode is the PostgreSQL SSL mode used to connect to the upstream","x-enumDescriptions":{"SSL_MODE_UNSET":"SSL_MODE_UNSET fallbacks to the default behavior which is currently\n\"prefer\"","DISABLE":"DISABLE sets SSL mode to \"disable\"","REQUIRE":"REQUIRE sets SSL mode to \"require\". This is extremely recommended\nover the default \"prefer\" mode if the upstream is listening over\nTLS which is the case for SaaS databases. Note that it encrypts the\nconnection without verifying the upstream's certificate at all.","VERIFY_CA":"VERIFY_CA sets SSL mode to \"verify-ca\". It additionally verifies\nthat the upstream's certificate chains up to a trusted certificate\nauthority without verifying the upstream's hostname. The trusted\ncertificate authorities are set by the `tls` Configuration field\nand they default to the system's ones.","VERIFY_FULL":"VERIFY_FULL sets SSL mode to \"verify-full\". It additionally\nverifies both the upstream's certificate chain and its hostname.\nThe trusted certificate authorities are set by the `tls`\nConfiguration field and they default to the system's ones. This is\nthe recommended mode for the upstreams that are listening over TLS."}},"octelium.api.main.core.v1.Service.Spec.Config.Postgres.Visibility":{"type":"object","properties":{"disableQuery":{"type":"boolean","description":"DisableQuery disables recording the statement text of the query\nand parse messages in the access logs. The access log entries\nthemselves are still recorded without the statement text. This is\nrecommended for databases whose statements routinely embed\ncredentials or other sensitive values."}},"additionalProperties":false,"description":"Visibility sets the PostgreSQL-specific access logging configuration"},"octelium.api.main.core.v1.Service.Spec.Config.RDP":{"type":"object","properties":{"auth":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.RDP.Auth","description":"Auth sets the upstream authentication information"},"upstreamTLS":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.RDP.UpstreamTLS","description":"UpstreamTLS sets the verification of the upstream's certificate"}},"additionalProperties":false,"description":"RDP sets the RDP-specific configuration"},"octelium.api.main.core.v1.Service.Spec.Config.RDP.Auth":{"type":"object","properties":{"user":{"type":"string","description":"User is the RDP user. If set, it overrides the user requested by\nthe downstreams."},"domain":{"type":"string","description":"Domain is the Windows domain of the RDP user. It can be left\nunset if the upstream uses local accounts rather than a domain."},"password":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.RDP.Auth.Password","description":"Password is the password used to authenticate to the upstream"}},"additionalProperties":false,"description":"Auth sets the credentials used to authenticate to the upstream RDP\nserver over Network Level Authentication (NLA)"},"octelium.api.main.core.v1.Service.Spec.Config.RDP.Auth.Password":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value contains\nthe Password","x-oneof":"type"}},"additionalProperties":false,"description":"Password is the password of the upstream RDP user","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.Service.Spec.Config.RDP.UpstreamTLS":{"type":"object","properties":{"pinnedCertSHA256":{"type":"array","items":{"type":"string"},"description":"PinnedCertSHA256 is the list of the SHA-256 fingerprints of the\nupstream's certificate. The connection is rejected if the\nupstream's certificate matches none of them. More than one\nfingerprint can be set which is useful while rotating the\nupstream's certificate."},"allowAnyCert":{"type":"boolean","description":"AllowAnyCert entirely disables verifying the upstream's\ncertificate. This is typically recommended only for\ntroubleshooting/testing use cases."}},"additionalProperties":false,"description":"UpstreamTLS sets how the certificate presented by the upstream RDP\nserver is verified. Windows RDP servers typically present\nself-signed certificates."},"octelium.api.main.core.v1.Service.Spec.Config.SOCKS5":{"type":"object","properties":{"auth":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.SOCKS5.Auth","description":"Auth sets the upstream authentication information"},"isEmbeddedMode":{"type":"boolean","description":"IsEmbeddedMode enables the \"embedded\" mode where the SOCKS5 proxy is\nserved from within a connected Octelium client instead of being\nproxied to a separate upstream SOCKS5 server. In this mode the\nconnected client itself acts as the SOCKS5 egress point."}},"additionalProperties":false,"description":"SOCKS5 sets the SOCKS5-specific configuration"},"octelium.api.main.core.v1.Service.Spec.Config.SOCKS5.Auth":{"type":"object","properties":{"noAuth":{"type":"boolean","description":"NoAuth explicitly uses no authentication when connecting to the\nupstream SOCKS5 server","x-oneof":"type"},"usernamePassword":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.SOCKS5.Auth.UsernamePassword","description":"UsernamePassword sets the username and password used for\nauthentication","x-oneof":"type"}},"additionalProperties":false,"description":"Auth sets the credentials used to authenticate to the upstream\nSOCKS5 server","x-oneofs":{"type":["noAuth","usernamePassword"]}},"octelium.api.main.core.v1.Service.Spec.Config.SOCKS5.Auth.UsernamePassword":{"type":"object","properties":{"username":{"type":"string","description":"Username is the username used to authenticate to the upstream"},"password":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.SOCKS5.Auth.UsernamePassword.Password","description":"Password is the password used to authenticate to the upstream"}},"additionalProperties":false,"description":"UsernamePassword authenticates to the upstream via a username and\na password"},"octelium.api.main.core.v1.Service.Spec.Config.SOCKS5.Auth.UsernamePassword.Password":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value contains\nthe Password","x-oneof":"type"}},"additionalProperties":false,"description":"Password is the password of the upstream SOCKS5 server","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.Service.Spec.Config.SSH":{"type":"object","properties":{"user":{"type":"string","description":"User is the SSH user. If set, this value overrides the SSH user\nrequested by the downstreams. If not set, then downstream's value is\nforwarded to the upstream."},"auth":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.SSH.Auth","description":"Auth sets authentication related information"},"upstreamHostKey":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.SSH.UpstreamHostKey","description":"UpstreamHostKey sets the upstream's host public key"},"enableLocalPortForwarding":{"type":"boolean","description":"EnableLocalPortForwarding enables local port forwarding (i.e.\n\"direct-tcpip\")"},"enableSubsystem":{"type":"boolean","description":"EnableSubsystem enables subsystem requests (e.g. SFTP). Subsystem\nrequests are disabled by default."},"eSSHMode":{"type":"boolean","description":"eSSHMode enables the \"embedded SSH\" mode. This means that the\nupstream is served by an Octelium client rather than a typical SSH\nserver. Refer to the docs for more."},"visibility":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.SSH.Visibility","description":"Visibility sets the SSH-specific access logging configuration"}},"additionalProperties":false,"description":"SSH sets the SSH-specific configuration"},"octelium.api.main.core.v1.Service.Spec.Config.SSH.Auth":{"type":"object","properties":{"password":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.SSH.Auth.Password","description":"Password sets the password used for authentication. Only one of\nPassword or PrivateKey is used.","x-oneof":"type"},"privateKey":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.SSH.Auth.PrivateKey","description":"PrivateKey sets the private key used for authentication. Only one\nof Password or PrivateKey is used.","x-oneof":"type"}},"additionalProperties":false,"description":"Auth sets the credentials used to authenticate to the upstream SSH\nserver","x-oneofs":{"type":["password","privateKey"]}},"octelium.api.main.core.v1.Service.Spec.Config.SSH.Auth.Password":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value contains\nthe Password","x-oneof":"type"}},"additionalProperties":false,"description":"Password is the password of the upstream SSH server","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.Service.Spec.Config.SSH.Auth.PrivateKey":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value contains\nthe PEM-encoded PrivateKey","x-oneof":"type"}},"additionalProperties":false,"description":"PrivateKey is the private key used to authenticate to the upstream\nSSH server","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.Service.Spec.Config.SSH.UpstreamHostKey":{"type":"object","properties":{"insecureIgnoreHostKey":{"type":"boolean","description":"InsecureIgnoreHostKey ignores verifying the upstream server\npublic key during the handshake. This is extremely NOT\nrecommended for use in production","x-oneof":"type"},"key":{"type":"string","description":"Key specifies the upstream public key","x-oneof":"type"}},"additionalProperties":false,"description":"UpstreamHostKey sets how the upstream SSH server's host public key\nis verified upon connecting to it","x-oneofs":{"type":["insecureIgnoreHostKey","key"]}},"octelium.api.main.core.v1.Service.Spec.Config.SSH.Visibility":{"type":"object","properties":{"disableSessionRecording":{"type":"boolean","description":"DisableSessionRecording disables recording the SSH sessions in the\naccess logs."},"enableSessionStdinRecording":{"type":"boolean","description":"EnableSessionStdinRecording additionally records the SSH sessions'\nstdin in the access logs."}},"additionalProperties":false,"description":"Visibility sets the SSH-specific access logging configuration"},"octelium.api.main.core.v1.Service.Spec.Config.TLS":{"type":"object","properties":{"trustedCAs":{"type":"array","items":{"type":"string"},"description":"TrustedCAs is the list of the PEM-encoded root certificate\nauthorities that are trusted to verify the upstream's certificate.\nBy default, this list overrides the system's default trusted CAs."},"appendToSystemPool":{"type":"boolean","description":"AppendToSystemPool appends the trustedCAs to the system's default\ntrusted CAs instead of overriding them."},"insecureSkipVerify":{"type":"boolean","description":"InsecureSkipVerify entirely skips verifying the certificate provided\nby the upstream. This is typically recommended only for\ntroubleshooting/testing use cases."},"clientCertificate":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.TLS.ClientCertificate","description":"ClientCertificate sets the mTLS client certificate used to\nauthenticate to the upstream"}},"additionalProperties":false,"description":"TLS sets the TLS client-side configuration used by the Service to\nconnect to an upstream that is listening over TLS"},"octelium.api.main.core.v1.Service.Spec.Config.TLS.ClientCertificate":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value contains the\nPEM representations of both the client certificate chain and its\ncorresponding private key","x-oneof":"type"}},"additionalProperties":false,"description":"ClientCertificate sets the x509 client certificate used to\nauthenticate to an upstream that requires mTLS","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.Service.Spec.Config.Upstream":{"type":"object","properties":{"user":{"type":"string","description":"User is the User name if the upstream should be served by an active\nConnection of a User. If set, that means that the\nService is served by any connected client owned by that User and\nwilling to serve the Service."},"url":{"type":"string","description":"URL is the canonical URL of the upstream.\nExamples are `http://example.com`, `postgres://pg.default.svc`,\n`tcp://my-custom-app:9090`, and `https://api.sandbox.paypal.com`.\nNote that the URL path is ignored in every mode except for the LLM\nand the MCP modes where it sets the upstream's base path. Read the\n`llm` and the `mcp` Configuration fields for more details.","x-oneof":"type"},"loadbalance":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Loadbalance","description":"Loadbalance is the list of upstreams in case you have more than one\nupstream. You either use the main upstream or the loadbalance list.","x-oneof":"type"},"container":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container","description":"Container sets the Upstream to a managed container deployed\non the same Kubernetes cluster that hosts the Octelium Cluster","x-oneof":"type"}},"additionalProperties":false,"description":"Upstream is the actual protected resource behind the Service. It is\neither directly reachable from within the Cluster, remotely reachable\nvia an actively connected User, or a container that is deployed and\nmanaged by the Cluster itself.","x-oneofs":{"type":["url","loadbalance","container"]}},"octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container":{"type":"object","properties":{"port":{"type":"integer","format":"uint32","minimum":0,"description":"Port is the port exposed by the managed container"},"image":{"type":"string","description":"Image is the image URL of the container"},"command":{"type":"array","items":{"type":"string"},"description":"Command overrides the container image's command"},"args":{"type":"array","items":{"type":"string"},"description":"Args is the list of command arguments that override the image\narguments"},"env":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Env"},"description":"Env is the list of environment variables"},"replicas":{"type":"integer","format":"uint32","minimum":0,"description":"Replicas is the number of replicas of this container"},"credentials":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Credentials","description":"Credentials sets the credentials if the image is hosted on a\nprivate container registry"},"resourceLimit":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.ResourceLimit","description":"ResourceLimit sets the container resource limits"},"securityContext":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.SecurityContext","description":"SecurityContext sets k8s security context related configs"},"volumes":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Volume"},"description":"Volumes is the list of the Kubernetes volumes defined for the\ncontainer"},"volumeMounts":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.VolumeMount"},"description":"VolumeMounts is the list of the defined Volumes that are mounted\ninside the container"},"livenessProbe":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Probe","description":"LivenessProbe sets the container's liveness probe"},"readinessProbe":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Probe","description":"ReadinessProbe sets the container's readiness probe"}},"additionalProperties":false,"description":"Container is a containerized application that is deployed, managed\nand scaled by the Cluster on top of the underlying Kubernetes\ninfrastructure and served as the Service's upstream"},"octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Credentials":{"type":"object","properties":{"usernamePassword":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Credentials.UsernamePassword","description":"UsernamePassword uses a username and password to authenticate\nto the container registry","x-oneof":"type"}},"additionalProperties":false,"description":"Credentials sets the credentials used to pull the container image\nfrom a private container registry","x-oneofs":{"type":["usernamePassword"]}},"octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Credentials.UsernamePassword":{"type":"object","properties":{"username":{"type":"string","description":"Username is the username used to authenticate to the container\nregistry"},"password":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Credentials.UsernamePassword.Password","description":"Password is the password used to authenticate to the container\nregistry"},"server":{"type":"string","description":"Server is the container registry server (e.g. \"ghcr.io\" or\n\"quay.io\")"}},"additionalProperties":false,"description":"UsernamePassword authenticates to the container registry via a\nusername and a password"},"octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Credentials.UsernamePassword.Password":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value contains\nthe Password","x-oneof":"type"}},"additionalProperties":false,"description":"Password is the password used to authenticate to the\ncontainer registry","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Env":{"type":"object","properties":{"name":{"type":"string","description":"Name is the environment variable key"},"value":{"type":"string","description":"Value is the environment variable value","x-oneof":"type"},"fromSecret":{"type":"string","description":"FromSecret gets the value of the environment variable from an\nOctelium Secret","x-oneof":"type"},"kubernetesSecretRef":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Env.KubernetesSecretRef","description":"KubernetesSecretRef uses a Kubernetes secret as the environment\nvariable value","x-oneof":"type"}},"additionalProperties":false,"description":"Env is an environment variable of the managed container","x-oneofs":{"type":["value","fromSecret","kubernetesSecretRef"]}},"octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Env.KubernetesSecretRef":{"type":"object","properties":{"name":{"type":"string","description":"Name is the Kubernetes secret name"},"key":{"type":"string","description":"Key is the Kubernetes secret data key"}},"additionalProperties":false,"description":"KubernetesSecretRef references an existent Kubernetes secret in\nthe `octelium` Kubernetes namespace"},"octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Probe":{"type":"object","properties":{"httpGet":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Probe.HTTPGet","description":"HTTPGet sets an HTTP GET probe","x-oneof":"type"},"tcpSocket":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Probe.TCPSocket","description":"TCPSocket sets a TCP socket probe","x-oneof":"type"},"grpc":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Probe.GRPC","description":"GRPC sets a gRPC probe","x-oneof":"type"},"initialDelaySeconds":{"type":"integer","format":"int32","description":"InitialDelaySeconds is the number of seconds after the container\nstarts before the Probe is initiated"},"timeoutSeconds":{"type":"integer","format":"int32","description":"TimeoutSeconds is the number of seconds after which the Probe\ntimes out"},"periodSeconds":{"type":"integer","format":"int32","description":"PeriodSeconds is the number of seconds between performing the\nProbe"},"successThreshold":{"type":"integer","format":"int32","description":"SuccessThreshold is the number of consecutive successes after\nwhich the Probe is considered successful"},"failureThreshold":{"type":"integer","format":"int32","description":"FailureThreshold is the number of consecutive failures after\nwhich the Probe is considered failed"}},"additionalProperties":false,"description":"Probe is a Kubernetes liveness or readiness probe of the managed\ncontainer","x-oneofs":{"type":["httpGet","tcpSocket","grpc"]}},"octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Probe.GRPC":{"type":"object","properties":{"port":{"type":"integer","format":"uint32","minimum":0,"description":"Port is the port at which the gRPC probe is sent"}},"additionalProperties":false,"description":"GRPC probes the container via the gRPC health checking protocol"},"octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Probe.HTTPGet":{"type":"object","properties":{"path":{"type":"string","description":"Path is the HTTP path of the probe request"},"port":{"type":"integer","format":"uint32","minimum":0,"description":"Port is the port at which the probe request is sent"}},"additionalProperties":false,"description":"HTTPGet probes the container via an HTTP GET request"},"octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Probe.TCPSocket":{"type":"object","properties":{"port":{"type":"integer","format":"uint32","minimum":0,"description":"Port is the port at which the TCP connection is opened"}},"additionalProperties":false,"description":"TCPSocket probes the container by opening a TCP connection"},"octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.ResourceLimit":{"type":"object","properties":{"cpu":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.ResourceLimit.CPU","description":"CPU sets the CPU-related limit"},"memory":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.ResourceLimit.Memory","description":"Memory sets the memory-related limit"},"ext":{"type":"object","additionalProperties":{"type":"string"},"description":"Ext represents the map of extended/custom resource limits such as\nGPU requests"}},"additionalProperties":false,"description":"ResourceLimit sets how much compute resources the managed\ncontainer is allowed to consume"},"octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.ResourceLimit.CPU":{"type":"object","properties":{"millicores":{"type":"integer","format":"uint32","minimum":0,"description":"Millicores is the integer that sets the limit milli-cores"}},"additionalProperties":false,"description":"CPU is the CPU-related limit"},"octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.ResourceLimit.Memory":{"type":"object","properties":{"megabytes":{"type":"integer","format":"uint32","minimum":0,"description":"Megabytes is the integer that sets the limit in megabytes"}},"additionalProperties":false,"description":"Memory is the memory-related limit"},"octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.SecurityContext":{"type":"object","properties":{"readOnlyRootFilesystem":{"type":"boolean","description":"ReadOnlyRootFilesystem sets the root filesystem to read-only"},"runAsUser":{"type":"integer","format":"uint32","minimum":0,"description":"RunAsUser sets the UID of the container user."},"capabilities":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.SecurityContext.Capabilities","description":"Capabilities adds/drops Linux capabilities used by the container"}},"additionalProperties":false,"description":"SecurityContext sets the security-related configuration of the\nmanaged container"},"octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.SecurityContext.Capabilities":{"type":"object","properties":{"add":{"type":"array","items":{"type":"string"},"description":"Add is the list of the added Linux capabilities (e.g.\n\"NET_ADMIN\", \"SYS_TIME\")"},"drop":{"type":"array","items":{"type":"string"},"description":"Drop is the list of the dropped Linux capabilities (e.g.\n\"ALL\")"}},"additionalProperties":false,"description":"Capabilities sets the Linux capabilities of the managed\ncontainer"},"octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Volume":{"type":"object","properties":{"name":{"type":"string","description":"Name is the name of the Volume. It is used by the VolumeMounts\nto reference the Volume."},"persistentVolumeClaim":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Volume.PersistentVolumeClaim","description":"PersistentVolumeClaim uses a Kubernetes persistent volume\nclaim as the Volume","x-oneof":"type"},"emptyDir":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Volume.EmptyDir","description":"EmptyDir uses a Kubernetes emptyDir as the Volume","x-oneof":"type"}},"additionalProperties":false,"description":"Volume is a Kubernetes volume that is defined for the managed\ncontainer","x-oneofs":{"type":["persistentVolumeClaim","emptyDir"]}},"octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Volume.EmptyDir":{"type":"object","properties":{"sizeLimitMegabytes":{"type":"integer","format":"uint32","minimum":0,"description":"SizeLimitMegabytes is the size limit of the volume in\nmegabytes"}},"additionalProperties":false,"description":"EmptyDir is a Kubernetes emptyDir volume"},"octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Volume.PersistentVolumeClaim":{"type":"object","properties":{"name":{"type":"string","description":"Name is the name of the Kubernetes persistent volume claim"}},"additionalProperties":false,"description":"PersistentVolumeClaim is a Kubernetes persistent volume claim"},"octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.VolumeMount":{"type":"object","properties":{"name":{"type":"string","description":"Name is the name of the mounted Volume"},"mountPath":{"type":"string","description":"MountPath is the path inside the container at which the Volume\nis mounted"},"subPath":{"type":"string","description":"SubPath is the path within the Volume that is mounted instead of\nits root"},"readOnly":{"type":"boolean","description":"ReadOnly mounts the Volume as read-only"}},"additionalProperties":false,"description":"VolumeMount mounts a defined Volume inside the managed container"},"octelium.api.main.core.v1.Service.Spec.Config.Upstream.Loadbalance":{"type":"object","properties":{"endpoints":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Loadbalance.Endpoint"},"description":"Endpoints is the list of endpoints"}},"additionalProperties":false,"description":"Loadbalance is the list of upstreams to load balance among. Random\nload balancing is currently automatically enforced among the\ndifferent endpoints."},"octelium.api.main.core.v1.Service.Spec.Config.Upstream.Loadbalance.Endpoint":{"type":"object","properties":{"url":{"type":"string","description":"URL is the canonical URL of the upstream.\nExamples are `http://example.com`, `postgres://pg.default.svc`,\n`tcp://my-custom-app:9090`, and\n`https://api.sandbox.paypal.com`."},"user":{"type":"string","description":"User is the User name if the upstream should be served by an\nactive Connection of a User. If set, that means that the Service\nis served by any connected client owned by that User and willing\nto serve the Service."}},"additionalProperties":false,"description":"Endpoint is a single upstream endpoint"},"octelium.api.main.core.v1.Service.Spec.Deployment":{"type":"object","properties":{"replicas":{"type":"integer","format":"uint32","minimum":0,"description":"Replicas sets the number of replicas of a deployed Service."}},"additionalProperties":false,"description":"Deployment sets the configuration of the Kubernetes deployment\nimplementing the Service"},"octelium.api.main.core.v1.Service.Spec.DynamicConfig":{"type":"object","properties":{"configs":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config"},"description":"Configs is the list of named configurations that will override the\nglobal/default Service configuration if a rule matches."},"rules":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.DynamicConfig.Rule"},"description":"Rules is the list of rules that are checked on a per-request basis,\nif a rule matches its named configuration is used as the Service\nconfiguration for that specific request."}},"additionalProperties":false,"description":"DynamicConfig overrides the global/static Service Config on a\nper-request basis. If no Rule matches, the global Config is used as a\nfallback."},"octelium.api.main.core.v1.Service.Spec.DynamicConfig.Rule":{"type":"object","properties":{"condition":{"$ref":"#/definitions/octelium.api.main.core.v1.Condition","description":"Condition is the condition"},"configName":{"type":"string","description":"configName is the name of the namedConfig that is used if the rule\nmatches.","x-oneof":"type"},"eval":{"type":"string","description":"Eval is the CEL expression that evaluates the Service config","x-oneof":"type"},"opa":{"type":"string","description":"OPA is the Rego OPA script that evaluates the Service config","x-oneof":"type"}},"additionalProperties":false,"description":"Rule is evaluated on a per-request basis to choose or generate the\nConfig used for that specific request","x-oneofs":{"type":["configName","eval","opa"]}},"octelium.api.main.core.v1.Service.Spec.Mode":{"type":"string","enum":["MODE_UNSET","TCP","UDP","HTTP","SSH","KUBERNETES","POSTGRES","MYSQL","GRPC","WEB","DNS","SOCKS5","RDP_WEB","MCP","LLM","RDP"],"description":"Mode is the application-layer protocol understood by the proxy\nimplementing the Service","x-enumDescriptions":{"MODE_UNSET":"MODE_UNSET is the default value. The Cluster automatically decides the\nmode using the scheme of the Upstream's URL.","TCP":"TCP is the TCP mode. This is the default mode if not explicitly set.","UDP":"UDP is the UDP mode","HTTP":"HTTP is the HTTP mode","SSH":"SSH is the SSH mode","KUBERNETES":"KUBERNETES is the Kubernetes mode","POSTGRES":"POSTGRES is the PostgreSQL mode","MYSQL":"MYSQL is the MySQL mode","GRPC":"GRPC is the gRPC mode","WEB":"WEB is the WEB mode. Use this mode over the typical HTTP mode as a hint\nfor the Cluster and the Users that this is a web application that can\nbe accessed over browsers by HUMAN Users.","DNS":"DNS is the DNS mode","SOCKS5":"SOCKS5 is the SOCKS5 proxy mode","RDP_WEB":"RDP_WEB is the browser-based RDP mode. It provides clientless RDP\naccess for HUMAN Users to upstream RDP servers directly from their\nbrowsers.","MCP":"MCP is the Model Context Protocol mode. MCP Services are HTTP-based:\nthey reuse the entire HTTP dataplane and additionally understand the\nMCP JSON-RPC semantics for access control, access logging and metrics.","LLM":"LLM is the LLM gateway mode. LLM Services are HTTP-based: they reuse\nthe entire HTTP dataplane and additionally understand the inference\nAPI semantics (i.e. the operation, the model, the streaming mode and\nthe token usage) for access control, access logging and metrics.","RDP":"RDP is the RDP mode"}},"octelium.api.main.core.v1.Service.Status":{"type":"object","properties":{"addresses":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Status.Address"},"description":"Addresses is the list of private addresses used by the Service for\nclient-based connections."},"namespaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"NamespaceRef is the reference of the owner Namespace"},"managedService":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Status.ManagedService","description":"ManagedService is the configuration of the Service if it is deployed\nand maintained by the Cluster itself."},"regionRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"RegionRef is the reference of the Region in which the Service is\ndeployed."},"primaryHostname":{"type":"string","description":"PrimaryHostname is the Service's primary hostname"},"additionalHostnames":{"type":"array","items":{"type":"string"},"description":"AdditionalHostnames is the list of the Service's additional hostnames"},"port":{"type":"integer","format":"uint32","minimum":0,"description":"Port is the port number used by the Service's listener"}},"additionalProperties":false,"description":"Status is the current status of the Service"},"octelium.api.main.core.v1.Service.Status.Address":{"type":"object","properties":{"dualStackIP":{"$ref":"#/definitions/octelium.api.main.meta.v1.DualStackIP","description":"DualStackIP is the IPv4 and IPv6 addresses of the Service"},"podRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"PodRef is the reference of the Pod serving the Service"}},"additionalProperties":false,"description":"Address is a private address at which the Service is reachable by the\nCluster's clients"},"octelium.api.main.core.v1.Service.Status.ManagedService":{"type":"object","properties":{"image":{"type":"string","description":"Image is the image URL of the managed Service's container"},"port":{"type":"integer","format":"uint32","minimum":0,"description":"Port is the port exposed by the managed Service's container"},"hasSubdomain":{"type":"boolean","description":"HasSubdomain determines whether the managed Service additionally\nserves the subdomains of its FQDNs."},"forwardHost":{"type":"boolean","description":"ForwardHost determines whether the downstream Host header is forwarded\nto the managed Service as is."},"type":{"type":"string","description":"Type is the type of the managed Service"},"k8sLabels":{"type":"object","additionalProperties":{"type":"string"},"description":"K8sLabels is the map of the additional Kubernetes labels set for the\nmanaged Service's Kubernetes resources."},"command":{"type":"array","items":{"type":"string"},"description":"Command overrides the container image's command"},"args":{"type":"array","items":{"type":"string"},"description":"Args is the list of command arguments that override the image\narguments"},"imagePullSecret":{"type":"string","description":"ImagePullSecret is the name of the Kubernetes secret used to pull the\ncontainer image from a private registry."},"healthCheck":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Status.ManagedService.HealthCheck","description":"HealthCheck sets the health check of the managed Service"},"resourceLimit":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Status.ManagedService.ResourceLimit","description":"ResourceLimit sets the managed Service's container resource limits"},"readOnlyFileSystem":{"type":"boolean","description":"ReadOnlyFileSystem sets the container's root filesystem to read-only"}},"additionalProperties":false,"description":"ManagedService is the configuration of a Service that is deployed and\nmaintained by the Cluster itself (e.g. the built-in Services of the\nCluster such as the AuthService and the Portal)"},"octelium.api.main.core.v1.Service.Status.ManagedService.HealthCheck":{"type":"object","properties":{"grpc":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Status.ManagedService.HealthCheck.GRPC","x-oneof":"type"}},"additionalProperties":false,"description":"HealthCheck is the health check used by the Cluster to probe the\nmanaged Service","x-oneofs":{"type":["grpc"]}},"octelium.api.main.core.v1.Service.Status.ManagedService.HealthCheck.GRPC":{"type":"object","properties":{"port":{"type":"integer","format":"int32","description":"Port is the port at which the health check is served"}},"additionalProperties":false,"description":"GRPC is a gRPC health check"},"octelium.api.main.core.v1.Service.Status.ManagedService.ResourceLimit":{"type":"object","properties":{"cpu":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Status.ManagedService.ResourceLimit.CPU","description":"CPU sets the CPU-related limit"},"memory":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Status.ManagedService.ResourceLimit.Memory","description":"Memory sets the memory-related limit"}},"additionalProperties":false,"description":"ResourceLimit sets the compute resource limits of the managed Service"},"octelium.api.main.core.v1.Service.Status.ManagedService.ResourceLimit.CPU":{"type":"object","properties":{"millicores":{"type":"integer","format":"uint32","minimum":0,"description":"Millicores is the integer that sets the limit milli-cores"}},"additionalProperties":false,"description":"CPU is the CPU-related limit"},"octelium.api.main.core.v1.Service.Status.ManagedService.ResourceLimit.Memory":{"type":"object","properties":{"megabytes":{"type":"integer","format":"uint32","minimum":0,"description":"Megabytes is the integer that sets the limit in megabytes"}},"additionalProperties":false,"description":"Memory is the memory-related limit"},"octelium.api.main.core.v1.ServiceList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `ServiceList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service"},"description":"Items is the list of Services."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"ServiceList is the list of Services returned by the ListService method."},"octelium.api.main.core.v1.Session":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `Session`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Spec","description":"Spec is the Session specification."},"status":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status","description":"Status is the current status of the Session."}},"additionalProperties":false,"description":"Session represents an authenticated session of a User. A User can interact\nwith the Cluster and access its Services only through a valid Session which\nis automatically created by the Cluster upon a successful authentication.\nThe Cluster issues an access token and a refresh token representing the\nSession's validity and the User has to periodically re-authenticate to keep\nthe Session valid until it eventually expires and is automatically deleted\nby the Cluster."},"octelium.api.main.core.v1.Session.Spec":{"type":"object","properties":{"expiresAt":{"type":"string","format":"date-time","description":"ExpiresAt is the timestamp at which the Session expires."},"state":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Spec.State","description":"State is the Session state"},"authorization":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Spec.Authorization","description":"Authorization sets the authorization-related configuration"}},"additionalProperties":false,"description":"Spec is the Session specification"},"octelium.api.main.core.v1.Session.Spec.Authorization":{"type":"object","properties":{"policies":{"type":"array","items":{"type":"string"},"description":"Policies is the list of standalone Policies"},"inlinePolicies":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.InlinePolicy"},"description":"InlinePolicies is the list of inline Policies"}},"additionalProperties":false,"description":"Authorization sets the Policies that are applied to the Session. These\nPolicies are typically copied from the Credential that created the\nSession upon a successful authentication."},"octelium.api.main.core.v1.Session.Spec.State":{"type":"string","enum":["STATE_UNKNOWN","ACTIVE","PENDING","REJECTED"],"description":"State is the state of the Session","x-enumDescriptions":{"STATE_UNKNOWN":"STATE_UNKNOWN is not used","ACTIVE":"ACTIVE means that the Session is active","PENDING":"PENDING means that the Session is pending an activation or rejection.","REJECTED":"REJECTED means that the Session is rejected"}},"octelium.api.main.core.v1.Session.Status":{"type":"object","properties":{"userRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"UserRef is the reference to the User of the Session"},"deviceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"DeviceRef is the reference to the Device of the Session if available"},"type":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Type","description":"Type is the Session type"},"isBrowser":{"type":"boolean","description":"IsBrowser means that the Session is used by a browser."},"authentication":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Authentication","description":"Authentication includes the information of the authentication operation\nused currently by the Session"},"lastAuthentications":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Authentication"},"description":"LastAuthentications is the list of last Authentications"},"initialAuthentication":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Authentication","description":"InitialAuthentication is the initial Authentication of the Session"},"isConnected":{"type":"boolean","description":"IsConnected shows whether the Session has a connected client. Only useful\nfor CLIENT Sessions."},"connection":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Connection","description":"Connection shows the connection information of the currently connected\nSession"},"credentialRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"CredentialRef is the reference of the Credential that created the\nSession, if any"},"ext":{"type":"object","additionalProperties":{"type":"object"},"description":"Ext is a map of internal Cluster-managed extension data"},"totalAuthentications":{"type":"integer","format":"uint32","minimum":0,"description":"TotalAuthentications is the total number of the authentication\noperations performed by the Session"},"scopes":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Scope"},"description":"Scopes is the list of scopes used by the Session"},"totalConnections":{"type":"integer","format":"uint32","minimum":0,"description":"TotalConnections is the total number of the connections established by\nthe Session"},"lastConnections":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.LastConnection"},"description":"LastConnections is the list of the last connections of the Session"},"isLocked":{"type":"boolean","description":"IsLocked indicates whether the Session is locked by the Cluster"},"authenticatorAction":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.AuthenticatorAction","description":"AuthenticatorAction is the Authenticator-related action that the Session\nis currently required or recommended to perform"},"requiredAuthenticatorRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"RequiredAuthenticatorRef is the reference of the Authenticator that the\nSession is required to authenticate with, if any"}},"additionalProperties":false,"description":"Status is the current status of the Session"},"octelium.api.main.core.v1.Session.Status.Authentication":{"type":"object","properties":{"info":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Authentication.Info","description":"Info is the detailed information of the authentication operation"},"setAt":{"type":"string","format":"date-time","description":"SetAt is the timestamp at which the authentication was performed"},"tokenID":{"type":"string","description":"TokenID is the ID of the Session's token pair that was issued by this\nauthentication. It is rotated with every re-authentication."},"accessTokenDuration":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"AccessTokenDuration is the duration of the issued access token"},"refreshTokenDuration":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"RefreshTokenDuration is the duration of the issued refresh token. Once\nthe refresh token expires, the Session as a whole is deemed expired."}},"additionalProperties":false,"description":"Authentication is the information of a single authentication operation\nof the Session"},"octelium.api.main.core.v1.Session.Status.Authentication.Info":{"type":"object","properties":{"type":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Authentication.Info.Type","description":"Type is the method by which the Session was authenticated"},"external":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Authentication.Info.External","description":"External is the information of an authentication done by an\nexternal owner of the Session","x-oneof":"details"},"identityProvider":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Authentication.Info.IdentityProvider","description":"IdentityProvider is the information of an IdentityProvider-based\nauthentication","x-oneof":"details"},"credential":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Authentication.Info.Credential","description":"Credential is the information of a Credential-based authentication","x-oneof":"details"},"authenticator":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Authentication.Info.Authenticator","description":"Authenticator is the information of an Authenticator-based\nauthentication","x-oneof":"details"},"aal":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Authentication.Info.AAL","description":"AAL is the authenticator assurance level of the authentication"},"downstream":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Authentication.Info.Downstream","description":"Downstream is the information of the client that performed the\nauthentication"},"geoip":{"$ref":"#/definitions/octelium.api.main.core.v1.GeoIP","description":"GeoIP is the geolocation information of the client that performed\nthe authentication. It is only set if geolocation is enabled in the\nClusterConfig."}},"additionalProperties":false,"description":"Info is the detailed information of the authentication operation","x-oneofs":{"details":["external","identityProvider","credential","authenticator"]}},"octelium.api.main.core.v1.Session.Status.Authentication.Info.AAL":{"type":"string","enum":["AAL_UNSET","AAL1","AAL2","AAL3"],"description":"AAL is the authenticator assurance level (AAL) of the\nauthentication as defined by NIST SP 800-63B","x-enumDescriptions":{"AAL_UNSET":"AAL_UNSET is not used","AAL1":"AAL1 provides some assurance that the User controls a single\nauthentication factor","AAL2":"AAL2 provides high confidence that the User controls two distinct\nauthentication factors","AAL3":"AAL3 provides very high confidence that the User controls a\nhardware-based authenticator"}},"octelium.api.main.core.v1.Session.Status.Authentication.Info.Authenticator":{"type":"object","properties":{"authenticatorRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"AuthenticatorRef is the reference of the Authenticator that\nauthenticated the User"},"type":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator.Status.Type","description":"Type is the type of the Authenticator (e.g. FIDO, TOTP)"},"info":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Authentication.Info.Authenticator.Info","description":"Info is the type-specific information of the Authenticator"},"mode":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Authentication.Info.Authenticator.Mode","description":"Mode is the role that the Authenticator played in the\nauthentication"}},"additionalProperties":false,"description":"Authenticator is the information of an Authenticator-based\nauthentication (e.g. MFA or a Passkey login)"},"octelium.api.main.core.v1.Session.Status.Authentication.Info.Authenticator.Info":{"type":"object","properties":{"fido":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Authentication.Info.Authenticator.Info.FIDO","x-oneof":"type"}},"additionalProperties":false,"description":"Info is the type-specific information of the Authenticator","x-oneofs":{"type":["fido"]}},"octelium.api.main.core.v1.Session.Status.Authentication.Info.Authenticator.Info.FIDO":{"type":"object","properties":{"userPresent":{"type":"boolean","description":"UserPresent means that the User presence check was satisfied"},"userVerified":{"type":"boolean","description":"UserVerified means that the User was verified by the\nAuthenticator (e.g. via a PIN or a biometric)"},"isHardware":{"type":"boolean","description":"IsHardware means that the Authenticator is hardware-backed\n(e.g. a security key or a platform authenticator)"},"isSoftware":{"type":"boolean","description":"IsSoftware means that the Authenticator is software-based\n(e.g. a password manager)"},"isAttestationVerified":{"type":"boolean","description":"IsAttestationVerified means that the Authenticator's\nattestation was verified"},"isPasskey":{"type":"boolean","description":"IsPasskey means that the Authenticator is a Passkey (i.e. it\nuses a resident/discoverable key credential)"},"aaguid":{"type":"string","description":"AAGUID is the Authenticator Attestation GUID that identifies\nthe model of the Authenticator"}},"additionalProperties":false,"description":"FIDO is the information of a FIDO/WebAuthn Authenticator"},"octelium.api.main.core.v1.Session.Status.Authentication.Info.Authenticator.Mode":{"type":"string","enum":["MODE_UNSET","DEFAULT","PASSKEY","MFA"],"description":"Mode is the role that the Authenticator played in the\nauthentication","x-enumDescriptions":{"MODE_UNSET":"MODE_UNSET is not used","DEFAULT":"DEFAULT means that the Authenticator was used for a\nre-authentication of an existent Session","PASSKEY":"PASSKEY means that the Authenticator was used for a direct\npasswordless Passkey login","MFA":"MFA means that the Authenticator was used as a second factor\nafter a successful IdentityProvider authentication"}},"octelium.api.main.core.v1.Session.Status.Authentication.Info.Credential":{"type":"object","properties":{"credentialRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"CredentialRef is the reference of the Credential that\nauthenticated the User"},"type":{"$ref":"#/definitions/octelium.api.main.core.v1.Credential.Spec.Type","description":"Type is the type of the Credential"},"tokenID":{"type":"string","description":"TokenID is the ID of the Credential's token that was used for the\nauthentication. It is rotated whenever the Credential is rotated."}},"additionalProperties":false,"description":"Credential is the information of a Credential-based authentication"},"octelium.api.main.core.v1.Session.Status.Authentication.Info.Downstream":{"type":"object","properties":{"ipAddress":{"type":"string","description":"IPAddress is the IP address of the client"},"userAgent":{"type":"string","description":"UserAgent is the `User-Agent` request header of the client"},"clientVersion":{"type":"string","description":"ClientVersion is the version of the Octelium client"}},"additionalProperties":false,"description":"Downstream is the information of the client that performed the\nauthentication"},"octelium.api.main.core.v1.Session.Status.Authentication.Info.External":{"type":"object","properties":{"ownerRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"OwnerRef is the reference of the external owner of the Session"},"attrs":{"type":"object","description":"Attrs is a map of the attributes provided by the external owner"}},"additionalProperties":false,"description":"External is the information of an authentication done by an external\nowner of the Session"},"octelium.api.main.core.v1.Session.Status.Authentication.Info.IdentityProvider":{"type":"object","properties":{"identityProviderRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"IdentityProviderRef is the reference of the IdentityProvider that\nauthenticated the User"},"type":{"$ref":"#/definitions/octelium.api.main.core.v1.IdentityProvider.Status.Type","description":"Type is the type of the IdentityProvider (e.g. OIDC, SAML)"},"identifier":{"type":"string","description":"Identifier is the value that identifies the User account according\nto the IdentityProvider"},"picURL":{"type":"string","description":"PicURL is the URL of the User's picture as provided by the\nIdentityProvider"},"email":{"type":"string","description":"Email is the User's email as provided by the IdentityProvider"}},"additionalProperties":false,"description":"IdentityProvider is the information of an IdentityProvider-based\nauthentication"},"octelium.api.main.core.v1.Session.Status.Authentication.Info.Type":{"type":"string","enum":["TYPE_UNSET","CREDENTIAL","INTERNAL","REFRESH_TOKEN","EXTERNAL","IDENTITY_PROVIDER","AUTHENTICATOR"],"description":"Type is the method by which the Session was authenticated","x-enumDescriptions":{"TYPE_UNSET":"TYPE_UNSET is not used","CREDENTIAL":"CREDENTIAL means that the authentication was done via a Credential","INTERNAL":"INTERNAL means that the authentication was done internally by the\nCluster itself","REFRESH_TOKEN":"REFRESH_TOKEN means that the authentication was a\nre-authentication done via the Session's refresh token","EXTERNAL":"EXTERNAL means that the authentication was done by an external\nowner of the Session","IDENTITY_PROVIDER":"IDENTITY_PROVIDER means that the authentication was done via an\nIdentityProvider","AUTHENTICATOR":"AUTHENTICATOR means that the authentication was done via an\nAuthenticator"}},"octelium.api.main.core.v1.Session.Status.AuthenticatorAction":{"type":"string","enum":["AUTHENTICATOR_ACTION_UNSET","AUTHENTICATION_REQUIRED","REGISTRATION_REQUIRED","AUTHENTICATION_RECOMMENDED","REGISTRATION_RECOMMENDED"],"description":"AuthenticatorAction is the Authenticator-related action that the\nSession is currently required or recommended to perform","x-enumDescriptions":{"AUTHENTICATOR_ACTION_UNSET":"AUTHENTICATOR_ACTION_UNSET means that no action is needed","AUTHENTICATION_REQUIRED":"AUTHENTICATION_REQUIRED means that the Session must authenticate via\nan Authenticator (i.e. MFA is enforced)","REGISTRATION_REQUIRED":"REGISTRATION_REQUIRED means that the Session must register an\nAuthenticator","AUTHENTICATION_RECOMMENDED":"AUTHENTICATION_RECOMMENDED means that authenticating via an\nAuthenticator is recommended but not enforced","REGISTRATION_RECOMMENDED":"REGISTRATION_RECOMMENDED means that registering an Authenticator is\nrecommended but not enforced"}},"octelium.api.main.core.v1.Session.Status.Connection":{"type":"object","properties":{"startedAt":{"type":"string","format":"date-time","description":"StartedAt is the timestamp at which the connection started"},"lastSeenAt":{"type":"string","format":"date-time","description":"LastSeenAt is the timestamp at which the connected client was last\nseen by the Cluster"},"upstreams":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Connection.Upstream"},"description":"Upstreams is the list of upstreams actually served by this connected\nSession"},"addresses":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.meta.v1.DualStackNetwork"},"description":"Addresses is the list private addresses used by the connected Session's\nclient"},"l3Mode":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Connection.L3Mode","description":"L3Mode is the layer-3 mode of the connection"},"serviceOptions":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Connection.ServiceOptions","description":"ServiceOptions shows the configuration of the served Services"},"x25519PublicKey":{"type":"string","contentEncoding":"base64","description":"X25519PublicKey is the raw x25519 public key of the Connection.\nCurrently used by WireGuard-based connections."},"ed25519PublicKey":{"type":"string","contentEncoding":"base64","description":"Ed25519PublicKey is the raw ed25519 public key of the Connection.\nCurrently used for eSSH."},"type":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Connection.Type","description":"Type is the connection type"},"publishedServices":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Connection.PublishedService"},"description":"PublishedServices is the list of published Services to the connected\nclient host"},"ignoreDNS":{"type":"boolean","description":"IgnoreDNS means that the connected client does not use the Cluster DNS"},"eSSHEnable":{"type":"boolean","description":"ESSHEnable means that serving eSSH Services is enabled"},"eSSHPort":{"type":"integer","format":"int32","description":"ESSHPort is the port number of the eSSH Server. Only meaningful if\nESSHEnable is set to true"},"eSOCKS5Enable":{"type":"boolean","description":"ESOCKS5Enable means that serving embedded SOCKS5 Services is enabled"},"eSOCKS5Port":{"type":"integer","format":"int32","description":"ESOCKS5Port is the port number of the embedded SOCKS5 server. Only\nmeaningful if ESOCKS5Enable is set to true"}},"additionalProperties":false,"description":"Connection is the information of the currently connected client of a\nCLIENT Session"},"octelium.api.main.core.v1.Session.Status.Connection.L3Mode":{"type":"string","enum":["BOTH","V4","V6"],"description":"L3Mode is the layer-3 mode of the connection","x-enumDescriptions":{"BOTH":"BOTH means that the connection is dual-stack","V4":"V4 means that the connection is IPv4-only","V6":"V6 means that the connection is IPv6-only"}},"octelium.api.main.core.v1.Session.Status.Connection.PublishedService":{"type":"object","properties":{"serviceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"ServiceRef is the reference of the published Service"},"port":{"type":"integer","format":"int32","description":"Port is the local port at which the Service is published"},"address":{"type":"string","description":"Address is the local address at which the Service is published"}},"additionalProperties":false,"description":"PublishedService is a Service that is published to the connected\nclient's host (i.e. reachable locally at the client's side)"},"octelium.api.main.core.v1.Session.Status.Connection.ServiceOptions":{"type":"object","properties":{"serveAll":{"type":"boolean","description":"ServeAll means that the Session is willing to serve any Service that\ncan be served by the Session's User"},"requestedServices":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Connection.ServiceOptions.RequestedService"},"description":"RequestedServices is the list of the Services that the Session\nexplicitly requested to serve"},"portStart":{"type":"integer","format":"int32","description":"PortStart is the starting listen port used by the client to serve its\nServices"}},"additionalProperties":false,"description":"ServiceOptions is the configuration of the Services that the connected\nSession is willing to serve as upstreams"},"octelium.api.main.core.v1.Session.Status.Connection.ServiceOptions.RequestedService":{"type":"object","properties":{"serviceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"ServiceRef is the reference of the requested Service"},"namespaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"NamespaceRef is the reference of the requested Service's Namespace"}},"additionalProperties":false,"description":"RequestedService is a Service that the Session explicitly requested\nto serve"},"octelium.api.main.core.v1.Session.Status.Connection.Type":{"type":"string","enum":["TYPE_UNKNOWN","WIREGUARD","QUICV0"],"description":"Type is the type of the connection's tunnel","x-enumDescriptions":{"TYPE_UNKNOWN":"TYPE_UNKNOWN is not used","WIREGUARD":"WIREGUARD means that the connection is WireGuard","QUICV0":"QUICV0 means that the connection is QUICv0"}},"octelium.api.main.core.v1.Session.Status.Connection.Upstream":{"type":"object","properties":{"port":{"type":"integer","format":"int32","description":"Port is the port at which the client listens to serve the upstream"},"l4Type":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Connection.Upstream.L4Type","description":"L4Type is the layer-4 protocol of the upstream"},"serviceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"ServiceRef is the reference of the served Service"},"namespaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"NamespaceRef is the reference of the served Service's Namespace"},"backend":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Connection.Upstream.Backend","description":"Backend is the actual upstream reachable from the connected\nSession's host"},"mode":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Connection.Upstream.Mode","description":"Mode is how the upstream is served by the connected Session"}},"additionalProperties":false,"description":"Upstream is a Service that is actually served by the connected\nSession (i.e. the Session's host reaches the actual upstream on behalf\nof the Cluster)"},"octelium.api.main.core.v1.Session.Status.Connection.Upstream.Backend":{"type":"object","properties":{"host":{"type":"string","description":"Host is the host of the actual upstream"},"port":{"type":"integer","format":"int32","description":"Port is the listen port of the actual upstream"}},"additionalProperties":false,"description":"Backend is the actual upstream that is reachable from the connected\nSession's host"},"octelium.api.main.core.v1.Session.Status.Connection.Upstream.L4Type":{"type":"string","enum":["L4_UNKNOWN","TCP","UDP"],"description":"L4Type is the layer-4 protocol of the upstream","x-enumDescriptions":{"L4_UNKNOWN":"L4_UNKNOWN is not used","TCP":"TCP means that the upstream is TCP-based","UDP":"UDP means that the upstream is UDP-based"}},"octelium.api.main.core.v1.Session.Status.Connection.Upstream.Mode":{"type":"string","enum":["MODE_UNSET","DEFAULT","ESSH"],"description":"Mode is how the upstream is served by the connected Session","x-enumDescriptions":{"MODE_UNSET":"MODE_UNSET is not used","DEFAULT":"DEFAULT means that the upstream is a typical server that can\nbe connected to from the client","ESSH":"ESSH means that the upstream is an embedded SSH server running\nfrom within the client"}},"octelium.api.main.core.v1.Session.Status.LastConnection":{"type":"object","properties":{"startedAt":{"type":"string","format":"date-time","description":"StartedAt is the timestamp at which the connection started"},"endedAt":{"type":"string","format":"date-time","description":"EndedAt is the timestamp at which the connection ended"}},"additionalProperties":false,"description":"LastConnection is the information of a past connection of the Session"},"octelium.api.main.core.v1.Session.Status.Type":{"type":"string","enum":["TYPE_UNKNOWN","CLIENT","CLIENTLESS"],"description":"Type is the type of the Session","x-enumDescriptions":{"TYPE_UNKNOWN":"TYPE_UNKNOWN is not used","CLIENT":"CLIENT is meant for client-based Sessions (i.e. the octelium client)","CLIENTLESS":"CLIENTLESS is meant for client-less/BeyondCorp-based Sessions"}},"octelium.api.main.core.v1.SessionList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `SessionList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Session"},"description":"Items is the list of Sessions."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"SessionList is the list of Sessions returned by the ListSession method."},"octelium.api.main.core.v1.User":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `User`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.core.v1.User.Spec","description":"Spec is the User specification."},"status":{"$ref":"#/definitions/octelium.api.main.core.v1.User.Status","description":"Status is the current status of the User."}},"additionalProperties":false,"description":"User is an identity within the Cluster. A User is either a HUMAN who\nauthenticates via the Cluster's IdentityProviders, or a WORKLOAD (e.g. a\ncontainer, a server, a CI job, etc...) which authenticates via its\nCredentials. Users are members of Groups and every successful\nauthentication of a User creates a Session."},"octelium.api.main.core.v1.User.Spec":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"string"},"description":"Groups is the list of Group names that this User belongs to."},"email":{"type":"string","description":"Email sets the default e-mail for the User. It is used for User\nauthentication if the IdentityProvider returns the email value in the\nauthentication information (e.g. OIDC identity tokens, SAML 2.0\nassertions or GitHub OAuth2)."},"type":{"$ref":"#/definitions/octelium.api.main.core.v1.User.Spec.Type","description":"Type is the User's type. It can either be HUMAN or WORKLOAD"},"info":{"$ref":"#/definitions/octelium.api.main.core.v1.User.Spec.Info","description":"Info is the User information. Only used for HUMAN Users currently."},"session":{"$ref":"#/definitions/octelium.api.main.core.v1.User.Spec.Session","description":"Session sets the Session-related options."},"authorization":{"$ref":"#/definitions/octelium.api.main.core.v1.User.Spec.Authorization","description":"Authorization sets the authorization-related configuration"},"isDisabled":{"type":"boolean","description":"IsDisabled de-activates/disables the User. Once disabled, the User\ncannot interact with the Cluster or access its Services until this field\nis set to false again."},"attrs":{"type":"object","description":"Attrs is a map of user-defined attributes, mostly used in authorization\nrules. It is strongly recommended to stick to camelCase in order to be\nconformant with Octelium's API naming conventions."},"authentication":{"$ref":"#/definitions/octelium.api.main.core.v1.User.Spec.Authentication","description":"Authentication sets the authentication-related configuration"}},"additionalProperties":false,"description":"Spec is the User specification"},"octelium.api.main.core.v1.User.Spec.Authentication":{"type":"object","properties":{"identities":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.User.Spec.Authentication.Identity"},"description":"Identities is the list of explicit User identities"},"authenticatorDefaultState":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator.Spec.State","description":"AuthenticatorDefaultState is the default state of a newly registered\nAuthenticator. It is typically used to require an explicit approval of\nthe User's Authenticators before they can be used."}},"additionalProperties":false,"description":"Authentication sets how the User authenticates to the Cluster"},"octelium.api.main.core.v1.User.Spec.Authentication.Identity":{"type":"object","properties":{"identityProvider":{"type":"string","description":"IdentityProvider is the IdentityProvider's name."},"identifier":{"type":"string","description":"Identifier is the value that identifies the User account according to\nthe provider. (e.g. the username in the case of Github and Gitlab,\nthe email for Google, OpenID Connect, SAML 2.0, etc...)"}},"additionalProperties":false,"description":"Identity is an identity of the User at a specific IdentityProvider"},"octelium.api.main.core.v1.User.Spec.Authorization":{"type":"object","properties":{"policies":{"type":"array","items":{"type":"string"},"description":"Policies is the list of standalone Policies"},"inlinePolicies":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.InlinePolicy"},"description":"InlinePolicies is the list of inline Policies"}},"additionalProperties":false,"description":"Authorization sets the Policies that are applied to the User"},"octelium.api.main.core.v1.User.Spec.Info":{"type":"object","properties":{"locale":{"type":"string","description":"Locale is the User's locale (e.g. \"en-US\")"},"phone":{"type":"string","description":"Phone is the User's phone number"},"firstName":{"type":"string","description":"FirstName is the User's first/given name"},"middleName":{"type":"string","description":"MiddleName is the User's middle name"},"lastName":{"type":"string","description":"LastName is the User's last/family name"},"website":{"type":"string","description":"Website is the URL of the User's website"},"country":{"type":"string","description":"Country is the User's country"}},"additionalProperties":false,"description":"Info is the personal information of the User"},"octelium.api.main.core.v1.User.Spec.Session":{"type":"object","properties":{"clientDuration":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"ClientDuration sets the Session duration used by clients after which\nthe Session is deemed expired and automatically deleted by the\nCluster."},"clientlessDuration":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"ClientlessDuration sets the Session duration for the\nclient-less/BeyondCorp mode after which the Session is deemed expired\nand automatically deleted by the Cluster."},"accessTokenDuration":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"AccessTokenDuration sets the access token duration"},"refreshTokenDuration":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"RefreshTokenDuration sets the refresh token duration"},"maxPerUser":{"type":"integer","format":"uint32","minimum":0,"description":"MaxPerUser sets the max number of Sessions per User"},"defaultState":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Spec.State","description":"DefaultState is the default state of a newly created Session"}},"additionalProperties":false,"description":"Session sets the options of the Sessions created for the User"},"octelium.api.main.core.v1.User.Spec.Type":{"type":"string","enum":["TYPE_UNKNOWN","HUMAN","WORKLOAD"],"description":"Type is the type of the User","x-enumDescriptions":{"TYPE_UNKNOWN":"TYPE_UNKNOWN is reserved. Not used by any User.","HUMAN":"HUMAN means that the User is used by a human.","WORKLOAD":"WORKLOAD means that the User is used by a workload (e.g. container,\npod, sdk, server, etc...)"}},"octelium.api.main.core.v1.User.Status":{"type":"object","properties":{"ext":{"type":"object","additionalProperties":{"type":"object"},"description":"Ext is a map of internal Cluster-managed extension data."},"identityProviderRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"IdentityProviderRef is the reference of the IdentityProvider that\nprovisioned the User."},"isLocked":{"type":"boolean","description":"IsLocked indicates whether the User is locked by the Cluster."}},"additionalProperties":false,"description":"Status is the current status of the User"},"octelium.api.main.core.v1.UserList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `UserList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.User"},"description":"Items is the list of Users."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"UserList is the list of Users returned by the ListUser method."},"octelium.api.main.meta.v1.CommonListOptions":{"type":"object","properties":{"page":{"type":"integer","format":"uint32","minimum":0,"description":"Page is the page number, starts at zero."},"itemsPerPage":{"type":"integer","format":"uint32","minimum":0,"description":"ItemsPerPage is the items per page"},"orderBy":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions.OrderBy","description":"OrderBy orders the list"}},"additionalProperties":false,"description":"CommonListOptions is the listing options that are common to every List\nrequest."},"octelium.api.main.meta.v1.CommonListOptions.OrderBy":{"type":"object","properties":{"type":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions.OrderBy.Type","description":"Type is the field by which the list is ordered"},"mode":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions.OrderBy.Mode","description":"Mode is the direction in which the list is ordered"}},"additionalProperties":false,"description":"OrderBy sets the ordering of the returned list"},"octelium.api.main.meta.v1.CommonListOptions.OrderBy.Mode":{"type":"string","enum":["MODE_UNSET","ASC","DESC"],"description":"Mode is the direction in which the list is ordered","x-enumDescriptions":{"MODE_UNSET":"MODE_UNSET falls back to the default direction","ASC":"ASC orders the list in an ascending order","DESC":"DESC orders the list in a descending order"}},"octelium.api.main.meta.v1.CommonListOptions.OrderBy.Type":{"type":"string","enum":["TYPE_UNSET","NAME","CREATED_AT"],"description":"Type is the field by which the list is ordered","x-enumDescriptions":{"TYPE_UNSET":"TYPE_UNSET falls back to the default behavior which is to order the\nlist by the creation date.","NAME":"NAME orders the list by the objects' names","CREATED_AT":"CREATED_AT orders the list by the objects' creation dates"}},"octelium.api.main.meta.v1.DeleteOptions":{"type":"object","properties":{"uid":{"type":"string","description":"UID is the object's UID."},"name":{"type":"string","description":"Name is the object name that needs to be deleted. Either the name or the\nUID must be used."}},"additionalProperties":false,"description":"DeleteOptions is the request of the Delete methods. The object to be deleted\nis identified by either its UID or its name."},"octelium.api.main.meta.v1.DualStackIP":{"type":"object","properties":{"ipv4":{"type":"string","description":"IPv4 is the IPv4 address."},"ipv6":{"type":"string","description":"IPv6 is the IPv6 address."}},"additionalProperties":false,"description":"DualStackIP is a pair of an IPv4 and an IPv6 address."},"octelium.api.main.meta.v1.DualStackNetwork":{"type":"object","properties":{"v4":{"type":"string","description":"V4 is the IPv4 network address represented as CIDR notation IP address\nand prefix length (e.g. `192.0.2.0/24`)."},"v6":{"type":"string","description":"V6 is the IPv6 network address represented as CIDR notation IP address\nand prefix length (e.g. `2001:db8::/32`)."}},"additionalProperties":false,"description":"DualStackNetwork is a pair of an IPv4 and an IPv6 network range."},"octelium.api.main.meta.v1.Duration":{"type":"object","properties":{"milliseconds":{"type":"integer","format":"uint32","minimum":0,"description":"Milliseconds is the duration set in milliseconds","x-oneof":"type"},"seconds":{"type":"integer","format":"uint32","minimum":0,"description":"Seconds is the duration set in seconds","x-oneof":"type"},"minutes":{"type":"integer","format":"uint32","minimum":0,"description":"Minutes is the duration set in minutes","x-oneof":"type"},"hours":{"type":"integer","format":"uint32","minimum":0,"description":"Hours is the duration set in hours","x-oneof":"type"},"days":{"type":"integer","format":"uint32","minimum":0,"description":"Days is the duration set in days","x-oneof":"type"},"weeks":{"type":"integer","format":"uint32","minimum":0,"description":"Weeks is the duration set in weeks","x-oneof":"type"},"months":{"type":"integer","format":"uint32","minimum":0,"description":"Months is the duration set in months","x-oneof":"type"}},"additionalProperties":false,"description":"Duration is a length of time that is expressed in a single unit of choice.\nExactly one of the units is set (e.g. `seconds: 30`).","x-oneofs":{"type":["milliseconds","seconds","minutes","hours","days","weeks","months"]}},"octelium.api.main.meta.v1.GetOptions":{"type":"object","properties":{"uid":{"type":"string","description":"UID is the object's UID"},"name":{"type":"string","description":"Name is the object's name"}},"additionalProperties":false,"description":"GetOptions is the request of the Get methods. The object to be retrieved is\nidentified by either its UID or its name."},"octelium.api.main.meta.v1.ListResponseMeta":{"type":"object","properties":{"page":{"type":"integer","format":"uint32","minimum":0,"description":"Page is the page number. Starts with zero."},"itemsPerPage":{"type":"integer","format":"uint32","minimum":0,"description":"ItemsPerPage is the number of items per page."},"totalCount":{"type":"integer","format":"uint32","minimum":0,"description":"TotalCount is the total count of items that can be obtained."},"hasMore":{"type":"boolean","description":"HasMore shows whether a next page is available"}},"additionalProperties":false,"description":"ListResponseMeta is the pagination information that is common to every List\nresponse."},"octelium.api.main.meta.v1.Metadata":{"type":"object","properties":{"uid":{"type":"string","description":"UID is the unique UUID value for the object assigned by the Cluster.\nRead-only."},"name":{"type":"string","description":"Name is the name of the object. It must be unique within a certain\nAPI/Version/Kind tuple."},"createdAt":{"type":"string","format":"date-time","description":"CreatedAt is the timestamp of creation of the object. Read-only."},"updatedAt":{"type":"string","format":"date-time","description":"UpdatedAt is the timestamp of when the object was last updated.\nRead-only."},"displayName":{"type":"string","description":"DisplayName is the name that can be shown publicly for the object. Doesn't\nneed to be unique."},"description":{"type":"string","description":"Description is used to describe the object in a short sentence. Maximum\ncharacters are 1000."},"labels":{"type":"object","additionalProperties":{"type":"string"},"description":"Labels is a map of string keys and values to organize objects."},"tags":{"type":"array","items":{"type":"string"},"description":"Tags is an optional array of tags that classify the Resource."},"annotations":{"type":"object","additionalProperties":{"type":"string"},"description":"Annotations is a map of string keys and values that can be used to store\narbitrary metadata about the object."},"picURL":{"type":"string","description":"PicURL is the Picture URL of the resource."},"resourceVersion":{"type":"string","description":"ResourceVersion is a unique ID that represent the current version of the\nresource object. Used by the Cluster to detect updates."},"lastResourceVersion":{"type":"string","description":"LastResourceVersion is the ResourceVersion of the last update of the\nResource."},"actorRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"ActorRef is the object reference to the Actor resource, typically a\nSession, who is responsible for the current resource change. If ActorRef is\nnot set, then the current change of the resource was done by the Cluster"},"actorOperation":{"type":"string","description":"ActorOperation is the gRPC full method triggered by the actorRef to modify\nthe Resource"},"isSystem":{"type":"boolean","description":"IsSystem means that the resource is created by the Cluster and it cannot be\nmanaged by the administrators. Read-only."},"specLabels":{"type":"object","additionalProperties":{"type":"string"},"description":"SpecLabels is map used internally by the Cluster for quick searches among\nlists of objects. Read-only."},"isUserHidden":{"type":"boolean","description":"IsUserHidden means that the resource object is hidden from ordinary Users\nand should not be exposed via the User APIs."},"isSystemHidden":{"type":"boolean","description":"IsSystemHidden means that the resource object is hidden by the Cluster and\nshould not be exposed via the APIs."},"systemLabels":{"type":"object","additionalProperties":{"type":"string"},"description":"SystemLabels is a similar map to specLabels. Used only by the Cluster."}},"additionalProperties":false,"description":"Metadata is the metadata that is common to every Cluster resource. It\ncarries the resource's identity (i.e. its UID and name), its\nhuman-readable information as well as the Cluster-managed bookkeeping of the\nresource's versioning and provenance."},"octelium.api.main.meta.v1.ObjectReference":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version of the reference resource"},"kind":{"type":"string","description":"Kind is the resource kind. A kind is unique per an APIVersion."},"uid":{"type":"string","description":"UID is the resource object UID. A UID is unique across the entire Cluster."},"name":{"type":"string","description":"Name is the resource object name. A name is unique per a certain kind."},"resourceVersion":{"type":"string","description":"ResourceVersion is the resourceVersion of the resource."}},"additionalProperties":false,"description":"ObjectReference is a reference to another Cluster resource. It identifies\nthe referenced resource by its kind and either its UID or its name."},"octelium.api.main.meta.v1.OperationResult":{"type":"object","properties":{},"additionalProperties":false,"description":"OperationResult is the response of the methods that return no resource (e.g.\nthe Delete methods). It is intentionally empty."},"octelium.api.main.user.v1.ConnectionState":{"type":"object","properties":{"mtu":{"type":"integer","format":"int32","description":"MTU is the link MTU used at the client side"},"x25519Key":{"type":"string","contentEncoding":"base64","description":"X25519Key is the WireGuard private key used by the client"},"ed25519Key":{"type":"string","contentEncoding":"base64"},"addresses":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.meta.v1.DualStackNetwork"},"description":"Addresses is the list of the dual-stack addresses of the Connection."},"gateways":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.user.v1.Gateway"},"description":"Gateways is the list of the Gateways."},"dns":{"$ref":"#/definitions/octelium.api.main.user.v1.DNS","description":"DNS sets the private DNS information."},"serviceConfigs":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.user.v1.ConnectionState.ServiceConfig"},"description":"ServiceConfigs is the list of Service configs set to the client host"},"l3Mode":{"$ref":"#/definitions/octelium.api.main.user.v1.ConnectionState.L3Mode","description":"L3Mode sets the layer-3 mode approved by the Cluster."},"serviceOptions":{"$ref":"#/definitions/octelium.api.main.user.v1.ConnectionState.ServiceOptions","description":"ServiceOptions is the hosted Service information."},"cidr":{"$ref":"#/definitions/octelium.api.main.meta.v1.DualStackNetwork","description":"CIDR is the Cluster Service CIDR."}},"additionalProperties":false},"octelium.api.main.user.v1.ConnectionState.L3Mode":{"type":"string","enum":["BOTH","V4","V6"],"x-enumDescriptions":{"BOTH":"BOTH approves that the Connection is ready for dual-stack.","V4":"V4 approves that the Connection is ready for IPv4 only.","V6":"V6 approves that the Connection is ready for IPv6 only."}},"octelium.api.main.user.v1.ConnectionState.ServiceConfig":{"type":"object","properties":{"ssh":{"$ref":"#/definitions/octelium.api.main.user.v1.ConnectionState.ServiceConfig.SSH","description":"SSH sets SSH-specific Service config","x-oneof":"type"}},"additionalProperties":false,"x-oneofs":{"type":["ssh"]}},"octelium.api.main.user.v1.ConnectionState.ServiceConfig.SSH":{"type":"object","properties":{"knownHosts":{"type":"array","items":{"type":"string"},"description":"KnownHosts is the list of SSH known hosts"},"authorizedKeys":{"type":"array","items":{"type":"string"},"description":"AuthorizedKeys is the list of SSH authorized keys"}},"additionalProperties":false},"octelium.api.main.user.v1.ConnectionState.ServiceOptions":{"type":"object","properties":{"services":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.user.v1.HostedService"},"description":"HostedServices is the list of hosted Services"}},"additionalProperties":false},"octelium.api.main.user.v1.ConnectRequest":{"type":"object","properties":{"initialize":{"$ref":"#/definitions/octelium.api.main.user.v1.ConnectRequest.Initialize","x-oneof":"type"},"keepAlive":{"$ref":"#/definitions/octelium.api.main.user.v1.ConnectRequest.KeepAlive","x-oneof":"type"}},"additionalProperties":false,"x-oneofs":{"type":["initialize","keepAlive"]}},"octelium.api.main.user.v1.ConnectRequest.Initialize":{"type":"object","properties":{"l3Mode":{"$ref":"#/definitions/octelium.api.main.user.v1.ConnectRequest.Initialize.L3Mode","description":"L3Mode is the layer-3 mode supported by the Connection."},"serviceOptions":{"$ref":"#/definitions/octelium.api.main.user.v1.ConnectRequest.Initialize.ServiceOptions","description":"ServiceOptions sets the hosted Services to be served by the Connection."},"connectionType":{"$ref":"#/definitions/octelium.api.main.user.v1.ConnectRequest.Initialize.ConnectionType","description":"ConnectionType is the connection type"},"publishedServices":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.user.v1.ConnectRequest.Initialize.PublishedService"},"description":"PublishedServices is the list of published Services to the client host"},"ignoreDNS":{"type":"boolean","description":"IgnoreDNS means that the client does not used the Cluster DNS"},"eSSHEnable":{"type":"boolean","description":"EnableESSH enables serving embedded SSH"},"eSSHPort":{"type":"integer","format":"int32","description":"Port is the listen port of the embedded SSH server"},"eSOCKS5Enable":{"type":"boolean"},"eSOCKS5Port":{"type":"integer","format":"int32"}},"additionalProperties":false},"octelium.api.main.user.v1.ConnectRequest.Initialize.ConnectionType":{"type":"string","enum":["UNSET","WIREGUARD","QUICV0"],"x-enumDescriptions":{"UNSET":"UNSET is not used","WIREGUARD":"WIREGUARD means that the connection is WireGuard","QUICV0":"QUICV0 means that the connection is QUICv0"}},"octelium.api.main.user.v1.ConnectRequest.Initialize.L3Mode":{"type":"string","enum":["BOTH","V4","V6"],"x-enumDescriptions":{"BOTH":"BOTH informs the Cluster that the Connection is ready for dual-stack.","V4":"V4 informs the Cluster that the Connection only accepts IPv4.","V6":"V6 informs the Cluster that the Connection only accepts IPv6."}},"octelium.api.main.user.v1.ConnectRequest.Initialize.PublishedService":{"type":"object","properties":{"name":{"type":"string","description":"Name is the Service name"},"port":{"type":"integer","format":"uint32","minimum":0,"description":"Port is the forwarded Service port number on the client host"},"address":{"type":"string","description":"Address is the forwarded Service host address"}},"additionalProperties":false},"octelium.api.main.user.v1.ConnectRequest.Initialize.ServiceOptions":{"type":"object","properties":{"serveAll":{"type":"boolean","description":"ServeAll informs the Cluster that Connection is ready to serve all\nServices that can be hosted by the owner User."},"services":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.user.v1.ConnectRequest.Initialize.ServiceOptions.Service"}},"labelSelector":{"type":"string"},"portStart":{"type":"integer","format":"int32","description":"PortStart informs the Cluster of the initial port number that should be\nused for serving Services."}},"additionalProperties":false},"octelium.api.main.user.v1.ConnectRequest.Initialize.ServiceOptions.Service":{"type":"object","properties":{"name":{"type":"string"}},"additionalProperties":false},"octelium.api.main.user.v1.ConnectRequest.KeepAlive":{"type":"object","properties":{"setAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"octelium.api.main.user.v1.ConnectResponse":{"type":"object","properties":{"createdAt":{"type":"string","format":"date-time"},"addGateway":{"$ref":"#/definitions/octelium.api.main.user.v1.ConnectResponse.AddGateway","description":"AddGateway is the event to add a Gateway.","x-oneof":"Event"},"updateGateway":{"$ref":"#/definitions/octelium.api.main.user.v1.ConnectResponse.UpdateGateway","description":"UpdateGateway is the event to update a Gateway.","x-oneof":"Event"},"deleteGateway":{"$ref":"#/definitions/octelium.api.main.user.v1.ConnectResponse.DeleteGateway","description":"DeleteGateway is the event to delete a Gateway.","x-oneof":"Event"},"updateDNS":{"$ref":"#/definitions/octelium.api.main.user.v1.ConnectResponse.UpdateDNS","description":"UpdateDNS is the event to update DNS.","x-oneof":"Event"},"message":{"$ref":"#/definitions/octelium.api.main.user.v1.ConnectResponse.Message","description":"Message is the event to receive a custom message from the Cluster.","x-oneof":"Event"},"disconnect":{"$ref":"#/definitions/octelium.api.main.user.v1.ConnectResponse.Disconnect","description":"Disconnect is the event to disconnect from the Cluster.","x-oneof":"Event"},"addService":{"$ref":"#/definitions/octelium.api.main.user.v1.ConnectResponse.AddService","description":"AddService is the event to add a hosted Service.","x-oneof":"Event"},"updateService":{"$ref":"#/definitions/octelium.api.main.user.v1.ConnectResponse.UpdateService","description":"UpdateService is the event to update a hosted Service.","x-oneof":"Event"},"deleteService":{"$ref":"#/definitions/octelium.api.main.user.v1.ConnectResponse.DeleteService","description":"DeleteService is the event to delete a hosted Service.","x-oneof":"Event"},"state":{"$ref":"#/definitions/octelium.api.main.user.v1.ConnectionState","description":"State is the event that sends the entire state of the Connection.","x-oneof":"Event"}},"additionalProperties":false,"x-oneofs":{"Event":["addGateway","updateGateway","deleteGateway","updateDNS","message","disconnect","addService","updateService","deleteService","state"]}},"octelium.api.main.user.v1.ConnectResponse.AddGateway":{"type":"object","properties":{"gateway":{"$ref":"#/definitions/octelium.api.main.user.v1.Gateway","description":"Gateway is the added Gateway."}},"additionalProperties":false},"octelium.api.main.user.v1.ConnectResponse.AddService":{"type":"object","properties":{"service":{"$ref":"#/definitions/octelium.api.main.user.v1.HostedService","description":"Service is the hosted Service that needs to be added."}},"additionalProperties":false},"octelium.api.main.user.v1.ConnectResponse.DeleteGateway":{"type":"object","properties":{"id":{"type":"string","description":"ID is the ID of the Gateway that needs to be deleted."}},"additionalProperties":false},"octelium.api.main.user.v1.ConnectResponse.DeleteService":{"type":"object","properties":{"name":{"type":"string","description":"Name is the name of the Service that needs to be deleted."}},"additionalProperties":false},"octelium.api.main.user.v1.ConnectResponse.Disconnect":{"type":"object","properties":{"message":{"type":"string","description":"Message is an optional message from the Cluster upon disconnect.\nCurrrently not used."}},"additionalProperties":false},"octelium.api.main.user.v1.ConnectResponse.Message":{"type":"object","properties":{"message":{"type":"string","description":"Message is a custom message from the Cluster."}},"additionalProperties":false},"octelium.api.main.user.v1.ConnectResponse.UpdateDNS":{"type":"object","properties":{"dns":{"$ref":"#/definitions/octelium.api.main.user.v1.DNS","description":"DNS is the DNS information."}},"additionalProperties":false},"octelium.api.main.user.v1.ConnectResponse.UpdateGateway":{"type":"object","properties":{"gateway":{"$ref":"#/definitions/octelium.api.main.user.v1.Gateway","description":"Gateway is the updated Gateway."}},"additionalProperties":false},"octelium.api.main.user.v1.ConnectResponse.UpdateService":{"type":"object","properties":{"service":{"$ref":"#/definitions/octelium.api.main.user.v1.HostedService","description":"Service is the hosted Service that needs to be updated."}},"additionalProperties":false},"octelium.api.main.user.v1.DisconnectRequest":{"type":"object","properties":{},"additionalProperties":false},"octelium.api.main.user.v1.DisconnectResponse":{"type":"object","properties":{},"additionalProperties":false},"octelium.api.main.user.v1.DNS":{"type":"object","properties":{"servers":{"type":"array","items":{"type":"string"},"description":"Servers is the list of the Cluster private DNS servers."}},"additionalProperties":false},"octelium.api.main.user.v1.Gateway":{"type":"object","properties":{"id":{"type":"string","description":"ID is the Gateway's ID."},"addresses":{"type":"array","items":{"type":"string"},"description":"Addresses is the list of the Gateway's public addresses."},"CIDRs":{"type":"array","items":{"type":"string"},"description":"CIDRs is the list of Gateway CIDRs."},"hostname":{"type":"string"},"wireguard":{"$ref":"#/definitions/octelium.api.main.user.v1.Gateway.WireGuard"},"quicv0":{"$ref":"#/definitions/octelium.api.main.user.v1.Gateway.QUICV0"}},"additionalProperties":false},"octelium.api.main.user.v1.Gateway.QUICV0":{"type":"object","properties":{"port":{"type":"integer","format":"int32","description":"Port is the Gateway's QUICv0 port."},"keepAliveSeconds":{"type":"integer","format":"int32"}},"additionalProperties":false},"octelium.api.main.user.v1.Gateway.WireGuard":{"type":"object","properties":{"port":{"type":"integer","format":"int32","description":"Port is the Gateway's WireGuard port."},"publicKey":{"type":"string","description":"PublicKey is the Gateway's WireGuard curve25519 public key."},"keepAliveSeconds":{"type":"integer","format":"int32","description":"CIDRs is the list of Gateway CIDRs.\nKeepAliveSeconds is the number of seconds to periodically send\nWireGuard's keepalive packets."}},"additionalProperties":false},"octelium.api.main.user.v1.GetStatusRequest":{"type":"object","properties":{},"additionalProperties":false},"octelium.api.main.user.v1.GetStatusResponse":{"type":"object","properties":{"domain":{"type":"string"},"cluster":{"$ref":"#/definitions/octelium.api.main.user.v1.GetStatusResponse.Cluster","description":"Cluster is the Cluster's information."},"user":{"$ref":"#/definitions/octelium.api.main.user.v1.GetStatusResponse.User","description":"User is the User's information."},"session":{"$ref":"#/definitions/octelium.api.main.user.v1.GetStatusResponse.Session","description":"Session is the Session's information."}},"additionalProperties":false},"octelium.api.main.user.v1.GetStatusResponse.Cluster":{"type":"object","properties":{"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata"}},"additionalProperties":false},"octelium.api.main.user.v1.GetStatusResponse.Session":{"type":"object","properties":{"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata"},"spec":{"$ref":"#/definitions/octelium.api.main.user.v1.GetStatusResponse.Session.Spec"},"status":{"$ref":"#/definitions/octelium.api.main.user.v1.GetStatusResponse.Session.Status"}},"additionalProperties":false},"octelium.api.main.user.v1.GetStatusResponse.Session.Spec":{"type":"object","properties":{},"additionalProperties":false},"octelium.api.main.user.v1.GetStatusResponse.Session.Status":{"type":"object","properties":{"type":{"$ref":"#/definitions/octelium.api.main.user.v1.GetStatusResponse.Session.Status.Type"},"isConnected":{"type":"boolean"}},"additionalProperties":false},"octelium.api.main.user.v1.GetStatusResponse.Session.Status.Type":{"type":"string","enum":["UNKNOWN","CLIENT","CLIENTLESS"],"x-enumDescriptions":{"CLIENT":"CLIENT is meant for client-based Sessions (i.e. the octelium client)","CLIENTLESS":"CLIENTLESS is meant for client-less/BeyondCorp-based Sessions"}},"octelium.api.main.user.v1.GetStatusResponse.User":{"type":"object","properties":{"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata"},"spec":{"$ref":"#/definitions/octelium.api.main.user.v1.GetStatusResponse.User.Spec"},"status":{"$ref":"#/definitions/octelium.api.main.user.v1.GetStatusResponse.User.Status"}},"additionalProperties":false},"octelium.api.main.user.v1.GetStatusResponse.User.Spec":{"type":"object","properties":{"email":{"type":"string"},"type":{"$ref":"#/definitions/octelium.api.main.user.v1.GetStatusResponse.User.Spec.Type"}},"additionalProperties":false},"octelium.api.main.user.v1.GetStatusResponse.User.Spec.Type":{"type":"string","enum":["TYPE_UNKNOWN","HUMAN","WORKLOAD"],"x-enumDescriptions":{"TYPE_UNKNOWN":"TYPE_UNKNOWN is reserved. Not used by any User.","HUMAN":"HUMAN means that the User is used by a human.","WORKLOAD":"WORKLOAD means that the User is used by a workload (e.g. container,\npod, sdk, server, etc...)"}},"octelium.api.main.user.v1.GetStatusResponse.User.Status":{"type":"object","properties":{},"additionalProperties":false},"octelium.api.main.user.v1.HostedService":{"type":"object","properties":{"name":{"type":"string","description":"Name is the name of the hosted Service."},"port":{"type":"integer","format":"uint32","minimum":0,"description":"Port is the Service's port."},"l4Type":{"$ref":"#/definitions/octelium.api.main.user.v1.HostedService.L4Type","description":"L4Type is the layer-4 type of the Service."},"upstream":{"$ref":"#/definitions/octelium.api.main.user.v1.HostedService.Upstream","description":"Upstream is the listener upstream's information."},"address":{"$ref":"#/definitions/octelium.api.main.meta.v1.DualStackIP","description":"Address is the dual-stack address of the Service. It can be null for\nupstreams listening on 0.0.0.0 or the Connection addresses."},"mode":{"$ref":"#/definitions/octelium.api.main.user.v1.HostedService.Mode","description":"Mode is the hosted Service mode"}},"additionalProperties":false},"octelium.api.main.user.v1.HostedService.L4Type":{"type":"string","enum":["L4_UNKNOWN","TCP","UDP"],"x-enumDescriptions":{"L4_UNKNOWN":"L4_UNKNOWN is not used","TCP":"TCP means that the Service is TCP-based","UDP":"UDP means that the Service is UDP-based"}},"octelium.api.main.user.v1.HostedService.Mode":{"type":"string","enum":["MODE_UNSET","MODE_DEFAULT","MODE_ESSH"],"x-enumDescriptions":{"MODE_UNSET":"MODE_UNSET is not used","MODE_DEFAULT":"MODE_DEFAULT means that the hosted Service is served by an upstream","MODE_ESSH":"MODE_ESSH means that the host Service is served by the embedded SSH\nserver"}},"octelium.api.main.user.v1.HostedService.Upstream":{"type":"object","properties":{"host":{"type":"string","description":"Host is the upstream host"},"port":{"type":"integer","format":"int32","description":"Port is the upstream listen port"}},"additionalProperties":false},"octelium.api.main.user.v1.ListNamespaceOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions"}},"additionalProperties":false},"octelium.api.main.user.v1.ListServiceOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions"},"namespace":{"type":"string"},"type":{"$ref":"#/definitions/octelium.api.main.user.v1.Service.Spec.Type"}},"additionalProperties":false},"octelium.api.main.user.v1.Namespace":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.user.v1.Namespace.Spec","description":"Spec is the Namespace specification."},"status":{"$ref":"#/definitions/octelium.api.main.user.v1.Namespace.Status","description":"Status is the current status of the Namespace."}},"additionalProperties":false},"octelium.api.main.user.v1.Namespace.Spec":{"type":"object","properties":{},"additionalProperties":false},"octelium.api.main.user.v1.Namespace.Status":{"type":"object","properties":{},"additionalProperties":false},"octelium.api.main.user.v1.NamespaceList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version of the object."},"kind":{"type":"string","description":"Kind is the resource name (i.e. `NamespaceList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.user.v1.Namespace"},"description":"Items is the list of Namespaces."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false},"octelium.api.main.user.v1.Service":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata"},"spec":{"$ref":"#/definitions/octelium.api.main.user.v1.Service.Spec"},"status":{"$ref":"#/definitions/octelium.api.main.user.v1.Service.Status"}},"additionalProperties":false},"octelium.api.main.user.v1.Service.Spec":{"type":"object","properties":{"port":{"type":"integer","format":"uint32","minimum":0,"description":"Port is the Service listen port"},"type":{"$ref":"#/definitions/octelium.api.main.user.v1.Service.Spec.Type","description":"Type is the Service tpye"},"isTLS":{"type":"boolean","description":"IsTLS shows whether the Service is listening over TLS"},"isPublic":{"type":"boolean","description":"IsPublic means that the Service is publicly exposed and can be accessed\nvia the client-less/BeyondCorp mode"}},"additionalProperties":false},"octelium.api.main.user.v1.Service.Spec.Type":{"type":"string","enum":["UNSET","TCP","UDP","HTTP","SSH","KUBERNETES","POSTGRES","MYSQL","GRPC","WEB","DNS","SOCKS5","RDP_WEB","MCP","LLM","RDP"]},"octelium.api.main.user.v1.Service.Status":{"type":"object","properties":{"namespace":{"type":"string","description":"Namespace is the Service's Namespace"},"addresses":{"type":"array","items":{"type":"string"},"description":"Addresses is the list of private addresses used by the Service"},"primaryHostname":{"type":"string","description":"PrimaryHostname is the unique primary hostname"}},"additionalProperties":false},"octelium.api.main.user.v1.ServiceList":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.user.v1.Service"}},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false},"octelium.api.main.user.v1.SetServiceConfigsRequest":{"type":"object","properties":{"name":{"type":"string","description":"Name is the Service name"}},"additionalProperties":false},"octelium.api.main.user.v1.SetServiceConfigsResponse":{"type":"object","properties":{"configs":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.user.v1.SetServiceConfigsResponse.Config"},"description":"Configs is the list of configurations needed to be set at the client side\nto use the Service"},"host":{"type":"string"},"port":{"type":"integer","format":"int32"},"l3Mode":{"$ref":"#/definitions/octelium.api.main.user.v1.SetServiceConfigsResponse.L3Mode"}},"additionalProperties":false},"octelium.api.main.user.v1.SetServiceConfigsResponse.Config":{"type":"object","properties":{"kubeconfig":{"$ref":"#/definitions/octelium.api.main.user.v1.SetServiceConfigsResponse.Config.Kubeconfig","description":"Kubeconfig sets kubeconfig-specific configurations","x-oneof":"type"},"ssh":{"$ref":"#/definitions/octelium.api.main.user.v1.SetServiceConfigsResponse.Config.SSH","x-oneof":"type"}},"additionalProperties":false,"x-oneofs":{"type":["kubeconfig","ssh"]}},"octelium.api.main.user.v1.SetServiceConfigsResponse.Config.Kubeconfig":{"type":"object","properties":{"content":{"type":"string","contentEncoding":"base64","description":"Content is the kubeconfig content"}},"additionalProperties":false},"octelium.api.main.user.v1.SetServiceConfigsResponse.Config.SSH":{"type":"object","properties":{"knownHosts":{"type":"array","items":{"type":"string"},"description":"KnownHosts is the list of SSH known hosts"},"authorizedKeys":{"type":"array","items":{"type":"string"},"description":"AuthorizedKeys is the list of SSH authorized keys"}},"additionalProperties":false},"octelium.api.main.user.v1.SetServiceConfigsResponse.L3Mode":{"type":"string","enum":["BOTH","V4","V6"]}}}
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","typePrefix":"octelium.api.main.","services":{"octelium.api.main.cordium.v1.MainService":{"description":"MainService is the primary Cordium API that is used by the Users (i.e. via\nthe `cordium` CLI, the web portal and the SDKs) to manage their Spaces,\nTemplates, Workspaces, Memberships, Secrets, UserSecrets, GitProviders and\ntheir UserConfig. Every method is executed on behalf of the authenticated\nOctelium User and is authorized against that User's ownership of the\nresource and/or their Membership role in the resource's Space.","methods":{"CreateSecret":{"description":"CreateSecret creates a Secret inside a Space. The caller must be at least\nan ADMIN Member of the Space. The Secret data is never returned back by\nthe Cluster once the Secret is created.","input":"octelium.api.main.cordium.v1.Secret","output":"octelium.api.main.cordium.v1.Secret","kind":"unary"},"ListSecret":{"description":"ListSecret lists the Secrets of a Space. The Secrets' data is not\nincluded in the response.","input":"octelium.api.main.cordium.v1.ListSecretOptions","output":"octelium.api.main.cordium.v1.SecretList","kind":"unary"},"DeleteSecret":{"description":"DeleteSecret deletes a Secret. The caller must be at least an ADMIN Member\nof the Secret's Space.","input":"octelium.api.main.meta.v1.DeleteOptions","output":"octelium.api.main.meta.v1.OperationResult","kind":"unary"},"GetSecret":{"description":"GetSecret retrieves a specific Secret. The Secret data is not included in\nthe response.","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.cordium.v1.Secret","kind":"unary"},"CreateTemplate":{"description":"CreateTemplate creates a Template inside a Space. The caller must be at\nleast an ADMIN Member of the Space.","input":"octelium.api.main.cordium.v1.Template","output":"octelium.api.main.cordium.v1.Template","kind":"unary"},"UpdateTemplate":{"description":"UpdateTemplate updates a Template. The caller must be at least an ADMIN\nMember of the Template's Space.","input":"octelium.api.main.cordium.v1.Template","output":"octelium.api.main.cordium.v1.Template","kind":"unary"},"DeleteTemplate":{"description":"DeleteTemplate deletes a Template. The default Template of a Space cannot\nbe deleted.","input":"octelium.api.main.meta.v1.DeleteOptions","output":"octelium.api.main.meta.v1.OperationResult","kind":"unary"},"BuildTemplate":{"description":"BuildTemplate starts a pre-build for a Template. A pre-build runs a\nhidden build Workspace whose storage is snapshotted once it successfully\ncompletes so that the subsequent Workspaces of the Template can be\nrestored from that snapshot instead of being initialized from scratch. A\nTemplate can only have one running pre-build at a time. Starting a new\npre-build cancels the currently running one, if any.","input":"octelium.api.main.cordium.v1.BuildTemplateRequest","output":"octelium.api.main.cordium.v1.Template","kind":"unary"},"CancelBuildTemplate":{"description":"CancelBuildTemplate cancels the currently running pre-build of a Template,\nif any, and returns the updated Template.","input":"octelium.api.main.cordium.v1.CancelBuildTemplateRequest","output":"octelium.api.main.cordium.v1.Template","kind":"unary"},"CreateSpace":{"description":"CreateSpace creates a Space owned by the User. Whether a User is allowed\nto own a Space is controlled by the Space ownership rules of the\nClusterConfig. A default Membership and a default Template are\nautomatically created along with the Space.","input":"octelium.api.main.cordium.v1.Space","output":"octelium.api.main.cordium.v1.Space","kind":"unary"},"UpdateSpace":{"description":"UpdateSpace updates a Space. The caller must be the Space creator or an\nOWNER Member of the Space.","input":"octelium.api.main.cordium.v1.Space","output":"octelium.api.main.cordium.v1.Space","kind":"unary"},"DeleteSpace":{"description":"DeleteSpace deletes a Space as well as all of its Memberships, Templates,\nSecrets and GitProviders.","input":"octelium.api.main.meta.v1.DeleteOptions","output":"octelium.api.main.meta.v1.OperationResult","kind":"unary"},"CreateMembership":{"description":"CreateMembership adds a User as a Member to a Space. The caller must be at\nleast an ADMIN Member of the Space. Members can currently only be added to\nORGANIZATION Spaces.","input":"octelium.api.main.cordium.v1.CreateMembershipRequest","output":"octelium.api.main.cordium.v1.Membership","kind":"unary"},"DeleteMembership":{"description":"DeleteMembership removes a Member from a Space. The caller must be at\nleast an ADMIN Member of the Space. Space creators cannot be removed.","input":"octelium.api.main.meta.v1.DeleteOptions","output":"octelium.api.main.meta.v1.OperationResult","kind":"unary"},"GetSpaceMembership":{"description":"GetSpaceMembership retrieves the Membership of the calling User in a\nspecific Space.","input":"octelium.api.main.cordium.v1.GetSpaceMembershipRequest","output":"octelium.api.main.cordium.v1.Membership","kind":"unary"},"UpdateMembership":{"description":"UpdateMembership updates a Membership (i.e. its Role). The caller must be\nat least an ADMIN Member of the Space. Setting a Role to OWNER\nadditionally requires the caller to be an OWNER.","input":"octelium.api.main.cordium.v1.Membership","output":"octelium.api.main.cordium.v1.Membership","kind":"unary"},"CreateGitProvider":{"description":"CreateGitProvider creates a GitProvider inside a Space. The caller must be\nat least an ADMIN Member of the Space.","input":"octelium.api.main.cordium.v1.GitProvider","output":"octelium.api.main.cordium.v1.GitProvider","kind":"unary"},"UpdateGitProvider":{"description":"UpdateGitProvider updates a GitProvider.","input":"octelium.api.main.cordium.v1.GitProvider","output":"octelium.api.main.cordium.v1.GitProvider","kind":"unary"},"DeleteGitProvider":{"description":"DeleteGitProvider deletes a GitProvider.","input":"octelium.api.main.meta.v1.DeleteOptions","output":"octelium.api.main.meta.v1.OperationResult","kind":"unary"},"CreateWorkspace":{"description":"CreateWorkspace creates a Workspace owned by the User. The Workspace is\ncreated in the STOPPED state and it is assigned a short randomly generated\nname by the Cluster. If no Template is set in the request's\n`status.templateRef`, the User's default Template is used.","input":"octelium.api.main.cordium.v1.Workspace","output":"octelium.api.main.cordium.v1.Workspace","kind":"unary"},"UpdateWorkspace":{"description":"UpdateWorkspace updates a Workspace owned by the User. Only the\nWorkspace's displayName and spec can be updated.","input":"octelium.api.main.cordium.v1.Workspace","output":"octelium.api.main.cordium.v1.Workspace","kind":"unary"},"DeleteWorkspace":{"description":"DeleteWorkspace deletes a Workspace owned by the User.","input":"octelium.api.main.meta.v1.DeleteOptions","output":"octelium.api.main.meta.v1.OperationResult","kind":"unary"},"ListWorkspace":{"description":"ListWorkspace lists the Workspaces owned by the User.","input":"octelium.api.main.cordium.v1.ListWorkspaceOptions","output":"octelium.api.main.cordium.v1.WorkspaceList","kind":"unary"},"CreateWorkspaceSnapshot":{"description":"CreateWorkspaceSnapshot creates a WorkspaceSnapshot out of the persistent\nstorage of a Workspace owned by the User. The Workspace is neither stopped\nnor restarted and it remains fully usable while the snapshot is being\ntaken. The snapshot is created in the CREATING state and the snapshotting\nitself is asynchronous.","input":"octelium.api.main.cordium.v1.WorkspaceSnapshot","output":"octelium.api.main.cordium.v1.WorkspaceSnapshot","kind":"unary"},"DeleteWorkspaceSnapshot":{"description":"DeleteWorkspaceSnapshot deletes a WorkspaceSnapshot owned by the User\ntogether with its underlying storage snapshot.","input":"octelium.api.main.meta.v1.DeleteOptions","output":"octelium.api.main.meta.v1.OperationResult","kind":"unary"},"ListWorkspaceSnapshot":{"description":"ListWorkspaceSnapshot lists the WorkspaceSnapshots owned by the User.","input":"octelium.api.main.cordium.v1.ListWorkspaceSnapshotOptions","output":"octelium.api.main.cordium.v1.WorkspaceSnapshotList","kind":"unary"},"GetWorkspaceSnapshot":{"description":"GetWorkspaceSnapshot retrieves a specific WorkspaceSnapshot owned by the\nUser.","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.cordium.v1.WorkspaceSnapshot","kind":"unary"},"CreateVolume":{"description":"CreateVolume creates a Volume inside a Space. Volumes are provisioned\nasynchronously and they can be mounted by the Workspaces of the Space\nwhile they are still being provisioned.","input":"octelium.api.main.cordium.v1.Volume","output":"octelium.api.main.cordium.v1.Volume","kind":"unary"},"UpdateVolume":{"description":"UpdateVolume updates a Volume. Only growing the Volume's size is\nsupported and it additionally requires the underlying storage backend to\nsupport the expansion of the already provisioned volumes.","input":"octelium.api.main.cordium.v1.Volume","output":"octelium.api.main.cordium.v1.Volume","kind":"unary"},"DeleteVolume":{"description":"DeleteVolume deletes a Volume together with its underlying storage. It is\nrejected while the Volume is still mounted by a Workspace or a Template of\nthe Space regardless of whether those Workspaces are running.","input":"octelium.api.main.meta.v1.DeleteOptions","output":"octelium.api.main.meta.v1.OperationResult","kind":"unary"},"ListVolume":{"description":"ListVolume lists the Volumes of a Space that the User is a Member of.","input":"octelium.api.main.cordium.v1.ListVolumeOptions","output":"octelium.api.main.cordium.v1.VolumeList","kind":"unary"},"GetVolume":{"description":"GetVolume retrieves a specific Volume of a Space that the User is a Member\nof.","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.cordium.v1.Volume","kind":"unary"},"StartWorkspace":{"description":"StartWorkspace starts a stopped Workspace. The Cluster creates a dedicated\nOctelium Session for the run and moves the Workspace to the INIT_REQUEST\nstate. The actual initialization is asynchronous and can be followed via\nthe WatchWorkspace method.","input":"octelium.api.main.cordium.v1.StartWorkspaceRequest","output":"octelium.api.main.cordium.v1.StartWorkspaceResponse","kind":"unary"},"StopWorkspace":{"description":"StopWorkspace requests a graceful stop of a running Workspace. The\nWorkspace moves to the STOPPING_REQUEST state and the stoppage itself is\nasynchronous.","input":"octelium.api.main.cordium.v1.StopWorkspaceRequest","output":"octelium.api.main.cordium.v1.StopWorkspaceResponse","kind":"unary"},"ShareWorkspacePort":{"description":"ShareWorkspacePort shares a named Application of a Workspace with other\nUsers so that they can access it via the Workspace's public hostname.","input":"octelium.api.main.cordium.v1.ShareWorkspacePortRequest","output":"octelium.api.main.cordium.v1.ShareWorkspacePortResponse","kind":"unary"},"UnshareWorkspacePort":{"description":"UnshareWorkspacePort stops sharing a previously shared named Application\nof a Workspace.","input":"octelium.api.main.cordium.v1.UnshareWorkspacePortRequest","output":"octelium.api.main.cordium.v1.UnshareWorkspacePortResponse","kind":"unary"},"ListSpace":{"description":"ListSpace lists the Spaces that are either created by the User or where\nthe User is a Member depending on the requested mode.","input":"octelium.api.main.cordium.v1.ListSpaceOptions","output":"octelium.api.main.cordium.v1.SpaceList","kind":"unary"},"ListTemplate":{"description":"ListTemplate lists the Templates of a Space that the User is a Member of.","input":"octelium.api.main.cordium.v1.ListTemplateOptions","output":"octelium.api.main.cordium.v1.TemplateList","kind":"unary"},"ListMembership":{"description":"ListMembership lists the Memberships of a Space that the User is a Member\nof.","input":"octelium.api.main.cordium.v1.ListMembershipOptions","output":"octelium.api.main.cordium.v1.MembershipList","kind":"unary"},"ListGitProvider":{"description":"ListGitProvider lists the GitProviders of a Space that the User is a\nMember of.","input":"octelium.api.main.cordium.v1.ListGitProviderOptions","output":"octelium.api.main.cordium.v1.GitProviderList","kind":"unary"},"GetSpace":{"description":"GetSpace retrieves a specific Space. The caller must be a Member of the\nSpace.","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.cordium.v1.Space","kind":"unary"},"GetWorkspace":{"description":"GetWorkspace retrieves a specific Workspace owned by the User.","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.cordium.v1.Workspace","kind":"unary"},"GetTemplate":{"description":"GetTemplate retrieves a specific Template. The caller must be a Member of\nthe Template's Space.","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.cordium.v1.Template","kind":"unary"},"GetGitProvider":{"description":"GetGitProvider retrieves a specific GitProvider. The caller must be a\nMember of the GitProvider's Space.","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.cordium.v1.GitProvider","kind":"unary"},"GetMembership":{"description":"GetMembership retrieves a specific Membership. The caller must be a Member\nof the Membership's Space.","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.cordium.v1.Membership","kind":"unary"},"LeaveSpace":{"description":"LeaveSpace removes the calling User's own Membership from a Space. Space\ncreators cannot leave their own Spaces, they can only delete them.","input":"octelium.api.main.cordium.v1.LeaveSpaceRequest","output":"octelium.api.main.cordium.v1.LeaveSpaceResponse","kind":"unary"},"CreateUserSecret":{"description":"CreateUserSecret creates a UserSecret owned by the User. UserSecrets of\nthe SSH_KEY type have their key pair generated by the Cluster. The\nUserSecret data is never returned back by the Cluster.","input":"octelium.api.main.cordium.v1.UserSecret","output":"octelium.api.main.cordium.v1.UserSecret","kind":"unary"},"UpdateUserSecret":{"description":"UpdateUserSecret updates a UserSecret owned by the User.","input":"octelium.api.main.cordium.v1.UserSecret","output":"octelium.api.main.cordium.v1.UserSecret","kind":"unary"},"DeleteUserSecret":{"description":"DeleteUserSecret deletes a UserSecret owned by the User.","input":"octelium.api.main.meta.v1.DeleteOptions","output":"octelium.api.main.meta.v1.OperationResult","kind":"unary"},"ListUserSecret":{"description":"ListUserSecret lists the UserSecrets owned by the User. The UserSecrets'\ndata is not included in the response.","input":"octelium.api.main.cordium.v1.ListUserSecretOptions","output":"octelium.api.main.cordium.v1.UserSecretList","kind":"unary"},"GetUserSecret":{"description":"GetUserSecret retrieves a specific UserSecret owned by the User. The\nUserSecret data is not included in the response.","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.cordium.v1.UserSecret","kind":"unary"},"GetUserConfig":{"description":"GetUserConfig retrieves the calling User's UserConfig. The UserConfig is\nautomatically created by the Cluster upon the first call.","input":"octelium.api.main.cordium.v1.GetUserConfigRequest","output":"octelium.api.main.cordium.v1.UserConfig","kind":"unary"},"UpdateUserConfig":{"description":"UpdateUserConfig updates the calling User's UserConfig.","input":"octelium.api.main.cordium.v1.UserConfig","output":"octelium.api.main.cordium.v1.UserConfig","kind":"unary"},"InitializeAgent":{"description":"InitializeAgent provisions the Cordium AI agent of the calling User upon\nthe first call and reconciles it upon the subsequent ones. The agent runs\ninside a Workspace of the User's personal `octelium` Space (i.e.\n`octelium.<USER>`), a system Space that hosts the Workspaces of all the\nOctelium-managed AI agents of the User and which is created on demand.\nThe Space, the agent's Template and the agent's Workspace are created if\nthey do not exist yet and the agent's Template is updated to match the\nagent configuration of the ClusterConfig. The agent's Workspace, which is\ncreated in the STOPPED state, is referenced by the `agentWorkspaceRef` of\nthe returned UserConfig's status.","input":"octelium.api.main.cordium.v1.InitializeAgentRequest","output":"octelium.api.main.cordium.v1.UserConfig","kind":"unary"},"ListRegion":{"description":"ListRegion lists the Regions of the Cluster that are enabled to host\nWorkspaces.","input":"octelium.api.main.cordium.v1.ListRegionOptions","output":"octelium.api.main.cordium.v1.RegionList","kind":"unary"},"WatchWorkspace":{"description":"WatchWorkspace opens a server-side stream that publishes the create,\nupdate and delete events of the User's Workspaces. If a workspaceRef is\nset in the request, only the events of that specific Workspace are\npublished. It is the recommended way to follow a Workspace's state\nthroughout its lifecycle.","input":"octelium.api.main.cordium.v1.WatchWorkspaceRequest","output":"octelium.api.main.cordium.v1.WatchWorkspaceResponse","kind":"server_streaming"}}},"octelium.api.main.cordium.v1.ManagementService":{"description":"ManagementService is the administrative API of a Cordium Cluster. It is used\nby the Cluster administrators (e.g. via `cordium man`) to read and update\nthe Cluster-wide configuration.","methods":{"GetClusterConfig":{"description":"GetClusterConfig gets the Cluster Configuration.","input":"octelium.api.main.cordium.v1.GetClusterConfigRequest","output":"octelium.api.main.cordium.v1.ClusterConfig","kind":"unary"},"UpdateClusterConfig":{"description":"UpdateClusterConfig updates the Cluster Configuration.","input":"octelium.api.main.cordium.v1.ClusterConfig","output":"octelium.api.main.cordium.v1.ClusterConfig","kind":"unary"}}},"octelium.api.main.user.v1.MainService":{"description":"","methods":{"Connect":{"description":"Connect connects to the Cluster","input":"octelium.api.main.user.v1.ConnectRequest","output":"octelium.api.main.user.v1.ConnectResponse","kind":"bidi_streaming"},"Disconnect":{"description":"Disconnect disconnects from a Cluster","input":"octelium.api.main.user.v1.DisconnectRequest","output":"octelium.api.main.user.v1.DisconnectResponse","kind":"unary"},"ListService":{"description":"ListService lists Services","input":"octelium.api.main.user.v1.ListServiceOptions","output":"octelium.api.main.user.v1.ServiceList","kind":"unary"},"ListNamespace":{"description":"ListNamespace lists Namespaces","input":"octelium.api.main.user.v1.ListNamespaceOptions","output":"octelium.api.main.user.v1.NamespaceList","kind":"unary"},"GetStatus":{"description":"GetStatus retrieves User status","input":"octelium.api.main.user.v1.GetStatusRequest","output":"octelium.api.main.user.v1.GetStatusResponse","kind":"unary"},"SetServiceConfigs":{"description":"SetServiceConfigs sets the Service configs needed to use the Service from\nthe client host (e.g. setting up kubeconfigs)","input":"octelium.api.main.user.v1.SetServiceConfigsRequest","output":"octelium.api.main.user.v1.SetServiceConfigsResponse","kind":"unary"},"GetService":{"description":"GetService retrieves a Service","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.user.v1.Service","kind":"unary"}}},"octelium.api.main.core.v1.MainService":{"description":"MainService is the main Cluster management API. It provides the CRUD\noperations over the Cluster resources (e.g. Users, Groups, Devices,\nSessions, Namespaces, Services, Policies, Credentials, Secrets,\nIdentityProviders, etc...) as well as over the Cluster configuration itself.","methods":{"CreatePolicy":{"description":"CreatePolicy creates a Policy","input":"octelium.api.main.core.v1.Policy","output":"octelium.api.main.core.v1.Policy","kind":"unary"},"ListPolicy":{"description":"ListPolicy lists Policies","input":"octelium.api.main.core.v1.ListPolicyOptions","output":"octelium.api.main.core.v1.PolicyList","kind":"unary"},"UpdatePolicy":{"description":"UpdatePolicy updates a Policy","input":"octelium.api.main.core.v1.Policy","output":"octelium.api.main.core.v1.Policy","kind":"unary"},"DeletePolicy":{"description":"DeletePolicy deletes a Policy","input":"octelium.api.main.meta.v1.DeleteOptions","output":"octelium.api.main.meta.v1.OperationResult","kind":"unary"},"GetPolicy":{"description":"GetPolicy retrieves a specific Policy","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.core.v1.Policy","kind":"unary"},"CreateUser":{"description":"CreateUser creates a User","input":"octelium.api.main.core.v1.User","output":"octelium.api.main.core.v1.User","kind":"unary"},"ListUser":{"description":"ListUser lists Users","input":"octelium.api.main.core.v1.ListUserOptions","output":"octelium.api.main.core.v1.UserList","kind":"unary"},"UpdateUser":{"description":"UpdateUser updates a User","input":"octelium.api.main.core.v1.User","output":"octelium.api.main.core.v1.User","kind":"unary"},"DeleteUser":{"description":"DeleteUser deletes a User","input":"octelium.api.main.meta.v1.DeleteOptions","output":"octelium.api.main.meta.v1.OperationResult","kind":"unary"},"GetUser":{"description":"GetUser retrieves a specific User","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.core.v1.User","kind":"unary"},"CreateNamespace":{"description":"CreateNamespace creates a Namespace","input":"octelium.api.main.core.v1.Namespace","output":"octelium.api.main.core.v1.Namespace","kind":"unary"},"UpdateNamespace":{"description":"UpdateNamespace updates a Namespace","input":"octelium.api.main.core.v1.Namespace","output":"octelium.api.main.core.v1.Namespace","kind":"unary"},"ListNamespace":{"description":"ListNamespace lists Namespaces","input":"octelium.api.main.core.v1.ListNamespaceOptions","output":"octelium.api.main.core.v1.NamespaceList","kind":"unary"},"DeleteNamespace":{"description":"DeleteNamespace deletes a Namespace","input":"octelium.api.main.meta.v1.DeleteOptions","output":"octelium.api.main.meta.v1.OperationResult","kind":"unary"},"GetNamespace":{"description":"GetNamespace retrieves a specific Namespace","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.core.v1.Namespace","kind":"unary"},"CreateService":{"description":"CreateService creates a Service","input":"octelium.api.main.core.v1.Service","output":"octelium.api.main.core.v1.Service","kind":"unary"},"ListService":{"description":"ListService lists Services","input":"octelium.api.main.core.v1.ListServiceOptions","output":"octelium.api.main.core.v1.ServiceList","kind":"unary"},"UpdateService":{"description":"UpdateService updates a Service","input":"octelium.api.main.core.v1.Service","output":"octelium.api.main.core.v1.Service","kind":"unary"},"DeleteService":{"description":"DeleteService deletes a Service","input":"octelium.api.main.meta.v1.DeleteOptions","output":"octelium.api.main.meta.v1.OperationResult","kind":"unary"},"GetService":{"description":"GetService retrieves a specific Service","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.core.v1.Service","kind":"unary"},"ListSession":{"description":"ListSession lists Sessions","input":"octelium.api.main.core.v1.ListSessionOptions","output":"octelium.api.main.core.v1.SessionList","kind":"unary"},"DeleteSession":{"description":"DeleteSession deletes a Session","input":"octelium.api.main.meta.v1.DeleteOptions","output":"octelium.api.main.meta.v1.OperationResult","kind":"unary"},"GetSession":{"description":"GetSession retrieves a specific Session","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.core.v1.Session","kind":"unary"},"UpdateSession":{"description":"UpdateSession updates a Session","input":"octelium.api.main.core.v1.Session","output":"octelium.api.main.core.v1.Session","kind":"unary"},"CreateSecret":{"description":"CreateSecret creates a Secret","input":"octelium.api.main.core.v1.Secret","output":"octelium.api.main.core.v1.Secret","kind":"unary"},"ListSecret":{"description":"ListSecret lists Secrets","input":"octelium.api.main.core.v1.ListSecretOptions","output":"octelium.api.main.core.v1.SecretList","kind":"unary"},"DeleteSecret":{"description":"DeleteSecret deletes a Secret","input":"octelium.api.main.meta.v1.DeleteOptions","output":"octelium.api.main.meta.v1.OperationResult","kind":"unary"},"GetSecret":{"description":"GetSecret retrieves a specific Secret","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.core.v1.Secret","kind":"unary"},"UpdateSecret":{"description":"UpdateSecret updates a Secret","input":"octelium.api.main.core.v1.Secret","output":"octelium.api.main.core.v1.Secret","kind":"unary"},"CreateGroup":{"description":"CreateGroup creates a Group","input":"octelium.api.main.core.v1.Group","output":"octelium.api.main.core.v1.Group","kind":"unary"},"ListGroup":{"description":"ListGroup lists Groups","input":"octelium.api.main.core.v1.ListGroupOptions","output":"octelium.api.main.core.v1.GroupList","kind":"unary"},"UpdateGroup":{"description":"UpdateGroup updates a Group","input":"octelium.api.main.core.v1.Group","output":"octelium.api.main.core.v1.Group","kind":"unary"},"DeleteGroup":{"description":"DeleteGroup deletes a Group","input":"octelium.api.main.meta.v1.DeleteOptions","output":"octelium.api.main.meta.v1.OperationResult","kind":"unary"},"GetGroup":{"description":"GetGroup retrieves a specific Group","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.core.v1.Group","kind":"unary"},"ListDevice":{"description":"ListDevice lists Devices","input":"octelium.api.main.core.v1.ListDeviceOptions","output":"octelium.api.main.core.v1.DeviceList","kind":"unary"},"DeleteDevice":{"description":"DeleteDevice deletes a Device","input":"octelium.api.main.meta.v1.DeleteOptions","output":"octelium.api.main.meta.v1.OperationResult","kind":"unary"},"GetDevice":{"description":"GetDevice retrieves a specific Device","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.core.v1.Device","kind":"unary"},"UpdateDevice":{"description":"UpdateDevice updates a Device","input":"octelium.api.main.core.v1.Device","output":"octelium.api.main.core.v1.Device","kind":"unary"},"CreateCredential":{"description":"CreateCredential creates a Credential","input":"octelium.api.main.core.v1.Credential","output":"octelium.api.main.core.v1.Credential","kind":"unary"},"UpdateCredential":{"description":"UpdateCredential updates a Credential","input":"octelium.api.main.core.v1.Credential","output":"octelium.api.main.core.v1.Credential","kind":"unary"},"DeleteCredential":{"description":"DeleteCredential deletes a Credential","input":"octelium.api.main.meta.v1.DeleteOptions","output":"octelium.api.main.meta.v1.OperationResult","kind":"unary"},"ListCredential":{"description":"ListCredential lists Credentials","input":"octelium.api.main.core.v1.ListCredentialOptions","output":"octelium.api.main.core.v1.CredentialList","kind":"unary"},"GetCredential":{"description":"GetCredential retrieves a specific Credential","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.core.v1.Credential","kind":"unary"},"GenerateCredentialToken":{"description":"GenerateCredentialToken generates/rotates a Credential token","input":"octelium.api.main.core.v1.GenerateCredentialTokenRequest","output":"octelium.api.main.core.v1.CredentialToken","kind":"unary"},"CreateIdentityProvider":{"description":"CreateIdentityProvider creates an IdentityProvider","input":"octelium.api.main.core.v1.IdentityProvider","output":"octelium.api.main.core.v1.IdentityProvider","kind":"unary"},"GetIdentityProvider":{"description":"GetIdentityProvider retrieves a specific IdentityProvider","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.core.v1.IdentityProvider","kind":"unary"},"ListIdentityProvider":{"description":"ListIdentityProvider lists IdentityProviders","input":"octelium.api.main.core.v1.ListIdentityProviderOptions","output":"octelium.api.main.core.v1.IdentityProviderList","kind":"unary"},"UpdateIdentityProvider":{"description":"UpdateIdentityProvider updates an IdentityProvider","input":"octelium.api.main.core.v1.IdentityProvider","output":"octelium.api.main.core.v1.IdentityProvider","kind":"unary"},"DeleteIdentityProvider":{"description":"DeleteIdentityProvider deletes an IdentityProvider","input":"octelium.api.main.meta.v1.DeleteOptions","output":"octelium.api.main.meta.v1.OperationResult","kind":"unary"},"GetRegion":{"description":"GetRegion retrieves a specific Region","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.core.v1.Region","kind":"unary"},"ListRegion":{"description":"ListRegion lists Regions","input":"octelium.api.main.core.v1.ListRegionOptions","output":"octelium.api.main.core.v1.RegionList","kind":"unary"},"ListGateway":{"description":"ListGateway lists Gateways","input":"octelium.api.main.core.v1.ListGatewayOptions","output":"octelium.api.main.core.v1.GatewayList","kind":"unary"},"GetGateway":{"description":"GetGateway retrieves a specific Gateway","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.core.v1.Gateway","kind":"unary"},"GetClusterConfig":{"description":"GetClusterConfig retrieves the Cluster Configuration","input":"octelium.api.main.core.v1.GetClusterConfigRequest","output":"octelium.api.main.core.v1.ClusterConfig","kind":"unary"},"UpdateClusterConfig":{"description":"UpdateClusterConfig updates the Cluster Configuration","input":"octelium.api.main.core.v1.ClusterConfig","output":"octelium.api.main.core.v1.ClusterConfig","kind":"unary"},"ListAuthenticator":{"description":"ListAuthenticator lists Authenticators","input":"octelium.api.main.core.v1.ListAuthenticatorOptions","output":"octelium.api.main.core.v1.AuthenticatorList","kind":"unary"},"DeleteAuthenticator":{"description":"DeleteAuthenticator deletes an Authenticator","input":"octelium.api.main.meta.v1.DeleteOptions","output":"octelium.api.main.meta.v1.OperationResult","kind":"unary"},"GetAuthenticator":{"description":"GetAuthenticator retrieves a specific Authenticator","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.core.v1.Authenticator","kind":"unary"},"UpdateAuthenticator":{"description":"UpdateAuthenticator updates an Authenticator","input":"octelium.api.main.core.v1.Authenticator","output":"octelium.api.main.core.v1.Authenticator","kind":"unary"},"CreateConfig":{"description":"CreateConfig creates a Config","input":"octelium.api.main.core.v1.Config","output":"octelium.api.main.core.v1.Config","kind":"unary"},"ListConfig":{"description":"ListConfig lists Configs","input":"octelium.api.main.core.v1.ListConfigOptions","output":"octelium.api.main.core.v1.ConfigList","kind":"unary"},"UpdateConfig":{"description":"UpdateConfig updates a Config","input":"octelium.api.main.core.v1.Config","output":"octelium.api.main.core.v1.Config","kind":"unary"},"DeleteConfig":{"description":"DeleteConfig deletes a Config","input":"octelium.api.main.meta.v1.DeleteOptions","output":"octelium.api.main.meta.v1.OperationResult","kind":"unary"},"GetConfig":{"description":"GetConfig retrieves a specific Config","input":"octelium.api.main.meta.v1.GetOptions","output":"octelium.api.main.core.v1.Config","kind":"unary"}}}},"definitions":{"octelium.api.main.cordium.v1.BuildTemplateRequest":{"type":"object","properties":{"templateRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"TemplateRef is the reference of the Template to be pre-built."},"tags":{"type":"array","items":{"type":"string"},"description":"Tags is the list of the tags that are assigned to the pre-build. It\ndefaults to `latest`."}},"additionalProperties":false,"description":"BuildTemplateRequest is the request of the BuildTemplate method."},"octelium.api.main.cordium.v1.CancelBuildTemplateRequest":{"type":"object","properties":{"templateRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"TemplateRef is the reference of the Template whose running pre-build is\ncanceled."}},"additionalProperties":false,"description":"CancelBuildTemplateRequest is the request of the CancelBuildTemplate method."},"octelium.api.main.cordium.v1.ClusterConfig":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"cordium/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `ClusterConfig`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Spec","description":"Spec is the ClusterConfig specification."},"status":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Status","description":"Status is the current status of the ClusterConfig."}},"additionalProperties":false,"description":"ClusterConfig is the sole source of truth for all the global configurations\nand settings of the Cordium Cluster. It controls the Space ownership policy,\nthe Workspace storage class selection, the Cluster-wide resource limits as\nwell as the Workspace timeouts. There is exactly one ClusterConfig per\nCordium Cluster. It is created automatically at installation time and it is\nmanaged by the Cluster administrators via the ManagementService."},"octelium.api.main.cordium.v1.ClusterConfig.Spec":{"type":"object","properties":{"space":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Spec.Space","description":"Space is the Cluster-wide Space-related configuration."},"workspace":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Spec.Workspace","description":"Workspace is the Cluster-wide Workspace-related configuration."},"volume":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Spec.Volume","description":"Volume is the Cluster-wide Volume-related configuration."},"agent":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Spec.Agent","description":"Agent is the Cluster-wide configuration of the Cordium AI agent."}},"additionalProperties":false,"description":"Spec is the ClusterConfig specification"},"octelium.api.main.cordium.v1.ClusterConfig.Spec.Agent":{"type":"object","properties":{"isDisabled":{"type":"boolean","description":"IsDisabled disables the InitializeAgent method for all the Users.\nNote that the already existing agent Workspaces are not deleted."},"llm":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Spec.Agent.LLM","description":"LLM sets the default LLM of the agent. If unset, the Users can still\nsign in with their own LLM subscriptions from the web portal."},"version":{"type":"string","description":"Version is the version or the npm dist-tag of the\n`@octelium/cordium-agent` npm package that is run by the agent\nWorkspaces (e.g. `0.1.0`). If unset, the version that is bundled with\nthe Cluster is used."},"image":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Image","description":"Image sets the container image of the agent Workspaces. If unset, the\ndefault Cordium image is used and Node.js is installed upon the first\nstart of every agent Workspace."},"limit":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Limit","description":"Limit sets the compute resources of the agent Workspaces."},"config":{"type":"object","description":"Config is an additional configuration of the agent (i.e. the same\nstructure of its `config.json` file) that is merged on top of the\nconfiguration that is generated by the Cluster."}},"additionalProperties":false,"description":"Agent is the Cluster-wide configuration of the Cordium AI agent whose\nWorkspaces are provisioned via the InitializeAgent method."},"octelium.api.main.cordium.v1.ClusterConfig.Spec.Agent.LLM":{"type":"object","properties":{"service":{"type":"string","description":"Service is the name of the LLM-mode Octelium Service (e.g.\n`llm.default`) that is used by the agent via the Octelium identity\nof its Workspace."},"model":{"type":"string","description":"Model is the name of the model that is used by default (e.g.\n`gpt-5.1`). If unset, the agent discovers it from the Service."}},"additionalProperties":false,"description":"LLM sets the default LLM of the agent"},"octelium.api.main.cordium.v1.ClusterConfig.Spec.Space":{"type":"object","properties":{"ownership":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Spec.Space.Ownership","description":"Ownership is the policy that controls which Users are allowed to own\nSpaces. If it is unset, no User is allowed to own a Space."}},"additionalProperties":false,"description":"Space is the Cluster-wide Space-related configuration."},"octelium.api.main.cordium.v1.ClusterConfig.Spec.Space.Ownership":{"type":"object","properties":{"rules":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Spec.Space.Ownership.Rule"},"description":"Rules is the list of the ownership rules. The DENY rules are\nevaluated first and, if none of them matches, the ALLOW rules are\nevaluated. If no rule matches, the request is denied."}},"additionalProperties":false,"description":"Ownership is the policy that controls which Users are allowed to own\n(i.e. create) Spaces."},"octelium.api.main.cordium.v1.ClusterConfig.Spec.Space.Ownership.Rule":{"type":"object","properties":{"effect":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Spec.Space.Ownership.Rule.Effect","description":"Effect is the effect of the policy when a match happens to any of\nthe Conditions."},"condition":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Condition","description":"Condition is evaluated against the request context which contains\nthe requesting User (i.e. `ctx.user`) and the Space that is being\ncreated (i.e. `ctx.space`)."}},"additionalProperties":false,"description":"Rule is a single ownership rule."},"octelium.api.main.cordium.v1.ClusterConfig.Spec.Space.Ownership.Rule.Effect":{"type":"string","enum":["UNKNOWN","ALLOW","DENY"],"description":"Effect is the effect of the Rule when its Condition matches","x-enumDescriptions":{"UNKNOWN":"UNKNOWN is not used.","ALLOW":"ALLOW means that the policy allows the request if any of the\nConditions are matched.","DENY":"DENY means that the policy denies the request if any of the\nConditions are matched."}},"octelium.api.main.cordium.v1.ClusterConfig.Spec.Volume":{"type":"object","properties":{"storage":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Spec.Volume.Storage","description":"Storage is the storage provisioning configuration of the Volumes."},"limit":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Spec.Volume.Limit","description":"Limit is the Cluster-wide Volume limits."}},"additionalProperties":false,"description":"Volume is the Cluster-wide Volume-related configuration."},"octelium.api.main.cordium.v1.ClusterConfig.Spec.Volume.Limit":{"type":"object","properties":{"maxPerSpace":{"type":"integer","format":"uint32","minimum":0,"description":"MaxPerSpace is the maximum total number of the Volumes that a single\nSpace can own."},"maxSize":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Volume.Spec.Size","description":"MaxSize is a hard cap that no Volume of the Cluster can exceed."},"defaultSize":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Volume.Spec.Size","description":"DefaultSize is the size of the Volumes that do not request an\nexplicit one."},"maxMountsPerWorkspace":{"type":"integer","format":"uint32","minimum":0,"description":"MaxMountsPerWorkspace is the maximum number of the Volumes that a\nsingle Workspace can mount."}},"additionalProperties":false,"description":"Limit is the Cluster-wide Volume limits. All the fields are optional\nand omitting one means that no Cluster-level restriction is applied\nfor that dimension."},"octelium.api.main.cordium.v1.ClusterConfig.Spec.Volume.Storage":{"type":"object","properties":{"storageClass":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Spec.Volume.Storage.StorageClass","description":"StorageClass selects the StorageClass of the Volumes. If it is unset\nor if no rule matches, the Cluster lets Kubernetes pick its default\nStorageClass instead."}},"additionalProperties":false,"description":"Storage is the storage provisioning configuration of the Volumes."},"octelium.api.main.cordium.v1.ClusterConfig.Spec.Volume.Storage.StorageClass":{"type":"object","properties":{"rules":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Spec.Volume.Storage.StorageClass.Rule"},"description":"Rules is the list of the storage class selection rules. They are\nevaluated in order and the first matching one is used."}},"additionalProperties":false,"description":"StorageClass selects the Kubernetes StorageClass that is used to\nprovision the Volumes. Since the Kubernetes API does not expose\nwhether a StorageClass is able to provide multi-writer volumes, the\nrules are what tells the Cluster which backend to use for the SHARED\nVolumes and which one to use for the EXCLUSIVE ones."},"octelium.api.main.cordium.v1.ClusterConfig.Spec.Volume.Storage.StorageClass.Rule":{"type":"object","properties":{"condition":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Condition","description":"Condition is evaluated against the request context which\ncontains the Volume that is being provisioned (i.e.\n`ctx.volume`)."},"storageClass":{"type":"string","description":"StorageClass is the name of the Kubernetes StorageClass that is\nused once the Condition matches."}},"additionalProperties":false,"description":"Rule is a single storage class selection rule."},"octelium.api.main.cordium.v1.ClusterConfig.Spec.Workspace":{"type":"object","properties":{"storage":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Spec.Workspace.Storage","description":"Storage is the storage provisioning configuration of the Workspaces."},"limit":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Spec.Workspace.Limit","description":"Limit is the Cluster-wide Workspace limits."},"timeout":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Spec.Workspace.Timeout","description":"Timeout is the Cluster-wide Workspace inactivity timeouts."},"runtime":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Spec.Workspace.Runtime","description":"Runtime is the Cluster-wide runtime configuration of the Workspaces."}},"additionalProperties":false,"description":"Workspace is the Cluster-wide Workspace-related configuration."},"octelium.api.main.cordium.v1.ClusterConfig.Spec.Workspace.Limit":{"type":"object","properties":{"maxPerUser":{"type":"integer","format":"uint32","minimum":0,"description":"MaxPerUser is the maximum total number of the Workspaces that a\nsingle User can own."},"maxActivePerUser":{"type":"integer","format":"uint32","minimum":0,"description":"MaxActivePerUser is the maximum number of the Workspaces that a\nsingle User can have running at the same time."},"buildLimit":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Limit","description":"BuildLimit is the compute resources that are allocated for the\nTemplate pre-build Workspaces."},"defaultOrganizationSpaceLimit":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Limit","description":"DefaultOrganizationSpaceLimit is the default compute resources of\nthe Workspaces that belong to ORGANIZATION Spaces."},"defaultUserSpaceLimit":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Limit","description":"DefaultUserSpaceLimit is the default compute resources of the\nWorkspaces that belong to USER Spaces."},"maxLimit":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Limit","description":"MaxLimit is a hard cap that no Workspace of the Cluster can exceed."},"maxSnapshotsPerUser":{"type":"integer","format":"uint32","minimum":0,"description":"MaxSnapshotsPerUser is the maximum total number of the\nWorkspaceSnapshots that a single User can own."}},"additionalProperties":false,"description":"Limit is the Cluster-wide Workspace limits. All the fields are\noptional and omitting one means that no Cluster-level restriction is\napplied for that dimension."},"octelium.api.main.cordium.v1.ClusterConfig.Spec.Workspace.Runtime":{"type":"object","properties":{"capabilities":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Capabilities","description":"Capabilities is the Linux capabilities that are merged into every\nWorkspace of the Cluster."}},"additionalProperties":false,"description":"Runtime is the Cluster-wide runtime configuration of the Workspaces."},"octelium.api.main.cordium.v1.ClusterConfig.Spec.Workspace.Storage":{"type":"object","properties":{"storageClass":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Spec.Workspace.Storage.StorageClass","description":"StorageClass selects the StorageClass of the Workspaces' volumes."},"volumeSnapshotClass":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Spec.Workspace.Storage.VolumeSnapshotClass","description":"VolumeSnapshotClass selects the VolumeSnapshotClass of the Template\npre-build snapshots and of the WorkspaceSnapshots. If it is unset or\nif no rule matches, the Cluster lets Kubernetes pick the default\nVolumeSnapshotClass of the volume's CSI driver instead."}},"additionalProperties":false,"description":"Storage is the storage provisioning configuration of the Workspaces."},"octelium.api.main.cordium.v1.ClusterConfig.Spec.Workspace.Storage.StorageClass":{"type":"object","properties":{"rules":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Spec.Workspace.Storage.StorageClass.Rule"},"description":"Rules is the list of the storage class selection rules. They are\nevaluated in order and the first matching one is used."}},"additionalProperties":false,"description":"StorageClass selects the Kubernetes StorageClass that is used to\nprovision the Workspaces' volumes."},"octelium.api.main.cordium.v1.ClusterConfig.Spec.Workspace.Storage.StorageClass.Rule":{"type":"object","properties":{"condition":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Condition","description":"Condition is evaluated against the Workspace that is being\nprovisioned (i.e. `workspace`)."},"storageClass":{"type":"string","description":"StorageClass is the name of the Kubernetes StorageClass that is\nused once the Condition matches."}},"additionalProperties":false,"description":"Rule is a single storage class selection rule."},"octelium.api.main.cordium.v1.ClusterConfig.Spec.Workspace.Storage.VolumeSnapshotClass":{"type":"object","properties":{"rules":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ClusterConfig.Spec.Workspace.Storage.VolumeSnapshotClass.Rule"},"description":"Rules is the list of the volume snapshot class selection rules.\nThey are evaluated in order and the first matching one is used."}},"additionalProperties":false,"description":"VolumeSnapshotClass selects the Kubernetes VolumeSnapshotClass that\nis used for the Template pre-build snapshots as well as for the\nWorkspaceSnapshots."},"octelium.api.main.cordium.v1.ClusterConfig.Spec.Workspace.Storage.VolumeSnapshotClass.Rule":{"type":"object","properties":{"condition":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Condition","description":"Condition is evaluated against the request context which\ncontains the snapshotted Workspace (i.e. `ctx.workspace`) and\nits Template (i.e. `ctx.template`)."},"volumeSnapshotClass":{"type":"string","description":"VolumeSnapshotClass is the name of the Kubernetes\nVolumeSnapshotClass that is used once the Condition matches."}},"additionalProperties":false,"description":"Rule is a single volume snapshot class selection rule."},"octelium.api.main.cordium.v1.ClusterConfig.Spec.Workspace.Timeout":{"type":"object","properties":{"defaultDuration":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"DefaultDuration is the inactivity timeout that is applied when no\nSpace-type-specific duration is set."},"userSpaceDuration":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"UserSpaceDuration is the inactivity timeout of the Workspaces that\nbelong to USER Spaces."},"organizationSpaceDuration":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"OrganizationSpaceDuration is the inactivity timeout of the\nWorkspaces that belong to ORGANIZATION Spaces."},"maxActiveDuration":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"MaxActiveDuration is the maximum total duration for which a\nWorkspace can remain running regardless of its activity."},"allowNoTimeout":{"type":"boolean","description":"AllowNoTimeout allows the Workspaces to disable their inactivity\ntimeout entirely via their runtime's timeout mode."}},"additionalProperties":false,"description":"Timeout is the Cluster-wide inactivity timeouts after which a running\nWorkspace is automatically stopped. All the fields are optional."},"octelium.api.main.cordium.v1.ClusterConfig.Status":{"type":"object","properties":{},"additionalProperties":false,"description":"Status is the current status of the ClusterConfig. It is intentionally\nempty."},"octelium.api.main.cordium.v1.Condition":{"type":"object","properties":{"matchAny":{"type":"boolean","description":"MatchAny matches anything","x-oneof":"type"},"match":{"type":"string","description":"Match contains a single CEL expression","x-oneof":"type"},"all":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Condition.All","description":"All acts as a logical AND operator on its list of CEL expressions","x-oneof":"type"},"any":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Condition.Any","description":"Any acts as a logical OR operator on its list of CEL expressions","x-oneof":"type"},"not":{"type":"string","description":"Not acts as a logical NOT operator of a single CEL expression","x-oneof":"type"},"none":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Condition.None","description":"None acts as a logical NOR operator on its list of CEL expressions (i.e.\nnone of the expressions matches)","x-oneof":"type"},"opa":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Condition.OPA","description":"OPA contains an OPA (Open Policy Agent) Rego script","x-oneof":"type"}},"additionalProperties":false,"description":"Condition is a boolean expression that is evaluated by the Cluster against a\nrequest context. It is used by the ClusterConfig rules (e.g. the Space\nownership rules and the storage class selection rules).","x-oneofs":{"type":["matchAny","match","all","any","not","none","opa"]}},"octelium.api.main.cordium.v1.Condition.All":{"type":"object","properties":{"of":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Condition"},"description":"Of is the list of the Conditions that all have to match."}},"additionalProperties":false,"description":"All acts as a logical AND operator on its list of Conditions."},"octelium.api.main.cordium.v1.Condition.Any":{"type":"object","properties":{"of":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Condition"},"description":"Of is the list of the Conditions of which at least one has to match."}},"additionalProperties":false,"description":"Any acts as a logical OR operator on its list of Conditions."},"octelium.api.main.cordium.v1.Condition.None":{"type":"object","properties":{"of":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Condition"},"description":"Of is the list of the Conditions of which none is allowed to match."}},"additionalProperties":false,"description":"None acts as a logical NOR operator on its list of Conditions."},"octelium.api.main.cordium.v1.Condition.OPA":{"type":"object","properties":{"inline":{"type":"string","description":"Inline is the OPA Rego script directly provided as a string","x-oneof":"type"}},"additionalProperties":false,"description":"OPA is an OPA (Open Policy Agent) Rego script.","x-oneofs":{"type":["inline"]}},"octelium.api.main.cordium.v1.CreateMembershipRequest":{"type":"object","properties":{"role":{"$ref":"#/definitions/octelium.api.main.cordium.v1.CreateMembershipRequest.Role","description":"Role is the level of access that the new Member has inside the Space. It\ndefaults to USER."},"spaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"SpaceRef is the reference of the Space to add the Member to."},"userRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"UserRef is the reference of the Octelium User to be added.","x-oneof":"userType"},"email":{"type":"string","description":"Email is the email address of the Octelium User to be added. The User\nmust already exist in the Cluster.","x-oneof":"userType"}},"additionalProperties":false,"description":"CreateMembershipRequest is the request of the CreateMembership method.","x-oneofs":{"userType":["userRef","email"]}},"octelium.api.main.cordium.v1.CreateMembershipRequest.Role":{"type":"string","enum":["UNKNOWN","OWNER","ADMIN","USER"],"description":"Role is the level of access that the new Member has inside the Space. It\nmirrors the Membership's own Role","x-enumDescriptions":{"UNKNOWN":"UNKNOWN is not used. It is treated as USER.","OWNER":"OWNER has full control over the Space. Granting this Role requires the\ncaller to be an OWNER themselves.","ADMIN":"ADMIN can manage the Space's Templates, Secrets, GitProviders and\nMemberships.","USER":"USER can use the Space but cannot manage it."}},"octelium.api.main.cordium.v1.GetClusterConfigRequest":{"type":"object","properties":{},"additionalProperties":false,"description":"GetClusterConfigRequest is the request of the GetClusterConfig method. It is\nintentionally empty since there is exactly one ClusterConfig per Cluster."},"octelium.api.main.cordium.v1.GetSpaceMembershipRequest":{"type":"object","properties":{"spaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"SpaceRef is the reference of the Space whose Membership of the calling\nUser is retrieved."}},"additionalProperties":false,"description":"GetSpaceMembershipRequest is the request of the GetSpaceMembership method."},"octelium.api.main.cordium.v1.GetUserConfigRequest":{"type":"object","properties":{},"additionalProperties":false,"description":"GetUserConfigRequest is the request of the GetUserConfig method. It is\nintentionally empty since the UserConfig of the calling User is always the\none that is returned."},"octelium.api.main.cordium.v1.GitProvider":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"cordium/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `GitProvider`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.cordium.v1.GitProvider.Spec","description":"Spec is the GitProvider specification."},"status":{"$ref":"#/definitions/octelium.api.main.cordium.v1.GitProvider.Status","description":"Status is the current status of the GitProvider."}},"additionalProperties":false,"description":"GitProvider configures OAuth2 authentication against a git hosting service\n(i.e. GitHub, GitLab or a generic OAuth2 provider) inside a Space. Once a\nGitProvider is attached to a Template, the User's stored OAuth2 token is\nautomatically injected into the Workspaces of that Template which enables\n`git clone`, `git push` and the other authenticated operations without any\nmanual credential configuration."},"octelium.api.main.cordium.v1.GitProvider.Spec":{"type":"object","properties":{"github":{"$ref":"#/definitions/octelium.api.main.cordium.v1.GitProvider.Spec.Github","description":"Github is the GitHub OAuth2 provider.","x-oneof":"type"},"gitlab":{"$ref":"#/definitions/octelium.api.main.cordium.v1.GitProvider.Spec.Gitlab","description":"Gitlab is the GitLab OAuth2 provider.","x-oneof":"type"},"oauth2":{"$ref":"#/definitions/octelium.api.main.cordium.v1.GitProvider.Spec.OAuth2","description":"OAuth2 is a generic OAuth2 provider.","x-oneof":"type"}},"additionalProperties":false,"description":"Spec is the GitProvider specification","x-oneofs":{"type":["github","gitlab","oauth2"]}},"octelium.api.main.cordium.v1.GitProvider.Spec.Github":{"type":"object","properties":{"clientID":{"type":"string","description":"ClientID is the OAuth2 application's client ID."},"clientSecret":{"$ref":"#/definitions/octelium.api.main.cordium.v1.GitProvider.Spec.Github.ClientSecret","description":"ClientSecret is the OAuth2 application's client secret."},"scopes":{"type":"array","items":{"type":"string"},"description":"Scopes is the list of the OAuth2 scopes that are requested from the\nprovider (e.g. `repo`)."}},"additionalProperties":false,"description":"Github is the GitHub OAuth2 provider."},"octelium.api.main.cordium.v1.GitProvider.Spec.Github.ClientSecret":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret is the name of a Secret in the same Space whose content\nis used as the client secret.","x-oneof":"type"}},"additionalProperties":false,"description":"ClientSecret is the OAuth2 application's client secret.","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.cordium.v1.GitProvider.Spec.Gitlab":{"type":"object","properties":{"clientID":{"type":"string","description":"ClientID is the OAuth2 application's client ID."},"clientSecret":{"$ref":"#/definitions/octelium.api.main.cordium.v1.GitProvider.Spec.Gitlab.ClientSecret","description":"ClientSecret is the OAuth2 application's client secret."},"scopes":{"type":"array","items":{"type":"string"},"description":"Scopes is the list of the OAuth2 scopes that are requested from the\nprovider (e.g. `read_repository`)."}},"additionalProperties":false,"description":"Gitlab is the GitLab OAuth2 provider."},"octelium.api.main.cordium.v1.GitProvider.Spec.Gitlab.ClientSecret":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret is the name of a Secret in the same Space whose content\nis used as the client secret.","x-oneof":"type"}},"additionalProperties":false,"description":"ClientSecret is the OAuth2 application's client secret.","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.cordium.v1.GitProvider.Spec.OAuth2":{"type":"object","properties":{"clientID":{"type":"string","description":"ClientID is the OAuth2 application's client ID."},"clientSecret":{"$ref":"#/definitions/octelium.api.main.cordium.v1.GitProvider.Spec.OAuth2.ClientSecret","description":"ClientSecret is the OAuth2 application's client secret."},"authURL":{"type":"string","description":"AuthURL is the provider's authorization endpoint URL."},"tokenURL":{"type":"string","description":"TokenURL is the provider's token endpoint URL."},"scopes":{"type":"array","items":{"type":"string"},"description":"Scopes is the list of the OAuth2 scopes that are requested from the\nprovider. At least one scope must be provided."}},"additionalProperties":false,"description":"OAuth2 is a generic OAuth2 provider for the self-hosted and the other\ngit hosting services."},"octelium.api.main.cordium.v1.GitProvider.Spec.OAuth2.ClientSecret":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret is the name of a Secret in the same Space whose content\nis used as the client secret.","x-oneof":"type"}},"additionalProperties":false,"description":"ClientSecret is the OAuth2 application's client secret.","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.cordium.v1.GitProvider.Status":{"type":"object","properties":{"userRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"UserRef is the reference of the Octelium User who created the\nGitProvider."},"spaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"SpaceRef is the reference of the Space that owns the GitProvider."}},"additionalProperties":false,"description":"Status is the current status of the GitProvider. It is managed by the\nCluster and it is read-only."},"octelium.api.main.cordium.v1.GitProviderList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"cordium/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `GitProviderList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.GitProvider"},"description":"Items is the list of GitProviders."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"GitProviderList is the response of the ListGitProvider method."},"octelium.api.main.cordium.v1.InitializeAgentRequest":{"type":"object","properties":{"workspaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"WorkspaceRef optionally sets another existing Workspace of the agent's\nTemplate that is owned by the User as the agent's Workspace. If it is\nunset, the current agent's Workspace is kept as long as it still exists,\notherwise a new one is created."}},"additionalProperties":false,"description":"InitializeAgentRequest is the request of the InitializeAgent method."},"octelium.api.main.cordium.v1.LeaveSpaceRequest":{"type":"object","properties":{"spaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"SpaceRef is the reference of the Space to be left."}},"additionalProperties":false,"description":"LeaveSpaceRequest is the request of the LeaveSpace method."},"octelium.api.main.cordium.v1.LeaveSpaceResponse":{"type":"object","properties":{},"additionalProperties":false,"description":"LeaveSpaceResponse is the response of the LeaveSpace method. It is\nintentionally empty."},"octelium.api.main.cordium.v1.ListGitProviderOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common is the pagination and ordering options that are common to all the\nList methods."},"spaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"SpaceRef is the reference of the Space whose GitProviders are listed."}},"additionalProperties":false,"description":"ListGitProviderOptions is the request of the ListGitProvider method."},"octelium.api.main.cordium.v1.ListMembershipOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common is the pagination and ordering options that are common to all the\nList methods."},"spaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"SpaceRef is the reference of the Space whose Memberships are listed."}},"additionalProperties":false,"description":"ListMembershipOptions is the request of the ListMembership method."},"octelium.api.main.cordium.v1.ListRegionOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common is the pagination and ordering options that are common to all the\nList methods."}},"additionalProperties":false,"description":"ListRegionOptions is the request of the ListRegion method."},"octelium.api.main.cordium.v1.ListSecretOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common is the pagination and ordering options that are common to all the\nList methods."},"spaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"SpaceRef is the reference of the Space whose Secrets are listed."}},"additionalProperties":false,"description":"ListSecretOptions is the request of the ListSecret method."},"octelium.api.main.cordium.v1.ListSpaceOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common is the pagination and ordering options that are common to all the\nList methods."},"type":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Space.Status.Type","description":"Type optionally lists only the Spaces of this type."},"mode":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ListSpaceOptions.Mode","description":"Mode is the relationship between the calling User and the listed Spaces."}},"additionalProperties":false,"description":"ListSpaceOptions is the request of the ListSpace method."},"octelium.api.main.cordium.v1.ListSpaceOptions.Mode":{"type":"string","enum":["MODE_UNSET","MODE_CREATED_BY","MODE_MEMBER"],"description":"Mode is the relationship between the calling User and the listed Spaces","x-enumDescriptions":{"MODE_UNSET":"MODE_UNSET falls back to MODE_CREATED_BY.","MODE_CREATED_BY":"MODE_CREATED_BY lists only the Spaces that were created by the calling\nUser.","MODE_MEMBER":"MODE_MEMBER lists the Spaces in which the calling User has a Membership."}},"octelium.api.main.cordium.v1.ListTemplateOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common is the pagination and ordering options that are common to all the\nList methods."},"spaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"SpaceRef is the reference of the Space whose Templates are listed."}},"additionalProperties":false,"description":"ListTemplateOptions is the request of the ListTemplate method."},"octelium.api.main.cordium.v1.ListUserSecretOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common is the pagination and ordering options that are common to all the\nList methods."}},"additionalProperties":false,"description":"ListUserSecretOptions is the request of the ListUserSecret method. Only the\nUserSecrets that are owned by the calling User are returned."},"octelium.api.main.cordium.v1.ListVolumeOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common is the pagination and ordering options that are common to all the\nList methods."},"spaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"SpaceRef is the reference of the Space whose Volumes are listed."}},"additionalProperties":false,"description":"ListVolumeOptions is the request of the ListVolume method."},"octelium.api.main.cordium.v1.ListWorkspaceOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common is the pagination and ordering options that are common to all the\nList methods."},"spaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"SpaceRef returns only the Workspaces that belong to this Space.","x-oneof":"filter"},"templateRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"TemplateRef returns only the Workspaces that belong to this Template.","x-oneof":"filter"}},"additionalProperties":false,"description":"ListWorkspaceOptions is the request of the ListWorkspace method. The\nreturned Workspaces are always restricted to the ones that are owned by the\ncalling User.","x-oneofs":{"filter":["spaceRef","templateRef"]}},"octelium.api.main.cordium.v1.ListWorkspaceSnapshotOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common is the pagination and ordering options that are common to all the\nList methods."},"workspaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"WorkspaceRef returns only the snapshots of this Workspace.","x-oneof":"filter"},"spaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"SpaceRef returns only the snapshots whose source Workspace belongs to\nthis Space.","x-oneof":"filter"}},"additionalProperties":false,"description":"ListWorkspaceSnapshotOptions is the request of the ListWorkspaceSnapshot\nmethod. The returned WorkspaceSnapshots are always restricted to the ones\nthat are owned by the calling User.","x-oneofs":{"filter":["workspaceRef","spaceRef"]}},"octelium.api.main.cordium.v1.Membership":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"cordium/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `Membership`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Membership.Spec","description":"Spec is the Membership specification."},"status":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Membership.Status","description":"Status is the current status of the Membership."}},"additionalProperties":false,"description":"Membership binds an Octelium User to a Space with a specific Role. It is the\nresource that grants a User access to the Space's Templates, Workspaces,\nSecrets and GitProviders. A Membership with the OWNER Role is automatically\ncreated for the User who creates a Space."},"octelium.api.main.cordium.v1.Membership.Spec":{"type":"object","properties":{"role":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Membership.Spec.Role","description":"Role is the level of access that the Member has inside the Space."}},"additionalProperties":false,"description":"Spec is the Membership specification"},"octelium.api.main.cordium.v1.Membership.Spec.Role":{"type":"string","enum":["UNKNOWN","OWNER","ADMIN","USER"],"description":"Role is the level of access that the Member has inside the Space","x-enumDescriptions":{"UNKNOWN":"UNKNOWN is not used. It is treated as USER upon the creation of a\nMembership.","OWNER":"OWNER has full control over the Space including deleting it and\nmanaging its Owners. Granting this Role requires the caller to be an\nOWNER themselves and requires the target User to be authorized to own\nSpaces by the ClusterConfig.","ADMIN":"ADMIN can manage the Space's Templates, Secrets, GitProviders and\nMemberships.","USER":"USER can use the Space (e.g. create Workspaces in it) but cannot\nmanage it."}},"octelium.api.main.cordium.v1.Membership.Status":{"type":"object","properties":{"userRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"UserRef is the reference of the Octelium User that the Membership\nbelongs to."},"spaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"SpaceRef is the reference of the Space that the Membership belongs to."},"userInfo":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Membership.Status.UserInfo","description":"UserInfo is the human-readable information about the Member."},"gitProviderStateMap":{"type":"object","additionalProperties":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Membership.Status.GitProviderState"},"description":"GitProviderStateMap is the map of the in-flight GitProvider OAuth2\nauthorization flows of the Member keyed by the UID of the Workspace that\neach flow was initiated for. It is internal to the Cluster and it is\nnever exposed by the Membership methods."}},"additionalProperties":false,"description":"Status is the current status of the Membership. It is managed by the\nCluster and it is read-only."},"octelium.api.main.cordium.v1.Membership.Status.GitProviderState":{"type":"object","properties":{"gitProviderRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"GitProviderRef is the reference of the GitProvider that the flow\nauthenticates against."},"workspaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"WorkspaceRef is the reference of the Workspace that the flow was\ninitiated for."},"createdAt":{"type":"string","format":"date-time","description":"CreatedAt is the timestamp at which the flow was initiated. The state\nis short-lived and it is discarded once it expires."},"stateID":{"type":"string","description":"StateID is the randomly generated value that is used as the OAuth2\n`state` parameter in order to protect the flow against CSRF."}},"additionalProperties":false,"description":"GitProviderState is the state of an in-flight GitProvider OAuth2\nauthorization flow that was initiated for a specific Workspace."},"octelium.api.main.cordium.v1.Membership.Status.UserInfo":{"type":"object","properties":{"displayName":{"type":"string","description":"DisplayName is the Member's display name."},"picURL":{"type":"string","description":"PicURL is the URL of the Member's picture."}},"additionalProperties":false,"description":"UserInfo is the human-readable information about the Member which is\ncopied from the Octelium User in order to be displayed alongside the\nMembership."},"octelium.api.main.cordium.v1.MembershipList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"cordium/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `MembershipList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Membership"},"description":"Items is the list of Memberships."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"MembershipList is the response of the ListMembership method."},"octelium.api.main.cordium.v1.Region":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"cordium/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `Region`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Region.Spec","description":"Spec is the Region specification."},"status":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Region.Status","description":"Status is the current status of the Region."}},"additionalProperties":false,"description":"Region is an Octelium Region of the Cluster that is enabled to host\nWorkspaces. Regions are managed by the Cluster administrators and they are\nread-only for the Users who can only choose among them when starting a\nWorkspace or when setting their preferred Region in their UserConfig."},"octelium.api.main.cordium.v1.Region.Spec":{"type":"object","properties":{},"additionalProperties":false,"description":"Spec is the Region specification. It is intentionally empty."},"octelium.api.main.cordium.v1.Region.Status":{"type":"object","properties":{"country":{"type":"string","description":"Country is the country in which the Region is located."},"city":{"type":"string","description":"City is the city in which the Region is located."}},"additionalProperties":false,"description":"Status is the current status of the Region. It is managed by the Cluster\nand it is read-only."},"octelium.api.main.cordium.v1.RegionList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version of the object."},"kind":{"type":"string","description":"Kind is the resource name (i.e. `RegionList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Region"},"description":"Items is the list of Regions."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"RegionList is the response of the ListRegion method."},"octelium.api.main.cordium.v1.Secret":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version of the object."},"kind":{"type":"string","description":"Kind is the resource name (i.e. `Secret`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"octelium.api.main.meta.v1.Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Secret.Spec","description":"Spec is the Secret specification."},"status":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Secret.Status","description":"Status is the current status of the Secret."},"data":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Secret.Data","description":"Data is the Secret data content."}},"additionalProperties":false,"description":"Secret is a sensitive value (e.g. an API key, a token, a password or a\ncertificate) that is stored inside a Space. Secrets are referenced by name\nfrom the Workspace and Template specs (e.g. as the source of an environment\nvariable, of a registry password or of a repository password). Their content\nis resolved by the Cluster at initialization time and it is never returned\nback by the API once the Secret is created."},"octelium.api.main.cordium.v1.Secret.Data":{"type":"object","properties":{"value":{"type":"string","description":"Value is the content provided as a string.","x-oneof":"type"},"valueBytes":{"type":"string","contentEncoding":"base64","description":"ValueBytes is the content provided as raw bytes.","x-oneof":"type"},"attrs":{"type":"object","description":"Attrs is the content provided as a structured map of attributes.","x-oneof":"type"}},"additionalProperties":false,"description":"Data is the Secret's sensitive content. It is write-only (i.e. it can only\nbe set at creation time and it is never returned back by the API).","x-oneofs":{"type":["value","valueBytes","attrs"]}},"octelium.api.main.cordium.v1.Secret.Spec":{"type":"object","properties":{},"additionalProperties":false,"description":"Spec is the Secret specification. It is intentionally empty."},"octelium.api.main.cordium.v1.Secret.Status":{"type":"object","properties":{"spaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"SpaceRef is the reference of the Space that owns the Secret."},"userRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"UserRef is the reference of the Octelium User who created the Secret."}},"additionalProperties":false,"description":"Status is the current status of the Secret. It is managed by the Cluster\nand it is read-only."},"octelium.api.main.cordium.v1.SecretList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"cordium/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `SecretList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Secret"},"description":"Items is the list of Secrets."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"SecretList is the response of the ListSecret method. The Secrets' data is\nnot included."},"octelium.api.main.cordium.v1.ShareWorkspacePortRequest":{"type":"object","properties":{"workspaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"WorkspaceRef is the reference of the Workspace that owns the Application."},"mode":{"$ref":"#/definitions/octelium.api.main.cordium.v1.ShareWorkspacePortRequest.Mode","description":"Mode is the audience with which the Application is shared."},"applicationName":{"type":"string","description":"ApplicationName is the name of the Application to be shared as it is\ndefined in the Workspace's spec."}},"additionalProperties":false,"description":"ShareWorkspacePortRequest is the request of the ShareWorkspacePort method."},"octelium.api.main.cordium.v1.ShareWorkspacePortRequest.Mode":{"type":"string","enum":["UNSET","MEMBERS","ALL"],"description":"Mode is the audience with which the Application is shared. It mirrors the\nWorkspace status' SharedPort mode","x-enumDescriptions":{"UNSET":"UNSET is not used. A mode must be explicitly provided.","MEMBERS":"MEMBERS shares the Application with the Members of the Workspace's\nSpace.","ALL":"ALL shares the Application with all the Cluster's Users."}},"octelium.api.main.cordium.v1.ShareWorkspacePortResponse":{"type":"object","properties":{},"additionalProperties":false,"description":"ShareWorkspacePortResponse is the response of the ShareWorkspacePort method.\nIt is intentionally empty."},"octelium.api.main.cordium.v1.Space":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"cordium/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `Space`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Space.Spec","description":"Spec is the Space specification."},"status":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Space.Status","description":"Status is the current status of the Space."}},"additionalProperties":false,"description":"Space is the top-level namespace of Cordium. It groups the Templates,\nWorkspaces, Secrets, GitProviders and Memberships under a single\norganizational unit. A `default` Space is automatically created for a User\nupon the creation of their first Workspace. A Space can define runtime\nconfiguration that cascades down to all of its Workspaces as well as the\ndefault and the maximum resource limits of its Workspaces."},"octelium.api.main.cordium.v1.Space.Spec":{"type":"object","properties":{"limit":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Space.Spec.Limit","description":"Limit is the default and the maximum compute resources of the Space's\nWorkspaces."},"runtime":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Space.Spec.Runtime","description":"Runtime is the runtime configuration that cascades down to every\nWorkspace of the Space."},"authorization":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Space.Spec.Authorization","description":"Authorization is the access control configuration of the Space's\nWorkspaces."}},"additionalProperties":false,"description":"Spec is the Space specification"},"octelium.api.main.cordium.v1.Space.Spec.Authorization":{"type":"object","properties":{"disableSSH":{"type":"boolean","description":"DisableSSH denies SSH access to the Workspaces of the Space."}},"additionalProperties":false,"description":"Authorization is the access control configuration of the Space's\nWorkspaces."},"octelium.api.main.cordium.v1.Space.Spec.Limit":{"type":"object","properties":{"defaultLimit":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Limit","description":"DefaultLimit is the limits that are applied to the Workspaces of the\nSpace that do not define their own limits."},"maxLimit":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Limit","description":"MaxLimit is a hard cap that no Workspace of the Space can exceed."}},"additionalProperties":false,"description":"Limit is the default and the maximum compute resources of the Space's\nWorkspaces. It can only be set for ORGANIZATION Spaces."},"octelium.api.main.cordium.v1.Space.Spec.Runtime":{"type":"object","properties":{"envVars":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.EnvVar"},"description":"EnvVars is the list of the environment variables that are injected\ninto every Workspace of the Space. Secret-sourced environment\nvariables can only be used in ORGANIZATION Spaces."},"tasks":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Task"},"description":"Tasks is the list of the lifecycle tasks that are run in every\nWorkspace of the Space."},"capabilities":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Capabilities","description":"Capabilities is the Linux capabilities that are merged into every\nWorkspace of the Space."}},"additionalProperties":false,"description":"Runtime is the runtime configuration that cascades down to every\nWorkspace of the Space regardless of its Template."},"octelium.api.main.cordium.v1.Space.Status":{"type":"object","properties":{"userRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"UserRef is the reference of the Octelium User who created the Space."},"type":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Space.Status.Type","description":"Type is the type of the Space."}},"additionalProperties":false,"description":"Status is the current status of the Space. It is managed by the Cluster\nand it is read-only."},"octelium.api.main.cordium.v1.Space.Status.Type":{"type":"string","enum":["SPACE_TYPE_UNSET","USER","ORGANIZATION"],"description":"Type is the type of the Space","x-enumDescriptions":{"SPACE_TYPE_UNSET":"SPACE_TYPE_UNSET is not used.","USER":"USER is a Space that is personal to a single Octelium User. Members\ncannot currently be added to it and it cannot define resource limits.","ORGANIZATION":"ORGANIZATION is a shared Space that can have several Members with\ndifferent roles."}},"octelium.api.main.cordium.v1.SpaceList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"cordium/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `SpaceList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Space"},"description":"Items is the list of Spaces."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"SpaceList is the response of the ListSpace method."},"octelium.api.main.cordium.v1.StartWorkspaceRequest":{"type":"object","properties":{"workspaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"WorkspaceRef is the reference of the Workspace to be started."},"config":{"$ref":"#/definitions/octelium.api.main.cordium.v1.StartWorkspaceRequest.Config","description":"Config is the run-specific configuration of the run being started."}},"additionalProperties":false,"description":"StartWorkspaceRequest is the request of the StartWorkspace method."},"octelium.api.main.cordium.v1.StartWorkspaceRequest.Config":{"type":"object","properties":{"vars":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Var"},"description":"Vars is the list of the variables that override the Workspace's own\nvariables for this run."},"regionRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"RegionRef is the reference of the Region that is chosen to host the run.\nIf it is unset, the Cluster picks a Region on its own, preferring the\nUser's preferred Region if it is set in their UserConfig."}},"additionalProperties":false,"description":"Config is the run-specific configuration that only applies to the run\nbeing started."},"octelium.api.main.cordium.v1.StartWorkspaceResponse":{"type":"object","properties":{},"additionalProperties":false,"description":"StartWorkspaceResponse is the response of the StartWorkspace method. It is\nintentionally empty since the start itself is asynchronous."},"octelium.api.main.cordium.v1.StopWorkspaceRequest":{"type":"object","properties":{"workspaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"WorkspaceRef is the reference of the Workspace to be stopped."}},"additionalProperties":false,"description":"StopWorkspaceRequest is the request of the StopWorkspace method."},"octelium.api.main.cordium.v1.StopWorkspaceResponse":{"type":"object","properties":{},"additionalProperties":false,"description":"StopWorkspaceResponse is the response of the StopWorkspace method. It is\nintentionally empty since the stoppage itself is asynchronous."},"octelium.api.main.cordium.v1.Template":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"cordium/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `Template`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Template.Spec","description":"Spec is the Template specification."},"status":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Template.Status","description":"Status is the current status of the Template."}},"additionalProperties":false,"description":"Template is a reusable Workspace configuration inside a Space. Every\nWorkspace is created from a Template and it inherits its spec. Every Space\nhas a `default` Template that is automatically created along with it. A\nTemplate can additionally be associated with a GitProvider and it can be\npre-built so that its Workspaces start from a ready-made storage snapshot."},"octelium.api.main.cordium.v1.Template.Spec":{"type":"object","properties":{"image":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Image","description":"Image defines how the container image of the Template's Workspaces is\nobtained."},"runtime":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime","description":"Runtime controls the behavior of the container of the Template's\nWorkspaces."},"repository":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Repository","description":"Repository is the primary git repository which is cloned into the\nTemplate's Workspaces."},"additionalRepositories":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.AdditionalRepository"},"description":"AdditionalRepositories is the list of the secondary repositories that\nare cloned alongside the primary one."},"limit":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Limit","description":"Limit is the default compute resources that are allocated for the\nTemplate's Workspaces."},"gitProvider":{"type":"string","description":"GitProvider is the name of a GitProvider in the same Space. Once it is\nset, the User's stored OAuth2 token is automatically injected into the\nTemplate's Workspaces which enables authenticated git operations without\nany manual credential configuration."},"vars":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Var"},"description":"Vars is the list of the variables that are substituted inside the spec."}},"additionalProperties":false,"description":"Spec is the Template specification. It shares most of the Workspace spec."},"octelium.api.main.cordium.v1.Template.Status":{"type":"object","properties":{"spaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"SpaceRef is the reference of the Space that owns the Template."},"userRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"UserRef is the reference of the Octelium User who created the Template."},"gitProviderRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"GitProviderRef is the reference of the GitProvider that is associated\nwith the Template via the spec's gitProvider field."},"buildInfo":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Template.Status.BuildInfo","description":"BuildInfo is the state of the Template's pre-builds."}},"additionalProperties":false,"description":"Status is the current status of the Template. It is managed by the Cluster\nand it is read-only."},"octelium.api.main.cordium.v1.Template.Status.BuildInfo":{"type":"object","properties":{"builds":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Template.Status.BuildInfo.Build"},"description":"Builds is the history of the Template's pre-builds ordered from the\nmost to the least recent one."},"currentReadyBuildID":{"type":"string","description":"CurrentReadyBuildID is the ID of the pre-build whose storage snapshot\nthe new Workspaces of the Template are currently restored from."},"currentRunningBuildID":{"type":"string","description":"CurrentRunningBuildID is the ID of the pre-build that is currently\nrunning, if any."}},"additionalProperties":false,"description":"BuildInfo is the state of the Template's pre-builds."},"octelium.api.main.cordium.v1.Template.Status.BuildInfo.Build":{"type":"object","properties":{"id":{"type":"string","description":"ID is a randomly generated identifier of the pre-build."},"tags":{"type":"array","items":{"type":"string"},"description":"Tags is the list of the tags that the pre-build was started with. It\ndefaults to `latest`."},"startedAt":{"type":"string","format":"date-time","description":"StartedAt is the timestamp at which the pre-build started."},"doneAt":{"type":"string","format":"date-time","description":"DoneAt is the timestamp at which the pre-build completed, failed or\nwas canceled."},"isCanceled":{"type":"boolean","description":"IsCanceled means that the pre-build was explicitly canceled (e.g.\nvia the CancelBuildTemplate method or by starting a new pre-build)."},"failure":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.Failure","description":"Failure is the reason of the failure of the pre-build, if any."},"state":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Template.Status.BuildInfo.Build.State","description":"State is the current state of the pre-build."}},"additionalProperties":false,"description":"Build is a single pre-build of the Template."},"octelium.api.main.cordium.v1.Template.Status.BuildInfo.Build.State":{"type":"string","enum":["STATE_UNKNOWN","STATE_RUNNING","STATE_READY","STATE_FAILED"],"description":"State is the current state of the pre-build","x-enumDescriptions":{"STATE_UNKNOWN":"STATE_UNKNOWN is not used.","STATE_RUNNING":"STATE_RUNNING means that the pre-build is currently running.","STATE_READY":"STATE_READY means that the pre-build successfully completed and\nthat its storage snapshot can be used by the new Workspaces.","STATE_FAILED":"STATE_FAILED means that the pre-build failed or that it was\ncanceled."}},"octelium.api.main.cordium.v1.TemplateList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"cordium/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `TemplateList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Template"},"description":"Items is the list of Templates."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"TemplateList is the response of the ListTemplate method."},"octelium.api.main.cordium.v1.UnshareWorkspacePortRequest":{"type":"object","properties":{"workspaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"WorkspaceRef is the reference of the Workspace that owns the Application."},"applicationName":{"type":"string","description":"ApplicationName is the name of the Application to stop sharing."}},"additionalProperties":false,"description":"UnshareWorkspacePortRequest is the request of the UnshareWorkspacePort\nmethod."},"octelium.api.main.cordium.v1.UnshareWorkspacePortResponse":{"type":"object","properties":{},"additionalProperties":false,"description":"UnshareWorkspacePortResponse is the response of the UnshareWorkspacePort\nmethod. It is intentionally empty."},"octelium.api.main.cordium.v1.UserConfig":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"cordium/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `UserConfig`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.cordium.v1.UserConfig.Spec","description":"Spec is the UserConfig specification."},"status":{"$ref":"#/definitions/octelium.api.main.cordium.v1.UserConfig.Status","description":"Status is the current status of the UserConfig."}},"additionalProperties":false,"description":"UserConfig is the per-User configuration that is applied to all of the\nUser's Workspaces regardless of their Space or Template. There is exactly\none UserConfig per Octelium User and it is automatically created by the\nCluster upon its first use."},"octelium.api.main.cordium.v1.UserConfig.Spec":{"type":"object","properties":{"dotfiles":{"$ref":"#/definitions/octelium.api.main.cordium.v1.UserConfig.Spec.Dotfiles","description":"Dotfiles is the User's personal dotfiles repository."},"envVars":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.UserConfig.Spec.EnvVar"},"description":"EnvVars is the list of the environment variables that are injected into\nevery Workspace of the User."},"tasks":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Task"},"description":"Tasks is the list of the personal lifecycle tasks that are run in every\nWorkspace of the User. They are run after the Template-level and the\nSpace-level tasks."},"preferredRegion":{"type":"string","description":"PreferredRegion is the name of the Octelium Region in which the User's\nWorkspaces are preferably run. The Region must be enabled to host\nWorkspaces."}},"additionalProperties":false,"description":"Spec is the UserConfig specification"},"octelium.api.main.cordium.v1.UserConfig.Spec.Dotfiles":{"type":"object","properties":{"url":{"type":"string","description":"URL is the HTTPS URL of the dotfiles git repository."},"authentication":{"$ref":"#/definitions/octelium.api.main.cordium.v1.UserConfig.Spec.Dotfiles.Authentication","description":"Authentication is set for the private dotfiles repositories."},"branch":{"type":"string","description":"Branch is the branch of the dotfiles repository to be cloned. It\ndefaults to the repository's default branch."}},"additionalProperties":false,"description":"Dotfiles is a git repository containing the User's personal dotfiles. It\nis cloned into the Workspace at the beginning of the PREPARING phase and\nthe first install script that is found in it is executed."},"octelium.api.main.cordium.v1.UserConfig.Spec.Dotfiles.Authentication":{"type":"object","properties":{"http":{"$ref":"#/definitions/octelium.api.main.cordium.v1.UserConfig.Spec.Dotfiles.Authentication.HTTP","description":"HTTP is the HTTP basic authentication.","x-oneof":"type"}},"additionalProperties":false,"description":"Authentication is the credentials that are used to clone a private\ndotfiles repository.","x-oneofs":{"type":["http"]}},"octelium.api.main.cordium.v1.UserConfig.Spec.Dotfiles.Authentication.HTTP":{"type":"object","properties":{"username":{"type":"string","description":"Username is the basic authentication username."},"password":{"$ref":"#/definitions/octelium.api.main.cordium.v1.UserConfig.Spec.Dotfiles.Authentication.HTTP.Password","description":"Password is the basic authentication password."}},"additionalProperties":false,"description":"HTTP is the HTTP basic authentication credentials."},"octelium.api.main.cordium.v1.UserConfig.Spec.Dotfiles.Authentication.HTTP.Password":{"type":"object","properties":{"fromUserSecret":{"type":"string","description":"FromUserSecret is the name of a UserSecret of the same User\nwhose content is used as the password.","x-oneof":"type"}},"additionalProperties":false,"description":"Password is the password, token or personal access token.","x-oneofs":{"type":["fromUserSecret"]}},"octelium.api.main.cordium.v1.UserConfig.Spec.EnvVar":{"type":"object","properties":{"key":{"type":"string","description":"Key is the environment variable's name."},"value":{"type":"string","description":"Value is the value provided directly as a string.","x-oneof":"type"},"fromUserSecret":{"type":"string","description":"FromUserSecret is the name of a UserSecret of the same User whose\ncontent is used as the value.","x-oneof":"type"}},"additionalProperties":false,"description":"EnvVar is an environment variable that is injected into every Workspace\nof the User.","x-oneofs":{"type":["value","fromUserSecret"]}},"octelium.api.main.cordium.v1.UserConfig.Status":{"type":"object","properties":{"userRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"UserRef is the reference of the Octelium User who owns the UserConfig."},"preferredRegionRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"PreferredRegionRef is the reference of the Region that the spec's\npreferredRegion resolves to."},"agentWorkspaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"AgentWorkspaceRef is the reference of the Workspace that runs the\nUser's Cordium AI agent. It is set via the InitializeAgent method and\nit is unset once that Workspace is deleted."}},"additionalProperties":false,"description":"Status is the current status of the UserConfig. It is managed by the\nCluster and it is read-only."},"octelium.api.main.cordium.v1.UserSecret":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version of the object."},"kind":{"type":"string","description":"Kind is the resource name (i.e. `UserSecret`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"octelium.api.main.meta.v1.Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.cordium.v1.UserSecret.Spec","description":"Spec is the UserSecret specification."},"status":{"$ref":"#/definitions/octelium.api.main.cordium.v1.UserSecret.Status","description":"Status is the current status of the UserSecret."},"data":{"$ref":"#/definitions/octelium.api.main.cordium.v1.UserSecret.Data","description":"Data is the UserSecret data content."}},"additionalProperties":false,"description":"UserSecret is a sensitive value that is scoped to its owner Octelium User\nrather than to a Space. UserSecrets are used as the value source of the\nUserConfig environment variables as well as for the dotfiles repository\nauthentication. Their content is never returned back by the API."},"octelium.api.main.cordium.v1.UserSecret.Data":{"type":"object","properties":{"value":{"type":"string","description":"Value is the content provided as a string.","x-oneof":"type"},"valueBytes":{"type":"string","contentEncoding":"base64","description":"ValueBytes is the content provided as raw bytes.","x-oneof":"type"},"attrs":{"type":"object","description":"Attrs is the content provided as a structured map of attributes.","x-oneof":"type"}},"additionalProperties":false,"description":"Data is the UserSecret's sensitive content. It is write-only (i.e. it can\nonly be set at creation time and it is never returned back by the API).\nFor the UserSecrets of the SSH_KEY type it is generated by the Cluster.","x-oneofs":{"type":["value","valueBytes","attrs"]}},"octelium.api.main.cordium.v1.UserSecret.Spec":{"type":"object","properties":{"type":{"$ref":"#/definitions/octelium.api.main.cordium.v1.UserSecret.Spec.Type","description":"Type is the kind of the UserSecret's content."}},"additionalProperties":false,"description":"Spec is the UserSecret specification"},"octelium.api.main.cordium.v1.UserSecret.Spec.Type":{"type":"string","enum":["DEFAULT","SSH_KEY"],"description":"Type is the kind of the UserSecret's content","x-enumDescriptions":{"DEFAULT":"DEFAULT is an arbitrary value that is provided by the User.","SSH_KEY":"SSH_KEY is an ECDSA key pair that is generated by the Cluster. The\nprivate key is stored as the UserSecret's data and it is automatically\nloaded into an SSH agent inside every Workspace of the User while the\npublic key is exposed in the status."}},"octelium.api.main.cordium.v1.UserSecret.Status":{"type":"object","properties":{"userRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"UserRef is the reference of the Octelium User who owns the UserSecret."},"sshKey":{"$ref":"#/definitions/octelium.api.main.cordium.v1.UserSecret.Status.SSHKey","description":"SSHKey is set for the UserSecrets of the SSH_KEY type.","x-oneof":"details"}},"additionalProperties":false,"description":"Status is the current status of the UserSecret. It is managed by the\nCluster and it is read-only.","x-oneofs":{"details":["sshKey"]}},"octelium.api.main.cordium.v1.UserSecret.Status.SSHKey":{"type":"object","properties":{"publicKey":{"type":"string","description":"PublicKey is the OpenSSH-formatted public key."}},"additionalProperties":false,"description":"SSHKey is the public part of a generated SSH_KEY UserSecret."},"octelium.api.main.cordium.v1.UserSecretList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"cordium/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `UserSecretList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.UserSecret"},"description":"Items is the list of UserSecrets."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"UserSecretList is the response of the ListUserSecret method. The\nUserSecrets' data is not included."},"octelium.api.main.cordium.v1.Volume":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"cordium/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `Volume`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Volume.Spec","description":"Spec is the Volume specification."},"status":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Volume.Status","description":"Status is the current status of the Volume."}},"additionalProperties":false,"description":"Volume is a persistent storage device that lives inside a Space and that is\nmounted by the Workspaces of that Space at arbitrary paths. Unlike the\nWorkspace's own private storage, a Volume has a lifecycle of its own (i.e.\nit outlives the Workspaces that mount it), it is shared between the Members\nof its Space and it is never included in the WorkspaceSnapshots of the\nWorkspaces that mount it. Volumes are backed by a Kubernetes persistent\nvolume and, therefore, they belong to a single Region and can only be\nmounted by the Workspaces that run in that same Region."},"octelium.api.main.cordium.v1.Volume.AccessMode":{"type":"string","enum":["ACCESS_MODE_UNSET","ACCESS_MODE_EXCLUSIVE","ACCESS_MODE_SHARED"],"description":"AccessMode is the concurrency guarantee of a Volume","x-enumDescriptions":{"ACCESS_MODE_UNSET":"ACCESS_MODE_UNSET falls back to EXCLUSIVE.","ACCESS_MODE_EXCLUSIVE":"ACCESS_MODE_EXCLUSIVE is a Volume that is meant to be actively mounted\nby a single Workspace at a time. It is backed by a single-writer\nKubernetes volume which is what the block storage backends typically\nprovide.","ACCESS_MODE_SHARED":"ACCESS_MODE_SHARED is a Volume that can be actively mounted by several\nWorkspaces at the same time. It is backed by a multi-writer Kubernetes\nvolume and, therefore, it requires the Cluster to be configured with a\nshared filesystem storage backend (e.g. NFS, CephFS or EFS)."}},"octelium.api.main.cordium.v1.Volume.Spec":{"type":"object","properties":{"size":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Volume.Spec.Size","description":"Size is the requested capacity of the Volume. It defaults to the\nCluster's default Volume size. It can later be grown but never shrunk\nand growing it additionally requires the storage backend to support the\nexpansion of the already provisioned volumes."},"accessMode":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Volume.AccessMode","description":"AccessMode is the concurrency guarantee of the Volume. It is immutable\nand it defaults to EXCLUSIVE."}},"additionalProperties":false,"description":"Spec is the Volume specification"},"octelium.api.main.cordium.v1.Volume.Spec.Size":{"type":"object","properties":{"megabytes":{"type":"integer","format":"uint32","minimum":0,"description":"Megabytes is the capacity in megabytes."}},"additionalProperties":false,"description":"Size is the capacity of a Volume."},"octelium.api.main.cordium.v1.Volume.Status":{"type":"object","properties":{"state":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Volume.Status.State","description":"State is the current state of the Volume."},"spaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"SpaceRef is the reference of the Space that owns the Volume."},"userRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"UserRef is the reference of the Octelium User who created the Volume."},"regionRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"RegionRef is the reference of the Region that hosts the Volume's\nunderlying storage. Only the Workspaces that run in that Region can\nmount the Volume."},"capacity":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Volume.Spec.Size","description":"Capacity is the actual capacity of the provisioned storage as it is\nreported by the storage backend. It is unset until the Volume is\nprovisioned and it can be larger than the requested size."},"readyAt":{"type":"string","format":"date-time","description":"ReadyAt is the timestamp at which the Volume's storage was provisioned."},"failure":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Volume.Status.Failure","description":"Failure is the reason of the failure of the Volume, if any."}},"additionalProperties":false,"description":"Status is the current status of the Volume. It is entirely managed by the\nCluster and it is read-only."},"octelium.api.main.cordium.v1.Volume.Status.Failure":{"type":"object","properties":{"message":{"type":"string","description":"Message is a human-readable description of the failure."},"unsupported":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Volume.Status.Failure.Unsupported","description":"Unsupported means that the Cluster cannot provision the Volume as it\nis requested.","x-oneof":"type"},"storage":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Volume.Status.Failure.Storage","description":"Storage means that the storage backend failed.","x-oneof":"type"},"unknown":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Volume.Status.Failure.Unknown","description":"Unknown means that the Volume failed for an unclassified reason.","x-oneof":"type"}},"additionalProperties":false,"description":"Failure describes the reason of the failure of a Volume.","x-oneofs":{"type":["unsupported","storage","unknown"]}},"octelium.api.main.cordium.v1.Volume.Status.Failure.Storage":{"type":"object","properties":{},"additionalProperties":false,"description":"Storage means that the storage backend failed to provision the Volume\nor that the already provisioned storage was lost."},"octelium.api.main.cordium.v1.Volume.Status.Failure.Unknown":{"type":"object","properties":{},"additionalProperties":false,"description":"Unknown means that the Volume failed for an unclassified reason."},"octelium.api.main.cordium.v1.Volume.Status.Failure.Unsupported":{"type":"object","properties":{},"additionalProperties":false,"description":"Unsupported means that the Cluster is not able to provision the\nVolume as it is requested (e.g. a SHARED Volume was requested while no\nmulti-writer storage backend is configured)."},"octelium.api.main.cordium.v1.Volume.Status.State":{"type":"string","enum":["STATE_UNKNOWN","STATE_PENDING","STATE_READY","STATE_FAILED"],"description":"State is the current state of the Volume's lifecycle","x-enumDescriptions":{"STATE_UNKNOWN":"STATE_UNKNOWN is not used.","STATE_PENDING":"STATE_PENDING means that the underlying storage is not provisioned\nyet. A Volume can already be mounted by the Workspaces while it is\nPENDING since the storage backends commonly defer the provisioning\nitself until the first Workspace that mounts the Volume is scheduled.","STATE_READY":"STATE_READY means that the underlying storage is provisioned.","STATE_FAILED":"STATE_FAILED means that the underlying storage could not be\nprovisioned or that it was lost."}},"octelium.api.main.cordium.v1.VolumeList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"cordium/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `VolumeList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Volume"},"description":"Items is the list of Volumes."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"VolumeList is the response of the ListVolume method."},"octelium.api.main.cordium.v1.WatchWorkspaceRequest":{"type":"object","properties":{"workspaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"WorkspaceRef optionally restricts the stream to the events of a single\nWorkspace. If it is unset, the events of all the Workspaces that are owned\nby the calling User are published."}},"additionalProperties":false,"description":"WatchWorkspaceRequest is the request of the WatchWorkspace method."},"octelium.api.main.cordium.v1.WatchWorkspaceResponse":{"type":"object","properties":{"create":{"$ref":"#/definitions/octelium.api.main.cordium.v1.WatchWorkspaceResponse.Create","description":"Create means that a Workspace was created.","x-oneof":"type"},"update":{"$ref":"#/definitions/octelium.api.main.cordium.v1.WatchWorkspaceResponse.Update","description":"Update means that a Workspace was updated.","x-oneof":"type"},"delete":{"$ref":"#/definitions/octelium.api.main.cordium.v1.WatchWorkspaceResponse.Delete","description":"Delete means that a Workspace was deleted.","x-oneof":"type"}},"additionalProperties":false,"description":"WatchWorkspaceResponse is a single event of the WatchWorkspace stream.","x-oneofs":{"type":["create","update","delete"]}},"octelium.api.main.cordium.v1.WatchWorkspaceResponse.Create":{"type":"object","properties":{"item":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace","description":"Item is the created Workspace."}},"additionalProperties":false,"description":"Create means that a Workspace was created."},"octelium.api.main.cordium.v1.WatchWorkspaceResponse.Delete":{"type":"object","properties":{"item":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace","description":"Item is the deleted Workspace."}},"additionalProperties":false,"description":"Delete means that a Workspace was deleted."},"octelium.api.main.cordium.v1.WatchWorkspaceResponse.Update":{"type":"object","properties":{"newItem":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace","description":"NewItem is the Workspace after the update."},"oldItem":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace","description":"OldItem is the Workspace before the update. Comparing it against the\nnewItem is the recommended way to detect the actual state transitions."}},"additionalProperties":false,"description":"Update means that a Workspace was updated (e.g. its state changed)."},"octelium.api.main.cordium.v1.Workspace":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"cordium/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `Workspace`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec","description":"Spec is the Workspace specification."},"status":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status","description":"Status is the current status of the Workspace."}},"additionalProperties":false,"description":"Workspace, which is synonymous with a sandbox, is the fundamental execution\nunit of Cordium. It is an isolated, rootless, container-based development\nenvironment that can be used interactively or programmatically via the\nweb-based console, the `cordium` CLI, standard SSH and the gRPC-based APIs.\nEvery Workspace belongs to exactly one Template and one Space and it is\nowned by an Octelium User. A Workspace is assigned a short randomly\ngenerated name (i.e. 3 to 6 lowercase alphanumeric characters) by the\nCluster. The effective configuration of a Workspace run is the result of\nmerging the Workspace spec with the spec of its Template, the runtime\nconfiguration of its Space, the User's UserConfig as well as the Cluster\ndefaults."},"octelium.api.main.cordium.v1.Workspace.Spec":{"type":"object","properties":{"image":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Image","description":"Image defines how the Workspace's container image is obtained."},"runtime":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime","description":"Runtime controls the behavior of the Workspace's container."},"repository":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Repository","description":"Repository is the primary git repository which is cloned into\n`/workspace/repo`."},"additionalRepositories":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.AdditionalRepository"},"description":"AdditionalRepositories is the list of the secondary repositories that\nare cloned alongside the primary one."},"applications":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Application"},"description":"Applications is the list of the named ports that are exposed via the\nCordium portal."},"limit":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Limit","description":"Limit is the compute resources that are allocated for the Workspace."},"vars":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Var"},"description":"Vars is the list of the variables that are substituted inside the spec."},"isEphemeral":{"type":"boolean","description":"IsEphemeral deletes the Workspace's storage once it is stopped so that\nevery start provisions a fresh volume and runs the full initialization\nfrom scratch. A persistent (i.e. non-ephemeral) Workspace instead\npreserves its filesystem across stops and restarts."}},"additionalProperties":false,"description":"Spec is the Workspace specification"},"octelium.api.main.cordium.v1.Workspace.Spec.AdditionalRepository":{"type":"object","properties":{"name":{"type":"string","description":"Name is the name of the additional repository. It must be unique\nwithin the spec."},"clonePath":{"type":"string","description":"ClonePath is the absolute path inside the Workspace where the\nrepository is cloned (e.g.\n`/workspace/additional-repos/shared-libs`)."},"repository":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Repository","description":"Repository is the repository's URL, clone options and authentication."}},"additionalProperties":false,"description":"AdditionalRepository is a secondary repository that is cloned alongside\nthe Workspace's primary repository."},"octelium.api.main.cordium.v1.Workspace.Spec.Application":{"type":"object","properties":{"name":{"type":"string","description":"Name is the name of the Application. It must be unique within the spec\nand it is used as a subdomain prefix of the Workspace's hostname."},"displayName":{"type":"string","description":"DisplayName is a human-readable name for the Application."},"port":{"type":"integer","format":"int32","description":"Port is the TCP port that the Application listens on inside the\nWorkspace."},"isDefault":{"type":"boolean","description":"IsDefault serves the Application at the Workspace's root hostname.\nAt most one Application can be the default one."}},"additionalProperties":false,"description":"Application is a named port inside the Workspace that is exposed via the\nCordium portal's reverse proxy."},"octelium.api.main.cordium.v1.Workspace.Spec.Image":{"type":"object","properties":{"dockerfile":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Image.Dockerfile","description":"Dockerfile builds the image from an inline or a downloaded\nDockerfile.","x-oneof":"type"},"registry":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Image.Registry","description":"Registry pulls a pre-built image from a container registry.","x-oneof":"type"},"git":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Image.Git","description":"Git builds the image from a dedicated git repository.","x-oneof":"type"},"repository":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Image.Repository","description":"Repository builds the image from the Workspace's own primary\nrepository.","x-oneof":"type"}},"additionalProperties":false,"description":"Image defines how the container image that is used as the Workspace's\nroot filesystem is obtained. If it is unset, the Cluster's default base\nimage is used.","x-oneofs":{"type":["dockerfile","registry","git","repository"]}},"octelium.api.main.cordium.v1.Workspace.Spec.Image.Dockerfile":{"type":"object","properties":{"inline":{"type":"string","description":"Inline is the content of the Dockerfile provided as a string.","x-oneof":"type"},"url":{"type":"string","description":"URL is a URL from which the Dockerfile content is downloaded.","x-oneof":"type"}},"additionalProperties":false,"description":"Dockerfile builds the image from a Dockerfile that is provided\ndirectly instead of being read from a repository.","x-oneofs":{"type":["inline","url"]}},"octelium.api.main.cordium.v1.Workspace.Spec.Image.Git":{"type":"object","properties":{"url":{"type":"string","description":"URL is the HTTPS URL of the git repository (e.g.\n`https://github.com/myorg/dev-images`)."},"checkout":{"type":"string","description":"Checkout is an optional branch, tag or commit to check out after\ncloning the repository."},"dockerfile":{"type":"string","description":"Dockerfile is the path of the Dockerfile inside the repository. If\nit is unset, Cordium looks for a devcontainer spec (i.e.\n`.devcontainer/devcontainer.json` or `.devcontainer.json`) in the\nrepository instead."},"context":{"type":"string","description":"Context is the build context directory inside the repository. It\ndefaults to the repository root."}},"additionalProperties":false,"description":"Git builds the image from a dedicated git repository which is separate\nfrom the Workspace's own repository."},"octelium.api.main.cordium.v1.Workspace.Spec.Image.Registry":{"type":"object","properties":{"url":{"type":"string","description":"URL is the image reference (e.g. `ubuntu:24.04` or\n`registry.example.com/dev/base:latest`)."},"authentication":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Image.Registry.Authentication","description":"Authentication is set for the private registries that require\nauthentication."}},"additionalProperties":false,"description":"Registry pulls a pre-built image from a container registry."},"octelium.api.main.cordium.v1.Workspace.Spec.Image.Registry.Authentication":{"type":"object","properties":{"username":{"type":"string","description":"Username is the registry username."},"password":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Image.Registry.Authentication.Password","description":"Password is the registry password."}},"additionalProperties":false,"description":"Authentication is the credentials that are used to pull the image\nfrom a private registry."},"octelium.api.main.cordium.v1.Workspace.Spec.Image.Registry.Authentication.Password":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret is the name of a Secret in the same Space whose\ncontent is used as the password. It is resolved by the Cluster\nat initialization time.","x-oneof":"type"}},"additionalProperties":false,"description":"Password is the registry password or token.","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.cordium.v1.Workspace.Spec.Image.Repository":{"type":"object","properties":{"devcontainer":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Image.Repository.Devcontainer","description":"Devcontainer builds the image from the repository's devcontainer\nspec.","x-oneof":"type"},"dockerfile":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Image.Repository.Dockerfile","description":"Dockerfile builds the image from a Dockerfile inside the\nrepository.","x-oneof":"type"}},"additionalProperties":false,"description":"Repository builds the image out of the Workspace's own primary\nrepository (i.e. the `repository` field of the spec).","x-oneofs":{"type":["devcontainer","dockerfile"]}},"octelium.api.main.cordium.v1.Workspace.Spec.Image.Repository.Devcontainer":{"type":"object","properties":{"dirPath":{"type":"string","description":"DirPath is the directory of the devcontainer spec inside the\nrepository (e.g. `.devcontainer`)."}},"additionalProperties":false,"description":"Devcontainer builds the image from the Development Container spec\nthat is contained in the repository."},"octelium.api.main.cordium.v1.Workspace.Spec.Image.Repository.Dockerfile":{"type":"object","properties":{"path":{"type":"string","description":"Path is the path of the Dockerfile inside the repository (e.g.\n`docker/Dockerfile.dev`)."},"context":{"type":"string","description":"Context is the build context directory inside the repository. It\ndefaults to the repository root."}},"additionalProperties":false,"description":"Dockerfile builds the image from a Dockerfile that is contained in\nthe repository."},"octelium.api.main.cordium.v1.Workspace.Spec.Limit":{"type":"object","properties":{"cpu":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Limit.CPU","description":"CPU is the CPU allocation."},"memory":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Limit.Memory","description":"Memory is the memory allocation."},"storage":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Limit.Storage","description":"Storage is the storage allocation."}},"additionalProperties":false,"description":"Limit is the compute resources that are allocated for the Workspace. The\neffective limits are resolved by precedence (i.e. Workspace, Template,\nSpace default and then the Cluster default) and are then capped by the\nSpace and the Cluster maximums."},"octelium.api.main.cordium.v1.Workspace.Spec.Limit.CPU":{"type":"object","properties":{"millicores":{"type":"integer","format":"uint32","minimum":0,"description":"Millicores is the number of CPU millicores (i.e. 1 core equals 1000\nmillicores)."}},"additionalProperties":false,"description":"CPU is the CPU allocation."},"octelium.api.main.cordium.v1.Workspace.Spec.Limit.Memory":{"type":"object","properties":{"megabytes":{"type":"integer","format":"uint32","minimum":0,"description":"Megabytes is the amount of memory in megabytes."}},"additionalProperties":false,"description":"Memory is the memory allocation."},"octelium.api.main.cordium.v1.Workspace.Spec.Limit.Storage":{"type":"object","properties":{"megabytes":{"type":"integer","format":"uint32","minimum":0,"description":"Megabytes is the amount of disk storage in megabytes."}},"additionalProperties":false,"description":"Storage is the storage allocation."},"octelium.api.main.cordium.v1.Workspace.Spec.Repository":{"type":"object","properties":{"url":{"type":"string","description":"URL is the HTTPS URL of the git repository (e.g.\n`https://github.com/myorg/my-project`). Only the `https` scheme is\nsupported."},"cloneOptions":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Repository.CloneOptions","description":"CloneOptions controls how the repository is cloned."},"authentication":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Repository.Authentication","description":"Authentication is set for the private repositories that require\nauthentication."}},"additionalProperties":false,"description":"Repository is a git repository that is cloned into the Workspace at\ninitialization time."},"octelium.api.main.cordium.v1.Workspace.Spec.Repository.Authentication":{"type":"object","properties":{"http":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Repository.Authentication.HTTP","description":"HTTP is the HTTP basic authentication.","x-oneof":"type"}},"additionalProperties":false,"description":"Authentication is the credentials that are used to clone private\nrepositories. It is not needed when a GitProvider is associated with\nthe Template since, in that case, the User's OAuth2 token is\nautomatically injected instead.","x-oneofs":{"type":["http"]}},"octelium.api.main.cordium.v1.Workspace.Spec.Repository.Authentication.HTTP":{"type":"object","properties":{"username":{"type":"string","description":"Username is the basic authentication username (e.g. `oauth2`)."},"password":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Repository.Authentication.HTTP.Password","description":"Password is the basic authentication password."}},"additionalProperties":false,"description":"HTTP is the HTTP basic authentication credentials."},"octelium.api.main.cordium.v1.Workspace.Spec.Repository.Authentication.HTTP.Password":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret is the name of a Secret in the same Space whose\ncontent is used as the password. It is resolved by the Cluster\nat initialization time.","x-oneof":"type"}},"additionalProperties":false,"description":"Password is the password, token or personal access token.","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.cordium.v1.Workspace.Spec.Repository.CloneOptions":{"type":"object","properties":{"branch":{"type":"string","description":"Branch is the branch to be cloned. It defaults to the repository's\ndefault branch."},"depth":{"type":"integer","format":"uint32","minimum":0,"description":"Depth is the number of commits to be fetched. It is only effective\nwhen disableLazyUnshallow is set."},"singleBranch":{"type":"boolean","description":"SingleBranch fetches only the chosen branch instead of every branch."},"shallowSubmodules":{"type":"boolean","description":"ShallowSubmodules clones the repository's submodules with a depth of\n1."},"checkout":{"type":"string","description":"Checkout is an optional commit or tag to check out after cloning."},"disableLazyUnshallow":{"type":"boolean","description":"DisableLazyUnshallow disables Cordium's default behavior of\nperforming a shallow clone for a faster startup and then fetching\nthe full history asynchronously in the background."}},"additionalProperties":false,"description":"CloneOptions controls how the repository is cloned."},"octelium.api.main.cordium.v1.Workspace.Spec.Runtime":{"type":"object","properties":{"envVars":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.EnvVar"},"description":"EnvVars is the list of the environment variables that are injected\ninto the Workspace container."},"tasks":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Task"},"description":"Tasks is the list of the lifecycle tasks of the Workspace."},"disableInit":{"type":"boolean","description":"DisableInit disables the minimal init process that Cordium runs as PID\n1 in order to reap the zombie processes. It should only be set when\nthe image already contains its own init system."},"cmd":{"type":"string","description":"Cmd overrides the container image's default command."},"entrypoint":{"type":"string","description":"Entrypoint overrides the container image's default entrypoint."},"devcontainers":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Devcontainers","description":"Devcontainers is the Development Container-related configuration."},"octelium":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Octelium","description":"Octelium controls the Octelium Services that are served inside the\nWorkspace."},"network":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Network","description":"Network is the network-related configuration of the Workspace."},"filesystem":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Filesystem","description":"Filesystem is the container filesystem configuration."},"capabilities":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Capabilities","description":"Capabilities is the Linux capabilities of the Workspace's container."},"timeout":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Timeout","description":"Timeout controls the inactivity timeout of the Workspace."},"autoStop":{"type":"boolean","description":"AutoStop automatically stops the Workspace once all of its\nnon-background lifecycle tasks complete. It is mostly useful for CI/CD\nand automated workloads where no human interaction is expected."},"volumeMounts":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.VolumeMount"},"description":"VolumeMounts is the list of the Volumes of the Workspace's Space that\nare mounted inside the Workspace. The mounts that are defined by the\nTemplate are merged with the ones that are defined by the Workspace\nitself."}},"additionalProperties":false,"description":"Runtime controls the behavior of the Workspace's container (i.e. its\nenvironment variables, lifecycle tasks, capabilities, timeout, etc...)."},"octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Capabilities":{"type":"object","properties":{"add":{"type":"array","items":{"type":"string"},"description":"Add is the list of the Linux capabilities that are added (e.g.\n`NET_ADMIN`)."},"drop":{"type":"array","items":{"type":"string"},"description":"Drop is the list of the Linux capabilities that are dropped (e.g.\n`NET_RAW`)."}},"additionalProperties":false,"description":"Capabilities is the Linux capabilities of the Workspace's container.\nIt is merged with the Space-level and the ClusterConfig-level\ncapabilities."},"octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Devcontainers":{"type":"object","properties":{"features":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Devcontainers.Feature"},"description":"Features is the list of the Development Container Features that are\ninstalled inside the Workspace. They are merged with the Features\nthat are declared by the repository's own devcontainer spec, if any."}},"additionalProperties":false,"description":"Devcontainers is the Development Container-related configuration."},"octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Devcontainers.Feature":{"type":"object","properties":{"reference":{"type":"string","description":"Reference is the OCI reference of the Feature (e.g.\n`ghcr.io/devcontainers/features/docker-in-docker:2`)."},"options":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Devcontainers.Feature.Option"},"description":"Options is the list of the Feature's installation options."}},"additionalProperties":false,"description":"Feature is a Development Container Feature that is installed inside\nthe Workspace."},"octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Devcontainers.Feature.Option":{"type":"object","properties":{"key":{"type":"string","description":"Key is the option's name."},"value":{"type":"string","description":"Value is the option's value."}},"additionalProperties":false,"description":"Option is a Feature-specific installation option."},"octelium.api.main.cordium.v1.Workspace.Spec.Runtime.EnvVar":{"type":"object","properties":{"key":{"type":"string","description":"Key is the environment variable's name."},"value":{"type":"string","description":"Value is the value provided directly as a string.","x-oneof":"type"},"fromSecret":{"type":"string","description":"FromSecret is the name of a Secret in the same Space whose content\nis used as the value. It is resolved by the Cluster at\ninitialization time.","x-oneof":"type"}},"additionalProperties":false,"description":"EnvVar is an environment variable that is injected into the Workspace\ncontainer as well as into all of its lifecycle tasks.","x-oneofs":{"type":["value","fromSecret"]}},"octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Filesystem":{"type":"object","properties":{"readOnly":{"type":"boolean","description":"ReadOnly makes the container's root filesystem read-only."}},"additionalProperties":false,"description":"Filesystem is the container filesystem configuration."},"octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Network":{"type":"object","properties":{"egress":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Network.Egress","description":"Egress is the egress (i.e. outbound) traffic configuration."}},"additionalProperties":false,"description":"Network is the network-related configuration of the Workspace."},"octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Network.Egress":{"type":"object","properties":{"rules":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Network.Rule"},"description":"Rules is the list of the egress rules."},"defaultAction":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Network.Egress.DefaultAction","description":"DefaultAction is the action that is applied when no Rule matches."}},"additionalProperties":false,"description":"Egress is the egress (i.e. outbound) traffic configuration of the\nWorkspace. The Rules are unordered. A destination that is matched by\na DENY Rule is denied even if it is also matched by an ALLOW Rule. A\ndestination that is matched by no Rule falls back to the\nDefaultAction. The Cluster's own protected networks are always\ndenied regardless of the configuration."},"octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Network.Egress.DefaultAction":{"type":"string","enum":["DEFAULT_ACTION_UNSET","ALLOW_PUBLIC","DENY"],"description":"DefaultAction is the action that is applied when no Rule matches","x-enumDescriptions":{"DEFAULT_ACTION_UNSET":"DEFAULT_ACTION_UNSET falls back to ALLOW_PUBLIC.","ALLOW_PUBLIC":"ALLOW_PUBLIC allows the traffic to the publicly routable\nnetworks and denies the traffic to the private ones.","DENY":"DENY denies all the traffic that is not matched by an ALLOW\nRule."}},"octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Network.Rule":{"type":"object","properties":{"cidrs":{"type":"array","items":{"type":"string"},"description":"CIDRs is the list of the network ranges, in CIDR notation, that\nare matched by the Rule. At least one CIDR must be set."},"action":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Network.Rule.Action","description":"Action is the effect of the Rule when it matches. It must be set."},"ports":{"type":"array","items":{"type":"integer","format":"uint32","minimum":0},"description":"Ports is the list of the destination ports that are matched by the\nRule. An empty list matches every port."}},"additionalProperties":false,"description":"Rule is a network rule that matches a set of network ranges and\nports."},"octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Network.Rule.Action":{"type":"string","enum":["ACTION_UNSET","ALLOW","DENY"],"description":"Action is the effect of the Rule when it matches","x-enumDescriptions":{"ACTION_UNSET":"ACTION_UNSET is not used. The action of a Rule must be\nexplicitly set.","ALLOW":"ALLOW allows the matched traffic.","DENY":"DENY denies the matched traffic."}},"octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Octelium":{"type":"object","properties":{"serveServices":{"type":"array","items":{"type":"string"},"description":"ServeServices is the list of the names of the Octelium Services,\namong the ones assigned to the owner User, that are served inside\nthe Workspace."},"serveAll":{"type":"boolean","description":"ServeAll serves every Octelium Service that is assigned to the owner\nUser inside the Workspace."}},"additionalProperties":false,"description":"Octelium controls the `octelium connect` process that runs inside the\nWorkspace using the Workspace's own dedicated Octelium Session. It is\nwhat enables secretless access from inside the Workspace to the\nOctelium Services that its owner User is authorized to access."},"octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Task":{"type":"object","properties":{"name":{"type":"string","description":"Name is a unique name for the Task. It is used in the logs and in\nthe failure reporting."},"run":{"type":"string","description":"Run is the shell command that is executed by the Task."},"type":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Task.Type","description":"Type is the point of the lifecycle at which the Task is run. It must\nbe set."},"envVars":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Task.EnvVar"},"description":"EnvVars is the list of per-task environment variables."},"workingDir":{"type":"string","description":"WorkingDir is the working directory of the Task. It defaults to the\nWorkspace User's home directory."},"isBackground":{"type":"boolean","description":"IsBackground starts the Task and lets the Workspace's initialization\nproceed without waiting for the Task to complete."},"onFailure":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Task.OnFailure","description":"OnFailure controls whether a failure of the Task aborts the\ninitialization of the Workspace."},"runAsRoot":{"type":"boolean","description":"RunAsRoot runs the Task as `root` instead of as the Workspace User."}},"additionalProperties":false,"description":"Task is a command that is run at a defined point of the Workspace's\nlifecycle."},"octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Task.EnvVar":{"type":"object","properties":{"key":{"type":"string","description":"Key is the environment variable's name."},"value":{"type":"string","description":"Value is the environment variable's value."}},"additionalProperties":false,"description":"EnvVar is a per-task environment variable which is merged with the\nWorkspace-level environment variables."},"octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Task.OnFailure":{"type":"string","enum":["ON_FAILURE_UNSET","ON_FAILURE_ABORT","ON_FAILURE_CONTINUE"],"description":"OnFailure is the behavior of the Cluster when the Task fails","x-enumDescriptions":{"ON_FAILURE_UNSET":"ON_FAILURE_UNSET falls back to the default behavior.","ON_FAILURE_ABORT":"ON_FAILURE_ABORT aborts the initialization of the Workspace once\nthe Task fails.","ON_FAILURE_CONTINUE":"ON_FAILURE_CONTINUE logs the Task's failure and continues the\ninitialization of the Workspace."}},"octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Task.Type":{"type":"string","enum":["UNKNOWN","ON_CREATE","POST_START","PRE_STOP"],"description":"Type is the point of the Workspace's lifecycle at which the Task is\nrun","x-enumDescriptions":{"UNKNOWN":"UNKNOWN is not used. The type of a Task must be explicitly set.","ON_CREATE":"ON_CREATE runs the Task only on a fresh run (i.e. the first start\nof a persistent Workspace and every start of an ephemeral one). It\nis typically used for one-time setup such as installing\ndependencies or running migrations.","POST_START":"POST_START runs the Task on every start of the Workspace. It is\ntypically used to start background services and dev servers.","PRE_STOP":"PRE_STOP runs the Task right before the Workspace's container is\nstopped. It is typically used for graceful shutdown and cleanup."}},"octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Timeout":{"type":"object","properties":{"mode":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Timeout.Mode","description":"Mode is the inactivity timeout mode."}},"additionalProperties":false,"description":"Timeout controls the inactivity timeout after which a running\nWorkspace is automatically stopped by the Cluster."},"octelium.api.main.cordium.v1.Workspace.Spec.Runtime.Timeout.Mode":{"type":"string","enum":["MODE_UNSET","DEFAULT","DISABLED"],"description":"Mode is the inactivity timeout mode","x-enumDescriptions":{"MODE_UNSET":"MODE_UNSET falls back to the default behavior which is to apply\nthe Cluster's inactivity timeout.","DEFAULT":"DEFAULT applies the Cluster's inactivity timeout.","DISABLED":"DISABLED disables the inactivity timeout entirely. It is only\nhonored when the ClusterConfig allows Workspaces to have no\ntimeout."}},"octelium.api.main.cordium.v1.Workspace.Spec.Runtime.VolumeMount":{"type":"object","properties":{"volumeRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"VolumeRef is the reference of the mounted Volume. The Volume must\nbelong to the same Space as the Workspace."},"mountPath":{"type":"string","description":"MountPath is the absolute, canonical path inside the Workspace's\ncontainer at which the Volume is mounted (e.g. `/data`). It cannot\nbe the root directory, it cannot overlap with another mount and it\ncannot cover the paths that are reserved by the Cluster."},"readOnly":{"type":"boolean","description":"ReadOnly mounts the Volume read-only inside this Workspace. It is\nset per mount (i.e. the same Volume can simultaneously be mounted\nread-write by a Workspace and read-only by another one)."}},"additionalProperties":false,"description":"VolumeMount attaches a Volume of the Workspace's Space to a path\ninside the Workspace's container."},"octelium.api.main.cordium.v1.Workspace.Spec.Var":{"type":"object","properties":{"name":{"type":"string","description":"Name is the variable's name."},"value":{"type":"string","description":"Value is the variable's value."}},"additionalProperties":false,"description":"Var is a variable that can be referenced from within the spec's string\nfields using the `${{ vars.NAME }}` syntax. The substitution is\nperformed after all the configuration levels are merged."},"octelium.api.main.cordium.v1.Workspace.Status":{"type":"object","properties":{"state":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.State","description":"State is the current state of the Workspace's lifecycle."},"userRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"UserRef is the reference of the Octelium User who owns the Workspace."},"sessionRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"SessionRef is the reference of the dedicated Octelium Session that is\ncreated for the current run. It is the Workspace's identity for\nsecretless access to the Cluster's Services and it is deleted once the\nWorkspace is stopped."},"regionRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"RegionRef is the reference of the Octelium Region that currently hosts\nthe Workspace."},"hostname":{"type":"string","description":"Hostname is the publicly resolvable hostname of the running Workspace\n(e.g. `abc.cordium.example.com`). It is unset while the Workspace is\nstopped."},"lastInitializedAt":{"type":"string","format":"date-time","description":"LastInitializedAt is the timestamp of the last start request of the\nWorkspace."},"lastActivityAt":{"type":"string","format":"date-time","description":"LastActivityAt is the timestamp of the last recorded activity of the\nWorkspace. It is what the inactivity timeout is calculated against."},"lastStoppedAt":{"type":"string","format":"date-time","description":"LastStoppedAt is the timestamp at which the Workspace was last stopped."},"successfulRuns":{"type":"integer","format":"uint32","minimum":0,"description":"SuccessfulRuns is the total number of the runs that successfully reached\nthe RUNNING state."},"isBuild":{"type":"boolean","description":"IsBuild means that the Workspace is an internal Workspace that is\ncreated by the Cluster in order to carry out a Template pre-build. Such\nWorkspaces are hidden from the Users and they are deleted once the\npre-build completes."},"templateRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"TemplateRef is the reference of the Template that the Workspace was\ncreated from."},"spaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"SpaceRef is the reference of the Space that the Workspace belongs to."},"totalLastRunsDuration":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"TotalLastRunsDuration is the accumulated running duration of all of the\nWorkspace's runs."},"lastState":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.State","description":"LastState is the state that the Workspace was in right before the\ncurrent one."},"currentStateSetAt":{"type":"string","format":"date-time","description":"CurrentStateSetAt is the timestamp at which the current state was set."},"lastStateSetAt":{"type":"string","format":"date-time","description":"LastStateSetAt is the timestamp at which the previous state was set."},"lastRunningAt":{"type":"string","format":"date-time","description":"LastRunningAt is the timestamp at which the Workspace last reached the\nRUNNING state."},"failure":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.Failure","description":"Failure is the failure of the Workspace, if any."},"limit":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Spec.Limit","description":"Limit is the effective compute resource limits that the Cluster resolved\nfor the Workspace after merging and capping all the configuration\nlevels."},"sharedPorts":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.SharedPort"},"description":"SharedPorts is the list of the Workspace's Applications that are\ncurrently shared with other Users."},"spaceType":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Space.Status.Type","description":"SpaceType is the type of the Space that the Workspace belongs to."},"stoppingReason":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.StoppingReason","description":"StoppingReason is the reason of the current or the latest stoppage."},"lastStoppingReason":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.StoppingReason","description":"LastStoppingReason is the reason of the stoppage that preceded the\ncurrent run."},"run":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.Run","description":"Run is the current or the latest run of the Workspace."},"lastRuns":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.Run"},"description":"LastRuns is the history of the Workspace's previous runs ordered from\nthe most to the least recent one."},"workspaceSnapshotRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"WorkspaceSnapshotRef is the reference of the WorkspaceSnapshot that the\nWorkspace's persistent storage was restored from. It is set by the\nCluster upon the creation of the Workspace and it is immutable."},"lastRegionRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"LastRegionRef is the reference of the Region that hosted the latest run\nof the Workspace. Unlike regionRef, which is unset once the Workspace is\nstopped, it is preserved since the Workspace's persistent storage\nremains in that Region."}},"additionalProperties":false,"description":"Status is the current status of the Workspace. It is entirely managed by\nthe Cluster and it is read-only."},"octelium.api.main.cordium.v1.Workspace.Status.Failure":{"type":"object","properties":{"message":{"type":"string","description":"Message is a human-readable description of the failure."},"imageBuild":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.Failure.ImageBuild","description":"ImageBuild means that building the container image failed.","x-oneof":"type"},"imagePull":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.Failure.ImagePull","description":"ImagePull means that pulling the container image failed.","x-oneof":"type"},"repoClone":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.Failure.RepoClone","description":"RepoClone means that cloning the primary repository failed.","x-oneof":"type"},"buildTimeoutExceeded":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.Failure.BuildTimeoutExceeded","description":"BuildTimeoutExceeded means that the image build did not complete\nwithin the allowed duration.","x-oneof":"type"},"task":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.Failure.Task","description":"Task means that a lifecycle task failed.","x-oneof":"type"},"startupUnknown":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.Failure.StartupUnknown","description":"StartupUnknown means that the Workspace failed to start for an\nundetermined reason.","x-oneof":"type"},"startupTimeoutExceeded":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.Failure.StartupTimeoutExceeded","description":"StartupTimeoutExceeded means that the Workspace did not become ready\nwithin the allowed duration.","x-oneof":"type"},"loadStorage":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.Failure.LoadStorage","description":"LoadStorage means that loading the persistent storage failed.","x-oneof":"type"},"saveStorage":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.Failure.SaveStorage","description":"SaveStorage means that saving the persistent storage failed.","x-oneof":"type"},"stoppageTimeoutExceeded":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.Failure.StoppageTimeoutExceeded","description":"StoppageTimeoutExceeded means that the Workspace did not stop\ngracefully within the allowed duration.","x-oneof":"type"},"runContainer":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.Failure.RunContainer","description":"RunContainer means that running the Workspace's container failed.","x-oneof":"type"},"healthCheck":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.Failure.HealthCheck","description":"HealthCheck means that the Workspace failed its health checks.","x-oneof":"type"},"unknown":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.Failure.Unknown","description":"Unknown means that the run failed for an unclassified reason.","x-oneof":"type"},"additionalRepoClone":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.Failure.AdditionalRepoClone","description":"AdditionalRepoClone means that cloning one of the additional\nrepositories failed.","x-oneof":"type"},"networkPolicy":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.Failure.NetworkPolicy","description":"NetworkPolicy means that the Workspace's network configuration could\nnot be enforced.","x-oneof":"type"},"volume":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.Failure.Volume","description":"Volume means that one of the mounted Volumes could not be resolved.","x-oneof":"type"}},"additionalProperties":false,"description":"Failure describes the reason of the failure of a Workspace run.","x-oneofs":{"type":["imageBuild","imagePull","repoClone","buildTimeoutExceeded","task","startupUnknown","startupTimeoutExceeded","loadStorage","saveStorage","stoppageTimeoutExceeded","runContainer","healthCheck","unknown","additionalRepoClone","networkPolicy","volume"]}},"octelium.api.main.cordium.v1.Workspace.Status.Failure.AdditionalRepoClone":{"type":"object","properties":{"name":{"type":"string","description":"Name is the name of the additional repository that failed to be\ncloned."}},"additionalProperties":false,"description":"AdditionalRepoClone means that cloning one of the additional\nrepositories failed."},"octelium.api.main.cordium.v1.Workspace.Status.Failure.BuildTimeoutExceeded":{"type":"object","properties":{},"additionalProperties":false,"description":"BuildTimeoutExceeded means that the image build did not complete\nwithin the allowed duration."},"octelium.api.main.cordium.v1.Workspace.Status.Failure.HealthCheck":{"type":"object","properties":{},"additionalProperties":false,"description":"HealthCheck means that the Workspace failed its health checks."},"octelium.api.main.cordium.v1.Workspace.Status.Failure.ImageBuild":{"type":"object","properties":{},"additionalProperties":false,"description":"ImageBuild means that building the container image failed."},"octelium.api.main.cordium.v1.Workspace.Status.Failure.ImagePull":{"type":"object","properties":{},"additionalProperties":false,"description":"ImagePull means that pulling the container image failed."},"octelium.api.main.cordium.v1.Workspace.Status.Failure.LoadStorage":{"type":"object","properties":{},"additionalProperties":false,"description":"LoadStorage means that loading the Workspace's persistent storage\nfailed."},"octelium.api.main.cordium.v1.Workspace.Status.Failure.NetworkPolicy":{"type":"object","properties":{},"additionalProperties":false,"description":"NetworkPolicy means that the Workspace's network configuration could\nnot be enforced. The Workspace is not started in that case."},"octelium.api.main.cordium.v1.Workspace.Status.Failure.RepoClone":{"type":"object","properties":{},"additionalProperties":false,"description":"RepoClone means that cloning the primary repository failed."},"octelium.api.main.cordium.v1.Workspace.Status.Failure.RunContainer":{"type":"object","properties":{},"additionalProperties":false,"description":"RunContainer means that running the Workspace's container failed."},"octelium.api.main.cordium.v1.Workspace.Status.Failure.SaveStorage":{"type":"object","properties":{},"additionalProperties":false,"description":"SaveStorage means that saving the Workspace's persistent storage\nfailed."},"octelium.api.main.cordium.v1.Workspace.Status.Failure.StartupTimeoutExceeded":{"type":"object","properties":{},"additionalProperties":false,"description":"StartupTimeoutExceeded means that the Workspace did not become ready\nwithin the allowed duration."},"octelium.api.main.cordium.v1.Workspace.Status.Failure.StartupUnknown":{"type":"object","properties":{},"additionalProperties":false,"description":"StartupUnknown means that the Workspace failed to start for an\nundetermined reason."},"octelium.api.main.cordium.v1.Workspace.Status.Failure.StoppageTimeoutExceeded":{"type":"object","properties":{},"additionalProperties":false,"description":"StoppageTimeoutExceeded means that the Workspace did not stop\ngracefully within the allowed duration."},"octelium.api.main.cordium.v1.Workspace.Status.Failure.Task":{"type":"object","properties":{"name":{"type":"string","description":"Name is the name of the failed Task."},"exitCode":{"type":"integer","format":"int32","description":"ExitCode is the exit code with which the Task's command exited."}},"additionalProperties":false,"description":"Task means that a lifecycle task failed while its onFailure was set to\nabort the initialization."},"octelium.api.main.cordium.v1.Workspace.Status.Failure.Unknown":{"type":"object","properties":{},"additionalProperties":false,"description":"Unknown means that the run failed for an unclassified reason."},"octelium.api.main.cordium.v1.Workspace.Status.Failure.Volume":{"type":"object","properties":{"name":{"type":"string","description":"Name is the name of the Volume that could not be resolved."}},"additionalProperties":false,"description":"Volume means that one of the Volumes that are mounted by the\nWorkspace could not be resolved (e.g. it does not exist anymore, it\nbelongs to another Space or it is hosted in another Region). The\nWorkspace is not started in that case."},"octelium.api.main.cordium.v1.Workspace.Status.Run":{"type":"object","properties":{"id":{"type":"string","description":"ID is a randomly generated identifier of the run."},"initializedAt":{"type":"string","format":"date-time","description":"InitializedAt is the timestamp at which the run was initialized."},"stoppedAt":{"type":"string","format":"date-time","description":"StoppedAt is the timestamp at which the run was stopped."},"failure":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.Failure","description":"Failure is set when the run failed."},"config":{"$ref":"#/definitions/octelium.api.main.cordium.v1.StartWorkspaceRequest.Config","description":"Config is the run-specific configuration that was supplied with the\nstart request."}},"additionalProperties":false,"description":"Run is a single run of the Workspace (i.e. the period spanning from a\nstart request until the Workspace is stopped)."},"octelium.api.main.cordium.v1.Workspace.Status.SharedPort":{"type":"object","properties":{"mode":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace.Status.SharedPort.Mode","description":"Mode is the audience with which the Application is shared."},"applicationName":{"type":"string","description":"ApplicationName is the name of the shared Application as it is defined\nin the Workspace's spec."}},"additionalProperties":false,"description":"SharedPort is a named Application of the Workspace that is shared with\nother Users. It is set via the ShareWorkspacePort method."},"octelium.api.main.cordium.v1.Workspace.Status.SharedPort.Mode":{"type":"string","enum":["UNSET","MEMBERS","ALL"],"description":"Mode is the audience with which the Application is shared","x-enumDescriptions":{"UNSET":"UNSET is not used. A shared Application must have an explicit mode.","MEMBERS":"MEMBERS shares the Application with the Members of the Workspace's\nSpace.","ALL":"ALL shares the Application with all the Cluster's Users."}},"octelium.api.main.cordium.v1.Workspace.Status.State":{"type":"string","enum":["UNKNOWN","INIT_REQUEST","INITIALIZING","PULLING_IMAGE","BUILDING_IMAGE","STARTING_RUNTIME","PREPARING","RUNNING","STOPPING_REQUEST","STOPPING","STOPPED"],"description":"State is the current state of the Workspace's lifecycle","x-enumDescriptions":{"UNKNOWN":"UNKNOWN is not used.","INIT_REQUEST":"INIT_REQUEST means that a start request has been accepted by the API\nserver.","INITIALIZING":"INITIALIZING means that the Cluster is provisioning the Workspace's\nunderlying resources and waiting for its supervisor to become ready.","PULLING_IMAGE":"PULLING_IMAGE means that the container image is being pulled from the\nregistry.","BUILDING_IMAGE":"BUILDING_IMAGE means that the container image is being built from a\nDockerfile or a devcontainer spec.","STARTING_RUNTIME":"STARTING_RUNTIME means that the Workspace's container has started and\nthat the agent is initializing.","PREPARING":"PREPARING means that the agent is running the lifecycle setup (i.e.\nthe repository cloning, the ON_CREATE tasks, the dotfiles and the\ndevcontainer Features).","RUNNING":"RUNNING means that the Workspace is fully initialized and ready to be\nused.","STOPPING_REQUEST":"STOPPING_REQUEST means that a stop request has been received.","STOPPING":"STOPPING means that the Workspace is shutting down gracefully and\nrunning its PRE_STOP tasks.","STOPPED":"STOPPED means that the Workspace is not running. Its storage is\npreserved unless the Workspace is ephemeral."}},"octelium.api.main.cordium.v1.Workspace.Status.StoppingReason":{"type":"string","enum":["STOPPING_REASON_UNSET","STOPPING_REASON_API","STOPPING_REASON_ERROR","STOPPING_REASON_CLUSTER"],"description":"StoppingReason is the reason for which a Workspace was stopped","x-enumDescriptions":{"STOPPING_REASON_UNSET":"STOPPING_REASON_UNSET means that no stoppage reason is set (e.g. the\nWorkspace has never been stopped yet).","STOPPING_REASON_API":"STOPPING_REASON_API means that the Workspace was stopped upon an\nexplicit API request (e.g. via the StopWorkspace method).","STOPPING_REASON_ERROR":"STOPPING_REASON_ERROR means that the Workspace was stopped because of\na failure of the run.","STOPPING_REASON_CLUSTER":"STOPPING_REASON_CLUSTER means that the Workspace was stopped by the\nCluster itself (e.g. once its inactivity timeout was exceeded)."}},"octelium.api.main.cordium.v1.WorkspaceList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"cordium/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `WorkspaceList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.Workspace"},"description":"Items is the list of Workspaces."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"WorkspaceList is the response of the ListWorkspace method."},"octelium.api.main.cordium.v1.WorkspaceSnapshot":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"cordium/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `WorkspaceSnapshot`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.cordium.v1.WorkspaceSnapshot.Spec","description":"Spec is the WorkspaceSnapshot specification."},"status":{"$ref":"#/definitions/octelium.api.main.cordium.v1.WorkspaceSnapshot.Status","description":"Status is the current status of the WorkspaceSnapshot."}},"additionalProperties":false,"description":"WorkspaceSnapshot is a point-in-time checkpoint of the persistent storage of\na Workspace. It is backed by a Kubernetes CSI volume snapshot of the\nWorkspace's underlying volume and it is what enables a Workspace to be\ncloned into a brand new Workspace inside the same Space. A snapshot is taken\nonline (i.e. without stopping the source Workspace) in which case it is a\ncrash-consistent checkpoint, or while the source Workspace is stopped in\nwhich case it is a clean one. Snapshots are owned by the Octelium User who\ncreated them and they have a lifecycle of their own (i.e. they outlive both\ntheir source Workspace and the Workspaces that are restored from them)."},"octelium.api.main.cordium.v1.WorkspaceSnapshot.Spec":{"type":"object","properties":{},"additionalProperties":false,"description":"Spec is the WorkspaceSnapshot specification. It is intentionally empty."},"octelium.api.main.cordium.v1.WorkspaceSnapshot.Status":{"type":"object","properties":{"state":{"$ref":"#/definitions/octelium.api.main.cordium.v1.WorkspaceSnapshot.Status.State","description":"State is the current state of the WorkspaceSnapshot."},"workspaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"WorkspaceRef is the reference of the Workspace that the snapshot was\ntaken from. It is kept even after that Workspace is deleted."},"userRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"UserRef is the reference of the Octelium User who owns the snapshot."},"spaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"SpaceRef is the reference of the Space of the source Workspace. New\nWorkspaces can only be restored from the snapshot inside that Space."},"templateRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"TemplateRef is the reference of the Template of the source Workspace."},"regionRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"RegionRef is the reference of the Region that holds the snapshot. It is\nthe Region that hosted the latest run of the source Workspace and it is\nwhere the restored Workspaces are run."},"snapshotAt":{"type":"string","format":"date-time","description":"SnapshotAt is the timestamp of the point-in-time cut as it is reported\nby the storage backend. It is unset until the backend starts taking the\nsnapshot."},"readyAt":{"type":"string","format":"date-time","description":"ReadyAt is the timestamp at which the snapshot became restorable."},"restoreSizeBytes":{"type":["integer","string"],"format":"uint64","description":"RestoreSizeBytes is the minimum size, in bytes, of the volume that the\nsnapshot can be restored into. It is reported by the storage backend."},"consistency":{"$ref":"#/definitions/octelium.api.main.cordium.v1.WorkspaceSnapshot.Status.Consistency","description":"Consistency is the consistency guarantee of the snapshot."},"failure":{"$ref":"#/definitions/octelium.api.main.cordium.v1.WorkspaceSnapshot.Status.Failure","description":"Failure is the reason of the failure of the snapshot, if any."}},"additionalProperties":false,"description":"Status is the current status of the WorkspaceSnapshot. It is entirely\nmanaged by the Cluster and it is read-only."},"octelium.api.main.cordium.v1.WorkspaceSnapshot.Status.Consistency":{"type":"string","enum":["CONSISTENCY_UNSET","CONSISTENCY_CRASH","CONSISTENCY_CLEAN"],"description":"Consistency is the consistency guarantee of the snapshot","x-enumDescriptions":{"CONSISTENCY_UNSET":"CONSISTENCY_UNSET is not used.","CONSISTENCY_CRASH":"CONSISTENCY_CRASH means that the snapshot was taken while the source\nWorkspace was running. It is equivalent to the state of the storage\nafter a power loss (i.e. the data that was still buffered in memory is\nnot included).","CONSISTENCY_CLEAN":"CONSISTENCY_CLEAN means that the source Workspace was stopped when the\nsnapshot was taken."}},"octelium.api.main.cordium.v1.WorkspaceSnapshot.Status.Failure":{"type":"object","properties":{"message":{"type":"string","description":"Message is a human-readable description of the failure."},"unsupported":{"$ref":"#/definitions/octelium.api.main.cordium.v1.WorkspaceSnapshot.Status.Failure.Unsupported","description":"Unsupported means that the Cluster cannot snapshot the Workspaces'\nstorage.","x-oneof":"type"},"sourceNotFound":{"$ref":"#/definitions/octelium.api.main.cordium.v1.WorkspaceSnapshot.Status.Failure.SourceNotFound","description":"SourceNotFound means that the Workspace's volume does not exist.","x-oneof":"type"},"storage":{"$ref":"#/definitions/octelium.api.main.cordium.v1.WorkspaceSnapshot.Status.Failure.Storage","description":"Storage means that the storage backend failed to take the snapshot.","x-oneof":"type"},"unknown":{"$ref":"#/definitions/octelium.api.main.cordium.v1.WorkspaceSnapshot.Status.Failure.Unknown","description":"Unknown means that the snapshot failed for an unclassified reason.","x-oneof":"type"}},"additionalProperties":false,"description":"Failure describes the reason of the failure of a snapshot.","x-oneofs":{"type":["unsupported","sourceNotFound","storage","unknown"]}},"octelium.api.main.cordium.v1.WorkspaceSnapshot.Status.Failure.SourceNotFound":{"type":"object","properties":{},"additionalProperties":false,"description":"SourceNotFound means that the Workspace's underlying volume does not\nexist anymore."},"octelium.api.main.cordium.v1.WorkspaceSnapshot.Status.Failure.Storage":{"type":"object","properties":{},"additionalProperties":false,"description":"Storage means that the storage backend failed to take the snapshot."},"octelium.api.main.cordium.v1.WorkspaceSnapshot.Status.Failure.Unknown":{"type":"object","properties":{},"additionalProperties":false,"description":"Unknown means that the snapshot failed for an unclassified reason."},"octelium.api.main.cordium.v1.WorkspaceSnapshot.Status.Failure.Unsupported":{"type":"object","properties":{},"additionalProperties":false,"description":"Unsupported means that the Cluster is not able to snapshot the\nWorkspaces' storage (e.g. the CSI volume snapshot API is not installed\nor no VolumeSnapshotClass is configured)."},"octelium.api.main.cordium.v1.WorkspaceSnapshot.Status.State":{"type":"string","enum":["STATE_UNKNOWN","STATE_CREATING","STATE_READY","STATE_FAILED"],"description":"State is the current state of the WorkspaceSnapshot's lifecycle","x-enumDescriptions":{"STATE_UNKNOWN":"STATE_UNKNOWN is not used.","STATE_CREATING":"STATE_CREATING means that the storage backend is still taking the\nsnapshot. The snapshot cannot be restored from yet.","STATE_READY":"STATE_READY means that the snapshot is complete and that new\nWorkspaces can be restored from it.","STATE_FAILED":"STATE_FAILED means that the snapshot could not be taken. It can never\nbe restored from."}},"octelium.api.main.cordium.v1.WorkspaceSnapshotList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"cordium/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `WorkspaceSnapshotList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.cordium.v1.WorkspaceSnapshot"},"description":"Items is the list of WorkspaceSnapshots."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"WorkspaceSnapshotList is the response of the ListWorkspaceSnapshot method."},"octelium.api.main.core.v1.Authenticator":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `Authenticator`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator.Spec","description":"Spec is the Authenticator specification."},"status":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator.Status","description":"Status is the current status of the Authenticator."}},"additionalProperties":false,"description":"Authenticator is registered by a User and used for multi-factor\nauthentication (MFA), for the re-authentication of an existent Session, or\nfor a direct passwordless login via a Passkey."},"octelium.api.main.core.v1.Authenticator.Spec":{"type":"object","properties":{"displayName":{"type":"string","description":"DisplayName is the Authenticator's display name that the User sees"},"state":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator.Spec.State","description":"State is the Authenticator's state"}},"additionalProperties":false,"description":"Spec is the Authenticator specification"},"octelium.api.main.core.v1.Authenticator.Spec.State":{"type":"string","enum":["STATE_UNKNOWN","ACTIVE","PENDING","REJECTED"],"description":"State is the state of the Authenticator","x-enumDescriptions":{"STATE_UNKNOWN":"STATE_UNKNOWN is not used","ACTIVE":"ACTIVE means that the Authenticator is active","PENDING":"PENDING means that the Authenticator is pending for an activation or\nrejection.","REJECTED":"REJECTED means that the Authenticator is rejected"}},"octelium.api.main.core.v1.Authenticator.Status":{"type":"object","properties":{"userRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"UserRef is the reference of the Authenticator's User"},"deviceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"DeviceRef is the reference of the Authenticator's Device, if any"},"type":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator.Status.Type","description":"Type is the type of the Authenticator"},"info":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator.Status.Info","description":"Info is the type-specific information of the Authenticator"},"authenticationAttempt":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator.Status.AuthenticationAttempt","description":"AuthenticationAttempt is the currently pending authentication attempt"},"lastAuthenticationAttempts":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator.Status.AuthenticationAttempt"},"description":"LastAuthenticationAttempts is the list of the last authentication\nattempts"},"successfulAuthentications":{"type":"integer","format":"uint32","minimum":0,"description":"SuccessfulAuthentications is the total number of the successful\nauthentications via the Authenticator"},"failedAuthentications":{"type":"integer","format":"uint32","minimum":0,"description":"FailedAuthentications is the total number of the failed authentications\nvia the Authenticator"},"totalAuthenticationAttempts":{"type":"integer","format":"uint32","minimum":0,"description":"TotalAuthenticationAttempts is the total number of the authentication\nattempts via the Authenticator"},"ext":{"type":"object","additionalProperties":{"type":"object"},"description":"Ext is a map of internal Cluster-managed extension data"},"isRegistered":{"type":"boolean","description":"IsRegistered indicates whether the Authenticator has completed its\nregistration"},"description":{"type":"string","description":"Description is a human-readable description of the Authenticator"}},"additionalProperties":false,"description":"Status is the current status of the Authenticator"},"octelium.api.main.core.v1.Authenticator.Status.AuthenticationAttempt":{"type":"object","properties":{"createdAt":{"type":"string","format":"date-time","description":"CreatedAt is the timestamp at which the attempt was created"},"encryptedChallengeRequest":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator.Status.EncryptedData","description":"EncryptedChallengeRequest is the encrypted challenge that was issued\nfor the attempt"},"encryptedDataMap":{"type":"object","additionalProperties":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator.Status.EncryptedData"},"description":"EncryptedDataMap is a map of the attempt's additional encrypted data"},"dataMap":{"type":"object","additionalProperties":{"type":"string","contentEncoding":"base64"},"description":"DataMap is a map of the attempt's additional data"},"sessionRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"SessionRef is the reference of the Session that performed the attempt"},"completedAt":{"type":"string","format":"date-time","description":"CompletedAt is the timestamp at which the attempt was completed"}},"additionalProperties":false,"description":"AuthenticationAttempt is a single authentication attempt via the\nAuthenticator"},"octelium.api.main.core.v1.Authenticator.Status.EncryptedData":{"type":"object","properties":{"ciphertext":{"type":"string","contentEncoding":"base64","description":"Ciphertext is the encrypted value"},"nonce":{"type":"string","contentEncoding":"base64","description":"Nonce is the nonce used for the encryption"},"keySecretRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"KeySecretRef is the reference of the Secret containing the key that\nencrypted the value"}},"additionalProperties":false,"description":"EncryptedData is a value that is stored encrypted by the Cluster"},"octelium.api.main.core.v1.Authenticator.Status.Info":{"type":"object","properties":{"fido":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator.Status.Info.FIDO","description":"FIDO is the information of a FIDO/WebAuthn Authenticator","x-oneof":"type"},"totp":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator.Status.Info.TOTP","description":"TOTP is the information of a TOTP Authenticator","x-oneof":"type"},"tpm":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator.Status.Info.TPM","description":"TPM is the information of a TPM 2.0 Authenticator","x-oneof":"type"}},"additionalProperties":false,"description":"Info is the type-specific information of the Authenticator","x-oneofs":{"type":["fido","totp","tpm"]}},"octelium.api.main.core.v1.Authenticator.Status.Info.FIDO":{"type":"object","properties":{"id":{"type":"string","contentEncoding":"base64","description":"ID is the WebAuthn credential ID"},"publicKey":{"type":"string","contentEncoding":"base64","description":"PublicKey is the credential's public key"},"type":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator.Status.Info.FIDO.Type","description":"Type is the attachment type of the FIDO Authenticator"},"aaguid":{"type":"string","description":"AAGUID is the Authenticator Attestation GUID that identifies the\nmodel of the Authenticator"},"isPasskey":{"type":"boolean","description":"IsPasskey means that the Authenticator is a Passkey (i.e. it uses a\nresident/discoverable key credential)"},"idHash":{"type":"string","contentEncoding":"base64","description":"IDHash is the hash of the credential ID"},"backupEligible":{"type":"boolean","description":"BackupEligible means that the credential is eligible to be backed up\nand synced across the User's devices"},"isAttestationVerified":{"type":"boolean","description":"IsAttestationVerified means that the Authenticator's attestation was\nverified"},"isSoftware":{"type":"boolean","description":"IsSoftware means that the Authenticator is software-based (e.g. a\npassword manager)"},"isHardware":{"type":"boolean","description":"IsHardware means that the Authenticator is hardware-backed (e.g. a\nsecurity key or a platform authenticator)"},"signCount":{"type":"integer","format":"uint32","minimum":0,"description":"SignCount is the credential's signature counter which is used to\ndetect the cloned Authenticators"}},"additionalProperties":false,"description":"FIDO is the information of a FIDO/WebAuthn Authenticator"},"octelium.api.main.core.v1.Authenticator.Status.Info.FIDO.Type":{"type":"string","enum":["TYPE_UNKNOWN","ROAMING","PLATFORM"],"description":"Type is the attachment type of the FIDO Authenticator","x-enumDescriptions":{"TYPE_UNKNOWN":"TYPE_UNKNOWN is not used","ROAMING":"ROAMING means that the Authenticator is a cross-platform/roaming\nauthenticator (e.g. a security key)","PLATFORM":"PLATFORM means that the Authenticator is bound to the platform\n(e.g. Windows Hello, Android)"}},"octelium.api.main.core.v1.Authenticator.Status.Info.TOTP":{"type":"object","properties":{"sharedSecret":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator.Status.EncryptedData","description":"SharedSecret is the TOTP shared secret"},"periodSeconds":{"type":"integer","format":"uint32","minimum":0,"description":"PeriodSeconds is the duration in seconds of a single time step"},"digits":{"type":"integer","format":"uint32","minimum":0,"description":"Digits is the number of digits of the generated one-time passwords"},"algorithm":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator.Status.Info.TOTP.Algorithm","description":"Algorithm is the HMAC algorithm used to generate the one-time\npasswords"},"lastAcceptedTimeStep":{"type":["integer","string"],"format":"uint64","description":"LastAcceptedTimeStep is the last time step that was accepted. It is\nused to prevent replaying the same one-time password."},"lastAcceptedAt":{"type":"string","format":"date-time","description":"LastAcceptedAt is the timestamp at which a one-time password was\nlast accepted"}},"additionalProperties":false,"description":"TOTP is the information of a time-based one-time password (TOTP)\nAuthenticator"},"octelium.api.main.core.v1.Authenticator.Status.Info.TOTP.Algorithm":{"type":"string","enum":["ALGORITHM_UNSET","SHA1","SHA256","SHA512"],"description":"Algorithm is the HMAC algorithm used to generate the one-time\npasswords","x-enumDescriptions":{"ALGORITHM_UNSET":"ALGORITHM_UNSET is not used","SHA1":"SHA1 uses HMAC-SHA1","SHA256":"SHA256 uses HMAC-SHA256","SHA512":"SHA512 uses HMAC-SHA512"}},"octelium.api.main.core.v1.Authenticator.Status.Info.TPM":{"type":"object","properties":{"akBytes":{"type":"string","contentEncoding":"base64","description":"AKBytes is the TPM's attestation key"},"attestationParameters":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator.Status.Info.TPM.AttestationParameters","description":"AttestationParameters is the attestation of the TPM's attestation\nkey"},"ekPublicKey":{"type":"string","contentEncoding":"base64","description":"EKPublicKey is the public key of the TPM's endorsement key"},"endorsement":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator.Status.Info.TPM.Endorsement","description":"Endorsement is the provenance of the TPM's endorsement key"}},"additionalProperties":false,"description":"TPM is the information of a Trusted Platform Module (TPM) 2.0\nAuthenticator"},"octelium.api.main.core.v1.Authenticator.Status.Info.TPM.AttestationParameters":{"type":"object","properties":{"public":{"type":"string","contentEncoding":"base64","description":"Public is the public area of the attestation key"},"createData":{"type":"string","contentEncoding":"base64","description":"CreateData is the creation data of the attestation key"},"createAttestation":{"type":"string","contentEncoding":"base64","description":"CreateAttestation is the creation attestation of the attestation\nkey"},"createSignature":{"type":"string","contentEncoding":"base64","description":"CreateSignature is the creation signature of the attestation key"}},"additionalProperties":false,"description":"AttestationParameters is the attestation of the TPM's attestation\nkey"},"octelium.api.main.core.v1.Authenticator.Status.Info.TPM.Endorsement":{"type":"object","properties":{"verification":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator.Status.Info.TPM.Endorsement.Verification","description":"Verification is the outcome of the verification of the endorsement\nkey certificate"},"certificateSHA256":{"type":"string","contentEncoding":"base64","description":"CertificateSHA256 is the SHA256 digest of the DER-encoded\nendorsement key certificate"},"trustedCASHA256":{"type":"string","contentEncoding":"base64","description":"TrustedCASHA256 is the SHA256 digest of the DER-encoded trusted CA\nthat the endorsement key certificate chained to"},"manufacturerID":{"type":"integer","format":"uint32","minimum":0,"description":"ManufacturerID is the TCG vendor identifier of the TPM\nmanufacturer"},"manufacturer":{"type":"string","description":"Manufacturer is the human-readable name of the TPM manufacturer"},"model":{"type":"string","description":"Model is the model of the TPM"},"version":{"type":"string","description":"Version is the version of the TPM as stated by the endorsement key\ncertificate. It is not the current firmware version of the TPM."},"verifiedAt":{"type":"string","format":"date-time","description":"VerifiedAt is the timestamp at which the verification was performed"}},"additionalProperties":false,"description":"Endorsement is the provenance of the TPM's endorsement key as it was\nestablished upon registering the Authenticator"},"octelium.api.main.core.v1.Authenticator.Status.Info.TPM.Endorsement.Verification":{"type":"string","enum":["VERIFICATION_UNKNOWN","VERIFIED","FAILED","NOT_ATTEMPTED","NO_CERTIFICATE"],"description":"Verification is the outcome of the verification of the endorsement\nkey certificate","x-enumDescriptions":{"VERIFICATION_UNKNOWN":"VERIFICATION_UNKNOWN is not used. It is also the value of the\nAuthenticators that were registered before the endorsement key\ncertificate verification was introduced.","VERIFIED":"VERIFIED means that the endorsement key certificate chained to a\ntrusted CA","FAILED":"FAILED means that the endorsement key certificate did not chain\nto a trusted CA. It is only ever recorded whenever the mode did\nnot require the verification.","NOT_ATTEMPTED":"NOT_ATTEMPTED means that an endorsement key certificate was\npresented while no trusted CAs were set","NO_CERTIFICATE":"NO_CERTIFICATE means that the TPM presented no endorsement key\ncertificate at all"}},"octelium.api.main.core.v1.Authenticator.Status.Type":{"type":"string","enum":["TYPE_UNKNOWN","FIDO","TOTP","TPM"],"description":"Type is the type of the Authenticator","x-enumDescriptions":{"TYPE_UNKNOWN":"TYPE_UNKNOWN is not used","FIDO":"FIDO means that the Authenticator is a FIDO/WebAuthn compliant\nauthenticator (e.g. a security key, a platform authenticator or a\nsoftware-based key)","TOTP":"TOTP means that the Authenticator is a time-based one-time password\nauthenticator (e.g. Google Authenticator)","TPM":"TPM means that the Authenticator uses TPM 2.0 to provide\nhardware-based re-authentication for CLIENT Sessions"}},"octelium.api.main.core.v1.AuthenticatorList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `AuthenticatorList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator"},"description":"Items is the list of Authenticators."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"AuthenticatorList is the list of Authenticators returned by the\nListAuthenticator method."},"octelium.api.main.core.v1.ClusterConfig":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `ClusterConfig`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec","description":"Spec is the ClusterConfig specification."},"status":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status","description":"Status is the current status of the ClusterConfig."}},"additionalProperties":false,"description":"ClusterConfig is the Cluster-wide configuration. It is a singleton resource\nthat sets the defaults and the global options that apply to the entire\nCluster (e.g. the Session and Device defaults, the Cluster-wide Policies,\nthe DNS and the Authenticator/MFA options)."},"octelium.api.main.core.v1.ClusterConfig.Spec":{"type":"object","properties":{"authorization":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authorization","description":"Authorization sets the Cluster-wide authorization configuration"},"ingress":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Ingress","description":"Ingress sets Ingress specific-options."},"session":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Session","description":"Session sets the Cluster Sessions' specific-options."},"device":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Device","description":"Device sets Device-specific options."},"gateway":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Gateway","description":"Gateway sets the Gateway-specific options."},"dns":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.DNS","description":"DNS sets the private Cluster's DNS service specific options."},"authenticator":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator","description":"Authenticator sets the Authenticator/MFA specific options."},"authentication":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authentication","description":"Authentication sets the authentication process specific options."}},"additionalProperties":false,"description":"Spec is the ClusterConfig specification"},"octelium.api.main.core.v1.ClusterConfig.Spec.Authentication":{"type":"object","properties":{"geolocation":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation","description":"Geolocation sets the geolocation resolution of the authenticating\nclients"}},"additionalProperties":false,"description":"Authentication sets the Cluster-wide options of the authentication\nprocess"},"octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation":{"type":"object","properties":{"mmdb":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB","x-oneof":"type"}},"additionalProperties":false,"description":"Geolocation sets the geolocation resolution of the authenticating\nclients. Once enabled, the resolved GeoIP information is set in the\nSession on each authentication and it can be used in the Policies.","x-oneofs":{"type":["mmdb"]}},"octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB":{"type":"object","properties":{"fromConfig":{"type":"string","description":"FromConfig sets the name of the Config whose data contains the\nMMDB database","x-oneof":"type"},"upstream":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream","description":"Upstream fetches the MMDB database from a URL","x-oneof":"type"}},"additionalProperties":false,"description":"MMDB resolves the geolocation from MaxMind MMDB databases (the\n`enterprise`, `city` and `country` database types are supported)","x-oneofs":{"type":["fromConfig","upstream"]}},"octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream":{"type":"object","properties":{"url":{"type":"string","description":"URL is the URL from which the MMDB database is fetched"},"auth":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth","description":"Auth sets the credentials used to fetch the MMDB database"}},"additionalProperties":false,"description":"Upstream fetches the MMDB database from a URL"},"octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth":{"type":"object","properties":{"bearer":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Bearer","description":"Bearer sets bearer authentication details","x-oneof":"type"},"basic":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Basic","description":"Basic sets basic authentication details","x-oneof":"type"},"custom":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Custom","description":"Custom sets authentication inside custom header","x-oneof":"type"},"query":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Query","description":"Query sets authentication inside a URL query parameter","x-oneof":"type"}},"additionalProperties":false,"description":"Auth sets the credentials used to fetch the MMDB database","x-oneofs":{"type":["bearer","basic","custom","query"]}},"octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Basic":{"type":"object","properties":{"username":{"type":"string","description":"Username is the username value of HTTP basic authentication"},"password":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Basic.Password","description":"Password is the password value of HTTP basic authentication"}},"additionalProperties":false,"description":"Basic is the HTTP basic authentication credentials"},"octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Basic.Password":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value\ncontains the Password","x-oneof":"type"}},"additionalProperties":false,"description":"Password is the password value of HTTP basic authentication","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Bearer":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value\ncontains the bearer token","x-oneof":"type"}},"additionalProperties":false,"description":"Bearer is the bearer token that is set in the `Authorization`\nrequest header","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Custom":{"type":"object","properties":{"header":{"type":"string","description":"Header is the name of the HTTP header (e.g. \"X-Custom-Auth\")"},"value":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Custom.Value","description":"Value is the value of the header"}},"additionalProperties":false,"description":"Custom is a credential that is set in a custom request header"},"octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Custom.Value":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value\ncontains the header's Value","x-oneof":"type"}},"additionalProperties":false,"description":"Value is the value of the custom request header","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Query":{"type":"object","properties":{"key":{"type":"string","description":"Key is the name of the query parameter"},"value":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Query.Value","description":"Value is the value of the query parameter"}},"additionalProperties":false,"description":"Query is a credential that is set in a URL query parameter"},"octelium.api.main.core.v1.ClusterConfig.Spec.Authentication.Geolocation.MMDB.Upstream.Auth.Query.Value":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value\ncontains the query parameter's Value","x-oneof":"type"}},"additionalProperties":false,"description":"Value is the value of the query parameter","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator":{"type":"object","properties":{"registrationEnforcementRules":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator.EnforcementRule"},"description":"RegistrationEnforcementRules is the list of the rules that decide\nwhether registering an Authenticator is enforced"},"authenticationEnforcementRules":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator.EnforcementRule"},"description":"AuthenticationEnforcementRules is the list of the rules that decide\nwhether authenticating via an Authenticator is enforced as MFA right\nafter a successful IdentityProvider authentication"},"postAuthenticationRules":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator.Rule"},"description":"PostAuthenticationRules is the list of the rules that decide whether\nan otherwise successful Authenticator authentication is eventually\naccepted or rejected"},"enablePasskeyLogin":{"type":"boolean","description":"EnablePasskeyLogin enables logging in directly with a Passkey. Once\nenabled, any registered FIDO Authenticator that supports resident key\ncredentials can be used for a Passkey login."},"defaultState":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator.Spec.State","description":"DefaultState is the default state of a newly registered Authenticator"},"fido":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator.FIDO","description":"FIDO sets the options of the FIDO/WebAuthn Authenticators"},"tpm":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator.TPM","description":"TPM sets the options of the TPM 2.0 Authenticators"}},"additionalProperties":false,"description":"Authenticator sets the Cluster-wide options of the Authenticators and\nMFA"},"octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator.EnforcementRule":{"type":"object","properties":{"condition":{"$ref":"#/definitions/octelium.api.main.core.v1.Condition","description":"Condition is the rule's Condition"},"effect":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator.EnforcementRule.Effect","description":"Effect is the effect of the rule when a match happens to any of the\nConditions."}},"additionalProperties":false,"description":"EnforcementRule decides whether the Authenticator registration or\nauthentication is enforced, recommended or ignored"},"octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator.EnforcementRule.Effect":{"type":"string","enum":["EFFECT_UNKNOWN","ENFORCE","IGNORE","RECOMMEND"],"description":"Effect is the decision of the rule once its Condition matches","x-enumDescriptions":{"EFFECT_UNKNOWN":"EFFECT_UNKNOWN is not used.","ENFORCE":"ENFORCE requires the Authenticator registration/authentication","IGNORE":"IGNORE does not require the Authenticator\nregistration/authentication","RECOMMEND":"RECOMMEND recommends, without requiring, the Authenticator\nregistration/authentication"}},"octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator.FIDO":{"type":"object","properties":{"attestationConveyancePreference":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator.FIDO.AttestationConveyancePreference","description":"AttestationConveyancePreference is the WebAuthn attestation\nconveyance preference used during the registration"},"userVerification":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator.FIDO.UserVerification","description":"UserVerification is the WebAuthn User verification requirement that\nis used during the registration as well as the authentication of the\nFIDO Authenticators that are used as second factors"}},"additionalProperties":false,"description":"FIDO sets the options of the FIDO/WebAuthn Authenticators"},"octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator.FIDO.AttestationConveyancePreference":{"type":"string","enum":["ATTESTATION_CONVEYANCE_PREFERENCE_UNSET","DIRECT","INDIRECT","NONE","ENTERPRISE"],"description":"AttestationConveyancePreference is the WebAuthn attestation\nconveyance preference used during the registration","x-enumDescriptions":{"ATTESTATION_CONVEYANCE_PREFERENCE_UNSET":"ATTESTATION_CONVEYANCE_PREFERENCE_UNSET falls back to the default\nbehavior","DIRECT":"DIRECT requests the Authenticator's attestation statement as is","INDIRECT":"INDIRECT lets the client anonymize the Authenticator's attestation\nstatement","NONE":"NONE requests no attestation statement at all","ENTERPRISE":"ENTERPRISE requests an enterprise attestation that can carry a\nuniquely identifying Authenticator identifier"}},"octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator.FIDO.UserVerification":{"type":"string","enum":["USER_VERIFICATION_UNSET","REQUIRED","PREFERRED","DISCOURAGED"],"description":"UserVerification is the WebAuthn User verification requirement that\nis used during the registration as well as the authentication of the\nFIDO Authenticators that are used as second factors. It does not\napply to the Passkey login which always requires the User\nverification.","x-enumDescriptions":{"USER_VERIFICATION_UNSET":"USER_VERIFICATION_UNSET falls back to the default behavior which\nis PREFERRED","REQUIRED":"REQUIRED rejects the registration as well as the authentication\nunless the Authenticator verifies the User (e.g. via a PIN or a\nbiometric). Note that setting this mode rejects the\nauthentication of the already registered Authenticators that are\nnot capable of verifying the User.","PREFERRED":"PREFERRED asks the Authenticator to verify the User whenever it is\ncapable of doing so without rejecting the registration or the\nauthentication otherwise","DISCOURAGED":"DISCOURAGED asks the Authenticator not to verify the User"}},"octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator.Rule":{"type":"object","properties":{"name":{"type":"string","description":"Name is an optional name for the rule. It is currently useful in Logs\nto understand which rule triggered the Policy."},"condition":{"$ref":"#/definitions/octelium.api.main.core.v1.Condition","description":"Condition is the rule's Condition that must match in order for the\nrule, and subsequently the Policy as whole, to match"},"effect":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator.Rule.Effect","description":"Effect is the effect of the policy when a match happens to any of the\nConditions."}},"additionalProperties":false,"description":"Rule decides whether an otherwise successful Authenticator\nauthentication is eventually accepted or rejected"},"octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator.Rule.Effect":{"type":"string","enum":["EFFECT_UNKNOWN","ALLOW","DENY"],"description":"Effect is the decision of the rule once its Condition matches","x-enumDescriptions":{"EFFECT_UNKNOWN":"EFFECT_UNKNOWN is not used.","ALLOW":"ALLOW allows the request.","DENY":"DENY denies the request."}},"octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator.TPM":{"type":"object","properties":{"endorsementTrust":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator.TPM.EndorsementTrust","description":"EndorsementTrust controls the verification of the endorsement key\ncertificates"}},"additionalProperties":false,"description":"TPM sets the options of the TPM 2.0 Authenticators"},"octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator.TPM.EndorsementTrust":{"type":"object","properties":{"mode":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator.TPM.EndorsementTrust.Mode","description":"Mode is the endorsement key certificate verification mode"},"trustedCAs":{"type":"array","items":{"type":"string"},"description":"TrustedCAs is the list of the PEM-encoded root certificate\nauthorities of the TPM manufacturers that are trusted to issue\nendorsement key certificates. Each entry must contain exactly one\ncertificate."},"intermediateCAs":{"type":"array","items":{"type":"string"},"description":"IntermediateCAs is the list of the PEM-encoded intermediate\ncertificate authorities that are used to build the certification\npath from an endorsement key certificate to a trustedCA. They are\nnever trusted on their own. Each entry must contain exactly one\ncertificate."}},"additionalProperties":false,"description":"EndorsementTrust controls how the endorsement key certificate\npresented by a TPM is verified upon registering an Authenticator"},"octelium.api.main.core.v1.ClusterConfig.Spec.Authenticator.TPM.EndorsementTrust.Mode":{"type":"string","enum":["MODE_UNKNOWN","DISABLED","VERIFY_IF_PRESENT","REQUIRE_VERIFIED"],"description":"Mode is the endorsement key certificate verification mode","x-enumDescriptions":{"MODE_UNKNOWN":"MODE_UNKNOWN falls back to DISABLED","DISABLED":"DISABLED never rejects a registration because of its endorsement\nkey certificate. A TPM that presents no certificate at all is\naccepted. Whenever trustedCAs are set, the certificate is still\nverified and the outcome is recorded in the Authenticator\nstatus, which makes this mode useful to survey the already\nregistered Authenticators before enforcing the verification.","VERIFY_IF_PRESENT":"VERIFY_IF_PRESENT accepts a TPM that presents no endorsement key\ncertificate, but rejects a TPM whose certificate does not verify","REQUIRE_VERIFIED":"REQUIRE_VERIFIED requires every TPM to present an endorsement key\ncertificate that verifies against the trustedCAs"}},"octelium.api.main.core.v1.ClusterConfig.Spec.Authorization":{"type":"object","properties":{"policies":{"type":"array","items":{"type":"string"},"description":"Policies is the list of standalone Policies"},"inlinePolicies":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.InlinePolicy"},"description":"InlinePolicies is the list of inline Policies"}},"additionalProperties":false,"description":"Authorization sets the Cluster-wide Policies that are applied to every\nrequest"},"octelium.api.main.core.v1.ClusterConfig.Spec.Device":{"type":"object","properties":{"human":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Device.Human","description":"Human sets Device options for HUMAN Users"},"workload":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Device.Workload","description":"Workload sets Device options for WORKLOAD Users"},"probing":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Device.Probing","description":"Probing sets the device probing options"}},"additionalProperties":false,"description":"Device sets the Cluster-wide defaults of the Devices"},"octelium.api.main.core.v1.ClusterConfig.Spec.Device.Human":{"type":"object","properties":{"defaultState":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Spec.State","description":"DefaultState is the default state of a newly registered Device"},"maxPerUser":{"type":"integer","format":"uint32","minimum":0,"description":"MaxPerUser sets the max number of Devices per User"}},"additionalProperties":false,"description":"Human sets the Device defaults of the HUMAN Users"},"octelium.api.main.core.v1.ClusterConfig.Spec.Device.Probing":{"type":"object","properties":{"isDisabled":{"type":"boolean","description":"IsDisabled disables running Probes on the Devices"}},"additionalProperties":false,"description":"Probing sets the Cluster-wide options of running Probes on the\nDevices"},"octelium.api.main.core.v1.ClusterConfig.Spec.Device.Workload":{"type":"object","properties":{"defaultState":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Spec.State","description":"DefaultState is the default state of a newly registered Device"},"maxPerUser":{"type":"integer","format":"uint32","minimum":0,"description":"MaxPerUser sets the max number of Devices per User"}},"additionalProperties":false,"description":"Workload sets the Device defaults of the WORKLOAD Users"},"octelium.api.main.core.v1.ClusterConfig.Spec.DNS":{"type":"object","properties":{"fallbackZone":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.DNS.Zone","description":"FallbackZone sets the zone that resolves the names that are not served\nby the Cluster itself"},"zones":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.DNS.Zone"},"description":"Zones is the list of DNS zones used to resolve matching domain suffixes"}},"additionalProperties":false,"description":"DNS sets the options of the Cluster's private DNS service"},"octelium.api.main.core.v1.ClusterConfig.Spec.DNS.Zone":{"type":"object","properties":{"servers":{"type":"array","items":{"type":"string"},"description":"Servers is the list of the upstream DNS servers of the zone"},"cacheDuration":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"CacheDuration is the duration for which the zone's answers are\ncached"},"domains":{"type":"array","items":{"type":"string"},"description":"Domains is the list of domain suffixes served by the zone"}},"additionalProperties":false,"description":"Zone sets the options of a DNS zone"},"octelium.api.main.core.v1.ClusterConfig.Spec.Gateway":{"type":"object","properties":{"wireguardKeyRotationDuration":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"WireguardKeyRotationDuration is the duration after which the Gateway's\nkey is rotated"}},"additionalProperties":false,"description":"Gateway sets the Cluster-wide options of the Gateways"},"octelium.api.main.core.v1.ClusterConfig.Spec.Ingress":{"type":"object","properties":{"useForwardedForHeader":{"type":"boolean","description":"UseForwardedForHeader enables the usage of the X-Forwarded-For header\nby the Cluster to obtain the downstream's public IP address."},"xffNumTrustedHops":{"type":"integer","format":"int32","description":"XFFNumTrustedHops is the number of the trusted hops used to pick the\ndownstream's public IP address out of the X-Forwarded-For header."}},"additionalProperties":false,"description":"Ingress sets the options of the Cluster's internet-facing Ingress"},"octelium.api.main.core.v1.ClusterConfig.Spec.Session":{"type":"object","properties":{"human":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Session.Human","description":"Human sets Session options for HUMAN Users"},"workload":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Spec.Session.Workload","description":"Workload sets Session options for WORKLOAD Users"}},"additionalProperties":false,"description":"Session sets the Cluster-wide defaults of the Sessions"},"octelium.api.main.core.v1.ClusterConfig.Spec.Session.Human":{"type":"object","properties":{"clientDuration":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"ClientDuration sets the Session duration used by clients after which\nthe Session is deemed expired and automatically deleted by the\nCluster."},"clientlessDuration":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"ClientlessDuration sets the Session duration for the\nclient-less/BeyondCorp mode after which the Session is deemed expired\nand automatically deleted by the Cluster."},"accessTokenDuration":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"AccessTokenDuration sets the access token duration"},"refreshTokenDuration":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"RefreshTokenDuration sets the refresh token duration"},"maxPerUser":{"type":"integer","format":"uint32","minimum":0,"description":"MaxPerUser sets the max number of Sessions per User"},"defaultState":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Spec.State","description":"DefaultState is the default state of a newly created Session"}},"additionalProperties":false,"description":"Human sets the Session defaults of the HUMAN Users"},"octelium.api.main.core.v1.ClusterConfig.Spec.Session.Workload":{"type":"object","properties":{"clientDuration":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"ClientDuration sets the Session duration used by clients after which\nthe Session is deemed expired and automatically deleted by the\nCluster."},"clientlessDuration":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"ClientlessDuration sets the Session duration for the\nclient-less/BeyondCorp mode after which the Session is deemed expired\nand automatically deleted by the Cluster."},"accessTokenDuration":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"AccessTokenDuration sets the access token duration"},"refreshTokenDuration":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"RefreshTokenDuration sets the refresh token duration"},"maxPerUser":{"type":"integer","format":"uint32","minimum":0,"description":"MaxPerUser sets the max number of Sessions per User"},"defaultState":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Spec.State","description":"DefaultState is the default state of a newly created Session"}},"additionalProperties":false,"description":"Workload sets the Session defaults of the WORKLOAD Users"},"octelium.api.main.core.v1.ClusterConfig.Status":{"type":"object","properties":{"domain":{"type":"string","description":"Domain is the Cluster's domain (e.g. \"example.com\")"},"network":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.Network","description":"Network is the actual network ranges that were allocated by the Cluster"},"networkConfig":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.NetworkConfig","description":"NetworkConfig is the Cluster's networking configuration"},"secretManager":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.SecretManager","description":"SecretManager is the external secret manager used by the Cluster, if any"},"device":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.Device","description":"Device is the Cluster-wide Device configuration"},"installation":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.Installation","description":"Installation is the set of installation-time options that were supplied\nvia the Cluster bootstrap configuration upon the Cluster installation or\nthe latest upgrade."}},"additionalProperties":false,"description":"Status is the current status of the ClusterConfig"},"octelium.api.main.core.v1.ClusterConfig.Status.Device":{"type":"object","properties":{"probes":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.Device.Probe"},"description":"Probes is the list of the available Probes. The Cluster issues a\nbounded subset of them in each ProbeAttempt."}},"additionalProperties":false,"description":"Device is the Cluster-wide Device configuration"},"octelium.api.main.core.v1.ClusterConfig.Status.Device.Probe":{"type":"object","properties":{"id":{"type":"string","description":"ID is the stable identifier of the Probe. It is unique within the\nProbes list."},"ownerRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"OwnerRef is the reference of the DeviceManager that owns the Probe"},"osType":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.OSType","description":"OSType is the operating system of the Devices that the Probe is run\non. It is required. A Probe whose OSType is unset is never run. A\ncollection that is needed on more than one operating system uses a\nseparate Probe for each operating system."},"requireElevation":{"type":"boolean","description":"RequireElevation requires the Probe to be run with elevated\nprivileges"},"condition":{"$ref":"#/definitions/octelium.api.main.core.v1.Condition","description":"Condition decides whether the Probe is run on a given Device. Its\ninput contains `ctx.device` and `ctx.user`. A Probe without a\nCondition is run on every Device."},"runCommand":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.Device.Probe.RunCommand","description":"RunCommand runs a command on the Device","x-oneof":"type"},"readFile":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.Device.Probe.ReadFile","description":"ReadFile reads a file from the Device","x-oneof":"type"},"readRegistry":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.Device.Probe.ReadRegistry","description":"ReadRegistry reads a value from the Device's Windows registry","x-oneof":"type"},"platformIdentifier":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.Device.Probe.PlatformIdentifier","description":"PlatformIdentifier reads a platform identifier of the Device","x-oneof":"type"}},"additionalProperties":false,"description":"Probe is a check that is run on the Devices in order to collect the\ninformation used to bind them to their DeviceManagers","x-oneofs":{"type":["runCommand","readFile","readRegistry","platformIdentifier"]}},"octelium.api.main.core.v1.ClusterConfig.Status.Device.Probe.PlatformIdentifier":{"type":"object","properties":{"kind":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.Device.Probe.PlatformIdentifier.Kind","description":"Kind is the kind of the identifier"}},"additionalProperties":false,"description":"PlatformIdentifier reads an identifier of the Device natively from\nits platform without running any command"},"octelium.api.main.core.v1.ClusterConfig.Status.Device.Probe.PlatformIdentifier.Kind":{"type":"string","enum":["KIND_UNKNOWN","HARDWARE_SERIAL","HARDWARE_UUID","OS_INSTALLATION_ID","MAC_ADDRESS"],"description":"Kind is the kind of the identifier","x-enumDescriptions":{"KIND_UNKNOWN":"KIND_UNKNOWN is not used","HARDWARE_SERIAL":"HARDWARE_SERIAL is the hardware serial number","HARDWARE_UUID":"HARDWARE_UUID is the hardware UUID (e.g. the SMBIOS UUID)","OS_INSTALLATION_ID":"OS_INSTALLATION_ID is the identifier of the operating system\ninstallation (e.g. the machine ID)","MAC_ADDRESS":"MAC_ADDRESS is the list of the MAC addresses of the Device's\nphysical network interfaces"}},"octelium.api.main.core.v1.ClusterConfig.Status.Device.Probe.ReadFile":{"type":"object","properties":{"path":{"type":"string","description":"Path is the absolute path of the file to be read"},"maxBytes":{"type":"integer","format":"uint32","minimum":0,"description":"MaxBytes is the maximum size in bytes that is read from the file"}},"additionalProperties":false,"description":"ReadFile reads a file from the Device"},"octelium.api.main.core.v1.ClusterConfig.Status.Device.Probe.ReadRegistry":{"type":"object","properties":{"key":{"type":"string","description":"Key is the registry key to be read"},"name":{"type":"string","description":"Name is the name of the registry value to be read"}},"additionalProperties":false,"description":"ReadRegistry reads a value from the Windows registry of the Device"},"octelium.api.main.core.v1.ClusterConfig.Status.Device.Probe.RunCommand":{"type":"object","properties":{"command":{"type":"string","description":"Command is the absolute path of the command to be run"},"args":{"type":"array","items":{"type":"string"},"description":"Args is the list of the command's arguments"},"timeoutSeconds":{"type":"integer","format":"uint32","minimum":0,"description":"TimeoutSeconds is the number of seconds after which running the\ncommand times out"},"maxOutputBytes":{"type":"integer","format":"uint32","minimum":0,"description":"MaxOutputBytes is the maximum size in bytes of the collected\noutput"}},"additionalProperties":false,"description":"RunCommand runs a command on the Device and collects its output"},"octelium.api.main.core.v1.ClusterConfig.Status.Installation":{"type":"object","properties":{"spiffe":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.Installation.SPIFFE","description":"SPIFFE sets the SPIFFE/SPIRE-specific configuration."},"cni":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.Installation.CNI","description":"CNI sets the Kubernetes cluster CNI-specific configuration."},"ingress":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.Installation.Ingress","description":"Ingress sets the Cluster Ingress-specific configuration."}},"additionalProperties":false,"description":"Installation contains the installation-time options that were supplied\nvia the Cluster bootstrap configuration and that are remembered by the\nCluster so that they do not have to be re-supplied on every upgrade."},"octelium.api.main.core.v1.ClusterConfig.Status.Installation.CNI":{"type":"object","properties":{"confDir":{"type":"string","description":"ConfDir is the host path of the Kubernetes cluster's CNI\nconfiguration directory (e.g. `/var/lib/rancher/k3s/agent/etc/cni`\nfor k3s clusters). The Multus delegate CNI configuration directory\nis derived from it as `<confDir>/multus/net.d`.","x-oneof":"confDirType"},"multusConfDir":{"type":"string","description":"MultusConfDir directly sets the host path of the Multus delegate\nCNI configuration directory (i.e. Multus's own `confDir`).","x-oneof":"confDirType"}},"additionalProperties":false,"description":"CNI is the Kubernetes cluster CNI-specific installation options","x-oneofs":{"confDirType":["confDir","multusConfDir"]}},"octelium.api.main.core.v1.ClusterConfig.Status.Installation.Ingress":{"type":"object","properties":{"frontProxy":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.Installation.Ingress.FrontProxy","description":"FrontProxy sets the front proxy mode-specific configuration."}},"additionalProperties":false,"description":"Ingress is the Cluster Ingress-specific installation options"},"octelium.api.main.core.v1.ClusterConfig.Status.Installation.Ingress.FrontProxy":{"type":"object","properties":{"enable":{"type":"boolean","description":"Enable enables the front proxy mode where the Cluster's Ingress\nsits behind an external L7 proxy/load balancer that terminates\nTLS."}},"additionalProperties":false,"description":"FrontProxy is the front proxy mode-specific options"},"octelium.api.main.core.v1.ClusterConfig.Status.Installation.SPIFFE":{"type":"object","properties":{"enable":{"type":"boolean","description":"Enable enables the SPIFFE mode where the Cluster components\nauthenticate to each other using X.509 SVIDs that are obtained from\nthe SPIRE Agent Workload API instead of the Cluster's own internal\ncredentials."},"trustDomain":{"type":"string","description":"TrustDomain is the SPIFFE trust domain (e.g. `example.com`) that the\nCluster components' SVIDs must belong to. If it is not set, the\nCluster adopts the trust domain of the SVID that is served by the\nSPIRE Agent itself."},"csiDriver":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.Installation.SPIFFE.CSIDriver","description":"CSIDriver sets the SPIFFE CSI driver-specific configuration."}},"additionalProperties":false,"description":"SPIFFE is the SPIFFE/SPIRE-specific installation options"},"octelium.api.main.core.v1.ClusterConfig.Status.Installation.SPIFFE.CSIDriver":{"type":"object","properties":{"name":{"type":"string","description":"Name is the name of the SPIFFE CSI driver that is used to mount\nthe SPIRE Agent Workload API socket inside the Cluster components'\nPods. By default it is set to `csi.spiffe.io`."}},"additionalProperties":false,"description":"CSIDriver is the SPIFFE CSI driver-specific options"},"octelium.api.main.core.v1.ClusterConfig.Status.Network":{"type":"object","properties":{"clusterNetwork":{"$ref":"#/definitions/octelium.api.main.meta.v1.DualStackNetwork","description":"ClusterNetwork is the dual-stack network range of the entire Cluster"},"wgConnSubnet":{"$ref":"#/definitions/octelium.api.main.meta.v1.DualStackNetwork","description":"WGConnSubnet is the dual-stack subnet from which the addresses of the\nWireGuard-based connections are allocated"},"v6RangePrefix":{"type":"string","contentEncoding":"base64","description":"V6RangePrefix is the prefix of the Cluster's IPv6 range"},"serviceSubnet":{"$ref":"#/definitions/octelium.api.main.meta.v1.DualStackNetwork","description":"ServiceSubnet is the dual-stack subnet from which the private\naddresses of the Services are allocated"},"quicConnSubnet":{"$ref":"#/definitions/octelium.api.main.meta.v1.DualStackNetwork","description":"QUICConnSubnet is the dual-stack subnet from which the addresses of\nthe QUICv0-based connections are allocated"}},"additionalProperties":false,"description":"Network is the actual network ranges that were allocated by the Cluster"},"octelium.api.main.core.v1.ClusterConfig.Status.NetworkConfig":{"type":"object","properties":{"mode":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.NetworkConfig.Mode","description":"Mode sets the networking mode (DualStack, IPv4Only or IPv6Only) for\nthe Cluster's Networks. This can only be effective when set prior to\nthe Cluster installation or upgrade."},"v4":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.NetworkConfig.V4","description":"V4 sets IPv4 Network configurations."},"v6":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.NetworkConfig.V6","description":"V6 sets IPv6 Network configurations."},"wireguard":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.NetworkConfig.Wireguard","description":"Wireguard sets the Wireguard-specific configuration"},"quicv0":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.NetworkConfig.QUICV0","description":"QUICV0 (EXPERIMENTAL) sets the QUICv0-specific configuration"}},"additionalProperties":false,"description":"NetworkConfig is the Cluster's networking configuration"},"octelium.api.main.core.v1.ClusterConfig.Status.NetworkConfig.Mode":{"type":"string","enum":["MODE_DEFAULT","DUAL_STACK","V6_ONLY","V4_ONLY"],"description":"Mode is the Cluster's networking mode","x-enumDescriptions":{"MODE_DEFAULT":"MODE_DEFAULT defaults to DUAL_STACK","DUAL_STACK":"DUAL_STACK sets the Cluster to operate in dual-stack mode.\nServices receive dual-stack private addresses and clients can connect\nin dual-stack mode, IPv4-only or IPv6-only modes.","V6_ONLY":"V6_ONLY sets the Cluster to operate in IPv6-only mode.\nServices receive IPv6-only private addresses and clients can connect\nonly connect via IPv6-only modes.","V4_ONLY":"V4_ONLY sets the Cluster to operate in IPv4-only mode.\nServices receive IPv4-only private addresses and clients can connect\nonly connect via IPv4-only modes."}},"octelium.api.main.core.v1.ClusterConfig.Status.NetworkConfig.QUICV0":{"type":"object","properties":{"enable":{"type":"boolean","description":"Enable enables QUICv0 gateways. By default this mode is not enabled."},"gatewayPort":{"type":"integer","format":"uint32","minimum":0,"description":"GatewayPort sets the Gateway port. By default it is set to 8443"},"mtu":{"type":"integer","format":"uint32","minimum":0,"description":"MTU overrides the default value used for the Gateway interface's MTU."}},"additionalProperties":false,"description":"QUICV0 is the QUICv0-specific configuration"},"octelium.api.main.core.v1.ClusterConfig.Status.NetworkConfig.V4":{"type":"object","properties":{"clusterNetwork":{"type":"string","description":"ClusterNetwork is the Cluster network range. Currently\n`100.64.0.0/10` is used by default."},"gatewayBits":{"type":"integer","format":"uint32","minimum":0,"description":"GatewayBits is the number of the bits of the ClusterNetwork that are\nallocated to address the Gateways."},"regionBits":{"type":"integer","format":"uint32","minimum":0,"description":"RegionBits is the number of the bits of the ClusterNetwork that are\nallocated to address the Regions."}},"additionalProperties":false,"description":"V4 is the IPv4 Network configuration"},"octelium.api.main.core.v1.ClusterConfig.Status.NetworkConfig.V6":{"type":"object","properties":{"clusterNetwork":{"type":"string","description":"ClusterNetwork is the Cluster network range. Currently not enforced\nas the Cluster automatically chooses the Network ranges."}},"additionalProperties":false,"description":"V6 is the IPv6 Network configuration"},"octelium.api.main.core.v1.ClusterConfig.Status.NetworkConfig.Wireguard":{"type":"object","properties":{"gatewayPort":{"type":"integer","format":"uint32","minimum":0,"description":"GatewayPort sets the Gateway port. By default it is set to 53820"},"mtu":{"type":"integer","format":"uint32","minimum":0,"description":"MTU overrides the default value used for the Gateway interface's MTU."}},"additionalProperties":false,"description":"Wireguard is the WireGuard-specific configuration"},"octelium.api.main.core.v1.ClusterConfig.Status.SecretManager":{"type":"object","properties":{"address":{"type":"string","description":"Address is the address of the secret manager's gRPC server"},"tls":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.SecretManager.TLS","description":"TLS sets the TLS-related configuration"}},"additionalProperties":false,"description":"SecretManager is the external secret manager that intercepts the Secret\noperations in order to store the Secrets according to the operator's own\nrequirements"},"octelium.api.main.core.v1.ClusterConfig.Status.SecretManager.TLS":{"type":"object","properties":{},"additionalProperties":false,"description":"TLS sets the TLS-related configuration used to connect to the secret\nmanager"},"octelium.api.main.core.v1.Condition":{"type":"object","properties":{"matchAny":{"type":"boolean","description":"MatchAny matches anything","x-oneof":"type"},"match":{"type":"string","description":"Match contains a single CEL expression","x-oneof":"type"},"all":{"$ref":"#/definitions/octelium.api.main.core.v1.Condition.All","description":"All acts as a logical AND operator on its list of CEL expressions","x-oneof":"type"},"any":{"$ref":"#/definitions/octelium.api.main.core.v1.Condition.Any","description":"Any acts as a logical OR operator on its list of CEL expressions","x-oneof":"type"},"not":{"type":"string","description":"Not acts as a logical NOT operator of a single CEL expression","x-oneof":"type"},"none":{"$ref":"#/definitions/octelium.api.main.core.v1.Condition.None","description":"None acts as a logical NOR operator on its list of CEL expressions (i.e.\nnone of the expressions matches)","x-oneof":"type"},"opa":{"$ref":"#/definitions/octelium.api.main.core.v1.Condition.OPA","description":"OPA contains an OPA (Open Policy Agent) Rego script","x-oneof":"type"}},"additionalProperties":false,"description":"Condition is a policy-as-code expression that is evaluated against the\nrequest context. It is used by the Policy rules, the Service dynamic\nconfiguration rules, the HTTP Plugins as well as by the IdentityProvider\nrules.","x-oneofs":{"type":["matchAny","match","all","any","not","none","opa"]}},"octelium.api.main.core.v1.Condition.All":{"type":"object","properties":{"of":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Condition"},"description":"Of is the list of the Conditions that must all match"}},"additionalProperties":false,"description":"All acts as a logical AND operator on its list of Conditions"},"octelium.api.main.core.v1.Condition.Any":{"type":"object","properties":{"of":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Condition"},"description":"Of is the list of the Conditions of which at least one must match"}},"additionalProperties":false,"description":"Any acts as a logical OR operator on its list of Conditions"},"octelium.api.main.core.v1.Condition.None":{"type":"object","properties":{"of":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Condition"},"description":"Of is the list of the Conditions of which none must match"}},"additionalProperties":false,"description":"None acts as a logical NOR operator on its list of Conditions"},"octelium.api.main.core.v1.Condition.OPA":{"type":"object","properties":{"inline":{"type":"string","description":"Inline is the OPA Rego script directly provided as a string","x-oneof":"type"}},"additionalProperties":false,"description":"OPA evaluates the Condition via an Open Policy Agent Rego script","x-oneofs":{"type":["inline"]}},"octelium.api.main.core.v1.Config":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `Config`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.core.v1.Config.Spec","description":"Spec is the Config specification."},"status":{"$ref":"#/definitions/octelium.api.main.core.v1.Config.Status","description":"Status is the current status of the Config."},"data":{"$ref":"#/definitions/octelium.api.main.core.v1.Config.Data","description":"Data is the Config's actual data content."}},"additionalProperties":false,"description":"Config stores arbitrary non-sensitive configuration data that is referenced\nby its name from the other Cluster resources. It is the non-sensitive\ncounterpart of a Secret"},"octelium.api.main.core.v1.Config.Data":{"type":"object","properties":{"value":{"type":"string","description":"Value is a string value","x-oneof":"type"},"valueBytes":{"type":"string","contentEncoding":"base64","description":"ValueBytes is an array of bytes value","x-oneof":"type"},"dataMap":{"$ref":"#/definitions/octelium.api.main.core.v1.Config.Data.DataMap","description":"DataMap is a map of array of bytes value","x-oneof":"type"},"attrs":{"type":"object","description":"Attrs is a structured attribute map. It is extremely recommended to use\ncamelCase for key names in order to be conformant with the rest of\nOctelium's API naming convention","x-oneof":"type"}},"additionalProperties":false,"description":"Data is the Config's data content","x-oneofs":{"type":["value","valueBytes","dataMap","attrs"]}},"octelium.api.main.core.v1.Config.Data.DataMap":{"type":"object","properties":{"map":{"type":"object","additionalProperties":{"type":"string","contentEncoding":"base64"},"description":"Map is the map of the byte array values"}},"additionalProperties":false,"description":"DataMap is a map of byte array values keyed by a string"},"octelium.api.main.core.v1.Config.Spec":{"type":"object","properties":{},"additionalProperties":false,"description":"Spec is the Config specification"},"octelium.api.main.core.v1.Config.Status":{"type":"object","properties":{},"additionalProperties":false,"description":"Status is the current status of the Config"},"octelium.api.main.core.v1.ConfigList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `DeviceList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Config"},"description":"Items is the list of Devices."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"ConfigList is the list of Configs returned by the ListConfig method."},"octelium.api.main.core.v1.Credential":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `Credential`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.core.v1.Credential.Spec","description":"Spec is the Credential specification."},"status":{"$ref":"#/definitions/octelium.api.main.core.v1.Credential.Status","description":"Status is the current status of the Credential."}},"additionalProperties":false,"description":"Credential is a confidential token that is issued by the Cluster to a\ncertain User to be used later for authentication. Credentials are typically,\nbut not necessarily, created for WORKLOAD Users since HUMAN Users should\nalmost always authenticate via an IdentityProvider. The Policies attached to\na Credential are automatically copied to the Sessions created by it upon a\nsuccessful authentication."},"octelium.api.main.core.v1.Credential.Spec":{"type":"object","properties":{"type":{"$ref":"#/definitions/octelium.api.main.core.v1.Credential.Spec.Type","description":"Type is the type of the Credential"},"user":{"type":"string","description":"User is the name of the User that the Credential is created for"},"maxAuthentications":{"type":"integer","format":"uint32","minimum":0,"description":"MaxAuthentications sets the max number of authentications permitted by\nthis Credential."},"expiresAt":{"type":"string","format":"date-time","description":"ExpiresAt is the timestamp at which the token expires."},"sessionType":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Type","description":"SessionType is the type of the Sessions created by the Credential. It is\nCLIENT by default."},"authorization":{"$ref":"#/definitions/octelium.api.main.core.v1.Credential.Spec.Authorization","description":"Authorization sets the authorization-related configuration"},"isDisabled":{"type":"boolean","description":"IsDisabled disables the Credential and prevents authentication via it."},"autoDelete":{"type":"boolean","description":"AutoDelete auto-deletes the Credentials once the max number of\nauthentications has been reached."}},"additionalProperties":false,"description":"Spec is the Credential specification"},"octelium.api.main.core.v1.Credential.Spec.Authorization":{"type":"object","properties":{"policies":{"type":"array","items":{"type":"string"},"description":"Policies is the list of standalone Policies"},"inlinePolicies":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.InlinePolicy"},"description":"InlinePolicies is the list of inline Policies"}},"additionalProperties":false,"description":"Authorization sets the Policies that are copied to the Sessions created\nby the Credential upon a successful authentication"},"octelium.api.main.core.v1.Credential.Spec.Type":{"type":"string","enum":["TYPE_UNKNOWN","AUTH_TOKEN","OAUTH2","ACCESS_TOKEN"],"description":"Type is the type of the Credential","x-enumDescriptions":{"TYPE_UNKNOWN":"TYPE_UNKNOWN is not used","AUTH_TOKEN":"AUTH_TOKEN means that the Credential is an authentication token.\nThis is the default type","OAUTH2":"OAUTH2 means that the Credential is an OAuth2 client credential.\nThis is used for WORKLOAD users seeking to authenticate themselves via\nOAuth2 client credentials flow in a client-less way.","ACCESS_TOKEN":"ACCESS_TOKEN means that the Credential is a bearer access token that\ncan be used directly to securely access public Services"}},"octelium.api.main.core.v1.Credential.Status":{"type":"object","properties":{"userRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"UserRef is the reference to the User who the Credential is created for"},"id":{"type":"string","description":"ID is the Credential's identifier. It is used as the OAuth2 client ID\nfor the OAUTH2 Credentials."},"tokenID":{"type":"string","description":"TokenID is the ID of the Credential's currently valid token. It is\nrotated whenever a new token is generated for the Credential, which\nimmediately invalidates its older token."},"lastRotationAt":{"type":"string","format":"date-time","description":"LastRotationAt is the timestamp at which the Credential was last rotated"},"totalRotations":{"type":"integer","format":"uint32","minimum":0,"description":"TotalRotations is the total number of the Credential's rotations"},"totalAuthentications":{"type":"integer","format":"uint32","minimum":0,"description":"TotalAuthentications is the total number of the authentications\nperformed via the Credential"},"isLocked":{"type":"boolean","description":"IsLocked indicates whether the Credential is locked by the Cluster"},"pkce":{"$ref":"#/definitions/octelium.api.main.core.v1.Credential.Status.PKCE","description":"PKCE is set when the Credential is issued to a client login flow that\nsupplied a code challenge."}},"additionalProperties":false,"description":"Status is the current status of the Credential"},"octelium.api.main.core.v1.Credential.Status.PKCE":{"type":"object","properties":{"codeChallenge":{"type":"string","contentEncoding":"base64","description":"CodeChallenge is the SHA256 digest of the code verifier."}},"additionalProperties":false,"description":"PKCE binds the Credential to a code challenge supplied by the client\nthat initiated the login."},"octelium.api.main.core.v1.CredentialList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `CredentialList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Credential"},"description":"Items is the list of Credentials."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"CredentialList is the list of Credentials returned by the ListCredential\nmethod."},"octelium.api.main.core.v1.CredentialToken":{"type":"object","properties":{"authenticationToken":{"$ref":"#/definitions/octelium.api.main.core.v1.CredentialToken.AuthenticationToken","description":"AuthenticationToken is the returned authentication token","x-oneof":"type"},"oauth2Credentials":{"$ref":"#/definitions/octelium.api.main.core.v1.CredentialToken.OAuth2Credentials","description":"OAuth2Credentials is the returned OAuth2 client credential","x-oneof":"type"},"accessToken":{"$ref":"#/definitions/octelium.api.main.core.v1.CredentialToken.AccessToken","description":"AccessToken is the returned access token","x-oneof":"type"}},"additionalProperties":false,"description":"CredentialToken is the token generated by the GenerateCredentialToken\nmethod. Generating a new token for a Credential rotates it and immediately\ninvalidates its older token.","x-oneofs":{"type":["authenticationToken","oauth2Credentials","accessToken"]}},"octelium.api.main.core.v1.CredentialToken.AccessToken":{"type":"object","properties":{"accessToken":{"type":"string","description":"AccessToken is the bearer access token itself"}},"additionalProperties":false,"description":"AccessToken is the token of an ACCESS_TOKEN Credential"},"octelium.api.main.core.v1.CredentialToken.AuthenticationToken":{"type":"object","properties":{"authenticationToken":{"type":"string","description":"AuthenticationToken is the authentication token itself"}},"additionalProperties":false,"description":"AuthenticationToken is the token of an AUTH_TOKEN Credential"},"octelium.api.main.core.v1.CredentialToken.OAuth2Credentials":{"type":"object","properties":{"clientID":{"type":"string","description":"ClientID is the OAuth2 client ID"},"clientSecret":{"type":"string","description":"ClientSecret is the OAuth2 client secret"}},"additionalProperties":false,"description":"OAuth2Credentials is the client credentials of an OAUTH2 Credential"},"octelium.api.main.core.v1.Device":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `Device`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Spec","description":"Spec is the Device specification."},"status":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status","description":"Status is the current status of the Device."}},"additionalProperties":false,"description":"Device is the Cluster's representation of a User's machine. A Device is\noptionally registered/enrolled by a logged-in User and it belongs to the one\nUser that registered it. One or more of the User's Sessions can belong to\nthe same Device. It is up to the access control Policies to allow or deny a\nrequest based on the Device's information."},"octelium.api.main.core.v1.Device.Spec":{"type":"object","properties":{"state":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Spec.State","description":"State is the Device state"},"authorization":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Spec.Authorization","description":"Authorization sets the authorization-related configuration"}},"additionalProperties":false,"description":"Spec is the Device specification"},"octelium.api.main.core.v1.Device.Spec.Authorization":{"type":"object","properties":{"policies":{"type":"array","items":{"type":"string"},"description":"Policies is the list of standalone Policies"},"inlinePolicies":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.InlinePolicy"},"description":"InlinePolicies is the list of inline Policies"}},"additionalProperties":false,"description":"Authorization sets the Policies that are applied to the Sessions\nbelonging to the Device"},"octelium.api.main.core.v1.Device.Spec.State":{"type":"string","enum":["STATE_UNKNOWN","ACTIVE","PENDING","REJECTED"],"description":"State is the state of the Device","x-enumDescriptions":{"STATE_UNKNOWN":"STATE_UNKNOWN is not used","ACTIVE":"ACTIVE means that the Device is active","PENDING":"PENDING means that the Device is pending an activation or rejection.","REJECTED":"REJECTED means that the Device is rejected"}},"octelium.api.main.core.v1.Device.Status":{"type":"object","properties":{"ext":{"type":"object","additionalProperties":{"type":"object"},"description":"Ext is a map of internal Cluster-managed extension data"},"userRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"UserRef is a reference to the owner User"},"osType":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.OSType","description":"OSType is the OS type"},"hostname":{"type":"string","description":"Hostname is the Device's hostname"},"id":{"type":"string","description":"ID is a unique Device identifier that is derived from the Device's host"},"serialNumber":{"type":"string","description":"SerialNumber is the Device's hardware serial number reported by the\nclient at registration. It is not a verified identity."},"isLocked":{"type":"boolean","description":"IsLocked indicates whether the Device is locked by the Cluster"},"macAddresses":{"type":"array","items":{"type":"string"},"description":"MacAddresses is the list of the MAC addresses of the Device's network\ninterfaces reported by the client at registration. They are not a\nverified identity."},"posture":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.Posture","description":"Posture is the last posture collected from the bound DeviceManager. In\nthe authorization context, it is only exposed while the Binding is\nACCEPTED and VALID and the Posture has not expired. Otherwise, it is\nomitted so that CEL expressions do not need to check these conditions."},"binding":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.Binding","description":"Binding is the Device's link to its single authoritative DeviceManager"},"probeAttempt":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.ProbeAttempt","description":"ProbeAttempt is the most recent device probing attempt. It is removed\nonce it is processed for a Device that has an ACCEPTED Binding."}},"additionalProperties":false,"description":"Status is the current status of the Device"},"octelium.api.main.core.v1.Device.Status.Binding":{"type":"object","properties":{"uid":{"type":"string","description":"UID is the unique identifier of the Binding. Resetting the Binding or\nselecting another DeviceManager or inventory entry creates a new UID."},"ownerRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"OwnerRef is the reference of the DeviceManager of the Binding"},"externalID":{"type":"string","description":"ExternalID is the identifier of the inventory entry in the\nDeviceManager's provider"},"state":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.Binding.State","description":"State is the state of the Binding"},"validity":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.Binding.Validity","description":"Validity is whether an ACCEPTED Binding is currently usable"},"reason":{"type":"string","description":"Reason is a machine-readable reason of the current State and Validity"},"message":{"type":"string","description":"Message is a human-readable message that explains Reason"},"acceptedAt":{"type":"string","format":"date-time","description":"AcceptedAt is the timestamp at which the Binding was accepted"},"lastVerifiedAt":{"type":"string","format":"date-time","description":"LastVerifiedAt is the timestamp at which the Binding was last verified"},"nextVerificationAt":{"type":"string","format":"date-time","description":"NextVerificationAt is the timestamp after which the Device is probed\nagain to verify the Binding"},"evidence":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.Binding.Evidence"},"description":"Evidence is the list of the kinds of evidence that currently tie an\nACCEPTED Binding's inventory entry to the Device or to its User"},"assurance":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.Binding.Assurance","description":"Assurance is how the Device is tied to an ACCEPTED Binding's inventory\nentry. It is evaluated again whenever the inventory entry or the\nDevice changes. In a Policy, it does not exceed what the current\nSession proved: IDENTIFIER without a DeviceProof, PROVIDER_ID with a\nPROBE DeviceProof and SIGNED with a VENDOR_SIGNED DeviceProof. So a\nPolicy that requires more (e.g.\n`ctx.device.status.binding.assurance in [\"PROVIDER_ID\", \"SIGNED\", \"HARDWARE\"]`)\napplies to the current Session and not only to the Device."},"isOwnerMatched":{"type":"boolean","description":"IsOwnerMatched means that the provider reports the Device's User as\nthe owner of an ACCEPTED Binding's inventory entry. It is the only\npart of the Binding that the Device cannot assert by itself."}},"additionalProperties":false,"description":"Binding is the Device's link to one inventory entry of its single\nauthoritative DeviceManager. An ACCEPTED Binding is decided once and the\nlater Sessions of the Device inherit it. Probe results can verify or\nsuspend it, but they never move it to another inventory entry or\nDeviceManager. It is kept through provider outages until it is\nexplicitly reset, its DeviceManager is deleted, or it is LOST and\nanother Device claims its inventory entry. A Binding that is not VALID\nmakes the Posture unavailable; it never causes a fallback to another\nDeviceManager."},"octelium.api.main.core.v1.Device.Status.Binding.Assurance":{"type":"string","enum":["ASSURANCE_UNKNOWN","OWNER_ONLY","IDENTIFIER","PROVIDER_ID","SIGNED","HARDWARE"],"description":"Assurance is how the Device is tied to an ACCEPTED Binding's inventory\nentry. The values are ordered from the easiest to the hardest to\nforge. It says nothing about the owner of the entry (see\nIsOwnerMatched).","x-enumDescriptions":{"ASSURANCE_UNKNOWN":"ASSURANCE_UNKNOWN means that nothing ties the Device to the entry","OWNER_ONLY":"OWNER_ONLY means that the provider reports the Device's User as the\nowner of the inventory entry but none of the Device's identifiers\nselect it. The entry is the only one of the User's entries that\ncan be the Device.","IDENTIFIER":"IDENTIFIER means that a hardware identifier of the Device selects\nthe inventory entry (i.e. its machine ID, hardware UUID, serial\nnumber or MAC address). Anyone who can read it can repeat it.","PROVIDER_ID":"PROVIDER_ID means that an identifier that the provider issued for\nthe machine (e.g. its agent ID), collected by the DeviceManager's\nProbes, selects the inventory entry. It has to be read on the\nmachine, and a modified client can still repeat it.","SIGNED":"SIGNED means that the Device presented a short-lived artifact that\nthe provider signed for the inventory entry. It cannot be forged\nbut it can be copied while it is valid.","HARDWARE":"HARDWARE means that the Device signed a challenge of the Cluster\nwith a non-exportable key that is certified for the inventory entry"}},"octelium.api.main.core.v1.Device.Status.Binding.Evidence":{"type":"string","enum":["EVIDENCE_UNKNOWN","OWNER_EMAIL","PROBE","MACHINE_ID","SERIAL_NUMBER","MAC_ADDRESS","HOSTNAME","VENDOR_SIGNED"],"description":"Evidence is a kind of evidence that ties an ACCEPTED Binding's\ninventory entry to the Device or to the Device's User","x-enumDescriptions":{"EVIDENCE_UNKNOWN":"EVIDENCE_UNKNOWN is not used","OWNER_EMAIL":"OWNER_EMAIL means that one of the owner emails that the provider\nreports for the inventory entry is the email of the Device's User","PROBE":"PROBE means that the identifier that the DeviceManager's Probes\ncollected on the Device (e.g. its agent ID) identifies the\ninventory entry","MACHINE_ID":"MACHINE_ID means that the Device's ID is derived from the machine\nID that the provider reports for the inventory entry (i.e. the\nhardware UUID of a macOS Device)","SERIAL_NUMBER":"SERIAL_NUMBER means that the Device's serial number is the hardware\nserial number of the inventory entry","MAC_ADDRESS":"MAC_ADDRESS means that one of the Device's MAC addresses is one of\nthe MAC addresses of the inventory entry","HOSTNAME":"HOSTNAME means that the Device's hostname is the hostname of the\ninventory entry. It only narrows down the entries of the Device's\nUser and does not raise the Assurance.","VENDOR_SIGNED":"VENDOR_SIGNED means that the identifier of the PROBE Evidence comes\nfrom an artifact that the provider signed for the inventory entry"}},"octelium.api.main.core.v1.Device.Status.Binding.State":{"type":"string","enum":["STATE_UNKNOWN","ACCEPTED","AMBIGUOUS","CONFLICT","OWNER_MISMATCH"],"description":"State is the state of the Binding","x-enumDescriptions":{"STATE_UNKNOWN":"STATE_UNKNOWN is not used","ACCEPTED":"ACCEPTED means that the Device is bound to the inventory entry","AMBIGUOUS":"AMBIGUOUS means that the Device could not be resolved to a unique\ninventory entry of the DeviceManager","CONFLICT":"CONFLICT means that the inventory entry is already bound to another\nDevice. It is retried once the other Binding is reset or LOST.","OWNER_MISMATCH":"OWNER_MISMATCH means that the Device resolves to an inventory entry\nwhose reported owner is not the Device's User"}},"octelium.api.main.core.v1.Device.Status.Binding.Validity":{"type":"string","enum":["VALIDITY_UNKNOWN","VALID","SUSPENDED","LOST"],"description":"Validity is whether an ACCEPTED Binding is currently usable","x-enumDescriptions":{"VALIDITY_UNKNOWN":"VALIDITY_UNKNOWN is not used","VALID":"VALID means that the Binding is verified and its Posture is usable","SUSPENDED":"SUSPENDED means that the Binding is contradicted (e.g. the Probe\nresults do not resolve to the bound inventory entry) and the\nPosture must not be used until it is verified again","LOST":"LOST means that the inventory entry no longer exists or no longer\napplies to the Device"}},"octelium.api.main.core.v1.Device.Status.OSType":{"type":"string","enum":["OS_TYPE_UNKNOWN","LINUX","WINDOWS","MAC","ANDROID","IOS","CHROMEOS"],"description":"OSType is the operating system of the Device","x-enumDescriptions":{"OS_TYPE_UNKNOWN":"OS_TYPE_UNKNOWN is not used","LINUX":"LINUX means that the Device runs Linux","WINDOWS":"WINDOWS means that the Device runs Windows","MAC":"MAC means that the Device runs macOS","ANDROID":"ANDROID means that the Device runs Android","IOS":"IOS means that the Device runs iOS or iPadOS","CHROMEOS":"CHROMEOS means that the Device runs ChromeOS"}},"octelium.api.main.core.v1.Device.Status.Posture":{"type":"object","properties":{"riskLevel":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.Posture.RiskLevel","description":"RiskLevel is the overall risk level of the Device as assessed by the\nprovider. It is never derived by the Cluster: a provider that only\nreports a number sets Score instead."},"diskEncryption":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.Posture.SignalState","description":"DiskEncryption is PASS when the provider reports the Device's disk as\nencrypted"},"compliant":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.Posture.SignalState","description":"Compliant is PASS when the Device meets the provider's compliance\npolicy, FAIL when it does not and GRACE_PERIOD when it does not but\nthe provider still allows it (e.g. Intune's `inGracePeriod`, or\n1Password's `Notified` and `Will Block`)"},"threatFree":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.Posture.SignalState","description":"ThreatFree is PASS when the provider reports no active threats"},"lastSyncAt":{"type":"string","format":"date-time","description":"LastSyncAt is the timestamp at which the Posture was last synced from\nthe provider"},"lastSeenAt":{"type":"string","format":"date-time","description":"LastSeenAt is the timestamp at which the Device was last seen by the\nprovider"},"expiresAt":{"type":"string","format":"date-time","description":"ExpiresAt is the timestamp after which the Posture is no longer valid.\nThe Cluster evaluates it using its own clock. It is never later than\nthe expiry of the oldest provider observation represented by the\nPosture, so polling does not refresh the lifetime of an old\nobservation."},"attrs":{"type":"object","description":"Attrs contains the raw provider-specific values that have no typed\nfield. Its keys depend on the provider, so a Policy that uses them\nworks only with that provider. Values that have a typed field are\nnever duplicated here."},"firewall":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.Posture.SignalState","description":"Firewall is PASS when the provider reports the Device's firewall as\nenabled"},"screenLock":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.Posture.SignalState","description":"ScreenLock is PASS when the Device meets the provider's screen lock\nrequirements"},"secureBoot":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.Posture.SignalState","description":"SecureBoot is PASS when the provider reports secure boot as enabled\nat its strongest level"},"osUpToDate":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.Posture.SignalState","description":"OSUpToDate is PASS when the Device meets the provider's OS update\nrequirements"},"agentHealthy":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.Posture.SignalState","description":"AgentHealthy is PASS when the provider reports its agent on the\nDevice as installed, running and recently reporting"},"enrolled":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.Posture.SignalState","description":"Enrolled is PASS when the provider reports the Device as enrolled in\ndevice management (MDM)"},"notContained":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.Posture.SignalState","description":"NotContained is PASS when the provider reports that the Device is not\nisolated or contained"},"osIntegrity":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.Posture.SignalState","description":"OSIntegrity is PASS when the operating system's integrity protections\nare intact, FAIL when they are off or removed (e.g. a jailbroken or\nrooted mobile Device, or System Integrity Protection disabled on\nmacOS)"},"appControl":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.Posture.SignalState","description":"AppControl is PASS when the provider reports that the operating\nsystem restricts which applications can run (e.g. Gatekeeper on\nmacOS)"},"antivirus":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.Posture.SignalState","description":"Antivirus is PASS when the provider reports that malware protection\nis active and blocking on the Device, FAIL when it is unhealthy or\nonly detecting"},"tamperProtection":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.Posture.SignalState","description":"TamperProtection is PASS when the provider reports that its protection\ncannot be turned off from the Device"},"agentUpToDate":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.Posture.SignalState","description":"AgentUpToDate is PASS when the provider reports its agent on the\nDevice as running the expected version"},"score":{"type":"integer","format":"uint32","minimum":0,"description":"Score is the provider's own overall assessment of the Device from 0\nto 100, where a higher number is better (e.g. CrowdStrike's Zero Trust\nAssessment). A provider that uses another range or direction is\nnormalized to this one."},"failingChecks":{"type":"integer","format":"uint32","minimum":0,"description":"FailingChecks is the number of the provider's checks that the Device\ncurrently fails (e.g. Fleet policies or Zero Trust Assessment signals)"},"activeThreats":{"type":"integer","format":"uint32","minimum":0,"description":"ActiveThreats is the number of active threats reported by the provider"},"assessedAt":{"type":"string","format":"date-time","description":"AssessedAt is the timestamp at which the provider last changed Score\nand FailingChecks, when it reports them separately from LastSeenAt"},"os":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.Posture.OS","description":"OS is the operating system of the Device"},"ownership":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.Posture.Ownership","description":"Ownership is who owns the Device"},"deviceClass":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.Posture.DeviceClass","description":"DeviceClass is the kind of the Device"}},"additionalProperties":false,"description":"Posture is the security posture reported by the Device's bound\nDeviceManager. Every provider maps what it reports to the same typed\nfields, so that a single Policy works with any provider. A signal is\nsatisfied only when its state is PASS. A field that the provider does\nnot report is omitted, so a condition on it evaluates to false, which\nmeans that the numeric fields can be compared directly (e.g.\n`ctx.device.status.posture.score >= 70`)."},"octelium.api.main.core.v1.Device.Status.Posture.DeviceClass":{"type":"string","enum":["DEVICE_CLASS_UNKNOWN","WORKSTATION","SERVER","PHONE","TABLET","VIRTUAL_MACHINE"],"description":"DeviceClass is the kind of the Device","x-enumDescriptions":{"DEVICE_CLASS_UNKNOWN":"DEVICE_CLASS_UNKNOWN means that the provider did not report the kind\nof the Device","WORKSTATION":"WORKSTATION is a desktop or a laptop","SERVER":"SERVER is a physical server","PHONE":"PHONE is a phone","TABLET":"TABLET is a tablet","VIRTUAL_MACHINE":"VIRTUAL_MACHINE is a virtual machine regardless of its role"}},"octelium.api.main.core.v1.Device.Status.Posture.OS":{"type":"object","properties":{"type":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.OSType","description":"Type is the type of the operating system"},"version":{"type":"string","description":"Version is the version as reported by the provider (e.g. `14.5.1`,\n`10.0.22631.3880`, `Ubuntu 22.04.4 LTS`)"},"major":{"type":"integer","format":"uint32","minimum":0,"description":"Major is the first numeric part of the dotted version. All the\nnumeric parts are omitted when the provider reports no dotted\nversion (e.g. `Windows 11`, or a Windows build number alone)."},"minor":{"type":"integer","format":"uint32","minimum":0,"description":"Minor is the second numeric part of the version"},"patch":{"type":"integer","format":"uint32","minimum":0,"description":"Patch is the third numeric part of the version, which is the build\nnumber on Windows (e.g. 22631)"},"revision":{"type":"integer","format":"uint32","minimum":0,"description":"Revision is the fourth numeric part of the version, which is the\nupdate build revision on Windows (e.g. 3880)"}},"additionalProperties":false,"description":"OS is the operating system of the Device as reported by the provider,\nas opposed to Device.status.osType which is reported by the Device"},"octelium.api.main.core.v1.Device.Status.Posture.Ownership":{"type":"string","enum":["OWNERSHIP_UNKNOWN","COMPANY","PERSONAL"],"description":"Ownership is who owns the Device","x-enumDescriptions":{"OWNERSHIP_UNKNOWN":"OWNERSHIP_UNKNOWN means that the provider did not report the owner","COMPANY":"COMPANY means that the Device is owned by the organization","PERSONAL":"PERSONAL means that the Device is personally owned (i.e. BYOD)"}},"octelium.api.main.core.v1.Device.Status.Posture.RiskLevel":{"type":"string","enum":["RISK_LEVEL_UNKNOWN","LOW","MEDIUM","HIGH","CRITICAL"],"description":"RiskLevel is the overall risk level of the Device as assessed by the\nprovider itself","x-enumDescriptions":{"RISK_LEVEL_UNKNOWN":"RISK_LEVEL_UNKNOWN means that the provider reported no risk level","LOW":"LOW is a low risk level","MEDIUM":"MEDIUM is a medium risk level","HIGH":"HIGH is a high risk level","CRITICAL":"CRITICAL is a critical risk level"}},"octelium.api.main.core.v1.Device.Status.Posture.SignalState":{"type":"string","enum":["SIGNAL_STATE_UNKNOWN","PASS","FAIL","NOT_APPLICABLE","GRACE_PERIOD"],"description":"SignalState is the state of a posture signal","x-enumDescriptions":{"SIGNAL_STATE_UNKNOWN":"SIGNAL_STATE_UNKNOWN means that the provider did not report the\nsignal or reported a value that has no known meaning. A signal that\na provider does not cover is always unknown.","PASS":"PASS means that the provider reports the signal as satisfied","FAIL":"FAIL means that the provider reports the signal as not satisfied","NOT_APPLICABLE":"NOT_APPLICABLE means that the signal cannot exist on the Device\n(e.g. secure boot on a hardware that does not support it)","GRACE_PERIOD":"GRACE_PERIOD means that the signal is not satisfied but the provider\nstill allows the Device, which it may block later. To accept such a\nDevice, use `compliant in [\"PASS\", \"GRACE_PERIOD\"]`."}},"octelium.api.main.core.v1.Device.Status.ProbeAttempt":{"type":"object","properties":{"uid":{"type":"string","description":"UID is the unique identifier of the ProbeAttempt"},"startedAt":{"type":"string","format":"date-time","description":"StartedAt is the timestamp at which the ProbeAttempt started"},"probes":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.ClusterConfig.Status.Device.Probe"},"description":"Probes is the list of the Probes that were issued to the Device"},"results":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.ProbeAttempt.Result"},"description":"Results is the list of the Results of the issued Probes"},"state":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.ProbeAttempt.State","description":"State is the state of the ProbeAttempt"},"expiresAt":{"type":"string","format":"date-time","description":"ExpiresAt is the timestamp after which the ProbeAttempt can no longer\nbe completed. The Cluster evaluates it using its own clock."},"submittedAt":{"type":"string","format":"date-time","description":"SubmittedAt is the timestamp at which the Results were submitted"},"sessionRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"SessionRef is a reference to the Session that started the\nProbeAttempt"}},"additionalProperties":false,"description":"ProbeAttempt is the most recent attempt to run the Cluster's Probes on\nthe Device to collect evidence for selecting or verifying its Binding"},"octelium.api.main.core.v1.Device.Status.ProbeAttempt.Result":{"type":"object","properties":{"probeID":{"type":"string","description":"ProbeID is the ID of the Probe that produced the Result"},"status":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.ProbeAttempt.Result.Status","description":"Status is the outcome of running the Probe"},"text":{"type":"string","description":"Text is a textual value","x-oneof":"value"},"data":{"type":"string","contentEncoding":"base64","description":"Data is a binary value","x-oneof":"value"},"list":{"$ref":"#/definitions/octelium.api.main.core.v1.Device.Status.ProbeAttempt.Result.List","description":"List is a list of values","x-oneof":"value"},"isTruncated":{"type":"boolean","description":"IsTruncated indicates whether the value was truncated"},"exitCode":{"type":"integer","format":"int32","description":"ExitCode is the exit code of a RunCommand Probe"},"detail":{"type":"string","description":"Detail is a human-readable detail of the Status"}},"additionalProperties":false,"description":"Result is the result of running a single Probe","x-oneofs":{"value":["text","data","list"]}},"octelium.api.main.core.v1.Device.Status.ProbeAttempt.Result.List":{"type":"object","properties":{"items":{"type":"array","items":{"type":"string"},"description":"Items is the list of values"}},"additionalProperties":false,"description":"List is a list of values"},"octelium.api.main.core.v1.Device.Status.ProbeAttempt.Result.Status":{"type":"string","enum":["STATUS_UNKNOWN","OK","NOT_FOUND","UNSUPPORTED","PERMISSION_REQUIRED","TIMEOUT","FAILED"],"description":"Status is the outcome of running the Probe","x-enumDescriptions":{"STATUS_UNKNOWN":"STATUS_UNKNOWN is not used","OK":"OK means that the Probe succeeded","NOT_FOUND":"NOT_FOUND means that the probed item does not exist on the Device","UNSUPPORTED":"UNSUPPORTED means that the client does not support the Probe","PERMISSION_REQUIRED":"PERMISSION_REQUIRED means that running the Probe requires\nprivileges that the client does not have","TIMEOUT":"TIMEOUT means that running the Probe timed out","FAILED":"FAILED means that running the Probe failed"}},"octelium.api.main.core.v1.Device.Status.ProbeAttempt.State":{"type":"string","enum":["STATE_UNKNOWN","ISSUED","SUBMITTED","PROCESSED"],"description":"State is the state of the ProbeAttempt","x-enumDescriptions":{"STATE_UNKNOWN":"STATE_UNKNOWN is not used","ISSUED":"ISSUED means that the Probes were issued and the Cluster is waiting\nfor their Results","SUBMITTED":"SUBMITTED means that the Results were submitted and are waiting to\nbe processed","PROCESSED":"PROCESSED means that the Results were processed. They are kept\nuntil the Device is bound, since an inventory entry that appears\nlater can still match them."}},"octelium.api.main.core.v1.DeviceList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `DeviceList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Device"},"description":"Items is the list of Devices."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"DeviceList is the list of Devices returned by the ListDevice method."},"octelium.api.main.core.v1.Gateway":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `Gateway`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.core.v1.Gateway.Spec","description":"Spec is the Gateway specification."},"status":{"$ref":"#/definitions/octelium.api.main.core.v1.Gateway.Status","description":"Status is the current status of the Gateway."}},"additionalProperties":false,"description":"Gateway represents a Kubernetes node that is part of the data-plane of the\nCluster. A Gateway hosts the Services running on that node and maintains the\nWireGuard/QUIC tunnel interfaces at which the Users' tunneled traffic is\nterminated."},"octelium.api.main.core.v1.Gateway.Spec":{"type":"object","properties":{},"additionalProperties":false,"description":"Spec is the Gateway specification"},"octelium.api.main.core.v1.Gateway.Status":{"type":"object","properties":{"regionRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"RegionRef is the reference to the owner Region"},"nodeRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"NodeRef is the reference to the owner Kubernetes node using the UID set\nby Kubernetes"},"id":{"type":"string","description":"ID is a unique Gateway ID"},"cidr":{"$ref":"#/definitions/octelium.api.main.meta.v1.DualStackNetwork","description":"CIDR is the dual-stack CIDR of the Gateway encompassing all the Services\naddresses serving in it"},"wireguard":{"$ref":"#/definitions/octelium.api.main.core.v1.Gateway.Status.WireGuard","description":"Wireguard is the Gateway WireGuard's information"},"quicv0":{"$ref":"#/definitions/octelium.api.main.core.v1.Gateway.Status.QUICV0","description":"Quicv0 is the Gateway QUICv0 information"},"publicIPs":{"type":"array","items":{"type":"string"},"description":"PublicIPs is the list of public IPs of the Gateway when connected to by\nthe User clients"},"hostname":{"type":"string","description":"Hostname is the public hostname of the Gateway when connected to by\nthe User clients. Currently used by QUICv0 Gateways."},"index":{"type":"integer","format":"int32","description":"Index is the Gateway's index within its Region"}},"additionalProperties":false,"description":"Status is the current status of the Gateway"},"octelium.api.main.core.v1.Gateway.Status.QUICV0":{"type":"object","properties":{"port":{"type":"integer","format":"int32","description":"Port is the listen port"}},"additionalProperties":false,"description":"QUICV0 is the Gateway's QUICv0-specific information"},"octelium.api.main.core.v1.Gateway.Status.WireGuard":{"type":"object","properties":{"port":{"type":"integer","format":"int32","description":"Port is the listen port"},"publicKey":{"type":"string","description":"PublicKey is the current public key"},"keyRotatedAt":{"type":"string","format":"date-time","description":"KeyRotatedAt is the timestamp at which the key pair was last rotated"}},"additionalProperties":false,"description":"WireGuard is the Gateway's WireGuard-specific information"},"octelium.api.main.core.v1.GatewayList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `GatewayList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Gateway"},"description":"Items is the list of Gateways."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"GatewayList is the list of Gateways returned by the ListGateway method."},"octelium.api.main.core.v1.GenerateCredentialTokenRequest":{"type":"object","properties":{"credentialRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"CredentialRef is the reference of the Credential whose token is generated\nor rotated"}},"additionalProperties":false,"description":"GenerateCredentialTokenRequest is the request of the\nGenerateCredentialToken method."},"octelium.api.main.core.v1.GeoIP":{"type":"object","properties":{"ip":{"type":"string","description":"IP is the IP address itself"},"ipVersion":{"$ref":"#/definitions/octelium.api.main.core.v1.GeoIP.IPVersion","description":"IPVersion is the version of the IP address"},"country":{"$ref":"#/definitions/octelium.api.main.core.v1.GeoIP.Country","description":"Country is the country of the IP address"},"region":{"$ref":"#/definitions/octelium.api.main.core.v1.GeoIP.Region","description":"Region is the subdivision/region of the IP address within its country"},"city":{"$ref":"#/definitions/octelium.api.main.core.v1.GeoIP.City","description":"City is the city of the IP address"},"continent":{"$ref":"#/definitions/octelium.api.main.core.v1.GeoIP.Continent","description":"Continent is the continent of the IP address"},"network":{"$ref":"#/definitions/octelium.api.main.core.v1.GeoIP.Network","description":"Network is the network information of the IP address"},"timezone":{"$ref":"#/definitions/octelium.api.main.core.v1.GeoIP.Timezone","description":"Timezone is the timezone of the IP address"},"postalCode":{"type":"string","description":"PostalCode is the postal code of the IP address"},"coordinates":{"$ref":"#/definitions/octelium.api.main.core.v1.GeoIP.Coordinates","description":"Coordinates is the approximate geographic location of the IP address"}},"additionalProperties":false,"description":"GeoIP is the geolocation information of an IP address. It is resolved by the\nCluster from the MaxMind MMDB databases that are set in the ClusterConfig\nand it is only set if geolocation is enabled."},"octelium.api.main.core.v1.GeoIP.City":{"type":"object","properties":{"name":{"type":"string","description":"Name is the city's name (e.g. \"New York\")"}},"additionalProperties":false,"description":"City is the city of the IP address"},"octelium.api.main.core.v1.GeoIP.Continent":{"type":"object","properties":{"code":{"type":"string","description":"Code is the continent's code (e.g. \"EU\")"},"name":{"type":"string","description":"Name is the continent's name (e.g. \"Europe\")"}},"additionalProperties":false,"description":"Continent is the continent of the IP address"},"octelium.api.main.core.v1.GeoIP.Coordinates":{"type":"object","properties":{"latitude":{"type":"number","description":"Latitude is the latitude in degrees"},"longitude":{"type":"number","description":"Longitude is the longitude in degrees"},"accuracyRadius":{"type":"number","description":"AccuracyRadius is the radius in kilometers within which the IP address\nis likely to be located"}},"additionalProperties":false,"description":"Coordinates is the approximate geographic location of the IP address"},"octelium.api.main.core.v1.GeoIP.Country":{"type":"object","properties":{"code":{"type":"string","description":"Code is the ISO 3166-1 country code (e.g. \"US\")"},"name":{"type":"string","description":"Name is the country's name (e.g. \"United States\")"}},"additionalProperties":false,"description":"Country is the country of the IP address"},"octelium.api.main.core.v1.GeoIP.IPVersion":{"type":"string","enum":["IP_VERSION_UNKNOWN","V4","V6"],"description":"IPVersion is the version of the IP address","x-enumDescriptions":{"IP_VERSION_UNKNOWN":"IP_VERSION_UNKNOWN is not used","V4":"V4 means that the IP address is IPv4","V6":"V6 means that the IP address is IPv6"}},"octelium.api.main.core.v1.GeoIP.Network":{"type":"object","properties":{"asn":{"type":["integer","string"],"format":"int64","description":"ASN is the autonomous system number of the network"},"isp":{"type":"string","description":"ISP is the name of the internet service provider"},"organization":{"type":"string","description":"Organization is the name of the organization that owns the network"},"domain":{"type":"string","description":"Domain is the second-level domain of the network"}},"additionalProperties":false,"description":"Network is the network information of the IP address"},"octelium.api.main.core.v1.GeoIP.Region":{"type":"object","properties":{"code":{"type":"string","description":"Code is the region's code"},"name":{"type":"string","description":"Name is the region's name"}},"additionalProperties":false,"description":"Region is the subdivision/region of the IP address within its country"},"octelium.api.main.core.v1.GeoIP.Timezone":{"type":"object","properties":{"id":{"type":"string","description":"ID is the IANA timezone identifier (e.g. \"America/New_York\")"},"offset":{"type":"number","description":"Offset is the timezone's offset in hours from UTC"}},"additionalProperties":false,"description":"Timezone is the timezone of the IP address"},"octelium.api.main.core.v1.GetClusterConfigRequest":{"type":"object","properties":{},"additionalProperties":false,"description":"GetClusterConfigRequest is the request of the GetClusterConfig method."},"octelium.api.main.core.v1.Group":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `Group`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.core.v1.Group.Spec","description":"Spec is the Group specification."},"status":{"$ref":"#/definitions/octelium.api.main.core.v1.Group.Status","description":"Status is the current status of the Group."}},"additionalProperties":false,"description":"Group is a collection of Users according to whatever classification is\nneeded by the Cluster administrators (e.g. roles in a company such as DevOps\nor developers, different groupings of workloads, etc...). A User can belong\nto one or more Groups. Groups are especially useful for access control where\na Policy can be applied to a whole set of Users at once."},"octelium.api.main.core.v1.Group.Spec":{"type":"object","properties":{"authorization":{"$ref":"#/definitions/octelium.api.main.core.v1.Group.Spec.Authorization","description":"Authorization sets the authorization-related configuration"},"attrs":{"type":"object","description":"Attrs is a map of user-defined attributes, mostly used in authorization\nrules. It is strongly recommended to stick to camelCase in order to be\nconformant with Octelium's API naming conventions."}},"additionalProperties":false,"description":"Spec is the Group specification"},"octelium.api.main.core.v1.Group.Spec.Authorization":{"type":"object","properties":{"policies":{"type":"array","items":{"type":"string"},"description":"Policies is the list of standalone Policies"},"inlinePolicies":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.InlinePolicy"},"description":"InlinePolicies is the list of inline Policies"}},"additionalProperties":false,"description":"Authorization sets the Policies that are applied to the Users belonging\nto the Group"},"octelium.api.main.core.v1.Group.Status":{"type":"object","properties":{"ext":{"type":"object","additionalProperties":{"type":"object"},"description":"Ext is a map of internal Cluster-managed extension data"}},"additionalProperties":false,"description":"Status is the current status of the Group"},"octelium.api.main.core.v1.GroupList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `GroupList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Group"},"description":"Items is the list of Groups."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"GroupList is the list of Groups returned by the ListGroup method."},"octelium.api.main.core.v1.IdentityProvider":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `IdentityProvider`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.core.v1.IdentityProvider.Spec","description":"Spec is the IdentityProvider specification."},"status":{"$ref":"#/definitions/octelium.api.main.core.v1.IdentityProvider.Status","description":"Status is the current status of the IdentityProvider."}},"additionalProperties":false,"description":"IdentityProvider represents an identity provider (IdP) that is used by the\nCluster to authenticate and re-authenticate the Users in order for them to\nobtain and keep a valid Session."},"octelium.api.main.core.v1.IdentityProvider.Spec":{"type":"object","properties":{"isDisabled":{"type":"boolean","description":"IsDisabled disables the IdentityProvider"},"displayName":{"type":"string","description":"DisplayName is the public IdentityProvider display name that Users see\nwhen they try to authenticate"},"aalRules":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.IdentityProvider.Spec.AALRule"},"description":"AALRules is the list of Authenticator assurance level rules"},"disableEmailAsIdentity":{"type":"boolean","description":"DisableEmailAsIdentity disables using the email field in the User spec\nas an identity to be matched against the information returned by the\nIdentityProvider during the authentication flow. In other words, if\nthis field is set to true, then you must create an identity for the\nIdentityProvider with an explicit identifier in the User spec. This\nfield is only meaningful for web-based IdentityProviders only (i.e. the\nones with types \"github\", \"oidc\" or \"saml\")."},"postAuthenticationRules":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.IdentityProvider.Spec.PostAuthenticationRule"},"description":"PostAuthenticationRules is the list of the rules that decide whether an\notherwise successful authentication via the IdentityProvider is\neventually accepted or rejected"},"github":{"$ref":"#/definitions/octelium.api.main.core.v1.IdentityProvider.Spec.Github","description":"Github sets the Github OAuth2 provider specific options.","x-oneof":"type"},"oidc":{"$ref":"#/definitions/octelium.api.main.core.v1.IdentityProvider.Spec.OIDC","description":"OIDC sets the OpenID Connect provider options.","x-oneof":"type"},"saml":{"$ref":"#/definitions/octelium.api.main.core.v1.IdentityProvider.Spec.SAML","description":"SAML sets the SAML 2.0 identity provider options.","x-oneof":"type"},"oidcIdentityToken":{"$ref":"#/definitions/octelium.api.main.core.v1.IdentityProvider.Spec.OIDCIdentityToken","description":"OIDCIdentityToken sets the OIDC-based assertion options used for\nWORKLOAD User authentication","x-oneof":"type"}},"additionalProperties":false,"description":"Spec is the IdentityProvider specification","x-oneofs":{"type":["github","oidc","saml","oidcIdentityToken"]}},"octelium.api.main.core.v1.IdentityProvider.Spec.AALRule":{"type":"object","properties":{"condition":{"$ref":"#/definitions/octelium.api.main.core.v1.Condition","description":"Condition is the rule's condition"},"aal":{"$ref":"#/definitions/octelium.api.main.core.v1.IdentityProvider.Spec.AALRule.AAL","description":"AAL is the corresponding AAL level if the condition matches"}},"additionalProperties":false,"description":"AALRule sets the authenticator assurance level (AAL) of the\nauthentication based on the content of the IdentityProvider's assertion.\nThe AAL of the first rule whose Condition matches is the one that is\nused."},"octelium.api.main.core.v1.IdentityProvider.Spec.AALRule.AAL":{"type":"string","enum":["AAL_UNSET","AAL1","AAL2","AAL3"],"description":"AAL is the authenticator assurance level as defined by NIST SP 800-63B","x-enumDescriptions":{"AAL_UNSET":"AAL_UNSET is not used","AAL1":"AAL1 provides some assurance that the User controls a single\nauthentication factor","AAL2":"AAL2 provides high confidence that the User controls two distinct\nauthentication factors","AAL3":"AAL3 provides very high confidence that the User controls a\nhardware-based authenticator"}},"octelium.api.main.core.v1.IdentityProvider.Spec.Github":{"type":"object","properties":{"clientID":{"type":"string","description":"ClientID is the GitHub OAuth2 client ID"},"clientSecret":{"$ref":"#/definitions/octelium.api.main.core.v1.IdentityProvider.Spec.Github.ClientSecret","description":"ClientSecret is the GitHub OAuth2 client secret"}},"additionalProperties":false,"description":"Github sets the GitHub OAuth2 provider specific options"},"octelium.api.main.core.v1.IdentityProvider.Spec.Github.ClientSecret":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value contains the\nClientSecret","x-oneof":"type"}},"additionalProperties":false,"description":"ClientSecret is the GitHub OAuth2 client secret","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.IdentityProvider.Spec.OIDC":{"type":"object","properties":{"clientID":{"type":"string","description":"ClientID is the OIDC OAuth2 client ID"},"clientSecret":{"$ref":"#/definitions/octelium.api.main.core.v1.IdentityProvider.Spec.OIDC.ClientSecret","description":"ClientSecret is the OIDC OAuth2 client secret"},"issuerURL":{"type":"string","description":"IssuerURL is the issuer URL where the OIDC configuration can be\nobtained automatically by adding this IssuerURL to the path\n\"/.well-known/openid-configuration\""},"scopes":{"type":"array","items":{"type":"string"},"description":"Scopes are the additional scopes to `openid`. The default value is\n[`profile`, `email`]."},"identifierClaim":{"type":"string","description":"IdentifierClaim overrides the default claim (i.e. currently `email`) as\nthe claim whose value is used as the identifier."},"checkEmailVerified":{"type":"boolean","description":"CheckEmailVerified checks that the `email_verified` claim\nis set to true."},"useUserInfoEndpoint":{"type":"boolean","description":"UseUserInfoEndpoint obtains the claims via the UserInfo endpoint."}},"additionalProperties":false,"description":"OIDC sets the OpenID Connect provider specific options"},"octelium.api.main.core.v1.IdentityProvider.Spec.OIDC.ClientSecret":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value contains the\nClientSecret","x-oneof":"type"}},"additionalProperties":false,"description":"ClientSecret is the OIDC OAuth2 client secret","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.IdentityProvider.Spec.OIDCIdentityToken":{"type":"object","properties":{"issuerURL":{"type":"string","description":"IssuerURL is the issuer URL from which the OIDC configuration, and\nsubsequently the JWKS, is obtained automatically","x-oneof":"type"},"jwksURL":{"type":"string","description":"JWKSURL is the URL of the issuer's JSON Web Key Set","x-oneof":"type"},"jwksContent":{"type":"string","description":"JWKSContent is the inline content of the issuer's JSON Web Key Set","x-oneof":"type"},"issuer":{"type":"string","description":"Issuer is the expected value of the identity token's `iss` claim"},"audience":{"type":"string","description":"Audience is the expected value of the identity token's `aud` claim"}},"additionalProperties":false,"description":"OIDCIdentityToken sets the OIDC-based assertion options used for\nWORKLOAD User authentication. The WORKLOAD User authenticates via an\nidentity token that is issued by an external OIDC-compliant issuer (e.g.\na CI platform or a cloud provider) instead of an interactive login.","x-oneofs":{"type":["issuerURL","jwksURL","jwksContent"]}},"octelium.api.main.core.v1.IdentityProvider.Spec.PostAuthenticationRule":{"type":"object","properties":{"condition":{"$ref":"#/definitions/octelium.api.main.core.v1.Condition","description":"Condition is the rule's Condition"},"effect":{"$ref":"#/definitions/octelium.api.main.core.v1.IdentityProvider.Spec.PostAuthenticationRule.Effect","description":"Effect is the effect of the rule when a match happens to any of the\nConditions."}},"additionalProperties":false,"description":"PostAuthenticationRule decides whether an otherwise successful\nauthentication via the IdentityProvider is eventually accepted or\nrejected"},"octelium.api.main.core.v1.IdentityProvider.Spec.PostAuthenticationRule.Effect":{"type":"string","enum":["EFFECT_UNKNOWN","ALLOW","DENY"],"description":"Effect is the decision of the rule once its Condition matches","x-enumDescriptions":{"EFFECT_UNKNOWN":"EFFECT_UNKNOWN is not used.","ALLOW":"ALLOW accepts the authentication.","DENY":"DENY rejects the authentication."}},"octelium.api.main.core.v1.IdentityProvider.Spec.SAML":{"type":"object","properties":{"metadataURL":{"type":"string","description":"MetadataURL is the SAML 2.0 metadata URL","x-oneof":"metadataType"},"metadata":{"type":"string","description":"Metadata is the inline metadata XML content","x-oneof":"metadataType"},"entityID":{"type":"string","description":"EntityID is the entity ID. If not set, then the value\n\"https://<CLUSTER_DOMAIN>\" is used as the default entity ID."},"identifierAttribute":{"type":"string","description":"IdentifierAttribute is the attribute of the identifier used for\nauthentication. If not set, then the default value\n\"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress\" is\nused instead."},"forceAuthn":{"type":"boolean","description":"ForceAuthn forces re-authentication by the IdP even if the user has a\nvalid SSO session"}},"additionalProperties":false,"description":"SAML sets the SAML 2.0 identity provider specific options","x-oneofs":{"metadataType":["metadataURL","metadata"]}},"octelium.api.main.core.v1.IdentityProvider.Status":{"type":"object","properties":{"type":{"$ref":"#/definitions/octelium.api.main.core.v1.IdentityProvider.Status.Type","description":"Type is the type of the IdentityProvider"},"isLocked":{"type":"boolean","description":"IsLocked indicates whether the IdentityProvider is locked by the Cluster"}},"additionalProperties":false,"description":"Status is the current status of the IdentityProvider"},"octelium.api.main.core.v1.IdentityProvider.Status.Type":{"type":"string","enum":["TYPE_UNKNOWN","GITHUB","OIDC","SAML","OIDC_IDENTITY_TOKEN"],"description":"Type is the type of the IdentityProvider","x-enumDescriptions":{"TYPE_UNKNOWN":"TYPE_UNKNOWN is not used","GITHUB":"GITHUB means that the IdentityProvider is a GitHub OAuth2 provider","OIDC":"OIDC means that the IdentityProvider is an OpenID Connect provider","SAML":"SAML means that the IdentityProvider is a SAML 2.0 provider","OIDC_IDENTITY_TOKEN":"OIDC_IDENTITY_TOKEN means that the IdentityProvider verifies the OIDC\nidentity tokens used by the WORKLOAD Users"}},"octelium.api.main.core.v1.IdentityProviderList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `IdentityProviderList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.IdentityProvider"},"description":"Items is the list of IdentityProviders."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"IdentityProviderList is the list of IdentityProviders returned by the\nListIdentityProvider method."},"octelium.api.main.core.v1.InlinePolicy":{"type":"object","properties":{"name":{"type":"string","description":"Name is the name of the inline Policy"},"spec":{"$ref":"#/definitions/octelium.api.main.core.v1.Policy.Spec","description":"Spec is the Policy spec"}},"additionalProperties":false,"description":"InlinePolicy is a Policy that is defined inline within the resource that\nattaches it instead of being created as a standalone Policy resource."},"octelium.api.main.core.v1.ListAuthenticatorOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common sets the common listing options (e.g. pagination, ordering and\nfiltering)"},"userRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"UserRef filters the Authenticators by their User"}},"additionalProperties":false,"description":"ListAuthenticatorOptions is the request of the ListAuthenticator method."},"octelium.api.main.core.v1.ListConfigOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common sets the common listing options (e.g. pagination, ordering and\nfiltering)"}},"additionalProperties":false,"description":"ListConfigOptions is the request of the ListConfig method."},"octelium.api.main.core.v1.ListCredentialOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common sets the common listing options (e.g. pagination, ordering and\nfiltering)"},"userRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"UserRef filters the Credentials by their User"}},"additionalProperties":false,"description":"ListCredentialOptions is the request of the ListCredential method."},"octelium.api.main.core.v1.ListDeviceOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common sets the common listing options (e.g. pagination, ordering and\nfiltering)"},"userRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"UserRef filters the Devices by their User"}},"additionalProperties":false,"description":"ListDeviceOptions is the request of the ListDevice method."},"octelium.api.main.core.v1.ListGatewayOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common sets the common listing options (e.g. pagination, ordering and\nfiltering)"},"regionRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"RegionRef filters the Gateways by their owner Region"}},"additionalProperties":false,"description":"ListGatewayOptions is the request of the ListGateway method."},"octelium.api.main.core.v1.ListGroupOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common sets the common listing options (e.g. pagination, ordering and\nfiltering)"}},"additionalProperties":false,"description":"ListGroupOptions is the request of the ListGroup method."},"octelium.api.main.core.v1.ListIdentityProviderOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common sets the common listing options (e.g. pagination, ordering and\nfiltering)"}},"additionalProperties":false,"description":"ListIdentityProviderOptions is the request of the ListIdentityProvider\nmethod."},"octelium.api.main.core.v1.ListNamespaceOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common sets the common listing options (e.g. pagination, ordering and\nfiltering)"}},"additionalProperties":false,"description":"ListNamespaceOptions is the request of the ListNamespace method."},"octelium.api.main.core.v1.ListPolicyOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common sets the common listing options (e.g. pagination, ordering and\nfiltering)"}},"additionalProperties":false,"description":"ListPolicyOptions is the request of the ListPolicy method."},"octelium.api.main.core.v1.ListRegionOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common sets the common listing options (e.g. pagination, ordering and\nfiltering)"}},"additionalProperties":false,"description":"ListRegionOptions is the request of the ListRegion method."},"octelium.api.main.core.v1.ListSecretOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common sets the common listing options (e.g. pagination, ordering and\nfiltering)"}},"additionalProperties":false,"description":"ListSecretOptions is the request of the ListSecret method."},"octelium.api.main.core.v1.ListServiceOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common sets the common listing options (e.g. pagination, ordering and\nfiltering)"},"namespaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"NamespaceRef filters the Services by their owner Namespace"},"regionRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"RegionRef filters the Services by the Region in which they are deployed"}},"additionalProperties":false,"description":"ListServiceOptions is the request of the ListService method."},"octelium.api.main.core.v1.ListSessionOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common sets the common listing options (e.g. pagination, ordering and\nfiltering)"},"userRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"UserRef filters the Sessions by their User"}},"additionalProperties":false,"description":"ListSessionOptions is the request of the ListSession method."},"octelium.api.main.core.v1.ListUserOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions","description":"Common sets the common listing options (e.g. pagination, ordering and\nfiltering)"}},"additionalProperties":false,"description":"ListUserOptions is the request of the ListUser method."},"octelium.api.main.core.v1.Namespace":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `Namespace`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.core.v1.Namespace.Spec","description":"Spec is the Namespace specification."},"status":{"$ref":"#/definitions/octelium.api.main.core.v1.Namespace.Status","description":"Status is the current status of the Namespace."}},"additionalProperties":false,"description":"Namespace is a logical grouping of Services according to a common\nfunctionality (e.g. project names, environments such as production or\nstaging, regions, etc...). Every Service belongs to a single Namespace which\nalso acts as the parent domain of its Services' FQDNs. A Service that does\nnot explicitly specify a Namespace belongs to the `default` Namespace which\nis automatically created upon the Cluster's installation."},"octelium.api.main.core.v1.Namespace.Spec":{"type":"object","properties":{"authorization":{"$ref":"#/definitions/octelium.api.main.core.v1.Namespace.Spec.Authorization","description":"Authorization sets the authorization-related configuration"},"attrs":{"type":"object","description":"Attrs is a map of user-defined attributes, mostly used in authorization\nrules. It is strongly recommended to stick to camelCase in order to be\nconformant with Octelium's API naming conventions."}},"additionalProperties":false,"description":"Spec is the Namespace specification"},"octelium.api.main.core.v1.Namespace.Spec.Authorization":{"type":"object","properties":{"policies":{"type":"array","items":{"type":"string"},"description":"Policies is the list of standalone Policies"},"inlinePolicies":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.InlinePolicy"},"description":"InlinePolicies is the list of inline Policies"}},"additionalProperties":false,"description":"Authorization sets the Policies that are applied to every Service owned\nby the Namespace"},"octelium.api.main.core.v1.Namespace.Status":{"type":"object","properties":{},"additionalProperties":false,"description":"Status is the current status of the Namespace"},"octelium.api.main.core.v1.NamespaceList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `NamespaceList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Namespace"},"description":"Items is the list of Namespaces."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"NamespaceList is the list of Namespaces returned by the ListNamespace\nmethod."},"octelium.api.main.core.v1.Policy":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `Policy`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.core.v1.Policy.Spec","description":"Spec is the Policy specification."},"status":{"$ref":"#/definitions/octelium.api.main.core.v1.Policy.Status","description":"Status is the current status of the Policy."}},"additionalProperties":false,"description":"Policy is a set of policy-as-code rules that decide whether a request is\nallowed or denied. A Policy that is attached to the resources involved in a\nrequest is evaluated for that request."},"octelium.api.main.core.v1.Policy.Spec":{"type":"object","properties":{"rules":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Policy.Spec.Rule"},"description":"Rules is the list of Policy rules"},"enforcementRules":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Policy.Spec.EnforcementRule"},"description":"EnforcementRules is the list of enforcement rules that are typically used\nas a precondition for using the Policy rules. You can simply extract your\nshared conditions from your rules and write them instead inside\nenforcementRules for better performance and readability"},"attrs":{"type":"object","description":"Attrs is a map of user-defined attributes that can be reused inside the\nPolicy rules. It is strongly recommended to stick to camelCase in order\nto be conformant with Octelium's API naming conventions."},"isDisabled":{"type":"boolean","description":"IsDisabled disables (i.e. deactivates) the Policy. You can use this to\ntemporarily disable enforcing the Policy altogether instead of having to\ndelete it or de-attach it from the different Resources attaching it."}},"additionalProperties":false,"description":"Spec is the Policy specification"},"octelium.api.main.core.v1.Policy.Spec.EnforcementRule":{"type":"object","properties":{"condition":{"$ref":"#/definitions/octelium.api.main.core.v1.Condition","description":"Condition is the enforcement rule's Condition"},"effect":{"$ref":"#/definitions/octelium.api.main.core.v1.Policy.Spec.EnforcementRule.Effect","description":"Effect is the effect of the enforcement rule when a match happens to\nany of the Conditions."}},"additionalProperties":false,"description":"EnforcementRule is a pre-condition that decides whether the Policy is\nevaluated at all. If no EnforcementRule matches, or if the list of\nEnforcementRules is empty, then the Policy is enforced. ENFORCE rules\nalways override IGNORE rules in the same way that DENY rules override\nALLOW rules."},"octelium.api.main.core.v1.Policy.Spec.EnforcementRule.Effect":{"type":"string","enum":["EFFECT_UNKNOWN","ENFORCE","IGNORE"],"description":"Effect is the decision of the EnforcementRule once its Condition\nmatches","x-enumDescriptions":{"EFFECT_UNKNOWN":"EFFECT_UNKNOWN is not used.","ENFORCE":"ENFORCE forces the Policy to be evaluated","IGNORE":"IGNORE forces the Policy to be ignored altogether"}},"octelium.api.main.core.v1.Policy.Spec.Rule":{"type":"object","properties":{"name":{"type":"string","description":"Name is an optional name for the rule. It is currently useful in Logs\nto understand which rule triggered the Policy."},"condition":{"$ref":"#/definitions/octelium.api.main.core.v1.Condition","description":"Condition is the rule's Condition that must match in order for the\nrule, and subsequently the Policy as whole, to match"},"effect":{"$ref":"#/definitions/octelium.api.main.core.v1.Policy.Spec.Rule.Effect","description":"Effect is the effect of the policy when a match happens to any of the\nConditions."},"priority":{"type":"integer","format":"int32","description":"Priority is an integer that sets the rule priority level. The lower the\nnumber, the higher the priority. Currently the range of numbers is\nbetween -4 (i.e. the highest priority) and 4\n(i.e. the lowest priority)."}},"additionalProperties":false,"description":"Rule is a single access control rule of the Policy"},"octelium.api.main.core.v1.Policy.Spec.Rule.Effect":{"type":"string","enum":["EFFECT_UNKNOWN","ALLOW","DENY"],"description":"Effect is the decision of the Rule once its Condition matches","x-enumDescriptions":{"EFFECT_UNKNOWN":"EFFECT_UNKNOWN is not used.","ALLOW":"ALLOW allows the request.","DENY":"DENY denies the request."}},"octelium.api.main.core.v1.Policy.Status":{"type":"object","properties":{"parentPolicyRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"ParentPolicyRef is the reference of the parent Policy, if any"}},"additionalProperties":false,"description":"Status is the current status of the Policy"},"octelium.api.main.core.v1.PolicyList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `PolicyList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Policy"},"description":"Items is the list of Policies."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"PolicyList is the list of Policies returned by the ListPolicy method."},"octelium.api.main.core.v1.Region":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `Region`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.core.v1.Region.Spec","description":"Spec is the Region specification."},"status":{"$ref":"#/definitions/octelium.api.main.core.v1.Region.Status","description":"Status is the current status of the Region."}},"additionalProperties":false,"description":"Region represents a single Kubernetes cluster of the Octelium Cluster. A\nCluster is designed to run on top of a single Kubernetes cluster or to be\ndistributed over multiple ones where each Kubernetes cluster acts as a\nRegion. The initial Kubernetes cluster represents the `default` Region upon\nwhich the Services are deployed by default."},"octelium.api.main.core.v1.Region.Spec":{"type":"object","properties":{},"additionalProperties":false,"description":"Spec is the Region specification"},"octelium.api.main.core.v1.Region.Status":{"type":"object","properties":{"index":{"type":"integer","format":"int32","description":"Index is the Region's index within the Cluster"},"ingressAddresses":{"type":"array","items":{"type":"string"},"description":"IngressAddresses is the list of the public addresses of the Region's\nIngress"},"publicHostname":{"type":"string","description":"PublicHostname is the Region's public hostname"},"ext":{"type":"object","additionalProperties":{"type":"object"},"description":"Ext is a map of internal Cluster-managed extension data"},"version":{"type":"string","description":"Version is the Region's version"},"versionInfoMap":{"type":"object","additionalProperties":{"$ref":"#/definitions/octelium.api.main.core.v1.Region.Status.VersionInfo"},"description":"VersionInfoMap is the map of the version information of the Region's\ncomponents keyed by the component's name"}},"additionalProperties":false,"description":"Status is the current status of the Region"},"octelium.api.main.core.v1.Region.Status.VersionInfo":{"type":"object","properties":{"version":{"type":"string","description":"Version is the component's version"},"package":{"type":"string","description":"Package is the name of the component's package"},"id":{"type":"string","description":"ID is the unique identifier of the version"},"setAt":{"type":"string","format":"date-time","description":"SetAt is the timestamp at which the version was set"},"ext":{"type":"object","additionalProperties":{"type":"object"},"description":"Ext is a map of internal Cluster-managed extension data"}},"additionalProperties":false,"description":"VersionInfo is the version information of a single Cluster component"},"octelium.api.main.core.v1.RegionList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `RegionList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Region"},"description":"Items is the list of Regions."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"RegionList is the list of Regions returned by the ListRegion method."},"octelium.api.main.core.v1.Scope":{"type":"object","properties":{"service":{"$ref":"#/definitions/octelium.api.main.core.v1.Scope.Service","description":"Service means that this is a Service scope","x-oneof":"type"},"api":{"$ref":"#/definitions/octelium.api.main.core.v1.Scope.API","description":"API means that this is an API scope","x-oneof":"type"}},"additionalProperties":false,"description":"Scope restricts what a Session is allowed to reach. A Session that carries\nno Scopes is unrestricted, otherwise it can only reach what its Scopes\nallow. Scopes narrow a Session down, they never widen it beyond what the\nauthorization Policies already allow.","x-oneofs":{"type":["service","api"]}},"octelium.api.main.core.v1.Scope.API":{"type":"object","properties":{"all":{"$ref":"#/definitions/octelium.api.main.core.v1.Scope.API.All","description":"All means allow access to all APIs","x-oneof":"type"},"filter":{"$ref":"#/definitions/octelium.api.main.core.v1.Scope.API.Filter","description":"Filter filters access to certain APIs or certain methods of certain\nAPIs","x-oneof":"type"}},"additionalProperties":false,"description":"API scopes the access to the Cluster's own gRPC APIs","x-oneofs":{"type":["all","filter"]}},"octelium.api.main.core.v1.Scope.API.All":{"type":"object","properties":{},"additionalProperties":false,"description":"All allows access to all APIs"},"octelium.api.main.core.v1.Scope.API.Filter":{"type":"object","properties":{"packages":{"type":"array","items":{"type":"string"},"description":"Packages is the list of gRPC packages"},"services":{"type":"array","items":{"type":"string"},"description":"Services is the list of gRPC services"},"methods":{"type":"array","items":{"type":"string"},"description":"Methods is the list of gRPC methods"}},"additionalProperties":false,"description":"Filter restricts the access to certain gRPC packages, services or\nmethods"},"octelium.api.main.core.v1.Scope.Service":{"type":"object","properties":{"all":{"$ref":"#/definitions/octelium.api.main.core.v1.Scope.Service.All","description":"All means allow access to all Services","x-oneof":"type"},"filter":{"$ref":"#/definitions/octelium.api.main.core.v1.Scope.Service.Filter","description":"Filter filters access to certain Services or certain Namespaces","x-oneof":"type"}},"additionalProperties":false,"description":"Service scopes the access to the Cluster's Services","x-oneofs":{"type":["all","filter"]}},"octelium.api.main.core.v1.Scope.Service.All":{"type":"object","properties":{},"additionalProperties":false,"description":"All allows access to all Services"},"octelium.api.main.core.v1.Scope.Service.Filter":{"type":"object","properties":{"names":{"type":"array","items":{"type":"string"},"description":"Names is the list of allowed Service names"},"namespaces":{"type":"array","items":{"type":"string"},"description":"Namespaces is the list of allowed Namespace names"}},"additionalProperties":false,"description":"Filter restricts the access to certain Services or Namespaces"},"octelium.api.main.core.v1.Secret":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `Secret`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.core.v1.Secret.Spec","description":"Spec is the Secret specification."},"status":{"$ref":"#/definitions/octelium.api.main.core.v1.Secret.Status","description":"Status is the current status of the Secret."},"data":{"$ref":"#/definitions/octelium.api.main.core.v1.Secret.Data","description":"Data is the Secret's actual secret data content."}},"additionalProperties":false,"description":"Secret stores a sensitive value (e.g. an API key, a password, a private key\nor a TLS certificate) that is referenced by its name from the other Cluster\nresources. It avoids storing the sensitive data itself along with the rest\nof the Cluster configuration. The Cluster does not expose the Secret's data\nvia the API, therefore a Secret that is read back from the API contains\neverything but its data."},"octelium.api.main.core.v1.Secret.Data":{"type":"object","properties":{"value":{"type":"string","description":"Value is a string value","x-oneof":"type"},"valueBytes":{"type":"string","contentEncoding":"base64","description":"ValueBytes is a raw sequence of bytes value","x-oneof":"type"}},"additionalProperties":false,"description":"Data is the Secret's sensitive data content","x-oneofs":{"type":["value","valueBytes"]}},"octelium.api.main.core.v1.Secret.Spec":{"type":"object","properties":{"data":{"$ref":"#/definitions/octelium.api.main.core.v1.Secret.Spec.Data","description":"Data is the Secret's sensitive data content"}},"additionalProperties":false,"description":"Spec is the Secret specification"},"octelium.api.main.core.v1.Secret.Spec.Data":{"type":"object","properties":{"value":{"type":"string","description":"Value is a string value","x-oneof":"type"},"valueBytes":{"type":"string","contentEncoding":"base64","description":"ValueBytes is a raw sequence of bytes value","x-oneof":"type"}},"additionalProperties":false,"description":"Data is the Secret's sensitive data content","x-oneofs":{"type":["value","valueBytes"]}},"octelium.api.main.core.v1.Secret.Status":{"type":"object","properties":{"ext":{"type":"object","additionalProperties":{"type":"object"},"description":"Ext is a map of internal Cluster-managed extension data"}},"additionalProperties":false,"description":"Status is the current status of the Secret"},"octelium.api.main.core.v1.SecretList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `SecretList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Secret"},"description":"Items is the list of Secrets."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"SecretList is the list of Secrets returned by the ListSecret method."},"octelium.api.main.core.v1.Service":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `Service`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec","description":"Spec is the Service specification."},"status":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Status","description":"Status is the current status of the Service."}},"additionalProperties":false,"description":"Service represents a protected upstream resource (e.g. a web application,\nan API, an SSH server, a database, a Kubernetes cluster, etc...) inside the\nCluster. A Service is implemented by Vigil, an identity-aware proxy (IaP)\nthat understands the application-layer protocol of the upstream and provides\naccess control, secretless access, dynamic configuration as well as\napplication-layer visibility and access logging. Every Service belongs to a\nsingle Namespace and has the private FQDN\n`<SERVICE>.<NAMESPACE>.local.<DOMAIN>` and, when publicly exposed, the\npublic FQDN `<SERVICE>.<NAMESPACE>.<DOMAIN>`."},"octelium.api.main.core.v1.Service.Spec":{"type":"object","properties":{"port":{"type":"integer","format":"uint32","minimum":0,"description":"Port is the port number used by the listener. If not set, Octelium will\ntry to assume the number from the backend URL. (e.g. if the backend's\nURL scheme is `http` then the port number is 80)."},"mode":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Mode","description":"Mode is the mode of the protocol used by the proxy implementing the\nService. If UNSET which is the default value, the Service will\nautomatically decide the mode using the scheme of the Upstream's URL."},"authorization":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Authorization","description":"Authorization sets the authorization-related configuration"},"config":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config","description":"Config sets the listener's application-layer specific options."},"dynamicConfig":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.DynamicConfig","description":"DynamicConfig sets the dynamic configuration options. DynamicConfig can\nsimply dynamically override the global/static Service configuration via\nprogrammable CEL rules that take identity and context into account."},"isTLS":{"type":"boolean","description":"IsTLS enables TLS for the listener using its Namespace certificate\n(i.e. You have to enable TLS at the Namespace level in order to enable\nthis field)."},"isPublic":{"type":"boolean","description":"IsPublic enables the client-less public \"BeyondCorp\" mode access for the\nService. Only works for HTTP-based Service modes for now."},"isAnonymous":{"type":"boolean","description":"IsAnonymous turns a publicly exposed HTTP-based Service into an\nanonymously exposed Service that can be anonymously accessed publicly. In\nother words, this turns off authentication and authorization for the\nService. This requires the isPublic field to be enabled too. Refer to the\ndocs for more."},"deployment":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Deployment","description":"Deployment sets the Service's underlying deployment configurations."},"isDisabled":{"type":"boolean","description":"IsDisabled disables the Service. Simply the Service stops accepting\nrequests altogether as if it is not running."},"attrs":{"type":"object","description":"Attrs is a map of user-defined attributes, mostly used in authorization\nrules. It is strongly recommended to stick to camelCase in order to be\nconformant with Octelium's API naming conventions."},"region":{"type":"string","description":"Region explicitly sets the Region name in which the Service is deployed.\nBy default, a Service is deployed in the \"default\" Region."}},"additionalProperties":false,"description":"Spec is the Service specification"},"octelium.api.main.core.v1.Service.Spec.Authorization":{"type":"object","properties":{"policies":{"type":"array","items":{"type":"string"},"description":"Policies is the list of standalone Policies"},"inlinePolicies":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.InlinePolicy"},"description":"InlinePolicies is the list of inline Policies"},"enableAnonymous":{"type":"boolean","description":"EnableAnonymous enables authorization for anonymous Services (i.e.\nServices whose isAnonymous field is enabled). By default, an anonymous\nService enforces no authorization at all. Once enabled, the Policies\nof the Service are evaluated for the anonymous requests and, as it is\nthe case with the authenticated authorization, a request that matches\nno rule is denied."}},"additionalProperties":false,"description":"Authorization sets the Policies that are applied to the Service"},"octelium.api.main.core.v1.Service.Spec.Config":{"type":"object","properties":{"name":{"type":"string","description":"Name is a unique name the describes the Config. Only needed for Configs\ndescribed within the DynamicConfig. The default Config is assumed to\nhave the name \"default\"."},"clientCertificate":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.ClientCertificate","description":"ClientCertificate sets mTLS-related configuration (i.e. the client x509\ncertificate chain and its corresponding private key) to authenticate to\nan upstream that requires mTLS. This is unused for certain modes such\nas SSH since it does not use mTLS."},"upstream":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream","description":"Upstream is the Service detailed upstream information. Only one of the\nURL or Upstream must be set."},"parent":{"type":"string","description":"Parent is the name of the parent configuration"},"tls":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.TLS","description":"TLS sets the TLS client-side configuration used by the Service to\nconnect to an upstream that is listening over TLS."},"http":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP","description":"HTTP sets HTTP-specific configuration","x-oneof":"type"},"ssh":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.SSH","description":"SSH sets SSH-specific configuration","x-oneof":"type"},"postgres":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Postgres","description":"Postgres sets PostgreSQL-specific configuration","x-oneof":"type"},"mysql":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.MySQL","description":"MySQL (EXPERIMENTAL) sets MySQL-specific configuration","x-oneof":"type"},"kubernetes":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Kubernetes","description":"Kubernetes sets Kubernetes-specific configuration","x-oneof":"type"},"socks5":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.SOCKS5","description":"SOCKS5 sets SOCKS5-specific configuration","x-oneof":"type"},"rdp":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.RDP","description":"RDP sets RDP-specific configuration","x-oneof":"type"},"mcp":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.MCP","description":"MCP sets Model Context Protocol-specific configuration","x-oneof":"type"},"llm":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM","description":"LLM sets LLM-gateway-specific configuration","x-oneof":"type"}},"additionalProperties":false,"description":"Config is the Service configuration. It contains the upstream\ninformation as well as the configuration that is specific to the\napplication-layer protocol used by the Service.","x-oneofs":{"type":["http","ssh","postgres","mysql","kubernetes","socks5","rdp","mcp","llm"]}},"octelium.api.main.core.v1.Service.Spec.Config.ClientCertificate":{"type":"object","properties":{"trustedCAs":{"type":"array","items":{"type":"string"},"description":"TrustedCAs is the list of the PEM-encoded root certificate\nauthorities that are trusted to verify the upstream's certificate."},"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value contains the\nPEM representations of both the client certificate chain and its\ncorresponding private key","x-oneof":"type"}},"additionalProperties":false,"description":"ClientCertificate sets the x509 client certificate used to\nauthenticate to an upstream that requires mTLS","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP":{"type":"object","properties":{"auth":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth","description":"Auth sets authentication-to-upstream specific configuration"},"header":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Header","description":"Header sets request and response header manipulation options"},"path":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Path","description":"Path sets the request path options"},"cors":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.CORS","description":"CORS sets the Cross-Origin Resource Sharing (CORS)-specific\noptions. Read more at\nhttps://developer.mozilla.org/en-US/docs/Web/HTTP/Headers."},"isUpstreamHTTP2":{"type":"boolean","description":"IsUpstreamHTTP2 sets HTTP connections to the upstream to HTTP/2. Not\nenabled by default."},"listenHTTP2":{"type":"boolean","description":"ListenHTTP2 sets the Service to listen to HTTP 2.0 connections. This\nis only enabled by default for Services using TLS. This field has to\nbe enabled in the in the \"default\" or global Configuration (as\nopposed to named dynamic Configs) in order to actually work."},"enableRequestBuffering":{"type":"boolean","description":"EnableRequestBuffering buffers the entire request body before sending\nit to the upstream. This can be used to check the request body\ncontent for access control and dynamic configuration. This means that\nit has to be enabled in the \"default\" or global Configuration (as\nopposed to named dynamic Configs) in order to actually work."},"body":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Body","description":"Body sets the body-specific options."},"response":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Response","description":"Response sets the response-specific configurations"},"plugins":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin"},"description":"Plugins is the list of plugins"},"visibility":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Visibility","description":"Visibility sets the visibility/access logging specific options"},"retry":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Retry","description":"Retry sets the retrying of the failed upstream requests"}},"additionalProperties":false,"description":"HTTP sets the HTTP-specific configuration. It is used by every\nHTTP-based Service mode (i.e. HTTP, WEB and GRPC)."},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth":{"type":"object","properties":{"bearer":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth.Bearer","description":"Bearer sets bearer authentication details","x-oneof":"type"},"basic":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth.Basic","description":"Basic sets basic authentication details","x-oneof":"type"},"custom":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth.Custom","description":"Custom sets authentication inside custom header","x-oneof":"type"},"oauth2ClientCredentials":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth.OAuth2ClientCredentials","description":"OAuth2ClientCredentials sets OAuth2 client credentials\nauthentication flow details","x-oneof":"type"},"sigv4":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth.Sigv4","description":"Sigv4 sets the AWS signature v4 authentication details","x-oneof":"type"}},"additionalProperties":false,"description":"Auth sets the application-layer credentials that are injected by\nthe Service on-the-fly to authenticate to the upstream. This\nprovides secretless access where the credentials are never shared\nwith the Users.","x-oneofs":{"type":["bearer","basic","custom","oauth2ClientCredentials","sigv4"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth.Basic":{"type":"object","properties":{"username":{"type":"string","description":"Username is the username value of HTTP basic authentication"},"password":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth.Basic.Password","description":"Password is the password value of HTTP basic authentication"}},"additionalProperties":false,"description":"Basic is the HTTP basic authentication credentials"},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth.Basic.Password":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value contains\nthe Password","x-oneof":"type"}},"additionalProperties":false,"description":"Password is the password value of HTTP basic authentication","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth.Bearer":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value contains\nthe bearer token","x-oneof":"type"}},"additionalProperties":false,"description":"Bearer is the bearer token that is set in the `Authorization`\nrequest header","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth.Custom":{"type":"object","properties":{"header":{"type":"string","description":"Header is the name of the HTTP header (e.g. \"X-Custom-Auth\")"},"value":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth.Custom.Value","description":"Value is the value of the header"}},"additionalProperties":false,"description":"Custom is a credential that is set in a custom request header"},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth.Custom.Value":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value contains\nthe header's Value","x-oneof":"type"}},"additionalProperties":false,"description":"Value is the value of the custom request header","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth.OAuth2ClientCredentials":{"type":"object","properties":{"clientID":{"type":"string","description":"ClientID sets the OAuth2 client ID"},"clientSecret":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth.OAuth2ClientCredentials.ClientSecret","description":"ClientSecret sets the OAuth2 client secret"},"tokenURL":{"type":"string","description":"TokenURL sets the token URL endpoint"},"scopes":{"type":"array","items":{"type":"string"},"description":"Scopes is the list of OAuth2 scopes"}},"additionalProperties":false,"description":"OAuth2ClientCredentials authenticates to the upstream via the\nstandard OAuth2 client credentials flow"},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth.OAuth2ClientCredentials.ClientSecret":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value contains\nthe ClientSecret","x-oneof":"type"}},"additionalProperties":false,"description":"ClientSecret is the OAuth2 client secret","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth.Sigv4":{"type":"object","properties":{"accessKeyID":{"type":"string","description":"AccessKeyID is the AWS access key ID"},"secretAccessKey":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth.Sigv4.SecretAccessKey","description":"SecretAccessKey is the AWS secret access key"},"region":{"type":"string","description":"Region is the AWS region of the upstream API (e.g.\n\"eu-central-1\")"},"service":{"type":"string","description":"Service is the AWS service of the upstream API (e.g. \"lambda\",\n\"s3\")"}},"additionalProperties":false,"description":"Sigv4 computes and injects AWS Signature Version 4 signatures\non-the-fly for a Sigv4-compliant upstream API"},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth.Sigv4.SecretAccessKey":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value contains\nthe SecretAccessKey","x-oneof":"type"}},"additionalProperties":false,"description":"SecretAccessKey is the AWS secret access key","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Body":{"type":"object","properties":{"mode":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Body.Mode","description":"Mode sets the expected format of the request body"},"maxRequestSize":{"type":"integer","format":"uint32","minimum":0,"description":"MaxRequestSize sets the max body request byte size."},"validation":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Body.Validation","description":"Validation sets the validation of the request body content"}},"additionalProperties":false,"description":"Body sets the request body-specific options. It requires\nenableRequestBuffering to be enabled."},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Body.Mode":{"type":"string","enum":["MODE_UNSET","JSON"],"description":"Mode is the expected format of the request body","x-enumDescriptions":{"MODE_UNSET":"MODE_UNSET performs no request body format validation. This is\nthe default value.","JSON":"JSON means that the request body must be validated for a valid\nJSON"}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Body.Validation":{"type":"object","properties":{"jsonSchema":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Body.Validation.JSONSchema","description":"JSONSchema validates the request body against a JSON schema","x-oneof":"type"}},"additionalProperties":false,"description":"Validation validates the content of the request body. A request\nwhose body is invalid is rejected with a status code of `400`.","x-oneofs":{"type":["jsonSchema"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Body.Validation.JSONSchema":{"type":"object","properties":{"inline":{"type":"string","description":"Inline is the JSON schema itself","x-oneof":"type"}},"additionalProperties":false,"description":"JSONSchema validates the request body against a JSON schema","x-oneofs":{"type":["inline"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.CORS":{"type":"object","properties":{"allowOriginStringMatch":{"type":"array","items":{"type":"string"},"description":"AllowOriginStringMatch is the list of the allowed origins. An\nentry is either an exact origin (e.g. \"https://example.com\") or a\n`*` which allows every origin. A request whose Origin matches the\nService's own origin is always allowed and it does not need to be\nlisted here. Note that Octelium always responds with the request's\nown Origin rather than with a literal `*` since the browsers\nreject a wildcard whenever the request carries credentials."},"allowMethods":{"type":"string","description":"AllowMethods specifies the content for the\naccess-control-allow-methods header."},"allowHeaders":{"type":"string","description":"AllowHeaders specifies the content for the\naccess-control-allow-headers header."},"exposeHeaders":{"type":"string","description":"ExposeHeaders specifies the content for the\naccess-control-expose-headers header."},"maxAge":{"type":"string","description":"MaxAge specifies the content for the access-control-max-age\nheader."},"allowCredentials":{"type":"boolean","description":"AllowCredentials specifies whether the resource allows\ncredentials."},"allowClusterServices":{"type":"boolean","description":"AllowClusterServices allows the origins of the Cluster's own\nServices (i.e. the Cluster domain itself as well as any of its\nsubdomains at any depth, over HTTPS only) in addition to the\norigins that are set in `allowOriginStringMatch`. Credentials are\nalways allowed for such origins regardless of `allowCredentials`\nsince the Cluster's Services authenticate the browsers with the\n`octelium_auth` Cookie. This is needed to access the Service from\nthe Cluster's own web console (e.g. the MCP and LLM playgrounds).\nNote that enabling this effectively trusts every Service in the\nCluster since a browser-based application served by any of them\ncan then read this Service's responses on behalf of the browsing\nUser."}},"additionalProperties":false,"description":"CORS sets the Cross-Origin Resource Sharing options which are needed\nto access the Service from a browser-based application that is\nserved at a different origin"},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Header":{"type":"object","properties":{"addRequestHeaders":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Header.KeyValue"},"description":"AddRequestHeaders is the list of request headers to be added."},"removeRequestHeaders":{"type":"array","items":{"type":"string"},"description":"RemoveRequestHeaders is the list of request headers to be\nremoved."},"addResponseHeaders":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Header.KeyValue"},"description":"AddResponseHeaders is the list of response headers to be added."},"removeResponseHeaders":{"type":"array","items":{"type":"string"},"description":"RemoveResponseHeaders is the list of response headers to be\nremoved."},"forwardedMode":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Header.ForwardedMode","description":"Forwarded handles the forwarded request header."},"host":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Header.Host","description":"Host sets the Host request header forwarded to the upstream"},"authorizationMode":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Header.AuthorizationMode","description":"AuthorizationMode sets the behavior of passing the Authorization\nrequest header to the upstream. The default behavior is to delete\nit unless when used by anonymous Services. You can use either the\nvalue \"PASS\" to pass the downstream Authorization header to the\nupstream or \"DELETE\" to delete it."}},"additionalProperties":false,"description":"Header sets the manipulation of the request and response headers"},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Header.AuthorizationMode":{"type":"string","enum":["AUTHORIZATION_MODE_UNSET","PASS","DELETE"],"description":"AuthorizationMode sets how the downstream's `Authorization`\nrequest header is handled","x-enumDescriptions":{"AUTHORIZATION_MODE_UNSET":"AUTHORIZATION_MODE_UNSET falls back to the default behavior\nwhich is to delete the header unless the Service is anonymous.","PASS":"PASS passes the downstream's Authorization request header to the\nupstream as is, if it exists.","DELETE":"DELETE deletes the downstream's Authorization request header"}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Header.ForwardedMode":{"type":"string","enum":["UNSET","DROP","OBFUSCATE","TRANSPARENT"],"description":"ForwardedMode sets how the `Forwarded` request header set by the\ndownstream is handled","x-enumDescriptions":{"UNSET":"UNSET falls back to the default behavior which is currently DROP","DROP":"DROP deletes the Forwarded header. Currently the default\nbehavior.","OBFUSCATE":"OBFUSCATE obfuscates from and by fields of the header","TRANSPARENT":"TRANSPARENT transparently passes the Forwarded header as is, if\nexists."}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Header.Host":{"type":"object","properties":{"preserve":{"type":"boolean","description":"Preserve preserves the Host header by using the Service's own\nFQDN as its value.","x-oneof":"type"},"value":{"type":"string","description":"Value explicitly sets the Host header's value","x-oneof":"type"},"eval":{"type":"string","description":"Eval sets the Host header's value to the result of a CEL\nexpression that is evaluated against the request context.","x-oneof":"type"}},"additionalProperties":false,"description":"Host sets the `Host` request header that is forwarded to the\nupstream. By default, the Host header is rewritten to the\nupstream's real host (i.e. the host of the Upstream's URL).","x-oneofs":{"type":["preserve","value","eval"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Header.KeyValue":{"type":"object","properties":{"key":{"type":"string","description":"Key is the header's name."},"value":{"type":"string","description":"Value is the header's value.","x-oneof":"type"},"eval":{"type":"string","description":"Eval sets the header's value to the result of a CEL expression\nthat is evaluated against the request context.","x-oneof":"type"},"append":{"type":"boolean","description":"Append appends the header value instead of\nsetting/overwriting/replacing it which is the default behavior."}},"additionalProperties":false,"description":"KeyValue is a header that is added to the request or the response","x-oneofs":{"type":["value","eval"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Path":{"type":"object","properties":{"addPrefix":{"type":"string","description":"AddPrefix adds a prefix to the request path."},"removePrefix":{"type":"string","description":"RemovePrefix removes a prefix from the request path. You can use\nboth RemovePrefix and AddPrefix at the same time to replace a\nprefix by another one."}},"additionalProperties":false,"description":"Path sets the manipulation of the request path that is forwarded to\nthe upstream"},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin":{"type":"object","properties":{"name":{"type":"string","description":"Name is the unique name of the Plugin"},"isDisabled":{"type":"boolean","description":"IsDisabled disables the Plugin without having to change its\nCondition or to delete it."},"phase":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Phase","description":"Phase sets whether the Plugin is invoked before or after the\nauthentication and authorization processes"},"condition":{"$ref":"#/definitions/octelium.api.main.core.v1.Condition","description":"Condition decides whether the Plugin is invoked on a per-request\nbasis"},"extProc":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.ExtProc","description":"ExtProc processes the requests via an Envoy ext_proc compliant\ngRPC server","x-oneof":"type"},"lua":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Lua","description":"Lua processes the requests via a Lua script","x-oneof":"type"},"direct":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Direct","description":"Direct returns a response directly without proxying the request\nto the upstream","x-oneof":"type"},"rateLimit":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.RateLimit","description":"RateLimit rate limits the requests","x-oneof":"type"},"cache":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Cache","description":"Cache returns globally cached responses","x-oneof":"type"},"jsonSchema":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.JSONSchema","description":"JSONSchema validates the JSON request body against a JSON schema","x-oneof":"type"},"path":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Path","description":"Path removes and/or adds prefixes of the request path","x-oneof":"type"}},"additionalProperties":false,"description":"Plugin provides a more advanced and dynamic way to manipulate the\nHTTP requests and responses. A Service can have one or more Plugins,\nincluding multiple Plugins of the same type.","x-oneofs":{"type":["extProc","lua","direct","rateLimit","cache","jsonSchema","path"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Cache":{"type":"object","properties":{"key":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Cache.Key","description":"Key sets the key of the cache entry"},"ttl":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"TTL is the duration after which a cache entry expires"},"maxSize":{"type":["integer","string"],"format":"uint64","description":"MaxSize is the maximum size in bytes of a response that can be\ncached"},"useXCacheHeader":{"type":"boolean","description":"UseXCacheHeader sets the `X-Cache` response header to indicate\nwhether the response was served from the cache."},"allowUnsafeMethods":{"type":"boolean","description":"AllowUnsafeMethods additionally caches the responses of the HTTP\nmethods other than GET and HEAD which are the only cached\nmethods by default."}},"additionalProperties":false,"description":"Cache returns globally cached responses that are stored in the\nCluster's Redis store"},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Cache.Key":{"type":"object","properties":{"eval":{"type":"string","description":"Eval sets the key to the result of a CEL expression that is\nevaluated against the request context.","x-oneof":"type"}},"additionalProperties":false,"description":"Key is the key of the cache entry. By default, the request URI\n(i.e. the path and the query parameters) is used as the key on a\nper-Service basis.","x-oneofs":{"type":["eval"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Direct":{"type":"object","properties":{"statusCode":{"type":"integer","format":"int32","description":"StatusCode is the status code of the returned response"},"body":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Direct.Body","description":"Body is the body of the returned response"},"headers":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Direct.KeyValue"},"description":"Headers is the list of the headers that are set in the returned\nresponse"}},"additionalProperties":false,"description":"Direct returns a response directly without proxying the request to\nthe upstream"},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Direct.Body":{"type":"object","properties":{"inline":{"type":"string","description":"Inline is the response body as a string","x-oneof":"type"},"inlineBytes":{"type":"string","contentEncoding":"base64","description":"InlineBytes is the response body as raw bytes","x-oneof":"type"}},"additionalProperties":false,"description":"Body is the body of the returned response","x-oneofs":{"type":["inline","inlineBytes"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Direct.KeyValue":{"type":"object","properties":{"key":{"type":"string","description":"Key is the header's name"},"value":{"type":"string","description":"Value is the header's value"}},"additionalProperties":false,"description":"KeyValue is a header that is set in the returned response"},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.ExtProc":{"type":"object","properties":{"address":{"type":"string","description":"Address is the address of the ext_proc gRPC server (e.g.\n\"ext-proc.default.svc:8080\")","x-oneof":"type"},"container":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.ExtProc.Container","description":"Container serves the ext_proc gRPC server from a managed\ncontainer","x-oneof":"type"},"processingMode":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.ExtProc.ProcessingMode","description":"ProcessingMode sets which parts of the request and the response\nare sent to the ext_proc server"},"messageTimeout":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"MessageTimeout is the duration after which a message sent to the\next_proc server times out"}},"additionalProperties":false,"description":"ExtProc processes the requests via an external gRPC server that is\ncompliant with Envoy's ext_proc protocol. Vigil acts as the\next_proc gRPC client that sends a ProcessingRequest and waits for\na ProcessingResponse on every request.","x-oneofs":{"type":["address","container"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.ExtProc.Container":{"type":"object","properties":{"image":{"type":"string","description":"Image is the image URL of the container"},"port":{"type":"integer","format":"int32","description":"Port is the port at which the ext_proc gRPC server listens"}},"additionalProperties":false,"description":"Container is a managed container that serves the ext_proc gRPC\nserver"},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.ExtProc.ProcessingMode":{"type":"object","properties":{"requestHeaderMode":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.ExtProc.ProcessingMode.HeaderSendMode","description":"RequestHeaderMode sets whether the request headers are sent to\nthe ext_proc server"},"responseHeaderMode":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.ExtProc.ProcessingMode.HeaderSendMode","description":"ResponseHeaderMode sets whether the response headers are sent\nto the ext_proc server"},"requestBodyMode":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.ExtProc.ProcessingMode.BodySendMode","description":"RequestBodyMode sets whether the request body is sent to the\next_proc server"},"responseBodyMode":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.ExtProc.ProcessingMode.BodySendMode","description":"ResponseBodyMode sets whether the response body is sent to the\next_proc server"}},"additionalProperties":false,"description":"ProcessingMode sets which parts of the request and the response\nare sent to the ext_proc server"},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.ExtProc.ProcessingMode.BodySendMode":{"type":"string","enum":["BODY_SEND_MODE_UNSET","NONE","BUFFERED"],"description":"BodySendMode sets whether the body is sent to the ext_proc\nserver","x-enumDescriptions":{"BODY_SEND_MODE_UNSET":"BODY_SEND_MODE_UNSET falls back to the default behavior","NONE":"NONE does not send the body to the ext_proc server","BUFFERED":"BUFFERED buffers the entire body and sends it to the\next_proc server in a single message"}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.ExtProc.ProcessingMode.HeaderSendMode":{"type":"string","enum":["HEADER_SEND_MODE_UNSET","SEND","SKIP"],"description":"HeaderSendMode sets whether the headers are sent to the\next_proc server","x-enumDescriptions":{"HEADER_SEND_MODE_UNSET":"HEADER_SEND_MODE_UNSET falls back to the default behavior","SEND":"SEND sends the headers to the ext_proc server","SKIP":"SKIP does not send the headers to the ext_proc server"}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.JSONSchema":{"type":"object","properties":{"inline":{"type":"string","description":"Inline is the JSON schema itself","x-oneof":"type"},"statusCode":{"type":"integer","format":"int32","description":"StatusCode is the status code that is returned once the\nvalidation fails"},"body":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.JSONSchema.Body","description":"Body is the body of the response that is returned once the\nvalidation fails"},"headers":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.JSONSchema.KeyValue"},"description":"Headers is the list of the headers that are set in the response\nthat is returned once the validation fails"}},"additionalProperties":false,"description":"JSONSchema validates the JSON request body against a JSON schema","x-oneofs":{"type":["inline"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.JSONSchema.Body":{"type":"object","properties":{"inline":{"type":"string","description":"Inline is the response body as a string","x-oneof":"type"},"inlineBytes":{"type":"string","contentEncoding":"base64","description":"InlineBytes is the response body as raw bytes","x-oneof":"type"}},"additionalProperties":false,"description":"Body is the body of the response that is returned once the\nvalidation fails","x-oneofs":{"type":["inline","inlineBytes"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.JSONSchema.KeyValue":{"type":"object","properties":{"key":{"type":"string","description":"Key is the header's name"},"value":{"type":"string","description":"Value is the header's value"}},"additionalProperties":false,"description":"KeyValue is a header that is set in the returned response"},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Lua":{"type":"object","properties":{"inline":{"type":"string","description":"Inline is the Lua script itself","x-oneof":"type"}},"additionalProperties":false,"description":"Lua invokes a Lua script that can define an `onRequest` function\nwhich is invoked upon receiving the request before proxying it to\nthe upstream, and an `onResponse` function which is invoked upon\nreceiving the response from the upstream. A function that is not\ndefined is silently skipped.","x-oneofs":{"type":["inline"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Path":{"type":"object","properties":{"addPrefix":{"type":"string","description":"AddPrefix adds a prefix to the request path."},"removePrefix":{"type":"string","description":"RemovePrefix removes a prefix from the request path. You can use\nboth RemovePrefix and AddPrefix at the same time to replace a\nprefix by another one."}},"additionalProperties":false,"description":"Path removes and/or adds prefixes of the request path"},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Phase":{"type":"string","enum":["PHASE_UNSET","PRE_AUTH","POST_AUTH"],"description":"Phase sets whether the Plugin is invoked before or after the\nauthentication and authorization processes","x-enumDescriptions":{"PHASE_UNSET":"PHASE_UNSET falls back to the default behavior which is\nPOST_AUTH","PRE_AUTH":"PRE_AUTH invokes the Plugin before the authentication and\nauthorization processes. This is useful to manipulate or even\nentirely drop the requests before proceeding further to the\nauthentication and authorization processes. A PRE_AUTH Plugin\nhas to be set in the \"default\" or global Configuration (as\nopposed to named dynamic Configs) in order to actually work.","POST_AUTH":"POST_AUTH invokes the Plugin after the authentication and\nauthorization processes. This is the default behavior."}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.RateLimit":{"type":"object","properties":{"statusCode":{"type":"integer","format":"int32","description":"StatusCode is the status code that is returned once the rate\nlimit is exceeded. It is 429 by default."},"body":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.RateLimit.Body","description":"Body is the body of the response that is returned once the rate\nlimit is exceeded"},"key":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.RateLimit.Key","description":"Key sets the key by which the requests are counted"},"limit":{"type":["integer","string"],"format":"int64","description":"Limit is the maximum number of requests that are allowed within\nthe window"},"window":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"Window is the duration of the sliding window"},"headers":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.RateLimit.KeyValue"},"description":"Headers is the list of the headers that are set in the response\nthat is returned once the rate limit is exceeded"}},"additionalProperties":false,"description":"RateLimit provides a global sliding-window rate limiting mechanism\nthat is backed by the Cluster's Redis store"},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.RateLimit.Body":{"type":"object","properties":{"inline":{"type":"string","description":"Inline is the response body as a string","x-oneof":"type"},"inlineBytes":{"type":"string","contentEncoding":"base64","description":"InlineBytes is the response body as raw bytes","x-oneof":"type"}},"additionalProperties":false,"description":"Body is the body of the response that is returned once the rate\nlimit is exceeded","x-oneofs":{"type":["inline","inlineBytes"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.RateLimit.Key":{"type":"object","properties":{"eval":{"type":"string","description":"Eval sets the key to the result of a CEL expression that is\nevaluated against the request context.","x-oneof":"type"},"perSession":{"type":"boolean","description":"PerSession applies the rate limit on a per-Session basis","x-oneof":"type"},"perUser":{"type":"boolean","description":"PerUser applies the rate limit on a per-User basis","x-oneof":"type"}},"additionalProperties":false,"description":"Key is the key by which the requests are counted. By default,\nthe rate limit is applied on a per-Session basis.","x-oneofs":{"type":["eval","perSession","perUser"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.RateLimit.KeyValue":{"type":"object","properties":{"key":{"type":"string","description":"Key is the header's name"},"value":{"type":"string","description":"Value is the header's value"}},"additionalProperties":false,"description":"KeyValue is a header that is set in the returned response"},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Response":{"type":"object","properties":{"direct":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Response.Direct","description":"Direct returns a response directly without proxying the request\nto the upstream","x-oneof":"type"}},"additionalProperties":false,"description":"Response sets the response-specific configuration","x-oneofs":{"type":["direct"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Response.Direct":{"type":"object","properties":{"statusCode":{"type":"integer","format":"int32","description":"StatusCode is the status code of the returned response"},"contentType":{"type":"string","description":"ContentType is the value of the `Content-Type` response header\n(e.g. \"image/png\")"},"inline":{"type":"string","description":"Inline is the response body as a string","x-oneof":"type"},"inlineBytes":{"type":"string","contentEncoding":"base64","description":"InlineBytes is the response body as raw bytes","x-oneof":"type"}},"additionalProperties":false,"description":"Direct returns a response directly from the Service without\nproxying the request to the upstream","x-oneofs":{"type":["inline","inlineBytes"]}},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Retry":{"type":"object","properties":{"maxRetries":{"type":"integer","format":"uint32","minimum":0,"description":"MaxRetries is the maximum number of retries"},"initialInterval":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"InitialInterval is the duration of the backoff before the first\nretry"},"maxInterval":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"MaxInterval is the upper bound of the backoff duration between the\nretries"},"maxElapsedTime":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"MaxElapsedTime is the deadline after which no further retries are\nperformed"},"multiplier":{"type":"number","description":"Multiplier is the floating point value by which the backoff\nduration is multiplied on each retry"},"statusCodes":{"type":"array","items":{"type":"integer","format":"int32"},"description":"StatusCodes is the list of the response status codes that are\nretried. By default, the Service currently retries on the 502, 503\nand 504 status codes."},"retryOnServerErrors":{"type":"boolean","description":"RetryOnServerErrors additionally retries on every 5xx response\nstatus code."}},"additionalProperties":false,"description":"Retry sets the retrying of the failed upstream requests. Retrying is\ndisabled by default. The Service uses an exponential backoff that\nstarts with the initialInterval duration which is multiplied on each\nretry by the multiplier until it reaches the maxInterval duration."},"octelium.api.main.core.v1.Service.Spec.Config.HTTP.Visibility":{"type":"object","properties":{"enableRequestBody":{"type":"boolean","description":"Capture the request body"},"enableRequestBodyMap":{"type":"boolean","description":"Capture the request body map, currently JSON"},"enableResponseBody":{"type":"boolean","description":"Capture the response body"},"enableResponseBodyMap":{"type":"boolean","description":"Capture the response body map, currently JSON"},"includeRequestHeaders":{"type":"array","items":{"type":"string"},"description":"IncludeRequestHeaders is the list of the request headers that are\nrecorded in the AccessLogs."},"includeResponseHeaders":{"type":"array","items":{"type":"string"},"description":"IncludeResponseHeaders is the list of the response headers that\nare recorded in the AccessLogs."},"includeAllRequestHeaders":{"type":"boolean","description":"IncludeAllRequestHeaders records every request header in the\nAccessLogs except for the ones set in excludeRequestHeaders."},"includeAllResponseHeaders":{"type":"boolean","description":"IncludeAllResponseHeaders records every response header in the\nAccessLogs except for the ones set in excludeResponseHeaders."},"excludeRequestHeaders":{"type":"array","items":{"type":"string"},"description":"ExcludeRequestHeaders is the list of the request headers that are\nnever recorded in the AccessLogs."},"excludeResponseHeaders":{"type":"array","items":{"type":"string"},"description":"ExcludeResponseHeaders is the list of the response headers that\nare never recorded in the AccessLogs."}},"additionalProperties":false,"description":"Visibility sets the HTTP-specific access logging configuration"},"octelium.api.main.core.v1.Service.Spec.Config.Kubernetes":{"type":"object","properties":{"kubeconfig":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Kubernetes.Kubeconfig","description":"Kubeconfig sets the cluster configuration from a kubeconfig","x-oneof":"type"},"bearerToken":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Kubernetes.BearerToken","description":"BearerToken sets the bearer token used for authentication","x-oneof":"type"},"clientCertificate":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.ClientCertificate","description":"ClientCertificate sets the x509 client certificate used for\nauthentication","x-oneof":"type"}},"additionalProperties":false,"description":"Kubernetes sets the Kubernetes-specific configuration","x-oneofs":{"type":["kubeconfig","bearerToken","clientCertificate"]}},"octelium.api.main.core.v1.Service.Spec.Config.Kubernetes.BearerToken":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value contains the\nbearer token","x-oneof":"type"},"trustedCAs":{"type":"array","items":{"type":"string"},"description":"TrustedCAs is the list of the PEM-encoded root certificate\nauthorities that are trusted to verify the upstream's certificate."}},"additionalProperties":false,"description":"BearerToken is the bearer token used to authenticate to the upstream\nKubernetes cluster","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.Service.Spec.Config.Kubernetes.Kubeconfig":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value contains the\nkubeconfig","x-oneof":"type"},"context":{"type":"string","description":"Context is the kubeconfig context (e.g.\n\"kubernetes-admin@kubernetes\")"}},"additionalProperties":false,"description":"Kubeconfig is the kubeconfig of the upstream Kubernetes cluster","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.Service.Spec.Config.LLM":{"type":"object","properties":{"protocol":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Protocol","description":"Protocol is the inference API protocol spoken by both the\ndownstreams and the upstream. Note that the path of the upstream URL\nsets the upstream's base path in the same sense that the official\nOpenAI and Anthropic SDKs use a base URL. Octelium always serves the\ncanonical routes of the protocol to the downstreams (e.g.\n`/v1/chat/completions`) and it rewrites the upstream request path to\nthe base path followed by the route without the leading version\nsegment of the protocol, which is `/v1` for the OPENAI and the\nANTHROPIC protocols and `/v1beta` for the GEMINI one. For instance,\nan upstream URL of `https://openrouter.ai/api/v1` turns a downstream\nrequest to `/v1/chat/completions` into an upstream request to\n`/api/v1/chat/completions`. The base path therefore has to contain\nthe API version segment whenever the upstream uses one. The BEDROCK\nprotocol is the exception, since its own routes carry no version\nsegment at all: its request path is appended to the base path as is.\nWhenever the upstream URL carries no path at all, which is the\ndefault, the downstream request path is proxied to the upstream as\nis. The upstreams that serve neither of these two shapes are\nsupported via the `path` field instead. If not set, which is the\ndefault, the OPENAI protocol is used. Note that this is the protocol\nthat the downstreams speak as well as the one that the upstream\nspeaks, unless a `translation` is set, which is what makes the two\ndiffer. This field has to be set in the \"default\" or global\nConfiguration (as opposed to named dynamic Configs) in order to\nactually work."},"model":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Model","description":"Model overwrites the model name requested by the downstream before\nthe request is proxied to the upstream. It is the default of the\nService: a Model Plugin whose Condition matches overwrites it for\nthat request. If neither is set, which is the default, the\nrequested model name is preserved as is. Note that the model access\ncontrol itself is done by the Policies via the\n`ctx.request.llm.model` field which always carries the model name as\nrequested by the downstream."},"limits":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Limits","description":"Limits sets the request parsing and semantic limits. These fields\nhave to be set in the \"default\" or global Configuration (as opposed\nto named dynamic Configs) in order to actually work."},"auth":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth","description":"Auth sets authentication-to-upstream specific configuration. This is\nwhere the upstream provider credentials (e.g. the OpenAI API key as\na bearer token or the Anthropic API key as the `x-api-key` custom\nheader) are set. Octelium never forwards the downstream credentials\nto the upstream provider."},"header":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Header","description":"Header sets request and response header manipulation options"},"path":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Path","description":"Path sets the upstream request path options"},"plugins":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin"},"description":"Plugins is the list of the Plugins of the Service. Unlike the\nfields of this Configuration, which apply to every request that the\nConfiguration serves, every Plugin carries its own Condition which\ndecides whether that Plugin is invoked for a specific request.\nNote that this list used to be a list of the HTTP mode's own\nPlugins. The LLM Plugin keeps the same field names and the same\nfield numbers for every Plugin type that the two modes share, so\nthe Plugins that were already valid for an LLM Service are\nunaffected. The Cache Plugin, which was already rejected for the\nLLM Services, is the only removed type."},"isUpstreamHTTP2":{"type":"boolean","description":"IsUpstreamHTTP2 sets HTTP connections to the upstream to HTTP/2. Not\nenabled by default."},"listenHTTP2":{"type":"boolean","description":"ListenHTTP2 sets the Service to listen to HTTP 2.0 connections. This\nis only enabled by default for Services using TLS. This field has to\nbe enabled in the \"default\" or global Configuration (as opposed to\nnamed dynamic Configs) in order to actually work."},"visibility":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Visibility","description":"Visibility sets the visibility/access logging specific options"},"cors":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.CORS","description":"CORS sets the Cross-Origin Resource Sharing options which are needed\nto access the Service from a browser-based application served at a\ndifferent origin (e.g. the Cluster's own web dashboard). This field\nhas to be set in the \"default\" or global Configuration (as opposed\nto named dynamic Configs) in order to actually work since the CORS\npreflight requests carry no identity."},"reasoning":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Reasoning","description":"Reasoning sets the reasoning, or thinking, configuration of the\nrequests before they are proxied to the upstream. It is the default\nof the Service: a Reasoning Plugin whose Condition matches\noverwrites it for that request. If neither is set, which is the\ndefault, the reasoning configuration that the downstream requested\nis preserved as is."},"embedding":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Embedding","description":"Embedding sets how the semantic representations of the requests are\ngenerated. It is the default of the Service: a SemanticCache or a\nSemanticRouter Plugin that sets an `embedding` of its own uses that\none instead. A Plugin which needs an embedding while neither is set\nis rejected rather than silently disabled."},"translation":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Translation","description":"Translation converts the requests and the responses between the\nprotocol that the Service serves to its downstreams and the\nprotocol that its upstream speaks. If not set, which is the\ndefault, the two are the same protocol and nothing is translated.\nThis field has to be set in the \"default\" or global Configuration\n(as opposed to named dynamic Configs) in order to actually work."}},"additionalProperties":false,"description":"LLM sets the LLM-gateway-specific configuration. LLM Services are\nHTTP-based: they reuse the entire HTTP dataplane and additionally\nunderstand the inference API semantics."},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Embedding":{"type":"object","properties":{"source":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Embedding.Source","description":"Source sets where the embedding requests are sent"},"model":{"type":"string","description":"Model is the name of the embedding model (e.g.\n\"text-embedding-3-small\")"},"dimensions":{"type":"integer","format":"uint32","minimum":0,"description":"Dimensions requests this vector size from the embedding backends\nthat accept one. Zero, which is the default, uses the model's own\ndefault size. Note that a smaller vector is materially cheaper to\nstore and to search, so it is worth setting wherever the model\nsupports it, and that changing it makes whatever was already\nstored under the previous size unreachable rather than incorrect."}},"additionalProperties":false,"description":"Embedding sets how the semantic representation, or embedding, of a\ntext is generated. It is used by the Plugins that decide from the\nmeaning of a request rather than from its literal content (i.e.\nSemanticCache and SemanticRouter) and it is written once here so\nthat a Service does not have to repeat it for each of them.\n\nNote that an embedding is generated from content that the downstream\nitself supplied, so whichever API this field names does see the\nprompts of the Service. That is why every Guardrail Plugin is always\napplied before any embedding is generated, so that a redacted prompt\nis embedded rather than the original one, and why a Service whose\nprompts must not leave its own upstream has to name an embedding\nbackend that satisfies that requirement."},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Embedding.Source":{"type":"object","properties":{"currentUpstream":{"type":"boolean","description":"CurrentUpstream sends the embedding requests to the Service's\nown upstream, with the Service's own credentials and in the\nService's own protocol. It is only usable where that upstream\nserves an embedding operation that the protocol itself\ndefines, which is the case for the OPENAI and the GEMINI\nprotocols. The ANTHROPIC protocol serves no embedding\noperation at all and the BEDROCK one serves its embedding\nmodels through the InvokeModel operations whose bodies are\nmodel-native rather than defined by the protocol, so the\nServices of either protocol name an `upstream` instead.","x-oneof":"type"},"upstream":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Embedding.Source.Upstream","description":"Upstream sends the embedding requests to a separate embedding\nAPI. It is how a Service whose own upstream serves no\nembedding operation, or whose embedding model is served\nelsewhere, generates embeddings.","x-oneof":"type"}},"additionalProperties":false,"description":"Source sets where the embedding requests are sent","x-oneofs":{"type":["currentUpstream","upstream"]}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Embedding.Source.Upstream":{"type":"object","properties":{"url":{"type":"string","description":"URL is the base URL of the embedding API, in the same sense\nthat the Service's own upstream URL is a base URL"},"protocol":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Protocol","description":"Protocol is the inference API protocol spoken by the URL. If\nnot set, which is the default, the OPENAI protocol is used."},"auth":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth","description":"Auth sets the credentials that are used with the URL. Octelium\nnever forwards the downstream credentials to it."}},"additionalProperties":false,"description":"Upstream is an embedding API that is not the Service's own\nupstream"},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Limits":{"type":"object","properties":{"maxRequestBytes":{"type":"integer","format":"uint32","minimum":0,"description":"MaxRequestBytes is the maximum size in bytes of the request body\nthat is buffered and parsed. Zero uses the default value. This\nvalue is always bounded by an internal hard limit."},"maxStreamEventBytes":{"type":"integer","format":"uint32","minimum":0,"description":"MaxStreamEventBytes is the maximum size in bytes of a single\n`text/event-stream` response event that is parsed. Larger events\nare still forwarded to the downstream as is, they are simply not\ninspected. Zero uses the default value."},"maxEstimatedInputTokens":{"type":["integer","string"],"format":"uint64","description":"MaxEstimatedInputTokens rejects the requests whose pre-flight\nestimated input token count is above this value. Note that this\ncount is a byte-based heuristic calculated by Octelium itself, it\nis neither a provider-accurate token count nor an upper bound of\none. Read the `ctx.request.llm.estimateQuality` field to know\nwhether the estimate accounted for the entire input. Use the\nMaxRequestBytes field whenever an exact ceiling is needed."},"maxOutputTokens":{"type":["integer","string"],"format":"uint64","description":"MaxOutputTokens rejects the requests whose own requested maximum\noutput token count is above this value."},"maxTools":{"type":"integer","format":"uint32","minimum":0,"description":"MaxTools rejects the requests that declare more tools than this\nvalue."},"maxToolSchemaBytes":{"type":"integer","format":"uint32","minimum":0,"description":"MaxToolSchemaBytes rejects the requests that declare a tool whose\nserialized JSON Schema is above this value. Note that the\nMaxTools field bounds the number of the declared tools while this\nfield bounds the size of a single one. Zero uses the default\nvalue."}},"additionalProperties":false,"description":"Limits sets the LLM request parsing and inference limits"},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Model":{"type":"object","properties":{"value":{"type":"string","description":"Value overwrites the model name requested by the downstream with\na static one.","x-oneof":"type"},"eval":{"type":"string","description":"Eval overwrites the model name requested by the downstream with\nthe result of a CEL expression that is evaluated against the\nrequest context. An empty result preserves the requested model\nname.","x-oneof":"type"},"opa":{"type":"string","description":"OPA overwrites the model name requested by the downstream with\nthe string result of a Rego script. An empty result preserves\nthe requested model name.","x-oneof":"type"}},"additionalProperties":false,"description":"Model overwrites the model name requested by the downstream","x-oneofs":{"type":["value","eval","opa"]}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin":{"type":"object","properties":{"name":{"type":"string","description":"Name is the unique name of the Plugin"},"isDisabled":{"type":"boolean","description":"IsDisabled disables the Plugin without having to change its\nCondition or to delete it."},"phase":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Phase","description":"Phase sets whether the Plugin is invoked before or after the\nauthentication and authorization processes. It is the HTTP mode's\nown Phase so that a Plugin behaves identically in either mode.\nThe two phases sit on either side of a single step which\nauthenticates and authorizes at once: a PRE_AUTH Plugin therefore\nruns without a known User while a POST_AUTH one runs after the\nPolicies have already decided. Note that the inference-specific\nPlugins (i.e. Prompt, Tools, Guardrail, Model, Reasoning,\nTokenRateLimit, SemanticCache and SemanticRouter) are always\ninvoked in the POST_AUTH phase, since they act on a\nrequest whose content and verdict both routinely depend on the\nidentity of the requesting User, and that setting PRE_AUTH for\none of them is rejected rather than silently ignored."},"condition":{"$ref":"#/definitions/octelium.api.main.core.v1.Condition","description":"Condition decides whether the Plugin is invoked on a per-request\nbasis. It is always required: a Plugin that carries no Condition\nis rejected rather than silently never invoked. Use `matchAny` in\norder to invoke a Plugin unconditionally. Note that a Condition\nis always evaluated against the request context, including for\nthe Plugins that act on the response, so the response status, the\ntoken usage, the finish reason and the model that the upstream\nitself reported are unavailable to it. Note also that a Condition\nof an inference-specific Plugin (i.e. Prompt, Tools, Guardrail,\nModel, Reasoning, TokenRateLimit, SemanticCache and\nSemanticRouter) which cannot be evaluated at\nall (e.g. it\nerrors at runtime or it exceeds its cost limit) rejects the\nrequest rather than skipping the Plugin, since skipping it would\nturn an evaluation error into a silent bypass of the control that\nit carries. The Plugins that\nreuse the HTTP mode's own types behave in either mode as they do\nin the HTTP one, where such a Plugin is skipped instead."},"extProc":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.ExtProc","description":"ExtProc processes the requests via an Envoy ext_proc compliant\ngRPC server","x-oneof":"type"},"lua":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Lua","description":"Lua processes the requests via a Lua script","x-oneof":"type"},"direct":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Direct","description":"Direct returns a response directly without proxying the request\nto the upstream. Note that the body is served to an inference\nAPI client, so it has to be a valid response or error object of\nthe Service's own protocol.","x-oneof":"type"},"rateLimit":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.RateLimit","description":"RateLimit rate limits the requests","x-oneof":"type"},"jsonSchema":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.JSONSchema","description":"JSONSchema validates the JSON request body against a JSON\nschema","x-oneof":"type"},"path":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Path","description":"Path removes and/or adds prefixes of the request path","x-oneof":"type"},"prompt":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Prompt","description":"Prompt manipulates the instruction content of the request","x-oneof":"type"},"tools":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Tools","description":"Tools controls the tools that the request declares to the model","x-oneof":"type"},"guardrail":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Guardrail","description":"Guardrail inspects the content of the request, and optionally\nof the response, and decides what to do about it","x-oneof":"type"},"model":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Model","description":"Model overwrites the model name requested by the downstream. It\noverwrites the Configuration's own `model` field for the\nrequests whose Condition matches.","x-oneof":"type"},"reasoning":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Reasoning","description":"Reasoning sets the reasoning configuration of the request. It\noverwrites the Configuration's own `reasoning` field for the\nrequests whose Condition matches.","x-oneof":"type"},"tokenRateLimit":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.TokenRateLimit","description":"TokenRateLimit rate limits the inference token consumption of\nthe requests","x-oneof":"type"},"semanticCache":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.SemanticCache","description":"SemanticCache serves the requests from the responses that the\nService already produced for the earlier requests of the same\nmeaning","x-oneof":"type"},"semanticRouter":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.SemanticRouter","description":"SemanticRouter selects the model of a request from what the\nrequest means. It overwrites the Configuration's own `model`\nfield for the requests whose Condition matches.","x-oneof":"type"}},"additionalProperties":false,"description":"Plugin provides a dynamic, per-request way to manipulate the\ninference requests and responses. A Service can have one or more\nPlugins, including multiple Plugins of the same type. Unlike the\nConfiguration fields, which apply to every request that the\nConfiguration serves, every Plugin carries its own Condition which\ndecides whether that Plugin is invoked for a specific request.\n\nThe Plugins that are not specific to the inference semantics (e.g.\nLua, ExtProc, RateLimit) reuse the HTTP mode's own Plugin types as\nis, and they deliberately keep the same field names and the same\nfield numbers that they have in the HTTP mode's Plugin. The Cache\nPlugin is the only HTTP Plugin that has no counterpart here since\ngeneric HTTP caching understands neither the authorization scope\nnor the model, tool and sampling parameters that make up a correct\ninference cache key. The SemanticCache Plugin is the\ninference-aware replacement of it.\n\nThe inference-specific Plugins (i.e. Prompt, Tools, Guardrail,\nModel, Reasoning, TokenRateLimit, SemanticCache and SemanticRouter)\nare invoked in a fixed order that does not depend on the order of\nthe Plugin list: every Guardrail first, then every Tools, then the\nSemanticRouter, then every Prompt, then every Model, then every\nReasoning, then the SemanticCache and finally every TokenRateLimit.\nA Guardrail therefore always inspects the request before the Service\nhas added anything of its own to it, a SemanticRouter always decides\nfrom what the downstream asked rather than from what the Service\nthen added, a SemanticCache always keys on the request that the\nupstream would actually receive, a TokenRateLimit always counts the\nrequest that the upstream actually receives and never counts a\nrequest that the cache served instead, and a later Plugin always\nobserves the mutations of the earlier ones, including through its\nown Condition and through the request context that its own\nexpressions read. The Model Plugin is the exception: it\nrewrites the model of the request that is proxied to the upstream\nrather than the model that the request context carries, so the\n`ctx.request.llm.model` field that a Condition and an expression\nread is always the model that the downstream itself requested. That\nis deliberate, since the record of a request is the record of what\nwas asked for rather than of what the Service turned it into, and a\nReasoning Plugin therefore decides from the requested model. The\nSemanticRouter Plugin behaves in the same way for the same reason.\nTwo Plugins of the same type are invoked in the order in which they\nare listed, so the last Model or Reasoning Plugin that is invoked is\nthe one whose value is served. The TokenRateLimit Plugin is the\nexception to that as well, since a quota that a later Plugin could\noverwrite would be no quota at all: every TokenRateLimit Plugin\nwhose Condition matches is enforced and the request is served only\nif all of them admit it. The SemanticCache and the SemanticRouter\nPlugins are the opposite exception: the first one of either type\nwhose Condition matches is the one that is applied and the rest are\nskipped, since a second cache lookup or a second routing decision\nwould either repeat work that was already done or silently discard\nits result.\n\nThe Model and the Reasoning Plugins are the per-request form of the\nConfiguration's own `model` and `reasoning` fields: the\nConfiguration field is the default of every request that the\nConfiguration serves and a Plugin whose Condition matches\noverwrites it. The two exist side by side because they answer\ndifferent questions: a Configuration field states what the Service\nis, while a Plugin states what a particular request gets. The\nSemanticRouter sits between the two where the model is concerned: it\noverwrites the Configuration's own `model` field and a Model Plugin\noverwrites it in turn, so the model of a request is decided by what\nthe Service is by default, then by what the request means, and\nfinally by whatever a Model Plugin states explicitly. The\nTokenRateLimit, the SemanticCache and the SemanticRouter Plugins\ndeliberately have no Configuration counterpart of their own, since\neach of them is only meaningful for the requests that a Condition\nselects: use a Plugin whose Condition is `matchAny` in order to\napply one to every request. The Configuration's own `embedding`\nfield is not such a counterpart: it is the default embedding\nconfiguration that the SemanticCache and the SemanticRouter Plugins\nread whenever they set none of their own, so that a Service which\nuses both of them describes its embedding backend once.\n\nA `translation`, whenever the Configuration sets one, sits outside\nthat order as well: it is applied to a request after every\ninference-specific Plugin and to a response before every one of\nthem, so that every Plugin reads and writes the protocol that the\ndownstream itself used rather than the one that the upstream speaks.\n\nNote that the Plugins which reuse the HTTP mode's own types sit\noutside that order and outside the Guardrail boundary: they run\nbefore every inference-specific Plugin on the request and after\nevery one of them on the response. A Lua or an ExtProc Plugin can\ntherefore rewrite a response that a Guardrail has already inspected,\nand a Direct Plugin answers a request that no Guardrail has seen.\nThat boundary is deliberate, since those Plugins carry the logic of\nthe Service itself rather than the content of the downstream or of\nthe upstream, but a Service that uses them to carry inference\ncontent has to inspect that content itself.","x-oneofs":{"type":["extProc","lua","direct","rateLimit","jsonSchema","path","prompt","tools","guardrail","model","reasoning","tokenRateLimit","semanticCache","semanticRouter"]}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Guardrail":{"type":"object","properties":{"leg":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Guardrail.Leg","description":"Leg is the part of the exchange that is inspected"},"scopes":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Guardrail.Scope"},"description":"Scopes is the list of the parts of the content that are\ninspected. If not set, only CONTENT is inspected. Note that it\nis unused on the RESPONSE leg, where the generated content is\nthe only content that there is to inspect."},"patterns":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Guardrail.Pattern"},"description":"Patterns is the list of the Patterns that are matched against\nthe inspected content"},"denyMessage":{"type":"string","description":"DenyMessage is the message of the protocol-correct error that\nis returned for the DENY Action. Note that it is served to the\ndownstream, so it should not disclose the detection logic\nitself."}},"additionalProperties":false,"description":"Guardrail inspects the content of the request, and optionally of\nthe response, and decides what to do about it. Note that a\nGuardrail is a content control: the identity, the model and the\noperation of a request are governed by the Policies, and its\nshape is governed by the `limits` field, and both of them are\nalways evaluated regardless of the Guardrails. Note also that a\nGuardrail verdict is never an input to the Policies: a Guardrail\nruns after the authorization decision has already been reached,\nit acts on the request itself rather than informing a Policy\nabout it. A Guardrail is always invoked in the POST_AUTH phase.\n\nA Guardrail that cannot reach a verdict at all (e.g. a `replace`\nevaluation that errors) rejects the request rather than\nproceeding: a Guardrail that silently allows the content that it\ncould not inspect provides a compliance claim that is not true."},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Guardrail.Leg":{"type":"string","enum":["LEG_UNSET","REQUEST","RESPONSE","BOTH"],"description":"Leg is the part of the exchange that is inspected","x-enumDescriptions":{"LEG_UNSET":"LEG_UNSET falls back to the default behavior which is REQUEST","REQUEST":"REQUEST inspects the request before it is proxied to the\nupstream","RESPONSE":"RESPONSE inspects the response before it is served to the\ndownstream. Note that a streamed response is withheld in its\nentirety until it ends, then inspected, and only then\nforwarded: it is the only behavior that guarantees that no\nmatched content ever reaches the downstream, and its price is\nthat the time to first token grows by the duration that the\nupstream needs in order to generate the whole response.","BOTH":"BOTH inspects the request as well as the response"}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Guardrail.Pattern":{"type":"object","properties":{"regex":{"type":"string","description":"Regex is an RE2 regular expression. Note that RE2 has\nneither backreferences nor lookarounds, which is what makes\nits matching time linear in the size of the input.","x-oneof":"match"},"type":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Guardrail.Pattern.Type","description":"Type is a built-in deterministic detector of personal\ninformation","x-oneof":"match"},"secrets":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Guardrail.Pattern.Secrets","description":"Secrets is the built-in secret detector","x-oneof":"match"},"action":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Guardrail.Pattern.Action","description":"Action is what happens to the matched content"},"replace":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Guardrail.Pattern.Replace","description":"Replace is the content that replaces the matched content. It\nis only used for the REPLACE Action."}},"additionalProperties":false,"description":"Pattern matches the inspected content and decides what happens\nto a match. Every Pattern is evaluated against the content and\nits own Action applies to its own matches, so that a Guardrail\ncan redact one kind of content while it strips another. A\nsingle match whose Action is DENY rejects the request, or\nwithholds the response, regardless of what the remaining\nPatterns decided, and the rewriting Actions are applied to the\nmatched spans in the order in which they appear in the content\nso that the result never depends on the order of this list.\n\nTwo rewriting Patterns whose matches overlap are applied once,\nto the union of the two spans, with the most destructive Action\namong them: STRIP removes more than REPLACE, which in turn does\nnot preserve what REDACT names. Two overlapping matches of the\nsame Action are decided by the order of this list, and two\nmatches that are merely adjacent are applied separately. Note\nthat a Pattern which matches more than an internal hard limit of\ntimes in a single run of text rejects the request rather than\nrewriting it, since neither the work nor the size of such a\nrewrite is bounded by anything that the Service configured.","x-oneofs":{"match":["regex","type","secrets"]}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Guardrail.Pattern.Action":{"type":"string","enum":["ACTION_UNSET","DENY","REDACT","STRIP","REPLACE"],"description":"Action is what happens to the matched content. Note that\nthe rewriting Actions, which are REDACT, STRIP and REPLACE,\napply to the request leg only: a Guardrail whose leg is\nRESPONSE or BOTH, as well as one whose scopes carry the tool\ndefinitions, can only use the DENY Action, since rewriting a\nresponse that the downstream is already reading, or a\nstructured document that is not free text, sanitizes nothing\nwhile it reports that it did.","x-enumDescriptions":{"ACTION_UNSET":"ACTION_UNSET falls back to the default behavior which is\nDENY","DENY":"DENY rejects the request, or withholds the response, with a\nprotocol-correct error","REDACT":"REDACT replaces the matched content with a fixed\nplaceholder, which names the built-in detector that matched\nit whenever the Pattern is one, and the secret detection\nrule that matched it whenever it is a `secrets` one, and\nproceeds","STRIP":"STRIP removes the matched content entirely and proceeds","REPLACE":"REPLACE replaces the matched content with the content that\nthe `replace` field computes, and proceeds"}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Guardrail.Pattern.Replace":{"type":"object","properties":{"value":{"type":"string","description":"Value is a static string","x-oneof":"type"},"eval":{"type":"string","description":"Eval is a CEL expression that is evaluated against the\nrequest context and whose string result is used as the\ncontent","x-oneof":"type"},"opa":{"type":"string","description":"OPA is a Rego script whose string result is used as the\ncontent","x-oneof":"type"}},"additionalProperties":false,"description":"Replace is the content that replaces the matched content","x-oneofs":{"type":["value","eval","opa"]}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Guardrail.Pattern.Secrets":{"type":"object","properties":{"excludeRules":{"type":"array","items":{"type":"string"},"description":"ExcludeRules is the list of the rules that are skipped,\nwhich is how a rule that matches content that the Service\nlegitimately carries is turned off without giving up the\ndetector as a whole. A rule is named by its identifier,\nwhich is the name that the REDACT placeholder carries and\nwhich is matched without regard to its case, and an\nidentifier that no rule has is ignored."}},"additionalProperties":false,"description":"Secrets is the built-in secret detector. It matches the\ncredentials that its rules recognize, which are the API keys,\nthe tokens, the private keys and the connection strings of\nhundreds of providers, so that a Service does not have to\nname each of them in a Pattern of its own. Note that it\ndetects credentials rather than personal information, which\nthe `type` detectors match instead.\n\nA matched span covers the credential together with whatever\nits rule needs in order to recognize it, which is sometimes\nthe assignment that carries it rather than the secret alone,\nso a rewriting Action can remove slightly more than the\ncredential. Note also that a credential which appears more\nthan once in the same run of text is reported once, which is\nwhy every occurrence of a matched span, rather than only the\nreported one, is rewritten."},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Guardrail.Pattern.Type":{"type":"string","enum":["TYPE_UNSET","EMAIL","CREDIT_CARD","IBAN","US_SSN"],"description":"Type is a built-in deterministic detector of personal\ninformation. Note that the credentials are matched by the\n`secrets` detector instead.","x-enumDescriptions":{"TYPE_UNSET":"TYPE_UNSET is not used","EMAIL":"EMAIL is an email address","CREDIT_CARD":"CREDIT_CARD is a Luhn-validated payment card number","IBAN":"IBAN is an international bank account number","US_SSN":"US_SSN is a United States social security number"}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Guardrail.Scope":{"type":"string","enum":["SCOPE_UNSET","CONTENT","INSTRUCTIONS","TOOL_DEFINITIONS","TOOL_RESULTS","ALL"],"description":"Scope is the part of the content that is inspected","x-enumDescriptions":{"SCOPE_UNSET":"SCOPE_UNSET falls back to the default behavior which is\nCONTENT","CONTENT":"CONTENT is the text that the request carries as its own\ninput, which is the conversation messages of the operations\nthat carry a conversation, the `prompt` of the `COMPLETIONS`\noperation and the `input` of the `EMBEDDINGS` and the\n`MODERATIONS` ones","INSTRUCTIONS":"INSTRUCTIONS is the system instructions","TOOL_DEFINITIONS":"TOOL_DEFINITIONS is the names, the descriptions and the JSON\nSchemas of the declared tools. Note that it is inspect-only:\na tool definition is a structured document rather than free\ntext, so the REDACT, STRIP and REPLACE Actions are rejected\nfor this Scope and only the DENY one is available. Use a\nTools Plugin in order to rewrite a tool definition.","TOOL_RESULTS":"TOOL_RESULTS is the content of the tool results that the\nrequest carries. It is the content that the model retrieved\nfrom somewhere else, which makes it the usual carrier of\nindirect prompt injection. A content block is a tool result\nwhenever the protocol names it one (i.e. `tool_result`,\n`function_call_output`, `search_result` and the\n`*_tool_result` blocks of the provider-hosted tools), and\nevery block that is not one of those, including the ones that\na provider adds after this list was written, belongs to\nCONTENT instead so that no block is skipped by both Scopes.","ALL":"ALL is every scope"}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Prompt":{"type":"object","properties":{"system":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Prompt.System","description":"System manipulates the system instructions of the request","x-oneof":"type"},"message":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Prompt.Message","description":"Message inserts or edits the conversation messages of the\nrequest","x-oneof":"type"}},"additionalProperties":false,"description":"Prompt manipulates the instruction content of the request before\nit is proxied to the upstream. It is the mechanism by which the\nService, rather than the downstream, controls the instructions\nthat are actually sent to the upstream.\n\nIt applies to the operations that carry a conversation, which are\nthe `CHAT_COMPLETIONS` and the `RESPONSES` operations of the\nOPENAI protocol and the `MESSAGES` and `COUNT_TOKENS` operations\nof the ANTHROPIC one, and it is a no-op for the operations that\ncarry neither instructions nor messages at all (e.g.\n`COMPLETIONS`, `EMBEDDINGS`, `MODERATIONS`, `MODELS_LIST`). Note\nthat `COUNT_TOKENS` is included deliberately, so that the count\nthat the downstream receives is the count of the request that\nthis Service would actually send. Use the Condition whenever a\nPlugin has to be scoped to a specific operation.\n\nNote that a Prompt Plugin is always invoked in the POST_AUTH\nphase since the inserted content routinely depends on the\nidentity of the requesting User, and since mutating the request\nbefore the authorization process would invalidate the pre-flight\nlimits that were already applied to it. The consequence of that\nphase is that the `limits` field is evaluated against the request\nexactly as the downstream sent it, before any content is inserted\nhere, so a Service that inserts large instructions has to size\n`maxEstimatedInputTokens` with that added content in mind. The\nsize of the rendered content itself is bounded by an internal\nhard limit.","x-oneofs":{"type":["system","message"]}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Prompt.Content":{"type":"object","properties":{"value":{"type":"string","description":"Value is a static string","x-oneof":"type"},"eval":{"type":"string","description":"Eval is a CEL expression that is evaluated against the\nrequest context and whose string result is used as the\ncontent. An empty result is a no-op which leaves the\nrequest exactly as it is. A result that is not a string at\nall is an error rather than an empty result.","x-oneof":"type"},"opa":{"type":"string","description":"OPA is a Rego script whose string result is used as the\ncontent. An empty result is a no-op while a result that is\nnot a string at all is an error.","x-oneof":"type"}},"additionalProperties":false,"description":"Content is the instruction content that is inserted by the\nPlugin. Note that an evaluation which fails outright (e.g. the\nexpression returns a non-string result, exceeds its cost limit\nor errors at runtime) rejects the request rather than inserting\nnothing: a Prompt Plugin that silently disappears whenever its\nown evaluation breaks provides a control that is not there.","x-oneofs":{"type":["value","eval","opa"]}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Prompt.Message":{"type":"object","properties":{"role":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Prompt.Message.Role","description":"Role is the role of the messages that are inserted or edited"},"position":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Prompt.Message.Position","description":"Position sets where the content goes"},"selector":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Prompt.Message.Selector","description":"Selector chooses which of the messages of the Role are\nselected"},"content":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Prompt.Content","description":"Content is the message content"}},"additionalProperties":false,"description":"Message inserts or edits the conversation messages of the\nrequest. Note that the inserted content is recorded only\nwherever the request body is recorded at all, which the\n`visibility` field governs, and that a recorded body records\nthe request as the upstream receives it rather than as the\ndownstream sent it."},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Prompt.Message.Position":{"type":"string","enum":["POSITION_UNSET","PREPEND","APPEND","NEW_BEFORE","NEW_AFTER"],"description":"Position sets where the content goes","x-enumDescriptions":{"POSITION_UNSET":"POSITION_UNSET falls back to the default behavior which is\nAPPEND","PREPEND":"PREPEND inserts the content into the selected message\nitself, before that message's own content","APPEND":"APPEND inserts the content into the selected message\nitself, after that message's own content","NEW_BEFORE":"NEW_BEFORE inserts a whole new message of the Role before\nthe selected one. Whenever the request carries no message of\nthat Role at all, the new message is appended at the end of\nthe conversation.","NEW_AFTER":"NEW_AFTER inserts a whole new message of the Role after the\nselected one. Whenever the request carries no message of\nthat Role at all, the new message is appended at the end of\nthe conversation."}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Prompt.Message.Role":{"type":"string","enum":["ROLE_UNSET","USER","ASSISTANT"],"description":"Role is the role of the messages that are inserted or edited","x-enumDescriptions":{"ROLE_UNSET":"ROLE_UNSET is not used","USER":"USER is a user message","ASSISTANT":"ASSISTANT is an assistant message. Note that a trailing\nassistant message is a prefill, which only the ANTHROPIC\nprotocol supports at all: a prefill against the OPENAI\nprotocol rejects the request rather than being silently\ndropped, while editing or inserting an assistant message\nthat is not the trailing one is supported by either\nprotocol. Note also that a prefill is additionally subject\nto the upstream's own rules, which a gateway cannot know in\nadvance (e.g. Anthropic rejects a prefill whenever extended\nthinking is enabled), so an upstream that refuses one\nsurfaces as an upstream error."}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Prompt.Message.Selector":{"type":"string","enum":["SELECTOR_UNSET","LAST","FIRST","ALL"],"description":"Selector chooses which of the messages of the Role are\nselected","x-enumDescriptions":{"SELECTOR_UNSET":"SELECTOR_UNSET falls back to the default behavior which is\nLAST","LAST":"LAST selects the last message of the Role","FIRST":"FIRST selects the first message of the Role","ALL":"ALL selects every message of the Role. It is unused for the\nNEW_BEFORE and the NEW_AFTER positions."}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Prompt.System":{"type":"object","properties":{"mode":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Prompt.System.Mode","description":"Mode sets how the content is applied"},"content":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Prompt.Content","description":"Content is the instruction content"}},"additionalProperties":false,"description":"System manipulates the system instructions of the request. Note\nthat the system instructions are not simply a message that has\na `system` role: they are the top-level `system` field for the\nANTHROPIC protocol, the top-level `instructions` field for the\n`RESPONSES` operation, and the `system` or `developer` role\nmessages for the `CHAT_COMPLETIONS` operation. Octelium always\nreads and writes every instruction carrier that the request's\nown protocol and operation allow, which for the `RESPONSES`\noperation includes the instruction-role input items as well as\nthe top-level field, so that a downstream cannot keep its own\ninstructions by moving them from one carrier to another."},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Prompt.System.Mode":{"type":"string","enum":["MODE_UNSET","PREPEND","APPEND","REPLACE","STRIP","REJECT"],"description":"Mode sets how the content is applied to the instructions that\nthe downstream itself supplied","x-enumDescriptions":{"MODE_UNSET":"MODE_UNSET falls back to the default behavior which is\nPREPEND","PREPEND":"PREPEND inserts the content before the downstream's own\ninstructions. The downstream's own instruction carrier is\npreserved as it is: a structured system block list keeps its\nblocks and their metadata, and the instruction messages of\nthe `CHAT_COMPLETIONS` operation keep their own roles and\ntheir own order.","APPEND":"APPEND inserts the content after the downstream's own\ninstructions. It preserves the downstream's own instruction\ncarrier in the same way as PREPEND.","REPLACE":"REPLACE discards the downstream's own instructions entirely\nand uses the content instead. Note that it therefore also\ndiscards the structure of the downstream's own instruction\ncarrier, which is the point of owning that carrier.","STRIP":"STRIP removes the downstream's own instructions and inserts\nnothing at all. The content field is unused.","REJECT":"REJECT rejects the requests that carry their own system\ninstructions instead of silently discarding them, and\notherwise inserts the content. Note that it tests the\ninstructions that the request carried when it reached the\nPrompt stage, so that several Prompt Plugins never reject\nthe content that one another inserted. Use it whenever the\nService, rather than the downstream, has to own the\ninstruction carrier that reaches the upstream: without it, a\ndownstream that supplies its own instructions turns the\nService's instructions into one more input that the model\nweighs rather than a control that it obeys. A REJECT that\ncarries no content at all is how a Service refuses every\ndownstream-supplied instruction outright. Note that this\nowns the carrier and nothing beyond it: it decides which\ninstructions are sent upstream, it does not make a model\nobey them and it does not stop a prompt injection that\narrives through the messages, the tool results or the\nretrieved content."}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.SemanticCache":{"type":"object","properties":{"embedding":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Embedding","description":"Embedding sets how the semantic subject of the request is\nembedded. It overwrites the Configuration's own `embedding`\nfield for the requests whose Condition matches."},"scope":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.SemanticCache.Scope","description":"Scope sets the caller partition of the cache. If not set, which\nis the default, the cache is partitioned per User."},"minSimilarity":{"type":"number","description":"MinSimilarity is the smallest cosine similarity, between 0 and\n1, at which two semantic subjects are treated as the same\nquestion. Zero uses the default value which is deliberately\nconservative. Note that the value that is correct for one\nembedding model is not the value that is correct for another, so\nit has to be tuned against the model that the `embedding` field\nnames rather than carried over from another Service."},"ttl":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"TTL is the duration after which a cache entry expires. Zero uses\nthe default value. Note that it is also the window during which\na response that a model would generate differently today is\nstill served, so it is the Service's own statement of how stale\nan answer is allowed to be."},"maxSize":{"type":["integer","string"],"format":"uint64","description":"MaxSize is the maximum size in bytes of a response that can be\nstored. Zero uses the default value. A larger response is served\nto the downstream as it is, it is simply not stored. This value\nis always bounded by an internal hard limit.\n\nNote that a response is only stored once it is known to be\ncomplete: a stream that ended before its own final event, a\nresponse that carries a tool call and a response that a\nGuardrail rejected are all served to the downstream that asked\nfor them and none of them is stored."},"useXCacheHeader":{"type":"boolean","description":"UseXCacheHeader sets the `X-Cache` response header to indicate\nwhether the response was served from the cache"}},"additionalProperties":false,"description":"SemanticCache serves a request from a response that the Service\nalready produced for an earlier request of the same meaning,\nwithout invoking the model at all. It is the inference-aware\nreplacement of the HTTP mode's own Cache Plugin, which has no\ncounterpart here because a generic HTTP cache keys on a URI and\ntherefore understands neither who is allowed to read a response\nnor which of the request's own fields change what the model would\nhave generated.\n\nA lookup has two stages. An exactly repeated request is served\nfrom the cache without generating an embedding at all, since the\nembedding is routinely the most expensive part of the lookup and\nan identical request needs no similarity to be recognized. Only a\nrequest that no exact entry matches is embedded and searched by\nsimilarity.\n\nIt applies to the operations that generate a completion from a\nconversation, which are the `CHAT_COMPLETIONS` and `RESPONSES`\noperations of the OPENAI protocol, the `MESSAGES` operation of the\nANTHROPIC one, the `GENERATE_CONTENT` operation of the GEMINI one\nand the `CONVERSE` operation of the BEDROCK one, and it is a no-op\nfor the rest of them rather than an error. Only a successful\nresponse is ever stored, and a response that asks the downstream\nto call a tool is deliberately never stored at all: replaying such\na response would make an application carry out an action again\neven though no model decided that it should be carried out now.\n\nThe identity of a cache entry is deliberately split in two. The\nsemantic subject, which is the content that the downstream is\nactually asking about, is the only part that is matched by\nmeaning. Everything else that decides what the model would\ngenerate (i.e. the effective model, the operation, the system\ninstructions, the preceding messages, the tools, the tool choice,\nthe response schema, the reasoning configuration, the sampling\nparameters and every other field of the request that Octelium does\nnot recognize) is matched exactly, so two requests only ever\ncompete with one another when their entire execution context is\nidentical. Embedding a whole request instead would let two\nrequests that merely read similarly be served the same answer even\nthough they asked different models, carried different instructions\nor declared different tools.\n\nThe cache always acts on the request as the upstream would have\nreceived it, which is why it is invoked after every Plugin that\nrewrites that request: a secret that a Guardrail redacted is never\nembedded, instructions that a Prompt inserted are a part of the\nexact context, and the model that a Model Plugin or a\nSemanticRouter selected is the model whose responses the entry\nbelongs to rather than the one that the downstream named.\n\nNote that a hit consumes no inference tokens at all, which is why\nthe cache is invoked before every TokenRateLimit Plugin: a request\nthat the model never saw does not spend the quota of the identity\nthat sent it. Note also that a hit is not a bypass of the\nService's own controls: the response Guardrails are applied to a\ncached response exactly as they are applied to an upstream one,\nsince an administrator can have changed a Guardrail after the\nentry was stored, and a response that a Guardrail rejected is\nnever stored in the first place.\n\nNote that the exact execution context is derived from the request\nbody, from the request path and from the Configuration that served\nthe request, and that it deliberately does not include the request\nheaders, since the headers that the Service itself adds are not\napplied until after this Plugin has already decided. A Service\nwhose answers vary with a header that the downstream sends, or\nwith one that the Service derives from an expression, therefore\nhas to name that value in an `eval` scope rather than to assume\nthat the cache separates it.\n\nNote that this Plugin fails open. A request whose embedding\nbackend or whose vector store is unavailable, times out or errors\nis proxied to the upstream as a miss rather than rejected, since a\ncache that can refuse to serve a Service is a new availability\ndependency rather than an optimization.\n\nNote finally that enabling this Plugin stores prompt-derived\nvectors and generated responses for the lifetime of an entry, and\nthat it does so independently of the `visibility` field: a Service\nthat records neither request nor response bodies in its AccessLogs\nstill stores both of them here while its entries live. Octelium\nnever stores the prompts themselves, it stores their vectors and\nopaque digests of their execution context, but the generated\nresponses are stored as they are since serving them again is the\nentire point."},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.SemanticCache.Scope":{"type":"object","properties":{"perUser":{"type":"boolean","description":"PerUser partitions the cache by User, which is the default.\nA response is therefore only ever served again to the User\nthat it was generated for.","x-oneof":"type"},"perSession":{"type":"boolean","description":"PerSession partitions the cache by Session, which is the\nnarrowest partition. It is the default for the Services that\nserve anonymous requests, where there is no User to\npartition by.","x-oneof":"type"},"shared":{"type":"boolean","description":"Shared lets every authorized caller of the Service be served\nany cached response of the Service. It is a deliberate\ncross-identity boundary: a response that was generated from\none caller's prompt is served to another caller whose own\nprompt merely means the same thing, so it is only ever\ncorrect where every caller of the Service is already\nentitled to every answer that the Service can produce.","x-oneof":"type"},"eval":{"type":"string","description":"Eval partitions the cache by the string result of a CEL\nexpression that is evaluated against the request context\n(e.g. a tenant identifier). An empty result is rejected\nrather than read as a shared partition, since a partition\nthat silently collapses into a shared one is a silent\ncross-identity exposure.","x-oneof":"type"}},"additionalProperties":false,"description":"Scope partitions the cached responses between the callers. It is\nthe boundary that decides who is allowed to be served a response\nthat was generated for somebody else, so it is a security\ncontrol rather than a tuning parameter.","x-oneofs":{"type":["perUser","perSession","shared","eval"]}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.SemanticRouter":{"type":"object","properties":{"embedding":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Embedding","description":"Embedding sets how the semantic subjects of the requests and of\nthe Routes are embedded. It overwrites the Configuration's own\n`embedding` field for the requests whose Condition matches. Note\nthat the Routes are embedded with it as well, so changing it\nre-embeds every Route."},"routes":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.SemanticRouter.Route"},"description":"Routes is the list of the Routes"},"minSimilarity":{"type":"number","description":"MinSimilarity is the smallest cosine similarity at which a Route\nmatches, for the Routes that set none of their own. Zero uses\nthe default value. Note that a routing threshold is far lower\nthan a caching one, since two requests of the same kind are not\nnearly as similar to one another as two ways of asking the same\nquestion, and that it has to be tuned against the embedding\nmodel that is actually used."},"fallbackModel":{"type":"string","description":"FallbackModel is the model that serves the requests that no\nRoute matched. If not set, which is the default, such a request\nkeeps the model that the downstream itself requested."}},"additionalProperties":false,"description":"SemanticRouter selects the model of a request from what the\nrequest means rather than from what the downstream named. It is\nhow a Service serves one logical endpoint (e.g. a `model` of\n\"auto\") while sending the difficult requests to an expensive model\nand the trivial ones to a cheap one, without every downstream\napplication having to know which model exists or which one it\nought to ask for.\n\nEach Route describes a class of requests, both in prose and by\nexample, and both of those are embedded independently at\nconfiguration time. A request is routed by embedding its own\nsemantic subject and taking the Route of the single\nhighest-scoring description or example, which is why several\nshort, concrete examples define a Route far more sharply than one\nlong description: an example is a point of the space that the\nRoute is claiming while a description is a summary of it. A Route\nwhose best score is below its minimum similarity does not match at\nall, and a request that no Route matched is served the\n`fallbackModel`.\n\nThe routed model is a default rather than an override: it\noverwrites the Configuration's own `model` field, since a Service\nthat routes semantically is stating that the meaning of a request\ndecides its model, but a Model Plugin whose Condition matches\noverwrites it in turn, since naming a model explicitly for a\nrequest is a more specific statement than routing it. Use the\nPlugin's own Condition in order to decide when routing applies at\nall, which is how a Service routes only the requests that asked\nfor it (e.g. `ctx.request.llm.model == \"auto\"`) while serving every\nexplicitly named model as it was asked for.\n\nNote that the semantic subject of a routing decision is what the\ndownstream is asking for rather than the entire request: the\nService's own inserted instructions are deliberately not embedded,\nsince instructions that every request carries are a large\ncomponent that every request shares and that therefore makes the\nRoutes harder rather than easier to tell apart. That is the\nopposite of the SemanticCache, where those same instructions must\nparticipate in the exact context, and it is why this Plugin is\ninvoked before the Prompt Plugins while the cache is invoked after\nthem.\n\nNote that `ctx.request.llm.model` continues to carry the model\nthat the downstream itself requested, exactly as it does for the\nModel Plugin, so the Policies keep deciding on what was asked for\nrather than on what the Service turned it into. The AccessLogs\nrecord the Route that matched, its similarity and the model that\nwas selected.\n\nNote finally that this Plugin fails open as well: a request whose\nembedding could not be generated at all is served the\n`fallbackModel` rather than rejected."},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.SemanticRouter.Route":{"type":"object","properties":{"name":{"type":"string","description":"Name is the identity of the Route. It is unique within the\nPlugin and it is what the AccessLogs record."},"description":{"type":"string","description":"Description describes the class of requests that this Route\nserves, in prose. It participates in the semantic matching."},"examples":{"type":"array","items":{"type":"string"},"description":"Examples are representative requests of this Route (e.g.\n\"Why is this Go program deadlocking?\"). Each one is embedded\nand matched independently of the others and of the\nDescription."},"model":{"type":"string","description":"Model is the model that serves the requests that this Route\nmatched"},"minSimilarity":{"type":"number","description":"MinSimilarity is the smallest cosine similarity at which this\nRoute matches. Zero uses the Plugin's own `minSimilarity`. It\nis how a Route that must not be entered by mistake (e.g. the\none that selects the most expensive model) is held to a\nstricter standard than the rest."}},"additionalProperties":false,"description":"Route is a class of requests and the model that serves it"},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.TokenRateLimit":{"type":"object","properties":{"scope":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.TokenRateLimit.Scope","description":"Scope sets which of the token counts of a request are counted\nagainst the limit"},"key":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.RateLimit.Key","description":"Key sets the identity against which the tokens are counted. It\nis the HTTP mode's own Key so that a rate limit is written\nidentically in either mode. Note that a token quota is usually\nwritten per User rather than per Session, since recreating a\nSession is not supposed to reset a quota. Note also that every\nPlugin counts against a window of its own even where two of them\nresolve to the same key."},"limit":{"type":["integer","string"],"format":"int64","description":"Limit is the maximum number of the tokens of the Scope that can\nbe consumed within the window"},"window":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"Window is the duration of the sliding window"},"defaultOutputTokens":{"type":["integer","string"],"format":"uint64","description":"DefaultOutputTokens is the number of the output tokens that are\nreserved for a request which declares no maximum output token\ncount of its own. Zero, which is the default, reserves nothing\nfor such a request. It is unused for the INPUT Scope."},"denyMessage":{"type":"string","description":"DenyMessage is the message of the protocol-correct 429 error\nthat is returned once the limit is exceeded"},"headers":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.RateLimit.KeyValue"},"description":"Headers is the list of the headers that are set in the response\nthat is returned once the limit is exceeded (e.g. `Retry-After`)"}},"additionalProperties":false,"description":"TokenRateLimit rate limits the inference token consumption of\nthe requests rather than their number. It answers a question that\na request rate limit cannot: a downstream that is bounded to one\nrequest per second is not thereby bounded at all, since a single\nrequest can carry an entire repository as its input and can\ngenerate for minutes. Note that it is therefore not a replacement\nfor the `rateLimit` Plugin, which bounds the request rate itself\nand which is the cheaper control against a downstream that simply\nloops.\n\nNote that this is a consumption quota rather than a per-request\nceiling, which is what distinguishes it from the Configuration's\nown `limits` field: `limits` decides whether a single request may\nbe as large as it is, while this Plugin decides whether an\nidentity may still consume anything at all.\n\n## Reservation and reconciliation\n\nThe token consumption of a request is not known at the moment at\nwhich the request has to be admitted or refused: the input token\ncount that the upstream will report is not exactly the pre-flight\nestimate that Octelium calculates, and the output token count is\nnot known at all until the response has been generated. A limiter\nthat simply charged the consumption after the fact would admit\nevery one of the requests that are already in flight against the\nsame window, which is precisely the case that a quota exists to\nbound.\n\nOctelium therefore reserves before the request is proxied and\nreconciles after the response has been observed. The reservation\noccupies the window from the moment the request is admitted, so\nthat the concurrent requests of the same identity see one another\nrather than each of them seeing the same stale capacity. The\nreconciliation then replaces that reservation by what the request\nactually consumed, which returns the unused part of an\nover-reservation to the window and charges the excess of an\nunder-reservation to it, and it charges that final count at the\nmoment the request completed rather than at the moment it was\nadmitted, so that a request is accounted the same way whether it\ntook an instant or outlived its own window.\n\nNote that a request which is still in flight once the window has\nmoved past its own admission stops occupying that window until it\ncompletes. That follows from counting the requests that fall\nwithin a window rather than the ones that are open, and it means\nthat a Service whose requests routinely run for longer than the\nwindow is bounded by the requests that completed rather than by\nthe ones that are still running.\n\nThe reservation is calculated from the request as the upstream\nreceives it, which is after every other Plugin has already mutated\nit, since the instructions and the tool definitions that a Service\ninserts are consumed by the model exactly as the ones that the\ndownstream sent are. Its input part is the pre-flight estimate,\nwhich is a byte-based heuristic rather than a provider-accurate\ncount, and its output part is the maximum output token count that\nthe request itself declares, or the `defaultOutputTokens` field\nfor a request that declares none.\n\nThe reconciliation uses the token usage that the upstream itself\nreported, which is the only authoritative count and which Octelium\nalready observes for the AccessLogs, including across a streamed\nresponse. Whenever that usage is only partially observed (e.g. a\nstream ended before its usage event) the larger of the reservation\nand the observed count is charged. Whenever a response carried no\nusage at all the reservation is kept as it is rather than\nreturned, since a consumption that could not be measured is not a\nconsumption that did not happen. The exception is an upstream that\nanswered with an error and reported no usage, which releases the\nreservation in full, since a provider does not bill a request that\nit refused and a Service whose upstream is failing has no reason\nto spend its quota on those failures. A request that never reached\nthe upstream at all releases its reservation in the same way.\n\nNote that a request which declares no output maximum of its own\nand whose Plugin sets no `defaultOutputTokens` reserves nothing\nfor its output, so it is admitted against its input alone and is\ncharged for what it generated only once it has already generated\nit. That is a stated limitation rather than a guarantee that is\nquietly approximated: Octelium cannot bound in advance an output\nwhose ceiling neither the downstream nor the Service has declared."},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.TokenRateLimit.Scope":{"type":"string","enum":["SCOPE_UNSET","TOTAL","INPUT","OUTPUT"],"description":"Scope sets which of the token counts of a request are counted\nagainst the limit","x-enumDescriptions":{"SCOPE_UNSET":"SCOPE_UNSET falls back to the default behavior which is TOTAL","TOTAL":"TOTAL counts the input tokens together with the output ones","INPUT":"INPUT counts the input tokens only. Note that the cached input\ntokens are counted as input wherever the upstream reports them\nas a part of the input rather than as a discount on it.","OUTPUT":"OUTPUT counts the output tokens only, which include the\nreasoning tokens that the upstream reports"}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Tools":{"type":"object","properties":{"filters":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Tools.Filter"},"description":"Filters decides what happens to the tools that the request\ndeclares. If not set, every declared tool is preserved as is."},"tools":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Tools.Tool"},"description":"Tools is the list of the tool definitions that the Service\nitself adds to the request"},"choice":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Tools.Choice","description":"Choice sets how the requested tool choice is handled. Note that\na tool choice which names a tool that is no longer declared,\nbecause a Filter removed or replaced it, is always reconciled\nagainst the remaining tools regardless of this field."},"denyMessage":{"type":"string","description":"DenyMessage is the message of the protocol-correct error that\nis returned for the DENY Decision. Note that it is served to\nthe downstream, so it should not disclose the policy itself."}},"additionalProperties":false,"description":"Tools controls the tools that the request declares to the model.\nTools are where a model stops generating text and starts acting,\nwhich makes them the main lever against excessive agency. Note\nthat this Plugin governs the tools that an inference request\noffers to the model, and that where those tools are eventually\nexecuted decides what else governs them. A tool call that the\ndownstream executes against an MCP Service is additionally\ngoverned by the Policies of that Service. A provider-hosted tool\n(e.g. web search, file search, code execution or computer use)\nand a remote MCP server that the inference provider itself\ninvokes are both executed inside the provider, so they never\nreach an Octelium Service at all and this Plugin is the only\nplace where they are governed. A Tools Plugin is always invoked\nin the POST_AUTH phase."},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Tools.Choice":{"type":"string","enum":["CHOICE_UNSET","PRESERVE","NONE","AUTO"],"description":"Choice sets how the tool choice that is requested by the\ndownstream itself is handled","x-enumDescriptions":{"CHOICE_UNSET":"CHOICE_UNSET falls back to the default behavior which is\nPRESERVE","PRESERVE":"PRESERVE keeps the requested tool choice as is","NONE":"NONE forces the tool choice to \"none\" which means that the\nmodel is still offered the tools but it may not call any of\nthem","AUTO":"AUTO downgrades a forced tool choice (i.e. \"required\" or a\nnamed tool) to \"auto\". It neutralizes a downstream that\ncompels a specific tool call without otherwise changing the\nrequest."}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Tools.Filter":{"type":"object","properties":{"name":{"type":"string","description":"Name is a glob pattern (e.g. \"read_*\") that is matched\nagainst the name of the tool. The name is read from\n`tools[].name` for the ANTHROPIC protocol as well as for\nthe `RESPONSES` operation of the OPENAI one, and from\n`tools[].function.name` for its `CHAT_COMPLETIONS`\noperation. Note that the provider-hosted tools usually\ncarry no name at all, which means that a name pattern\ncannot express them and that the `type` field is what\nmatches them.","x-oneof":"match"},"type":{"type":"string","description":"Type is a glob pattern (e.g. \"web_search*\") that is matched\nagainst the `tools[].type` field, which is how the\nprovider-hosted tools and the provider-invoked remote MCP\nservers are declared and which is the only identity that\nmost of them carry. A tool that declares no type at all is\nmatched as \"function\". Note that a type is a coarse\nidentity: every remote MCP server declaration shares the\nsame \"mcp\" type regardless of the endpoint that it points\nto, so allowing that type allows every such server. Use the\nREPLACE Decision in order to pin a specific declaration.","x-oneof":"match"},"decision":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Tools.Filter.Decision","description":"Decision is what happens to a tool that the Filter matches"},"replace":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Tools.Filter.Replace","description":"Replace is the tool definition that replaces the matched one.\nIt is only used for the REPLACE Decision."}},"additionalProperties":false,"description":"Filter decides what happens to a declared tool. The Filters are\nevaluated in the order in which they are listed and the first\none that matches a tool decides what happens to it.\n\nA tool that matches no Filter at all is allowed, with one\ndeliberate exception: whenever at least one Filter is set, a\nprovider-hosted tool (i.e. a tool whose `type` is set to\nanything other than \"function\") that matches no Filter is\nremoved rather than allowed, since such a tool executes inside\nthe inference provider and therefore crosses the execution\nboundary before any Octelium Service sees it. Use a `type`\nFilter in order to allow one explicitly.","x-oneofs":{"match":["name","type"]}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Tools.Filter.Decision":{"type":"string","enum":["DECISION_UNSET","ALLOW","REMOVE","DENY","REPLACE"],"description":"Decision is what happens to a tool that the Filter matches","x-enumDescriptions":{"DECISION_UNSET":"DECISION_UNSET falls back to the default behavior which is\nREMOVE","ALLOW":"ALLOW keeps the tool as is and stops the evaluation of the\nremaining Filters for it. It is how an allow list is\nwritten: the allowed tools are listed first and a catch-all\nFilter that removes or denies everything else is listed\nlast.","REMOVE":"REMOVE silently drops the tool from the request and proxies\nit to the upstream. Use it for the downstreams that\noptimistically declare a superset of the tools that they\nactually need.","DENY":"DENY rejects the entire request. This is the auditable\nbehavior: the downstream is told that the tool is not\nallowed instead of silently receiving a model that is\nunable to call it.","REPLACE":"REPLACE replaces the declared tool definition with the one\nthat the `replace` field computes. Use it in order to pin a\ntool that a downstream may declare but may not define, for\ninstance to narrow the JSON Schema of a tool, to rewrite\nits description, or to pin the endpoint of a remote MCP\nserver declaration."}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Tools.Filter.Replace":{"type":"object","properties":{"value":{"type":"string","description":"Value is a static serialized JSON object","x-oneof":"type"},"eval":{"type":"string","description":"Eval is a CEL expression that is evaluated against the\nrequest context and whose string result is the\nserialized JSON object","x-oneof":"type"},"opa":{"type":"string","description":"OPA is a Rego script whose result is the tool definition","x-oneof":"type"}},"additionalProperties":false,"description":"Replace is the tool definition that replaces the matched one.\nIt is a serialized JSON object of the request's own protocol\n(i.e. a single entry of the request's `tools` array) and it\nis inserted as is, which means that the Service rather than\nthe downstream defines the tool. An evaluation that fails\noutright, or that returns anything that is not a JSON object,\nrejects the request.","x-oneofs":{"type":["value","eval","opa"]}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Tools.Tool":{"type":"object","properties":{"value":{"type":"string","description":"Value is a static serialized JSON object","x-oneof":"type"},"eval":{"type":"string","description":"Eval is a CEL expression that is evaluated against the\nrequest context and whose string result is the serialized\nJSON object","x-oneof":"type"},"opa":{"type":"string","description":"OPA is a Rego script whose result is the tool definition","x-oneof":"type"},"position":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Tools.Tool.Position","description":"Position sets where the tool is added"}},"additionalProperties":false,"description":"Tool is a tool definition that the Service itself adds to the\nrequest. It is a serialized JSON object of the request's own\nprotocol (i.e. a single entry of the request's `tools` array).\nNote that the added tools are not subject to the Filters, since\nthe Service rather than the downstream declared them, and that\nan evaluation that fails outright, or that returns anything\nthat is not a JSON object, rejects the request.","x-oneofs":{"type":["value","eval","opa"]}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Tools.Tool.Position":{"type":"string","enum":["POSITION_UNSET","PREPEND","APPEND"],"description":"Position sets where the tool is added","x-enumDescriptions":{"POSITION_UNSET":"POSITION_UNSET falls back to the default behavior which is\nAPPEND","PREPEND":"PREPEND adds the tool before the downstream's own tools","APPEND":"APPEND adds the tool after the downstream's own tools"}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Protocol":{"type":"string","enum":["PROTOCOL_UNSET","OPENAI","ANTHROPIC","GEMINI","BEDROCK"],"description":"Protocol is the inference API protocol served by the Service.","x-enumDescriptions":{"PROTOCOL_UNSET":"PROTOCOL_UNSET falls back to the default behavior which is\ncurrently OPENAI","OPENAI":"OPENAI is the OpenAI REST API. It is also spoken by the\nOpenAI-compatible servers and provider surfaces that serve the\nsame canonical `/v1` routes (e.g. vLLM, Ollama). The providers\nthat use their own request paths or API versioning schemes (e.g.\nthe Azure OpenAI deployment routes) are not supported.","ANTHROPIC":"ANTHROPIC is the native Anthropic Messages API.","GEMINI":"GEMINI is the Google Gemini API, which is the `/v1beta` generative\nlanguage surface that the Google GenAI SDKs speak to the Gemini\nDeveloper API. Note that the model is named by the request path\nrather than by the request body, and that Vertex AI is not this\nprotocol: it serves the same body shapes under project and\nlocation scoped paths and it authenticates differently.","BEDROCK":"BEDROCK is the AWS Bedrock Runtime API. Its Converse operations\nare the inference surface that Octelium understands, while its\nInvokeModel operations are proxied without their bodies being\nparsed since those bodies are model-native rather than defined by\nthe protocol. Note that the model is named by the request path\nrather than by the request body, and that the upstream\nauthenticates with AWS Signature Version 4 which the `auth` field\nprovides via its `sigv4` type."}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Reasoning":{"type":"object","properties":{"level":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Reasoning.Level","description":"Level sets a model-independent reasoning effort. It is the\nportable way to configure reasoning: Octelium translates it\ninto an ordinal effort, into a token budget or into disabled\nreasoning, according to what the model that serves the request\naccepts.","x-oneof":"type"},"tokenBudget":{"type":["integer","string"],"format":"uint64","description":"TokenBudget sets the number of the tokens that the model is\nallowed to spend on reasoning. Unlike a Level it is exact\nrather than portable: it is served only to the models that\naccept a numeric reasoning budget and the requests of a model\nthat accepts an ordinal effort instead are rejected, since\ntranslating a budget into an effort would mean inventing a\ncorrespondence that no provider defines. Note that the models\nwhich do accept a budget commonly read it as guidance rather\nthan as a ceiling, so it bounds what the Service asks for\nrather than what the model eventually spends. Note also that\nzero is rejected rather than read as disabling reasoning, since\nthe two are too easy to confuse in a generated configuration:\nuse the NONE Level in order to disable it.","x-oneof":"type"},"eval":{"type":"string","description":"Eval is a CEL expression that is evaluated against the request\ncontext and whose string result is the name of a Level (e.g.\n`HIGH`), a number of tokens (e.g. `4096`) or a model-native\neffort, which are read in the same way as the `level`, the\n`tokenBudget` and the `effort` fields respectively. An empty\nresult preserves the reasoning configuration that the\ndownstream requested.","x-oneof":"type"},"opa":{"type":"string","description":"OPA is a Rego script whose string result is used in the same\nway as the one of the `eval` field","x-oneof":"type"},"effort":{"type":"string","description":"Effort sets a model-native ordinal reasoning effort that is\nserved to the upstream exactly as it is written here. It is the\nescape hatch of the `level` field: a provider that names an\neffort which no Level names yet is usable through it without\nwaiting for Octelium to name it. Since Octelium knows neither\nwhere such a value sits on its own scale nor whether the model\naccepts it at all, an Effort is neither ordered nor translated:\nit is served only to the models that accept an ordinal effort,\nthe requests of a model that accepts a numeric budget instead\nare rejected, and a value that the model does not accept is\nrejected by the upstream itself rather than by Octelium. Prefer\na Level wherever one names the wanted effort.","x-oneof":"type"}},"additionalProperties":false,"description":"Reasoning sets the reasoning, or thinking, configuration of the\nrequest before it is proxied to the upstream. It is the mechanism\nby which the Service, rather than the downstream, decides how much\na model is allowed to think, which is the largest controllable\ncomponent of both the latency and the cost of a reasoning model.\n\nEvery model expresses reasoning in its own way: some accept an\nordinal effort, others accept a numeric token budget, and the same\nprovider routinely changes which of the two a model family accepts\nfrom one generation to the next. The protocol does not decide it\neither, since a protocol that is a transport over the models of\nseveral vendors carries whatever each of those models defines\nrather than a reasoning configuration of its own. A Reasoning is\ntherefore written once, as an intent that belongs to no model in\nparticular, and Octelium encodes that intent in whatever the model\nthat actually serves the request accepts.\n\nThe intent is resolved by a single rule: Octelium serves the\nclosest configuration that the model accepts and that does not\nexceed the configured one, and it rejects the request whenever the\nmodel accepts nothing at or below it. A `level` that the model does\nnot offer is therefore served as the strongest level below it that\nthe model does offer rather than dropped, a `tokenBudget` larger\nthan the largest budget of the model is lowered to that budget, and\na `tokenBudget` smaller than the smallest one is served as disabled\nreasoning wherever the model can stop reasoning at all. Nothing is\never resolved upwards, since a Service that configured little\nreasoning is not asking for whatever larger amount the model\nhappens to offer, and nothing is silently dropped, since a dropped\nconfiguration lets the model think as much as it likes.\n\nNote that a Reasoning overwrites whatever the downstream requested\nrather than merging with it, and that it applies to the operations\nthat carry a reasoning configuration at all: it is a no-op for the\nother operations rather than an error, since a Service usually\nserves a mixture of them.","x-oneofs":{"type":["level","tokenBudget","eval","opa","effort"]}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Reasoning.Level":{"type":"string","enum":["LEVEL_UNSET","NONE","MINIMAL","LOW","MEDIUM","HIGH","XHIGH","MAX"],"description":"Level is a model-independent reasoning effort. The Levels are\nordered, from NONE up to MAX, and they name the positions on that\nscale rather than the values of any particular provider: a model\nthat offers fewer steps than are named here is served the\nstrongest step of its own that does not exceed the configured\nLevel, while a model that names a step which no Level names is\nreached through the `effort` field instead.","x-enumDescriptions":{"LEVEL_UNSET":"LEVEL_UNSET is not used","NONE":"NONE disables reasoning. Note that a model which cannot stop\nreasoning at all offers nothing at or below this Level, so its\nrequests are rejected rather than served the smallest effort,\nor the smallest budget, that the model does accept, which would\nbe more reasoning than the Service allowed.","MINIMAL":"MINIMAL is the smallest amount of reasoning that a model\nperforms while still reasoning at all","LOW":"LOW is a small amount of reasoning","MEDIUM":"MEDIUM is a moderate amount of reasoning","HIGH":"HIGH is a large amount of reasoning","XHIGH":"XHIGH is a larger amount of reasoning than HIGH. It is only\ndistinct from HIGH for the models that offer a step between\nHIGH and their own largest one, and it is served as HIGH by the\nmodels that do not.","MAX":"MAX is the largest amount of reasoning that the model offers.\nIt is the one Level that no model can exceed, which makes it\nthe way to ask for as much reasoning as possible without naming\na budget that a later model would then cap."}},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Translation":{"type":"object","properties":{"upstreamProtocol":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Protocol","description":"UpstreamProtocol is the inference API protocol spoken by the\nupstream. It is the field that enables the translation: whenever\nit is unset, or set to the same protocol as the `protocol` field,\nno translation is performed at all and the requests are proxied\nin the protocol that the downstreams themselves used.\n\nEvery protocol currently translates to every other one, for the\ngeneration operation that each of them defines, which is the\n`CHAT_COMPLETIONS` route of the OPENAI protocol, the `MESSAGES`\nroute of the ANTHROPIC one, the `GENERATE_CONTENT` route of the\nGEMINI one and the `CONVERSE` route of the BEDROCK one, together\nwith their streaming forms. The other operations, which have no\ncounterpart at all in one another (e.g. embeddings, moderations,\ntoken counting, model listing and the Bedrock InvokeModel\noperations whose bodies are model-native), are rejected rather\nthan proxied, since an upstream that speaks another protocol\nserves none of them.\n\nNote that the GEMINI and the BEDROCK protocols name the model in\nthe request path rather than in the request body, so a translated\nrequest is addressed to the model that the Service resolved for\nit, which is the one that the Model field, a Model Plugin or a\nSemanticRouter Plugin decided and otherwise the one that the\ndownstream itself requested. A model name that the target\nprotocol cannot address is rejected rather than rewritten."},"defaultMaxOutputTokens":{"type":["integer","string"],"format":"uint64","description":"DefaultMaxOutputTokens is the maximum output token count that is\nserved to an upstream whose protocol requires one while the\ndownstream protocol allows omitting it, which is the case for an\nANTHROPIC upstream serving the requests of an OPENAI downstream.\nIt is only used for the requests that declare no output limit of\ntheir own. Zero uses Octelium's own default. Note that it is a\ntranslation behavior rather than something that the downstream\nasked for, so the `ctx.request.llm.maxOutputTokens` field and the\nAccessLogs keep reporting zero for such a request, and that the\n`limits.maxOutputTokens` field bounds it in the same way that it\nbounds a downstream's own limit. It is only needed for an\nANTHROPIC upstream, since the other protocols let a request\ndeclare no output limit at all. Note also that a reasoning token\nbudget which the Service itself decided is added on top of it,\nsince a model whose output limit does not exceed its own reasoning\nbudget rejects the request outright."}},"additionalProperties":false,"description":"Translation converts the inference requests and responses between\nthe protocol that the Service serves to its downstreams, which is\nthe `protocol` field, and the protocol that its upstream speaks.\nWithout it the two are the same protocol and Octelium proxies the\nrequests to the upstream in whichever protocol it accepted them\nfrom the downstreams, which is the default.\n\nIt is what lets an OpenAI SDK client, an Anthropic SDK client and a\ncoding agent that speaks one of them reach an upstream that serves\nthe other one, with every Policy, Plugin and AccessLog of the\nService continuing to read the request exactly as the downstream\nsent it. A translation is applied after every inference-specific\nPlugin, so a Guardrail inspects what the downstream wrote, a Prompt\nand a Tools Plugin manipulate the downstream's own protocol, a\nSemanticCache stores the response in the downstream's own protocol,\nand the conversion to the upstream protocol is the last thing that\nhappens to a request before its credentials and its path are\napplied.\n\nOctelium translates a deliberately bounded subset rather than every\nfield of every protocol, and it rejects the requests that carry a\nfeature outside that subset instead of silently dropping it, since\na request that is quietly turned into a materially different one is\nworse than a request that is refused. The subset is the text,\nimage, system instruction, multi-turn history, client tool, tool\ncall, tool result, tool choice, stop sequence, output limit,\nsampling, streaming and usage surface that the protocols have in\ncommon. The provider-specific features that no other protocol\ndefines (e.g. the OpenAI logprobs, logit biases, penalties, seeds\nand structured outputs, the Anthropic top_k sampling, thinking\nblocks, assistant prefills, documents, citations and server tools,\nthe Gemini safety settings, cached content, multiple candidates and\nbuilt-in tools, and the Bedrock guardrail configuration, prompt\nvariables and additional model request fields) are rejected. The\nprompt cache controls of a protocol that the target protocol does\nnot define are dropped rather than rejected, since they change what\na request costs rather than what it generates. The tool schemas are\nproxied verbatim rather than rewritten, so a schema that the target\nmodel does not accept is rejected by the provider itself rather\nthan silently stripped of its constraints.\n\nNote that the Gemini models which sign their tool calls require\nthat signature to be returned on the next turn of the conversation,\nwhile no other protocol has anywhere to carry it. Octelium\ntherefore retains those signatures itself, bound to the Session\nthat received them and to the upstream model that issued them, for\nas long as a turn plausibly continues, and restores them into the\ntranslated requests. Nothing of the reasoning content itself is\never exposed to a downstream that did not receive it.\n\nNote that a reasoning configuration that a downstream requested for\nitself is translated only where the two protocols express reasoning\nin the same terms, which the API of a model that accepts an ordinal\neffort and the API of a model that accepts a numeric token budget\ndo not. Set the Service's own `reasoning` field, or a Reasoning\nPlugin, in order to own the reasoning configuration of the\ntranslated requests: it is resolved against the upstream protocol\nand encoded into the upstream request, which is exactly the case\nthat a portable Level is written for."},"octelium.api.main.core.v1.Service.Spec.Config.LLM.Visibility":{"type":"object","properties":{"enableRequestBody":{"type":"boolean","description":"EnableRequestBody records the request body, which contains the\nprompt, in the AccessLogs. It is disabled by default since the\nprompts are far more sensitive than typical HTTP request bodies:\nthey routinely contain secrets, PII, source code and proprietary\ndata."},"enableRequestBodyMap":{"type":"boolean","description":"EnableRequestBodyMap records the serialized request body in the\nAccessLogs. It is disabled by default for the same reason."},"enableResponseBody":{"type":"boolean","description":"EnableResponseBody records the response body, which contains the\ngenerated completion, in the AccessLogs. It is disabled by\ndefault. Note that it is only recorded for the responses that are\nnot streamed."},"enableResponseBodyMap":{"type":"boolean","description":"EnableResponseBodyMap records the serialized response body in the\nAccessLogs. It is disabled by default."},"includeRequestHeaders":{"type":"array","items":{"type":"string"},"description":"IncludeRequestHeaders is the list of the request headers that are\nrecorded in the AccessLogs."},"includeResponseHeaders":{"type":"array","items":{"type":"string"},"description":"IncludeResponseHeaders is the list of the response headers that\nare recorded in the AccessLogs."},"includeAllRequestHeaders":{"type":"boolean","description":"IncludeAllRequestHeaders records every request header in the\nAccessLogs except for the ones set in excludeRequestHeaders."},"includeAllResponseHeaders":{"type":"boolean","description":"IncludeAllResponseHeaders records every response header in the\nAccessLogs except for the ones set in excludeResponseHeaders."},"excludeRequestHeaders":{"type":"array","items":{"type":"string"},"description":"ExcludeRequestHeaders is the list of the request headers that are\nnever recorded in the AccessLogs."},"excludeResponseHeaders":{"type":"array","items":{"type":"string"},"description":"ExcludeResponseHeaders is the list of the response headers that\nare never recorded in the AccessLogs."}},"additionalProperties":false,"description":"Visibility sets the LLM-specific access logging configuration"},"octelium.api.main.core.v1.Service.Spec.Config.MCP":{"type":"object","properties":{"endpoint":{"type":"string","description":"Endpoint is the canonical MCP endpoint path (e.g. `/mcp`) that is\nserved to the downstreams. Any request whose path does not exactly\nmatch it is rejected. If not set, which is the default, every\nrequest path is accepted. Note that this field validates the\ndownstream request path, it does not set the upstream one. Since MCP\nis a single endpoint protocol, the path of the upstream URL entirely\nreplaces the request path that is proxied to the upstream. For\ninstance, an upstream URL of `https://example.com/api/mcp` proxies\nevery request to `/api/mcp` regardless of the downstream path. This\nis needed since many MCP servers are served at a path that differs\nfrom the one that the Service serves to its downstreams. Whenever\nthe upstream URL carries no path at all, which is the default, the\ndownstream request path is proxied to the upstream as is. This is\nneeded since many MCP servers are served at the root path. This field\nhas to be set in the \"default\" or global Configuration (as opposed to\nnamed dynamic Configs) in order to actually work."},"protocol":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.MCP.Protocol","description":"Protocol sets the MCP protocol validation options. These fields have\nto be set in the \"default\" or global Configuration (as opposed to\nnamed dynamic Configs) in order to actually work."},"limits":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.MCP.Limits","description":"Limits sets the MCP request parsing limits. These fields have to be\nset in the \"default\" or global Configuration (as opposed to named\ndynamic Configs) in order to actually work."},"auth":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Auth","description":"Auth sets authentication-to-upstream specific configuration"},"header":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Header","description":"Header sets request and response header manipulation options. Note\nthat the MCP reserved headers (i.e. `MCP-Protocol-Version`,\n`Mcp-Method`, `Mcp-Name` and `Mcp-Param-*`) can be manipulated here\ntoo. Octelium never uses them to make authorization decisions, which\nare always made from the JSON-RPC request body itself, however the\nupstream MCP server rejects the requests whose headers do not match\nthe body."},"path":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Path","description":"Path sets the upstream request path options"},"plugins":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.MCP.Plugin"},"description":"Plugins is the list of the Plugins of the Service. Unlike the\nfields of this Configuration, which apply to every request that the\nConfiguration serves, every Plugin carries its own Condition which\ndecides whether that Plugin is invoked for a specific request. Note\nthat a Plugin that rewrites the JSON-RPC request body (e.g. Lua,\nExtProc) should also rewrite the corresponding MCP reserved headers\nwhenever the downstream sets them, otherwise the upstream MCP server\nrejects the request since the headers no longer match the body.\nNote that this list used to be a list of the HTTP mode's own\nPlugins. The MCP Plugin keeps the same field names and the same\nfield numbers for every Plugin type that the two modes share, so\nthe Plugins that were already valid for an MCP Service are\nunaffected. The Cache Plugin, which was already rejected for the\nMCP Services, is the only removed type."},"isUpstreamHTTP2":{"type":"boolean","description":"IsUpstreamHTTP2 sets HTTP connections to the upstream to HTTP/2. Not\nenabled by default."},"listenHTTP2":{"type":"boolean","description":"ListenHTTP2 sets the Service to listen to HTTP 2.0 connections. This\nis only enabled by default for Services using TLS. This field has to\nbe enabled in the \"default\" or global Configuration (as opposed to\nnamed dynamic Configs) in order to actually work."},"visibility":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.MCP.Visibility","description":"Visibility sets the visibility/access logging specific options"},"cors":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.CORS","description":"CORS sets the Cross-Origin Resource Sharing options which are needed\nto access the Service from a browser-based application served at a\ndifferent origin (e.g. the Cluster's own web dashboard). An Origin\nthat is allowed here is also accepted by the Origin request header\nvalidation. This field has to be set in the \"default\" or global\nConfiguration (as opposed to named dynamic Configs) in order to\nactually work since the CORS preflight requests carry no identity."},"disableOriginCheck":{"type":"boolean","description":"DisableOriginCheck disables the `Origin` request header validation\nentirely. The validation rejects any request whose Origin is neither\nthe Service's own origin nor an origin that is allowed by the `cors`\nfield. Requests that carry no Origin request header at all, which is\nthe case for nearly every non-browser MCP client (e.g. IDEs, AI\nagents, CLI tools), are always accepted. This field has to be set in\nthe \"default\" or global Configuration (as opposed to named dynamic\nConfigs) in order to actually work."}},"additionalProperties":false,"description":"MCP sets the Model Context Protocol-specific configuration. MCP\nServices are HTTP-based: they reuse the entire HTTP dataplane and\nadditionally understand the MCP JSON-RPC semantics."},"octelium.api.main.core.v1.Service.Spec.Config.MCP.Limits":{"type":"object","properties":{"maxRequestBytes":{"type":"integer","format":"uint32","minimum":0,"description":"MaxRequestBytes is the maximum size in bytes of the JSON-RPC\nrequest body that is buffered and parsed. Zero uses the default\nvalue. This value is always bounded by an internal hard limit."},"maxStreamEventBytes":{"type":"integer","format":"uint32","minimum":0,"description":"MaxStreamEventBytes is the maximum size in bytes of a single\n`text/event-stream` response event that is parsed. Larger events\nare still forwarded to the downstream as is, they are simply not\ninspected. Zero uses the default value."}},"additionalProperties":false,"description":"Limits sets the MCP request parsing limits"},"octelium.api.main.core.v1.Service.Spec.Config.MCP.Plugin":{"type":"object","properties":{"name":{"type":"string","description":"Name is the unique name of the Plugin"},"isDisabled":{"type":"boolean","description":"IsDisabled disables the Plugin without having to change its\nCondition or to delete it."},"phase":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Phase","description":"Phase sets whether the Plugin is invoked before or after the\nauthentication and authorization processes. It is the HTTP mode's\nown Phase so that a Plugin behaves identically in either mode.\nThe two phases sit on either side of a single step which\nauthenticates and authorizes at once: a PRE_AUTH Plugin therefore\nruns without a known User while a POST_AUTH one runs after the\nPolicies have already decided. Note that the MCP-specific Plugins\nare always invoked in the POST_AUTH phase, since they act on a\nrequest whose content and verdict both routinely depend on the\nidentity of the requesting User, and that setting PRE_AUTH for\none of them is rejected rather than silently ignored."},"condition":{"$ref":"#/definitions/octelium.api.main.core.v1.Condition","description":"Condition decides whether the Plugin is invoked on a per-request\nbasis. It is always required: a Plugin that carries no Condition\nis rejected rather than silently never invoked. Use `matchAny` in\norder to invoke a Plugin unconditionally. Note that a Condition\nis always evaluated against the request context, including for\nthe Plugins that act on the response, so the response itself is\nunavailable to it. Note also that a Condition of an MCP-specific\nPlugin which cannot be evaluated at all (e.g. it errors at\nruntime or it exceeds its cost limit) rejects the request rather\nthan skipping the Plugin, since skipping it would turn an\nevaluation error into a silent bypass of the control that it\ncarries. The Plugins that reuse the HTTP mode's own types behave\nin either mode as they do in the HTTP one, where such a Plugin is\nskipped instead."},"extProc":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.ExtProc","description":"ExtProc processes the requests via an Envoy ext_proc compliant\ngRPC server","x-oneof":"type"},"lua":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Lua","description":"Lua processes the requests via a Lua script","x-oneof":"type"},"direct":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Direct","description":"Direct returns a response directly without proxying the request\nto the upstream. Note that the body is served to an MCP client,\nso it has to be a valid JSON-RPC response or error object.","x-oneof":"type"},"rateLimit":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.RateLimit","description":"RateLimit rate limits the requests","x-oneof":"type"},"jsonSchema":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.JSONSchema","description":"JSONSchema validates the JSON request body against a JSON\nschema","x-oneof":"type"},"path":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.HTTP.Plugin.Path","description":"Path removes and/or adds prefixes of the request path","x-oneof":"type"},"guardrail":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.MCP.Plugin.Guardrail","description":"Guardrail inspects the content that the request carries, and\noptionally the content that the response carries, and decides\nwhat to do about it","x-oneof":"type"}},"additionalProperties":false,"description":"Plugin provides a dynamic, per-request way to manipulate the\nJSON-RPC requests and responses. A Service can have one or more\nPlugins, including multiple Plugins of the same type. Unlike the\nConfiguration fields, which apply to every request that the\nConfiguration serves, every Plugin carries its own Condition which\ndecides whether that Plugin is invoked for a specific request.\n\nThe Plugins that are not specific to the MCP semantics (e.g. Lua,\nExtProc, RateLimit) reuse the HTTP mode's own Plugin types as is,\nand they deliberately keep the same field names and the same field\nnumbers that they have in the HTTP mode's Plugin. The Cache Plugin\nis the only HTTP Plugin that has no counterpart here since generic\nHTTP caching understands neither the authorization scope nor the\nMCP cache invalidation semantics.\n\nThe MCP-specific Plugins are invoked in a fixed order that does not\ndepend on the order of the Plugin list, and two Plugins of the same\ntype are invoked in the order in which they are listed. Note that\nthe Plugins which reuse the HTTP mode's own types sit outside that\norder and outside the Guardrail boundary: they run before every\nMCP-specific Plugin on the request and after every one of them on\nthe response. A Lua or an ExtProc Plugin can therefore rewrite a\nresponse that a Guardrail has already inspected, and a Direct\nPlugin answers a request that no Guardrail has seen. That boundary\nis deliberate, since those Plugins carry the logic of the Service\nitself rather than the content of the downstream or of the\nupstream, but a Service that uses them to carry MCP content has to\ninspect that content itself.","x-oneofs":{"type":["extProc","lua","direct","rateLimit","jsonSchema","path","guardrail"]}},"octelium.api.main.core.v1.Service.Spec.Config.MCP.Plugin.Guardrail":{"type":"object","properties":{"leg":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.MCP.Plugin.Guardrail.Leg","description":"Leg is the part of the exchange that is inspected"},"scopes":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.MCP.Plugin.Guardrail.Scope"},"description":"Scopes is the list of the parts of the content that are\ninspected. If not set, only the default Scope of the inspected\nleg is inspected."},"patterns":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.LLM.Plugin.Guardrail.Pattern"},"description":"Patterns is the list of the Patterns that are matched against\nthe inspected content. It is deliberately the LLM mode's own\nPattern: matching content is the same problem in either mode,\nand a Pattern carries nothing that is specific to the inference\nsemantics, so the two modes share one detector set, one Action\nset and one set of guarantees rather than growing two that\ndrift apart."},"denyMessage":{"type":"string","description":"DenyMessage is the message of the JSON-RPC error that is\nreturned for the DENY Action. Note that it is served to the\ndownstream, so it should not disclose the detection logic\nitself."}},"additionalProperties":false,"description":"Guardrail inspects the content that the JSON-RPC request carries,\nand optionally the content that the response carries, and decides\nwhat to do about it. Note that a Guardrail is a content control:\nthe identity, the method and the named target of a request are\ngoverned by the Policies, and its shape is governed by the\n`limits` and the `protocol` fields, and all of them are always\nevaluated regardless of the Guardrails. Note also that a\nGuardrail verdict is never an input to the Policies: a Guardrail\nruns after the authorization decision has already been reached,\nit acts on the request itself rather than informing a Policy\nabout it. A Guardrail is always invoked in the POST_AUTH phase.\n\nA Guardrail that cannot reach a verdict at all (e.g. a `replace`\nevaluation that errors) rejects the request rather than\nproceeding: a Guardrail that silently allows the content that it\ncould not inspect provides a compliance claim that is not true.\n\nThe MCP exchange is the usual carrier of two risks that a\nGuardrail addresses directly. On the request leg, the arguments\nof a tool call are content that the downstream sends to a server\nwhich is frequently operated by somebody else, which makes them\nthe usual carrier of credential and of PII leakage. On the\nresponse leg, the content that a tool call, a resource read or a\nprompt fetch returns is content that the server chose rather than\ncontent that anybody asked for, which makes it the usual carrier\nof indirect prompt injection and of tool poisoning."},"octelium.api.main.core.v1.Service.Spec.Config.MCP.Plugin.Guardrail.Leg":{"type":"string","enum":["LEG_UNSET","REQUEST","RESPONSE","BOTH"],"description":"Leg is the part of the exchange that is inspected","x-enumDescriptions":{"LEG_UNSET":"LEG_UNSET falls back to the default behavior which is REQUEST","REQUEST":"REQUEST inspects the JSON-RPC request before it is proxied to\nthe upstream","RESPONSE":"RESPONSE inspects the JSON-RPC response before it is served\nto the downstream. Note that a response that is streamed as\n`text/event-stream` events is withheld in its entirety until\nit ends, then inspected, and only then forwarded: it is the\nonly behavior that guarantees that no matched content ever\nreaches the downstream.","BOTH":"BOTH inspects the request as well as the response"}},"octelium.api.main.core.v1.Service.Spec.Config.MCP.Plugin.Guardrail.Scope":{"type":"string","enum":["SCOPE_UNSET","TOOL_ARGUMENTS","TOOL_RESULTS","RESOURCE_CONTENTS","PROMPT_MESSAGES","TOOL_DEFINITIONS","ALL"],"description":"Scope is the part of the content that is inspected. Note that\nevery Scope belongs to one leg of the exchange: a Scope that\ndoes not belong to the inspected leg is a no-op rather than an\nerror, since a Guardrail whose leg is BOTH is expected to carry\nthe Scopes of both legs.","x-enumDescriptions":{"SCOPE_UNSET":"SCOPE_UNSET falls back to the default behavior which is\nTOOL_ARGUMENTS on the request leg and TOOL_RESULTS on the\nresponse leg","TOOL_ARGUMENTS":"TOOL_ARGUMENTS is the arguments that a `tools/call` request\ncarries. It is a request-leg Scope.","TOOL_RESULTS":"TOOL_RESULTS is the content that a `tools/call` result\ncarries, which includes both its content blocks and its\nstructured content. It is a response-leg Scope.","RESOURCE_CONTENTS":"RESOURCE_CONTENTS is the content that a `resources/read`\nresult carries. It is a response-leg Scope.","PROMPT_MESSAGES":"PROMPT_MESSAGES is the messages that a `prompts/get` result\ncarries. It is a response-leg Scope.","TOOL_DEFINITIONS":"TOOL_DEFINITIONS is the names, the descriptions and the JSON\nSchemas that a `tools/list` result carries. It is the surface\non which a server describes to a model what it should do,\nwhich makes it the carrier of tool poisoning, and it is a\nresponse-leg Scope. Note that it is inspect-only: a tool\ndefinition is a structured document rather than free text, so\nthe REDACT, STRIP and REPLACE Actions are rejected for this\nScope and only the DENY one is available.","ALL":"ALL is every scope"}},"octelium.api.main.core.v1.Service.Spec.Config.MCP.Protocol":{"type":"object","properties":{"versions":{"type":"array","items":{"type":"string"},"description":"Versions is an optional allowlist of the accepted MCP protocol\nversions (e.g. \"2026-07-28\"). If not set, which is the default,\nevery version is accepted. Octelium does not maintain its own set\nof supported MCP protocol versions."},"requireVersion":{"type":"boolean","description":"RequireVersion rejects the requests that do not declare a protocol\nversion in either the `MCP-Protocol-Version` request header or the\nrequest body's `_meta` field. It is disabled by default since the\nheader was only introduced in the 2025-06-18 revision."},"rejectUnknownMethods":{"type":"boolean","description":"RejectUnknownMethods rejects any JSON-RPC method that is unknown\nto Octelium. It is disabled by default. Keeping it disabled lets\nthe official MCP extensions as well as the newer protocol\nrevisions reach the upstream while still being visible to Policies\nvia the `ctx.request.mcp.method` field."}},"additionalProperties":false,"description":"Protocol sets the MCP protocol validation options"},"octelium.api.main.core.v1.Service.Spec.Config.MCP.Visibility":{"type":"object","properties":{"disableRequestBody":{"type":"boolean","description":"DisableRequestBody disables recording the JSON-RPC request body in\nthe AccessLogs. The request body is recorded by default since\ninspecting the MCP request is the whole point of using MCP mode as\nopposed to HTTP mode."},"disableResponseBody":{"type":"boolean","description":"DisableResponseBody disables recording the JSON-RPC response body,\nwhich includes the individual `text/event-stream` response events,\nin the AccessLogs. The response body is recorded by default."},"includeRequestHeaders":{"type":"array","items":{"type":"string"},"description":"IncludeRequestHeaders is the list of the request headers that are\nrecorded in the AccessLogs."},"includeResponseHeaders":{"type":"array","items":{"type":"string"},"description":"IncludeResponseHeaders is the list of the response headers that\nare recorded in the AccessLogs."},"includeAllRequestHeaders":{"type":"boolean","description":"IncludeAllRequestHeaders records every request header in the\nAccessLogs except for the ones set in excludeRequestHeaders."},"includeAllResponseHeaders":{"type":"boolean","description":"IncludeAllResponseHeaders records every response header in the\nAccessLogs except for the ones set in excludeResponseHeaders."},"excludeRequestHeaders":{"type":"array","items":{"type":"string"},"description":"ExcludeRequestHeaders is the list of the request headers that are\nnever recorded in the AccessLogs."},"excludeResponseHeaders":{"type":"array","items":{"type":"string"},"description":"ExcludeResponseHeaders is the list of the response headers that\nare never recorded in the AccessLogs."}},"additionalProperties":false,"description":"Visibility sets the MCP-specific access logging configuration"},"octelium.api.main.core.v1.Service.Spec.Config.MySQL":{"type":"object","properties":{"user":{"type":"string","description":"User is the MySQL user. If set, it overrides the user values\nrequested by the downstreams. If not set, the user values requested\nby the downstreams is forwarded to the upstream as is."},"auth":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.MySQL.Auth","description":"Auth sets the upstream authentication information"},"database":{"type":"string","description":"Database is the name of the database. If set, it overrides the\ndatabase values requested by the downstreams. If not set, the\ndatabase values requested by the downstreams is forwarded to the\nupstream as is."},"isTLS":{"type":"boolean","description":"IsTLS connects to the upstream over TLS. It must be enabled if the\nupstream database is listening over TLS."},"visibility":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.MySQL.Visibility","description":"Visibility sets the visibility/access logging specific options"},"authorization":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.MySQL.Authorization","description":"Authorization sets MySQL-specific authorization configuration"}},"additionalProperties":false,"description":"MySQL sets the MySQL-specific configuration"},"octelium.api.main.core.v1.Service.Spec.Config.MySQL.Auth":{"type":"object","properties":{"password":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.MySQL.Auth.Password","description":"Password sets the password used for authentication","x-oneof":"type"}},"additionalProperties":false,"description":"Auth sets the credentials used to authenticate to the upstream MySQL\nserver","x-oneofs":{"type":["password"]}},"octelium.api.main.core.v1.Service.Spec.Config.MySQL.Auth.Password":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value contains\nthe Password","x-oneof":"type"}},"additionalProperties":false,"description":"Password is the password of the upstream MySQL server","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.Service.Spec.Config.MySQL.Authorization":{"type":"object","properties":{"mode":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.MySQL.Authorization.Mode","description":"Mode is the authorization mode"}},"additionalProperties":false,"description":"Authorization sets the MySQL-specific authorization configuration"},"octelium.api.main.core.v1.Service.Spec.Config.MySQL.Authorization.Mode":{"type":"string","enum":["MODE_UNSET","ALL","NONE"],"description":"Mode sets when the authorization is enforced","x-enumDescriptions":{"MODE_UNSET":"MODE_UNSET uses the default configuration which is currently NONE","ALL":"ALL forces authorization for every MySQL command (e.g. query\ncommands) not just at the beginning of the connection","NONE":"NONE which is currently the default behavior enforces\nauthorization only at the beginning of the connection"}},"octelium.api.main.core.v1.Service.Spec.Config.MySQL.Visibility":{"type":"object","properties":{"disableQuery":{"type":"boolean","description":"DisableQuery disables recording the statement text of the query\nand prepare statement commands in the access logs. The access log\nentries themselves are still recorded without the statement text.\nThis is recommended for databases whose statements routinely embed\ncredentials or other sensitive values."}},"additionalProperties":false,"description":"Visibility sets the MySQL-specific access logging configuration"},"octelium.api.main.core.v1.Service.Spec.Config.Postgres":{"type":"object","properties":{"user":{"type":"string","description":"User is the postgres user. If set, it overrides the user values\nrequested by the downstreams. If not set, the user values requested\nby the downstreams is forwarded to the upstream as is."},"auth":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Postgres.Auth","description":"Auth sets the upstream authentication information"},"database":{"type":"string","description":"Database is the name of the database. If set, it overrides the\ndatabase values requested by the downstreams. If not set, the\ndatabase values requested by the downstreams is forwarded to the\nupstream as is."},"sslMode":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Postgres.SSLMode","description":"SSLMode is the SSL mode"},"authorization":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Postgres.Authorization","description":"Authorization sets PostgreSQL-specific authorization configuration"},"visibility":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Postgres.Visibility","description":"Visibility sets the visibility/access logging specific options"}},"additionalProperties":false,"description":"Postgres sets the PostgreSQL-specific configuration"},"octelium.api.main.core.v1.Service.Spec.Config.Postgres.Auth":{"type":"object","properties":{"password":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Postgres.Auth.Password","description":"Password sets the password used for authentication","x-oneof":"type"}},"additionalProperties":false,"description":"Auth sets the credentials used to authenticate to the upstream\nPostgreSQL server","x-oneofs":{"type":["password"]}},"octelium.api.main.core.v1.Service.Spec.Config.Postgres.Auth.Password":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value contains\nthe Password","x-oneof":"type"}},"additionalProperties":false,"description":"Password is the password of the upstream PostgreSQL server","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.Service.Spec.Config.Postgres.Authorization":{"type":"object","properties":{"mode":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Postgres.Authorization.Mode","description":"Mode is the authorization mode"}},"additionalProperties":false,"description":"Authorization sets the PostgreSQL-specific authorization\nconfiguration"},"octelium.api.main.core.v1.Service.Spec.Config.Postgres.Authorization.Mode":{"type":"string","enum":["MODE_UNSET","ALL","NONE"],"description":"Mode sets when the authorization is enforced","x-enumDescriptions":{"MODE_UNSET":"MODE_UNSET uses the default configuration which is currently NONE","ALL":"ALL forces authorization for every PostgreSQL command (e.g. query\ncommands) not just at the beginning of the connection","NONE":"NONE which is currently the default behavior enforces\nauthorization only at the beginning of the connection"}},"octelium.api.main.core.v1.Service.Spec.Config.Postgres.SSLMode":{"type":"string","enum":["SSL_MODE_UNSET","DISABLE","REQUIRE","VERIFY_CA","VERIFY_FULL"],"description":"SSLMode is the PostgreSQL SSL mode used to connect to the upstream","x-enumDescriptions":{"SSL_MODE_UNSET":"SSL_MODE_UNSET fallbacks to the default behavior which is currently\n\"prefer\"","DISABLE":"DISABLE sets SSL mode to \"disable\"","REQUIRE":"REQUIRE sets SSL mode to \"require\". This is extremely recommended\nover the default \"prefer\" mode if the upstream is listening over\nTLS which is the case for SaaS databases. Note that it encrypts the\nconnection without verifying the upstream's certificate at all.","VERIFY_CA":"VERIFY_CA sets SSL mode to \"verify-ca\". It additionally verifies\nthat the upstream's certificate chains up to a trusted certificate\nauthority without verifying the upstream's hostname. The trusted\ncertificate authorities are set by the `tls` Configuration field\nand they default to the system's ones.","VERIFY_FULL":"VERIFY_FULL sets SSL mode to \"verify-full\". It additionally\nverifies both the upstream's certificate chain and its hostname.\nThe trusted certificate authorities are set by the `tls`\nConfiguration field and they default to the system's ones. This is\nthe recommended mode for the upstreams that are listening over TLS."}},"octelium.api.main.core.v1.Service.Spec.Config.Postgres.Visibility":{"type":"object","properties":{"disableQuery":{"type":"boolean","description":"DisableQuery disables recording the statement text of the query\nand parse messages in the access logs. The access log entries\nthemselves are still recorded without the statement text. This is\nrecommended for databases whose statements routinely embed\ncredentials or other sensitive values."}},"additionalProperties":false,"description":"Visibility sets the PostgreSQL-specific access logging configuration"},"octelium.api.main.core.v1.Service.Spec.Config.RDP":{"type":"object","properties":{"auth":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.RDP.Auth","description":"Auth sets the upstream authentication information"},"upstreamTLS":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.RDP.UpstreamTLS","description":"UpstreamTLS sets the verification of the upstream's certificate"}},"additionalProperties":false,"description":"RDP sets the RDP-specific configuration"},"octelium.api.main.core.v1.Service.Spec.Config.RDP.Auth":{"type":"object","properties":{"user":{"type":"string","description":"User is the RDP user. If set, it overrides the user requested by\nthe downstreams."},"domain":{"type":"string","description":"Domain is the Windows domain of the RDP user. It can be left\nunset if the upstream uses local accounts rather than a domain."},"password":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.RDP.Auth.Password","description":"Password is the password used to authenticate to the upstream"}},"additionalProperties":false,"description":"Auth sets the credentials used to authenticate to the upstream RDP\nserver over Network Level Authentication (NLA)"},"octelium.api.main.core.v1.Service.Spec.Config.RDP.Auth.Password":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value contains\nthe Password","x-oneof":"type"}},"additionalProperties":false,"description":"Password is the password of the upstream RDP user","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.Service.Spec.Config.RDP.UpstreamTLS":{"type":"object","properties":{"pinnedCertSHA256":{"type":"array","items":{"type":"string"},"description":"PinnedCertSHA256 is the list of the SHA-256 fingerprints of the\nupstream's certificate. The connection is rejected if the\nupstream's certificate matches none of them. More than one\nfingerprint can be set which is useful while rotating the\nupstream's certificate."},"allowAnyCert":{"type":"boolean","description":"AllowAnyCert entirely disables verifying the upstream's\ncertificate. This is typically recommended only for\ntroubleshooting/testing use cases."}},"additionalProperties":false,"description":"UpstreamTLS sets how the certificate presented by the upstream RDP\nserver is verified. Windows RDP servers typically present\nself-signed certificates."},"octelium.api.main.core.v1.Service.Spec.Config.SOCKS5":{"type":"object","properties":{"auth":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.SOCKS5.Auth","description":"Auth sets the upstream authentication information"},"isEmbeddedMode":{"type":"boolean","description":"IsEmbeddedMode enables the \"embedded\" mode where the SOCKS5 proxy is\nserved from within a connected Octelium client instead of being\nproxied to a separate upstream SOCKS5 server. In this mode the\nconnected client itself acts as the SOCKS5 egress point."}},"additionalProperties":false,"description":"SOCKS5 sets the SOCKS5-specific configuration"},"octelium.api.main.core.v1.Service.Spec.Config.SOCKS5.Auth":{"type":"object","properties":{"noAuth":{"type":"boolean","description":"NoAuth explicitly uses no authentication when connecting to the\nupstream SOCKS5 server","x-oneof":"type"},"usernamePassword":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.SOCKS5.Auth.UsernamePassword","description":"UsernamePassword sets the username and password used for\nauthentication","x-oneof":"type"}},"additionalProperties":false,"description":"Auth sets the credentials used to authenticate to the upstream\nSOCKS5 server","x-oneofs":{"type":["noAuth","usernamePassword"]}},"octelium.api.main.core.v1.Service.Spec.Config.SOCKS5.Auth.UsernamePassword":{"type":"object","properties":{"username":{"type":"string","description":"Username is the username used to authenticate to the upstream"},"password":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.SOCKS5.Auth.UsernamePassword.Password","description":"Password is the password used to authenticate to the upstream"}},"additionalProperties":false,"description":"UsernamePassword authenticates to the upstream via a username and\na password"},"octelium.api.main.core.v1.Service.Spec.Config.SOCKS5.Auth.UsernamePassword.Password":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value contains\nthe Password","x-oneof":"type"}},"additionalProperties":false,"description":"Password is the password of the upstream SOCKS5 server","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.Service.Spec.Config.SSH":{"type":"object","properties":{"user":{"type":"string","description":"User is the SSH user. If set, this value overrides the SSH user\nrequested by the downstreams. If not set, then downstream's value is\nforwarded to the upstream."},"auth":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.SSH.Auth","description":"Auth sets authentication related information"},"upstreamHostKey":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.SSH.UpstreamHostKey","description":"UpstreamHostKey sets the upstream's host public key"},"enableLocalPortForwarding":{"type":"boolean","description":"EnableLocalPortForwarding enables local port forwarding (i.e.\n\"direct-tcpip\")"},"enableSubsystem":{"type":"boolean","description":"EnableSubsystem enables subsystem requests (e.g. SFTP). Subsystem\nrequests are disabled by default."},"eSSHMode":{"type":"boolean","description":"eSSHMode enables the \"embedded SSH\" mode. This means that the\nupstream is served by an Octelium client rather than a typical SSH\nserver. Refer to the docs for more."},"visibility":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.SSH.Visibility","description":"Visibility sets the SSH-specific access logging configuration"}},"additionalProperties":false,"description":"SSH sets the SSH-specific configuration"},"octelium.api.main.core.v1.Service.Spec.Config.SSH.Auth":{"type":"object","properties":{"password":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.SSH.Auth.Password","description":"Password sets the password used for authentication. Only one of\nPassword or PrivateKey is used.","x-oneof":"type"},"privateKey":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.SSH.Auth.PrivateKey","description":"PrivateKey sets the private key used for authentication. Only one\nof Password or PrivateKey is used.","x-oneof":"type"}},"additionalProperties":false,"description":"Auth sets the credentials used to authenticate to the upstream SSH\nserver","x-oneofs":{"type":["password","privateKey"]}},"octelium.api.main.core.v1.Service.Spec.Config.SSH.Auth.Password":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value contains\nthe Password","x-oneof":"type"}},"additionalProperties":false,"description":"Password is the password of the upstream SSH server","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.Service.Spec.Config.SSH.Auth.PrivateKey":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value contains\nthe PEM-encoded PrivateKey","x-oneof":"type"}},"additionalProperties":false,"description":"PrivateKey is the private key used to authenticate to the upstream\nSSH server","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.Service.Spec.Config.SSH.UpstreamHostKey":{"type":"object","properties":{"insecureIgnoreHostKey":{"type":"boolean","description":"InsecureIgnoreHostKey ignores verifying the upstream server\npublic key during the handshake. This is extremely NOT\nrecommended for use in production","x-oneof":"type"},"key":{"type":"string","description":"Key specifies the upstream public key","x-oneof":"type"}},"additionalProperties":false,"description":"UpstreamHostKey sets how the upstream SSH server's host public key\nis verified upon connecting to it","x-oneofs":{"type":["insecureIgnoreHostKey","key"]}},"octelium.api.main.core.v1.Service.Spec.Config.SSH.Visibility":{"type":"object","properties":{"disableSessionRecording":{"type":"boolean","description":"DisableSessionRecording disables recording the SSH sessions in the\naccess logs."},"enableSessionStdinRecording":{"type":"boolean","description":"EnableSessionStdinRecording additionally records the SSH sessions'\nstdin in the access logs."}},"additionalProperties":false,"description":"Visibility sets the SSH-specific access logging configuration"},"octelium.api.main.core.v1.Service.Spec.Config.TLS":{"type":"object","properties":{"trustedCAs":{"type":"array","items":{"type":"string"},"description":"TrustedCAs is the list of the PEM-encoded root certificate\nauthorities that are trusted to verify the upstream's certificate.\nBy default, this list overrides the system's default trusted CAs."},"appendToSystemPool":{"type":"boolean","description":"AppendToSystemPool appends the trustedCAs to the system's default\ntrusted CAs instead of overriding them."},"insecureSkipVerify":{"type":"boolean","description":"InsecureSkipVerify entirely skips verifying the certificate provided\nby the upstream. This is typically recommended only for\ntroubleshooting/testing use cases."},"clientCertificate":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.TLS.ClientCertificate","description":"ClientCertificate sets the mTLS client certificate used to\nauthenticate to the upstream"}},"additionalProperties":false,"description":"TLS sets the TLS client-side configuration used by the Service to\nconnect to an upstream that is listening over TLS"},"octelium.api.main.core.v1.Service.Spec.Config.TLS.ClientCertificate":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value contains the\nPEM representations of both the client certificate chain and its\ncorresponding private key","x-oneof":"type"}},"additionalProperties":false,"description":"ClientCertificate sets the x509 client certificate used to\nauthenticate to an upstream that requires mTLS","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.Service.Spec.Config.Upstream":{"type":"object","properties":{"user":{"type":"string","description":"User is the User name if the upstream should be served by an active\nConnection of a User. If set, that means that the\nService is served by any connected client owned by that User and\nwilling to serve the Service."},"url":{"type":"string","description":"URL is the canonical URL of the upstream.\nExamples are `http://example.com`, `postgres://pg.default.svc`,\n`tcp://my-custom-app:9090`, and `https://api.sandbox.paypal.com`.\nNote that the URL path is ignored in every mode except for the LLM\nand the MCP modes where it sets the upstream's base path. Read the\n`llm` and the `mcp` Configuration fields for more details.","x-oneof":"type"},"loadbalance":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Loadbalance","description":"Loadbalance is the list of upstreams in case you have more than one\nupstream. You either use the main upstream or the loadbalance list.","x-oneof":"type"},"container":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container","description":"Container sets the Upstream to a managed container deployed\non the same Kubernetes cluster that hosts the Octelium Cluster","x-oneof":"type"}},"additionalProperties":false,"description":"Upstream is the actual protected resource behind the Service. It is\neither directly reachable from within the Cluster, remotely reachable\nvia an actively connected User, or a container that is deployed and\nmanaged by the Cluster itself.","x-oneofs":{"type":["url","loadbalance","container"]}},"octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container":{"type":"object","properties":{"port":{"type":"integer","format":"uint32","minimum":0,"description":"Port is the port exposed by the managed container"},"image":{"type":"string","description":"Image is the image URL of the container"},"command":{"type":"array","items":{"type":"string"},"description":"Command overrides the container image's command"},"args":{"type":"array","items":{"type":"string"},"description":"Args is the list of command arguments that override the image\narguments"},"env":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Env"},"description":"Env is the list of environment variables"},"replicas":{"type":"integer","format":"uint32","minimum":0,"description":"Replicas is the number of replicas of this container"},"credentials":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Credentials","description":"Credentials sets the credentials if the image is hosted on a\nprivate container registry"},"resourceLimit":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.ResourceLimit","description":"ResourceLimit sets the container resource limits"},"securityContext":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.SecurityContext","description":"SecurityContext sets k8s security context related configs"},"volumes":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Volume"},"description":"Volumes is the list of the Kubernetes volumes defined for the\ncontainer"},"volumeMounts":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.VolumeMount"},"description":"VolumeMounts is the list of the defined Volumes that are mounted\ninside the container"},"livenessProbe":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Probe","description":"LivenessProbe sets the container's liveness probe"},"readinessProbe":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Probe","description":"ReadinessProbe sets the container's readiness probe"}},"additionalProperties":false,"description":"Container is a containerized application that is deployed, managed\nand scaled by the Cluster on top of the underlying Kubernetes\ninfrastructure and served as the Service's upstream"},"octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Credentials":{"type":"object","properties":{"usernamePassword":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Credentials.UsernamePassword","description":"UsernamePassword uses a username and password to authenticate\nto the container registry","x-oneof":"type"}},"additionalProperties":false,"description":"Credentials sets the credentials used to pull the container image\nfrom a private container registry","x-oneofs":{"type":["usernamePassword"]}},"octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Credentials.UsernamePassword":{"type":"object","properties":{"username":{"type":"string","description":"Username is the username used to authenticate to the container\nregistry"},"password":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Credentials.UsernamePassword.Password","description":"Password is the password used to authenticate to the container\nregistry"},"server":{"type":"string","description":"Server is the container registry server (e.g. \"ghcr.io\" or\n\"quay.io\")"}},"additionalProperties":false,"description":"UsernamePassword authenticates to the container registry via a\nusername and a password"},"octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Credentials.UsernamePassword.Password":{"type":"object","properties":{"fromSecret":{"type":"string","description":"FromSecret sets the name of the Secret whose value contains\nthe Password","x-oneof":"type"}},"additionalProperties":false,"description":"Password is the password used to authenticate to the\ncontainer registry","x-oneofs":{"type":["fromSecret"]}},"octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Env":{"type":"object","properties":{"name":{"type":"string","description":"Name is the environment variable key"},"value":{"type":"string","description":"Value is the environment variable value","x-oneof":"type"},"fromSecret":{"type":"string","description":"FromSecret gets the value of the environment variable from an\nOctelium Secret","x-oneof":"type"},"kubernetesSecretRef":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Env.KubernetesSecretRef","description":"KubernetesSecretRef uses a Kubernetes secret as the environment\nvariable value","x-oneof":"type"}},"additionalProperties":false,"description":"Env is an environment variable of the managed container","x-oneofs":{"type":["value","fromSecret","kubernetesSecretRef"]}},"octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Env.KubernetesSecretRef":{"type":"object","properties":{"name":{"type":"string","description":"Name is the Kubernetes secret name"},"key":{"type":"string","description":"Key is the Kubernetes secret data key"}},"additionalProperties":false,"description":"KubernetesSecretRef references an existent Kubernetes secret in\nthe `octelium` Kubernetes namespace"},"octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Probe":{"type":"object","properties":{"httpGet":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Probe.HTTPGet","description":"HTTPGet sets an HTTP GET probe","x-oneof":"type"},"tcpSocket":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Probe.TCPSocket","description":"TCPSocket sets a TCP socket probe","x-oneof":"type"},"grpc":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Probe.GRPC","description":"GRPC sets a gRPC probe","x-oneof":"type"},"initialDelaySeconds":{"type":"integer","format":"int32","description":"InitialDelaySeconds is the number of seconds after the container\nstarts before the Probe is initiated"},"timeoutSeconds":{"type":"integer","format":"int32","description":"TimeoutSeconds is the number of seconds after which the Probe\ntimes out"},"periodSeconds":{"type":"integer","format":"int32","description":"PeriodSeconds is the number of seconds between performing the\nProbe"},"successThreshold":{"type":"integer","format":"int32","description":"SuccessThreshold is the number of consecutive successes after\nwhich the Probe is considered successful"},"failureThreshold":{"type":"integer","format":"int32","description":"FailureThreshold is the number of consecutive failures after\nwhich the Probe is considered failed"}},"additionalProperties":false,"description":"Probe is a Kubernetes liveness or readiness probe of the managed\ncontainer","x-oneofs":{"type":["httpGet","tcpSocket","grpc"]}},"octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Probe.GRPC":{"type":"object","properties":{"port":{"type":"integer","format":"uint32","minimum":0,"description":"Port is the port at which the gRPC probe is sent"}},"additionalProperties":false,"description":"GRPC probes the container via the gRPC health checking protocol"},"octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Probe.HTTPGet":{"type":"object","properties":{"path":{"type":"string","description":"Path is the HTTP path of the probe request"},"port":{"type":"integer","format":"uint32","minimum":0,"description":"Port is the port at which the probe request is sent"}},"additionalProperties":false,"description":"HTTPGet probes the container via an HTTP GET request"},"octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Probe.TCPSocket":{"type":"object","properties":{"port":{"type":"integer","format":"uint32","minimum":0,"description":"Port is the port at which the TCP connection is opened"}},"additionalProperties":false,"description":"TCPSocket probes the container by opening a TCP connection"},"octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.ResourceLimit":{"type":"object","properties":{"cpu":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.ResourceLimit.CPU","description":"CPU sets the CPU-related limit"},"memory":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.ResourceLimit.Memory","description":"Memory sets the memory-related limit"},"ext":{"type":"object","additionalProperties":{"type":"string"},"description":"Ext represents the map of extended/custom resource limits such as\nGPU requests"}},"additionalProperties":false,"description":"ResourceLimit sets how much compute resources the managed\ncontainer is allowed to consume"},"octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.ResourceLimit.CPU":{"type":"object","properties":{"millicores":{"type":"integer","format":"uint32","minimum":0,"description":"Millicores is the integer that sets the limit milli-cores"}},"additionalProperties":false,"description":"CPU is the CPU-related limit"},"octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.ResourceLimit.Memory":{"type":"object","properties":{"megabytes":{"type":"integer","format":"uint32","minimum":0,"description":"Megabytes is the integer that sets the limit in megabytes"}},"additionalProperties":false,"description":"Memory is the memory-related limit"},"octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.SecurityContext":{"type":"object","properties":{"readOnlyRootFilesystem":{"type":"boolean","description":"ReadOnlyRootFilesystem sets the root filesystem to read-only"},"runAsUser":{"type":"integer","format":"uint32","minimum":0,"description":"RunAsUser sets the UID of the container user."},"capabilities":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.SecurityContext.Capabilities","description":"Capabilities adds/drops Linux capabilities used by the container"}},"additionalProperties":false,"description":"SecurityContext sets the security-related configuration of the\nmanaged container"},"octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.SecurityContext.Capabilities":{"type":"object","properties":{"add":{"type":"array","items":{"type":"string"},"description":"Add is the list of the added Linux capabilities (e.g.\n\"NET_ADMIN\", \"SYS_TIME\")"},"drop":{"type":"array","items":{"type":"string"},"description":"Drop is the list of the dropped Linux capabilities (e.g.\n\"ALL\")"}},"additionalProperties":false,"description":"Capabilities sets the Linux capabilities of the managed\ncontainer"},"octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Volume":{"type":"object","properties":{"name":{"type":"string","description":"Name is the name of the Volume. It is used by the VolumeMounts\nto reference the Volume."},"persistentVolumeClaim":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Volume.PersistentVolumeClaim","description":"PersistentVolumeClaim uses a Kubernetes persistent volume\nclaim as the Volume","x-oneof":"type"},"emptyDir":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Volume.EmptyDir","description":"EmptyDir uses a Kubernetes emptyDir as the Volume","x-oneof":"type"}},"additionalProperties":false,"description":"Volume is a Kubernetes volume that is defined for the managed\ncontainer","x-oneofs":{"type":["persistentVolumeClaim","emptyDir"]}},"octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Volume.EmptyDir":{"type":"object","properties":{"sizeLimitMegabytes":{"type":"integer","format":"uint32","minimum":0,"description":"SizeLimitMegabytes is the size limit of the volume in\nmegabytes"}},"additionalProperties":false,"description":"EmptyDir is a Kubernetes emptyDir volume"},"octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.Volume.PersistentVolumeClaim":{"type":"object","properties":{"name":{"type":"string","description":"Name is the name of the Kubernetes persistent volume claim"}},"additionalProperties":false,"description":"PersistentVolumeClaim is a Kubernetes persistent volume claim"},"octelium.api.main.core.v1.Service.Spec.Config.Upstream.Container.VolumeMount":{"type":"object","properties":{"name":{"type":"string","description":"Name is the name of the mounted Volume"},"mountPath":{"type":"string","description":"MountPath is the path inside the container at which the Volume\nis mounted"},"subPath":{"type":"string","description":"SubPath is the path within the Volume that is mounted instead of\nits root"},"readOnly":{"type":"boolean","description":"ReadOnly mounts the Volume as read-only"}},"additionalProperties":false,"description":"VolumeMount mounts a defined Volume inside the managed container"},"octelium.api.main.core.v1.Service.Spec.Config.Upstream.Loadbalance":{"type":"object","properties":{"endpoints":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config.Upstream.Loadbalance.Endpoint"},"description":"Endpoints is the list of endpoints"}},"additionalProperties":false,"description":"Loadbalance is the list of upstreams to load balance among. Random\nload balancing is currently automatically enforced among the\ndifferent endpoints."},"octelium.api.main.core.v1.Service.Spec.Config.Upstream.Loadbalance.Endpoint":{"type":"object","properties":{"url":{"type":"string","description":"URL is the canonical URL of the upstream.\nExamples are `http://example.com`, `postgres://pg.default.svc`,\n`tcp://my-custom-app:9090`, and\n`https://api.sandbox.paypal.com`."},"user":{"type":"string","description":"User is the User name if the upstream should be served by an\nactive Connection of a User. If set, that means that the Service\nis served by any connected client owned by that User and willing\nto serve the Service."}},"additionalProperties":false,"description":"Endpoint is a single upstream endpoint"},"octelium.api.main.core.v1.Service.Spec.Deployment":{"type":"object","properties":{"replicas":{"type":"integer","format":"uint32","minimum":0,"description":"Replicas sets the number of replicas of a deployed Service."}},"additionalProperties":false,"description":"Deployment sets the configuration of the Kubernetes deployment\nimplementing the Service"},"octelium.api.main.core.v1.Service.Spec.DynamicConfig":{"type":"object","properties":{"configs":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.Config"},"description":"Configs is the list of named configurations that will override the\nglobal/default Service configuration if a rule matches."},"rules":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Spec.DynamicConfig.Rule"},"description":"Rules is the list of rules that are checked on a per-request basis,\nif a rule matches its named configuration is used as the Service\nconfiguration for that specific request."}},"additionalProperties":false,"description":"DynamicConfig overrides the global/static Service Config on a\nper-request basis. If no Rule matches, the global Config is used as a\nfallback."},"octelium.api.main.core.v1.Service.Spec.DynamicConfig.Rule":{"type":"object","properties":{"condition":{"$ref":"#/definitions/octelium.api.main.core.v1.Condition","description":"Condition is the condition"},"configName":{"type":"string","description":"configName is the name of the namedConfig that is used if the rule\nmatches.","x-oneof":"type"},"eval":{"type":"string","description":"Eval is the CEL expression that evaluates the Service config","x-oneof":"type"},"opa":{"type":"string","description":"OPA is the Rego OPA script that evaluates the Service config","x-oneof":"type"}},"additionalProperties":false,"description":"Rule is evaluated on a per-request basis to choose or generate the\nConfig used for that specific request","x-oneofs":{"type":["configName","eval","opa"]}},"octelium.api.main.core.v1.Service.Spec.Mode":{"type":"string","enum":["MODE_UNSET","TCP","UDP","HTTP","SSH","KUBERNETES","POSTGRES","MYSQL","GRPC","WEB","DNS","SOCKS5","RDP_WEB","MCP","LLM","RDP"],"description":"Mode is the application-layer protocol understood by the proxy\nimplementing the Service","x-enumDescriptions":{"MODE_UNSET":"MODE_UNSET is the default value. The Cluster automatically decides the\nmode using the scheme of the Upstream's URL.","TCP":"TCP is the TCP mode. This is the default mode if not explicitly set.","UDP":"UDP is the UDP mode","HTTP":"HTTP is the HTTP mode","SSH":"SSH is the SSH mode","KUBERNETES":"KUBERNETES is the Kubernetes mode","POSTGRES":"POSTGRES is the PostgreSQL mode","MYSQL":"MYSQL is the MySQL mode","GRPC":"GRPC is the gRPC mode","WEB":"WEB is the WEB mode. Use this mode over the typical HTTP mode as a hint\nfor the Cluster and the Users that this is a web application that can\nbe accessed over browsers by HUMAN Users.","DNS":"DNS is the DNS mode","SOCKS5":"SOCKS5 is the SOCKS5 proxy mode","RDP_WEB":"RDP_WEB is the browser-based RDP mode. It provides clientless RDP\naccess for HUMAN Users to upstream RDP servers directly from their\nbrowsers.","MCP":"MCP is the Model Context Protocol mode. MCP Services are HTTP-based:\nthey reuse the entire HTTP dataplane and additionally understand the\nMCP JSON-RPC semantics for access control, access logging and metrics.","LLM":"LLM is the LLM gateway mode. LLM Services are HTTP-based: they reuse\nthe entire HTTP dataplane and additionally understand the inference\nAPI semantics (i.e. the operation, the model, the streaming mode and\nthe token usage) for access control, access logging and metrics.","RDP":"RDP is the RDP mode"}},"octelium.api.main.core.v1.Service.Status":{"type":"object","properties":{"addresses":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Status.Address"},"description":"Addresses is the list of private addresses used by the Service for\nclient-based connections."},"namespaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"NamespaceRef is the reference of the owner Namespace"},"managedService":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Status.ManagedService","description":"ManagedService is the configuration of the Service if it is deployed\nand maintained by the Cluster itself."},"regionRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"RegionRef is the reference of the Region in which the Service is\ndeployed."},"primaryHostname":{"type":"string","description":"PrimaryHostname is the Service's primary hostname"},"additionalHostnames":{"type":"array","items":{"type":"string"},"description":"AdditionalHostnames is the list of the Service's additional hostnames"},"port":{"type":"integer","format":"uint32","minimum":0,"description":"Port is the port number used by the Service's listener"}},"additionalProperties":false,"description":"Status is the current status of the Service"},"octelium.api.main.core.v1.Service.Status.Address":{"type":"object","properties":{"dualStackIP":{"$ref":"#/definitions/octelium.api.main.meta.v1.DualStackIP","description":"DualStackIP is the IPv4 and IPv6 addresses of the Service"},"podRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"PodRef is the reference of the Pod serving the Service"}},"additionalProperties":false,"description":"Address is a private address at which the Service is reachable by the\nCluster's clients"},"octelium.api.main.core.v1.Service.Status.ManagedService":{"type":"object","properties":{"image":{"type":"string","description":"Image is the image URL of the managed Service's container"},"port":{"type":"integer","format":"uint32","minimum":0,"description":"Port is the port exposed by the managed Service's container"},"hasSubdomain":{"type":"boolean","description":"HasSubdomain determines whether the managed Service additionally\nserves the subdomains of its FQDNs."},"forwardHost":{"type":"boolean","description":"ForwardHost determines whether the downstream Host header is forwarded\nto the managed Service as is."},"type":{"type":"string","description":"Type is the type of the managed Service"},"k8sLabels":{"type":"object","additionalProperties":{"type":"string"},"description":"K8sLabels is the map of the additional Kubernetes labels set for the\nmanaged Service's Kubernetes resources."},"command":{"type":"array","items":{"type":"string"},"description":"Command overrides the container image's command"},"args":{"type":"array","items":{"type":"string"},"description":"Args is the list of command arguments that override the image\narguments"},"imagePullSecret":{"type":"string","description":"ImagePullSecret is the name of the Kubernetes secret used to pull the\ncontainer image from a private registry."},"healthCheck":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Status.ManagedService.HealthCheck","description":"HealthCheck sets the health check of the managed Service"},"resourceLimit":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Status.ManagedService.ResourceLimit","description":"ResourceLimit sets the managed Service's container resource limits"},"readOnlyFileSystem":{"type":"boolean","description":"ReadOnlyFileSystem sets the container's root filesystem to read-only"}},"additionalProperties":false,"description":"ManagedService is the configuration of a Service that is deployed and\nmaintained by the Cluster itself (e.g. the built-in Services of the\nCluster such as the AuthService and the Portal)"},"octelium.api.main.core.v1.Service.Status.ManagedService.HealthCheck":{"type":"object","properties":{"grpc":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Status.ManagedService.HealthCheck.GRPC","x-oneof":"type"}},"additionalProperties":false,"description":"HealthCheck is the health check used by the Cluster to probe the\nmanaged Service","x-oneofs":{"type":["grpc"]}},"octelium.api.main.core.v1.Service.Status.ManagedService.HealthCheck.GRPC":{"type":"object","properties":{"port":{"type":"integer","format":"int32","description":"Port is the port at which the health check is served"}},"additionalProperties":false,"description":"GRPC is a gRPC health check"},"octelium.api.main.core.v1.Service.Status.ManagedService.ResourceLimit":{"type":"object","properties":{"cpu":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Status.ManagedService.ResourceLimit.CPU","description":"CPU sets the CPU-related limit"},"memory":{"$ref":"#/definitions/octelium.api.main.core.v1.Service.Status.ManagedService.ResourceLimit.Memory","description":"Memory sets the memory-related limit"}},"additionalProperties":false,"description":"ResourceLimit sets the compute resource limits of the managed Service"},"octelium.api.main.core.v1.Service.Status.ManagedService.ResourceLimit.CPU":{"type":"object","properties":{"millicores":{"type":"integer","format":"uint32","minimum":0,"description":"Millicores is the integer that sets the limit milli-cores"}},"additionalProperties":false,"description":"CPU is the CPU-related limit"},"octelium.api.main.core.v1.Service.Status.ManagedService.ResourceLimit.Memory":{"type":"object","properties":{"megabytes":{"type":"integer","format":"uint32","minimum":0,"description":"Megabytes is the integer that sets the limit in megabytes"}},"additionalProperties":false,"description":"Memory is the memory-related limit"},"octelium.api.main.core.v1.ServiceList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `ServiceList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Service"},"description":"Items is the list of Services."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"ServiceList is the list of Services returned by the ListService method."},"octelium.api.main.core.v1.Session":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `Session`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Spec","description":"Spec is the Session specification."},"status":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status","description":"Status is the current status of the Session."}},"additionalProperties":false,"description":"Session represents an authenticated session of a User. A User can interact\nwith the Cluster and access its Services only through a valid Session which\nis automatically created by the Cluster upon a successful authentication.\nThe Cluster issues an access token and a refresh token representing the\nSession's validity and the User has to periodically re-authenticate to keep\nthe Session valid until it eventually expires and is automatically deleted\nby the Cluster."},"octelium.api.main.core.v1.Session.Spec":{"type":"object","properties":{"expiresAt":{"type":"string","format":"date-time","description":"ExpiresAt is the timestamp at which the Session expires."},"state":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Spec.State","description":"State is the Session state"},"authorization":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Spec.Authorization","description":"Authorization sets the authorization-related configuration"}},"additionalProperties":false,"description":"Spec is the Session specification"},"octelium.api.main.core.v1.Session.Spec.Authorization":{"type":"object","properties":{"policies":{"type":"array","items":{"type":"string"},"description":"Policies is the list of standalone Policies"},"inlinePolicies":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.InlinePolicy"},"description":"InlinePolicies is the list of inline Policies"}},"additionalProperties":false,"description":"Authorization sets the Policies that are applied to the Session. These\nPolicies are typically copied from the Credential that created the\nSession upon a successful authentication."},"octelium.api.main.core.v1.Session.Spec.State":{"type":"string","enum":["STATE_UNKNOWN","ACTIVE","PENDING","REJECTED"],"description":"State is the state of the Session","x-enumDescriptions":{"STATE_UNKNOWN":"STATE_UNKNOWN is not used","ACTIVE":"ACTIVE means that the Session is active","PENDING":"PENDING means that the Session is pending an activation or rejection.","REJECTED":"REJECTED means that the Session is rejected"}},"octelium.api.main.core.v1.Session.Status":{"type":"object","properties":{"userRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"UserRef is the reference to the User of the Session"},"deviceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"DeviceRef is the reference to the Device of the Session if available"},"type":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Type","description":"Type is the Session type"},"isBrowser":{"type":"boolean","description":"IsBrowser means that the Session is used by a browser."},"authentication":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Authentication","description":"Authentication includes the information of the authentication operation\nused currently by the Session"},"lastAuthentications":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Authentication"},"description":"LastAuthentications is the list of last Authentications"},"initialAuthentication":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Authentication","description":"InitialAuthentication is the initial Authentication of the Session"},"isConnected":{"type":"boolean","description":"IsConnected shows whether the Session has a connected client. Only useful\nfor CLIENT Sessions."},"connection":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Connection","description":"Connection shows the connection information of the currently connected\nSession"},"credentialRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"CredentialRef is the reference of the Credential that created the\nSession, if any"},"ext":{"type":"object","additionalProperties":{"type":"object"},"description":"Ext is a map of internal Cluster-managed extension data"},"totalAuthentications":{"type":"integer","format":"uint32","minimum":0,"description":"TotalAuthentications is the total number of the authentication\noperations performed by the Session"},"scopes":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Scope"},"description":"Scopes is the list of scopes used by the Session"},"totalConnections":{"type":"integer","format":"uint32","minimum":0,"description":"TotalConnections is the total number of the connections established by\nthe Session"},"lastConnections":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.LastConnection"},"description":"LastConnections is the list of the last connections of the Session"},"isLocked":{"type":"boolean","description":"IsLocked indicates whether the Session is locked by the Cluster"},"authenticatorAction":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.AuthenticatorAction","description":"AuthenticatorAction is the Authenticator-related action that the Session\nis currently required or recommended to perform"},"requiredAuthenticatorRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"RequiredAuthenticatorRef is the reference of the Authenticator that the\nSession is required to authenticate with, if any"},"deviceProof":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.DeviceProof","description":"DeviceProof is how the Session proved that it runs on its Device, if it\ndid. A Session that only presented the Device's identifiers has none."}},"additionalProperties":false,"description":"Status is the current status of the Session"},"octelium.api.main.core.v1.Session.Status.Authentication":{"type":"object","properties":{"info":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Authentication.Info","description":"Info is the detailed information of the authentication operation"},"setAt":{"type":"string","format":"date-time","description":"SetAt is the timestamp at which the authentication was performed"},"tokenID":{"type":"string","description":"TokenID is the ID of the Session's token pair that was issued by this\nauthentication. It is rotated with every re-authentication."},"accessTokenDuration":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"AccessTokenDuration is the duration of the issued access token"},"refreshTokenDuration":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"RefreshTokenDuration is the duration of the issued refresh token. Once\nthe refresh token expires, the Session as a whole is deemed expired."}},"additionalProperties":false,"description":"Authentication is the information of a single authentication operation\nof the Session"},"octelium.api.main.core.v1.Session.Status.Authentication.Info":{"type":"object","properties":{"type":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Authentication.Info.Type","description":"Type is the method by which the Session was authenticated"},"external":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Authentication.Info.External","description":"External is the information of an authentication done by an\nexternal owner of the Session","x-oneof":"details"},"identityProvider":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Authentication.Info.IdentityProvider","description":"IdentityProvider is the information of an IdentityProvider-based\nauthentication","x-oneof":"details"},"credential":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Authentication.Info.Credential","description":"Credential is the information of a Credential-based authentication","x-oneof":"details"},"authenticator":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Authentication.Info.Authenticator","description":"Authenticator is the information of an Authenticator-based\nauthentication","x-oneof":"details"},"aal":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Authentication.Info.AAL","description":"AAL is the authenticator assurance level of the authentication"},"downstream":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Authentication.Info.Downstream","description":"Downstream is the information of the client that performed the\nauthentication"},"geoip":{"$ref":"#/definitions/octelium.api.main.core.v1.GeoIP","description":"GeoIP is the geolocation information of the client that performed\nthe authentication. It is only set if geolocation is enabled in the\nClusterConfig."}},"additionalProperties":false,"description":"Info is the detailed information of the authentication operation","x-oneofs":{"details":["external","identityProvider","credential","authenticator"]}},"octelium.api.main.core.v1.Session.Status.Authentication.Info.AAL":{"type":"string","enum":["AAL_UNSET","AAL1","AAL2","AAL3"],"description":"AAL is the authenticator assurance level (AAL) of the\nauthentication as defined by NIST SP 800-63B","x-enumDescriptions":{"AAL_UNSET":"AAL_UNSET is not used","AAL1":"AAL1 provides some assurance that the User controls a single\nauthentication factor","AAL2":"AAL2 provides high confidence that the User controls two distinct\nauthentication factors","AAL3":"AAL3 provides very high confidence that the User controls a\nhardware-based authenticator"}},"octelium.api.main.core.v1.Session.Status.Authentication.Info.Authenticator":{"type":"object","properties":{"authenticatorRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"AuthenticatorRef is the reference of the Authenticator that\nauthenticated the User"},"type":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator.Status.Type","description":"Type is the type of the Authenticator (e.g. FIDO, TOTP)"},"info":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Authentication.Info.Authenticator.Info","description":"Info is the type-specific information of the Authenticator"},"mode":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Authentication.Info.Authenticator.Mode","description":"Mode is the role that the Authenticator played in the\nauthentication"}},"additionalProperties":false,"description":"Authenticator is the information of an Authenticator-based\nauthentication (e.g. MFA or a Passkey login)"},"octelium.api.main.core.v1.Session.Status.Authentication.Info.Authenticator.Info":{"type":"object","properties":{"fido":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Authentication.Info.Authenticator.Info.FIDO","x-oneof":"type"}},"additionalProperties":false,"description":"Info is the type-specific information of the Authenticator","x-oneofs":{"type":["fido"]}},"octelium.api.main.core.v1.Session.Status.Authentication.Info.Authenticator.Info.FIDO":{"type":"object","properties":{"userPresent":{"type":"boolean","description":"UserPresent means that the User presence check was satisfied"},"userVerified":{"type":"boolean","description":"UserVerified means that the User was verified by the\nAuthenticator (e.g. via a PIN or a biometric)"},"isHardware":{"type":"boolean","description":"IsHardware means that the Authenticator is hardware-backed\n(e.g. a security key or a platform authenticator)"},"isSoftware":{"type":"boolean","description":"IsSoftware means that the Authenticator is software-based\n(e.g. a password manager)"},"isAttestationVerified":{"type":"boolean","description":"IsAttestationVerified means that the Authenticator's\nattestation was verified"},"isPasskey":{"type":"boolean","description":"IsPasskey means that the Authenticator is a Passkey (i.e. it\nuses a resident/discoverable key credential)"},"aaguid":{"type":"string","description":"AAGUID is the Authenticator Attestation GUID that identifies\nthe model of the Authenticator"}},"additionalProperties":false,"description":"FIDO is the information of a FIDO/WebAuthn Authenticator"},"octelium.api.main.core.v1.Session.Status.Authentication.Info.Authenticator.Mode":{"type":"string","enum":["MODE_UNSET","DEFAULT","PASSKEY","MFA"],"description":"Mode is the role that the Authenticator played in the\nauthentication","x-enumDescriptions":{"MODE_UNSET":"MODE_UNSET is not used","DEFAULT":"DEFAULT means that the Authenticator was used for a\nre-authentication of an existent Session","PASSKEY":"PASSKEY means that the Authenticator was used for a direct\npasswordless Passkey login","MFA":"MFA means that the Authenticator was used as a second factor\nafter a successful IdentityProvider authentication"}},"octelium.api.main.core.v1.Session.Status.Authentication.Info.Credential":{"type":"object","properties":{"credentialRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"CredentialRef is the reference of the Credential that\nauthenticated the User"},"type":{"$ref":"#/definitions/octelium.api.main.core.v1.Credential.Spec.Type","description":"Type is the type of the Credential"},"tokenID":{"type":"string","description":"TokenID is the ID of the Credential's token that was used for the\nauthentication. It is rotated whenever the Credential is rotated."}},"additionalProperties":false,"description":"Credential is the information of a Credential-based authentication"},"octelium.api.main.core.v1.Session.Status.Authentication.Info.Downstream":{"type":"object","properties":{"ipAddress":{"type":"string","description":"IPAddress is the IP address of the client"},"userAgent":{"type":"string","description":"UserAgent is the `User-Agent` request header of the client"},"clientVersion":{"type":"string","description":"ClientVersion is the version of the Octelium client"}},"additionalProperties":false,"description":"Downstream is the information of the client that performed the\nauthentication"},"octelium.api.main.core.v1.Session.Status.Authentication.Info.External":{"type":"object","properties":{"ownerRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"OwnerRef is the reference of the external owner of the Session"},"attrs":{"type":"object","description":"Attrs is a map of the attributes provided by the external owner"}},"additionalProperties":false,"description":"External is the information of an authentication done by an external\nowner of the Session"},"octelium.api.main.core.v1.Session.Status.Authentication.Info.IdentityProvider":{"type":"object","properties":{"identityProviderRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"IdentityProviderRef is the reference of the IdentityProvider that\nauthenticated the User"},"type":{"$ref":"#/definitions/octelium.api.main.core.v1.IdentityProvider.Status.Type","description":"Type is the type of the IdentityProvider (e.g. OIDC, SAML)"},"identifier":{"type":"string","description":"Identifier is the value that identifies the User account according\nto the IdentityProvider"},"picURL":{"type":"string","description":"PicURL is the URL of the User's picture as provided by the\nIdentityProvider"},"email":{"type":"string","description":"Email is the User's email as provided by the IdentityProvider"}},"additionalProperties":false,"description":"IdentityProvider is the information of an IdentityProvider-based\nauthentication"},"octelium.api.main.core.v1.Session.Status.Authentication.Info.Type":{"type":"string","enum":["TYPE_UNSET","CREDENTIAL","INTERNAL","REFRESH_TOKEN","EXTERNAL","IDENTITY_PROVIDER","AUTHENTICATOR"],"description":"Type is the method by which the Session was authenticated","x-enumDescriptions":{"TYPE_UNSET":"TYPE_UNSET is not used","CREDENTIAL":"CREDENTIAL means that the authentication was done via a Credential","INTERNAL":"INTERNAL means that the authentication was done internally by the\nCluster itself","REFRESH_TOKEN":"REFRESH_TOKEN means that the authentication was a\nre-authentication done via the Session's refresh token","EXTERNAL":"EXTERNAL means that the authentication was done by an external\nowner of the Session","IDENTITY_PROVIDER":"IDENTITY_PROVIDER means that the authentication was done via an\nIdentityProvider","AUTHENTICATOR":"AUTHENTICATOR means that the authentication was done via an\nAuthenticator"}},"octelium.api.main.core.v1.Session.Status.AuthenticatorAction":{"type":"string","enum":["AUTHENTICATOR_ACTION_UNSET","AUTHENTICATION_REQUIRED","REGISTRATION_REQUIRED","AUTHENTICATION_RECOMMENDED","REGISTRATION_RECOMMENDED"],"description":"AuthenticatorAction is the Authenticator-related action that the\nSession is currently required or recommended to perform","x-enumDescriptions":{"AUTHENTICATOR_ACTION_UNSET":"AUTHENTICATOR_ACTION_UNSET means that no action is needed","AUTHENTICATION_REQUIRED":"AUTHENTICATION_REQUIRED means that the Session must authenticate via\nan Authenticator (i.e. MFA is enforced)","REGISTRATION_REQUIRED":"REGISTRATION_REQUIRED means that the Session must register an\nAuthenticator","AUTHENTICATION_RECOMMENDED":"AUTHENTICATION_RECOMMENDED means that authenticating via an\nAuthenticator is recommended but not enforced","REGISTRATION_RECOMMENDED":"REGISTRATION_RECOMMENDED means that registering an Authenticator is\nrecommended but not enforced"}},"octelium.api.main.core.v1.Session.Status.Connection":{"type":"object","properties":{"startedAt":{"type":"string","format":"date-time","description":"StartedAt is the timestamp at which the connection started"},"lastSeenAt":{"type":"string","format":"date-time","description":"LastSeenAt is the timestamp at which the connected client was last\nseen by the Cluster"},"upstreams":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Connection.Upstream"},"description":"Upstreams is the list of upstreams actually served by this connected\nSession"},"addresses":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.meta.v1.DualStackNetwork"},"description":"Addresses is the list private addresses used by the connected Session's\nclient"},"l3Mode":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Connection.L3Mode","description":"L3Mode is the layer-3 mode of the connection"},"serviceOptions":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Connection.ServiceOptions","description":"ServiceOptions shows the configuration of the served Services"},"x25519PublicKey":{"type":"string","contentEncoding":"base64","description":"X25519PublicKey is the raw x25519 public key of the Connection.\nCurrently used by WireGuard-based connections."},"ed25519PublicKey":{"type":"string","contentEncoding":"base64","description":"Ed25519PublicKey is the raw ed25519 public key of the Connection.\nCurrently used for eSSH."},"type":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Connection.Type","description":"Type is the connection type"},"publishedServices":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Connection.PublishedService"},"description":"PublishedServices is the list of published Services to the connected\nclient host"},"ignoreDNS":{"type":"boolean","description":"IgnoreDNS means that the connected client does not use the Cluster DNS"},"eSSHEnable":{"type":"boolean","description":"ESSHEnable means that serving eSSH Services is enabled"},"eSSHPort":{"type":"integer","format":"int32","description":"ESSHPort is the port number of the eSSH Server. Only meaningful if\nESSHEnable is set to true"},"eSOCKS5Enable":{"type":"boolean","description":"ESOCKS5Enable means that serving embedded SOCKS5 Services is enabled"},"eSOCKS5Port":{"type":"integer","format":"int32","description":"ESOCKS5Port is the port number of the embedded SOCKS5 server. Only\nmeaningful if ESOCKS5Enable is set to true"}},"additionalProperties":false,"description":"Connection is the information of the currently connected client of a\nCLIENT Session"},"octelium.api.main.core.v1.Session.Status.Connection.L3Mode":{"type":"string","enum":["BOTH","V4","V6"],"description":"L3Mode is the layer-3 mode of the connection","x-enumDescriptions":{"BOTH":"BOTH means that the connection is dual-stack","V4":"V4 means that the connection is IPv4-only","V6":"V6 means that the connection is IPv6-only"}},"octelium.api.main.core.v1.Session.Status.Connection.PublishedService":{"type":"object","properties":{"serviceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"ServiceRef is the reference of the published Service"},"port":{"type":"integer","format":"int32","description":"Port is the local port at which the Service is published"},"address":{"type":"string","description":"Address is the local address at which the Service is published"}},"additionalProperties":false,"description":"PublishedService is a Service that is published to the connected\nclient's host (i.e. reachable locally at the client's side)"},"octelium.api.main.core.v1.Session.Status.Connection.ServiceOptions":{"type":"object","properties":{"serveAll":{"type":"boolean","description":"ServeAll means that the Session is willing to serve any Service that\ncan be served by the Session's User"},"requestedServices":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Connection.ServiceOptions.RequestedService"},"description":"RequestedServices is the list of the Services that the Session\nexplicitly requested to serve"},"portStart":{"type":"integer","format":"int32","description":"PortStart is the starting listen port used by the client to serve its\nServices"}},"additionalProperties":false,"description":"ServiceOptions is the configuration of the Services that the connected\nSession is willing to serve as upstreams"},"octelium.api.main.core.v1.Session.Status.Connection.ServiceOptions.RequestedService":{"type":"object","properties":{"serviceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"ServiceRef is the reference of the requested Service"},"namespaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"NamespaceRef is the reference of the requested Service's Namespace"}},"additionalProperties":false,"description":"RequestedService is a Service that the Session explicitly requested\nto serve"},"octelium.api.main.core.v1.Session.Status.Connection.Type":{"type":"string","enum":["TYPE_UNKNOWN","WIREGUARD","QUICV0"],"description":"Type is the type of the connection's tunnel","x-enumDescriptions":{"TYPE_UNKNOWN":"TYPE_UNKNOWN is not used","WIREGUARD":"WIREGUARD means that the connection is WireGuard","QUICV0":"QUICV0 means that the connection is QUICv0"}},"octelium.api.main.core.v1.Session.Status.Connection.Upstream":{"type":"object","properties":{"port":{"type":"integer","format":"int32","description":"Port is the port at which the client listens to serve the upstream"},"l4Type":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Connection.Upstream.L4Type","description":"L4Type is the layer-4 protocol of the upstream"},"serviceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"ServiceRef is the reference of the served Service"},"namespaceRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"NamespaceRef is the reference of the served Service's Namespace"},"backend":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Connection.Upstream.Backend","description":"Backend is the actual upstream reachable from the connected\nSession's host"},"mode":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.Connection.Upstream.Mode","description":"Mode is how the upstream is served by the connected Session"}},"additionalProperties":false,"description":"Upstream is a Service that is actually served by the connected\nSession (i.e. the Session's host reaches the actual upstream on behalf\nof the Cluster)"},"octelium.api.main.core.v1.Session.Status.Connection.Upstream.Backend":{"type":"object","properties":{"host":{"type":"string","description":"Host is the host of the actual upstream"},"port":{"type":"integer","format":"int32","description":"Port is the listen port of the actual upstream"}},"additionalProperties":false,"description":"Backend is the actual upstream that is reachable from the connected\nSession's host"},"octelium.api.main.core.v1.Session.Status.Connection.Upstream.L4Type":{"type":"string","enum":["L4_UNKNOWN","TCP","UDP"],"description":"L4Type is the layer-4 protocol of the upstream","x-enumDescriptions":{"L4_UNKNOWN":"L4_UNKNOWN is not used","TCP":"TCP means that the upstream is TCP-based","UDP":"UDP means that the upstream is UDP-based"}},"octelium.api.main.core.v1.Session.Status.Connection.Upstream.Mode":{"type":"string","enum":["MODE_UNSET","DEFAULT","ESSH"],"description":"Mode is how the upstream is served by the connected Session","x-enumDescriptions":{"MODE_UNSET":"MODE_UNSET is not used","DEFAULT":"DEFAULT means that the upstream is a typical server that can\nbe connected to from the client","ESSH":"ESSH means that the upstream is an embedded SSH server running\nfrom within the client"}},"octelium.api.main.core.v1.Session.Status.DeviceProof":{"type":"object","properties":{"type":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Status.DeviceProof.Type","description":"Type is the type of the DeviceProof"},"bindingUID":{"type":"string","description":"BindingUID is the UID of the Binding that a PROBE or a VENDOR_SIGNED\nDeviceProof applies to. The DeviceProof does not apply to any other\nBinding of the Device."},"provedAt":{"type":"string","format":"date-time","description":"ProvedAt is the timestamp at which the Session produced the DeviceProof"}},"additionalProperties":false,"description":"DeviceProof is how the Session proved that it runs on its Device"},"octelium.api.main.core.v1.Session.Status.DeviceProof.Type":{"type":"string","enum":["TYPE_UNKNOWN","PROBE","HARDWARE_KEY","VENDOR_SIGNED"],"description":"Type is the type of the DeviceProof","x-enumDescriptions":{"TYPE_UNKNOWN":"TYPE_UNKNOWN is not used","PROBE":"PROBE means that the Session ran the Probes of its Device's Binding\nand that an identifier issued by the provider resolved to the bound\ninventory entry","HARDWARE_KEY":"HARDWARE_KEY means that the Session authenticated with the\nhardware-backed Authenticator bound to its Device","VENDOR_SIGNED":"VENDOR_SIGNED means that the Session ran the Probes of its Device's\nBinding and presented a valid artifact that the provider signed for\nthe bound inventory entry"}},"octelium.api.main.core.v1.Session.Status.LastConnection":{"type":"object","properties":{"startedAt":{"type":"string","format":"date-time","description":"StartedAt is the timestamp at which the connection started"},"endedAt":{"type":"string","format":"date-time","description":"EndedAt is the timestamp at which the connection ended"}},"additionalProperties":false,"description":"LastConnection is the information of a past connection of the Session"},"octelium.api.main.core.v1.Session.Status.Type":{"type":"string","enum":["TYPE_UNKNOWN","CLIENT","CLIENTLESS"],"description":"Type is the type of the Session","x-enumDescriptions":{"TYPE_UNKNOWN":"TYPE_UNKNOWN is not used","CLIENT":"CLIENT is meant for client-based Sessions (i.e. the octelium client)","CLIENTLESS":"CLIENTLESS is meant for client-less/BeyondCorp-based Sessions"}},"octelium.api.main.core.v1.SessionList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `SessionList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.Session"},"description":"Items is the list of Sessions."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"SessionList is the list of Sessions returned by the ListSession method."},"octelium.api.main.core.v1.User":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `User`)."},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.core.v1.User.Spec","description":"Spec is the User specification."},"status":{"$ref":"#/definitions/octelium.api.main.core.v1.User.Status","description":"Status is the current status of the User."}},"additionalProperties":false,"description":"User is an identity within the Cluster. A User is either a HUMAN who\nauthenticates via the Cluster's IdentityProviders, or a WORKLOAD (e.g. a\ncontainer, a server, a CI job, etc...) which authenticates via its\nCredentials. Users are members of Groups and every successful\nauthentication of a User creates a Session."},"octelium.api.main.core.v1.User.Spec":{"type":"object","properties":{"groups":{"type":"array","items":{"type":"string"},"description":"Groups is the list of Group names that this User belongs to."},"email":{"type":"string","description":"Email sets the default e-mail for the User. It is used for User\nauthentication if the IdentityProvider returns the email value in the\nauthentication information (e.g. OIDC identity tokens, SAML 2.0\nassertions or GitHub OAuth2)."},"type":{"$ref":"#/definitions/octelium.api.main.core.v1.User.Spec.Type","description":"Type is the User's type. It can either be HUMAN or WORKLOAD"},"info":{"$ref":"#/definitions/octelium.api.main.core.v1.User.Spec.Info","description":"Info is the User information. Only used for HUMAN Users currently."},"session":{"$ref":"#/definitions/octelium.api.main.core.v1.User.Spec.Session","description":"Session sets the Session-related options."},"authorization":{"$ref":"#/definitions/octelium.api.main.core.v1.User.Spec.Authorization","description":"Authorization sets the authorization-related configuration"},"isDisabled":{"type":"boolean","description":"IsDisabled de-activates/disables the User. Once disabled, the User\ncannot interact with the Cluster or access its Services until this field\nis set to false again."},"attrs":{"type":"object","description":"Attrs is a map of user-defined attributes, mostly used in authorization\nrules. It is strongly recommended to stick to camelCase in order to be\nconformant with Octelium's API naming conventions."},"authentication":{"$ref":"#/definitions/octelium.api.main.core.v1.User.Spec.Authentication","description":"Authentication sets the authentication-related configuration"}},"additionalProperties":false,"description":"Spec is the User specification"},"octelium.api.main.core.v1.User.Spec.Authentication":{"type":"object","properties":{"identities":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.User.Spec.Authentication.Identity"},"description":"Identities is the list of explicit User identities"},"authenticatorDefaultState":{"$ref":"#/definitions/octelium.api.main.core.v1.Authenticator.Spec.State","description":"AuthenticatorDefaultState is the default state of a newly registered\nAuthenticator. It is typically used to require an explicit approval of\nthe User's Authenticators before they can be used."}},"additionalProperties":false,"description":"Authentication sets how the User authenticates to the Cluster"},"octelium.api.main.core.v1.User.Spec.Authentication.Identity":{"type":"object","properties":{"identityProvider":{"type":"string","description":"IdentityProvider is the IdentityProvider's name."},"identifier":{"type":"string","description":"Identifier is the value that identifies the User account according to\nthe provider. (e.g. the username in the case of Github and Gitlab,\nthe email for Google, OpenID Connect, SAML 2.0, etc...)"}},"additionalProperties":false,"description":"Identity is an identity of the User at a specific IdentityProvider"},"octelium.api.main.core.v1.User.Spec.Authorization":{"type":"object","properties":{"policies":{"type":"array","items":{"type":"string"},"description":"Policies is the list of standalone Policies"},"inlinePolicies":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.InlinePolicy"},"description":"InlinePolicies is the list of inline Policies"}},"additionalProperties":false,"description":"Authorization sets the Policies that are applied to the User"},"octelium.api.main.core.v1.User.Spec.Info":{"type":"object","properties":{"locale":{"type":"string","description":"Locale is the User's locale (e.g. \"en-US\")"},"phone":{"type":"string","description":"Phone is the User's phone number"},"firstName":{"type":"string","description":"FirstName is the User's first/given name"},"middleName":{"type":"string","description":"MiddleName is the User's middle name"},"lastName":{"type":"string","description":"LastName is the User's last/family name"},"website":{"type":"string","description":"Website is the URL of the User's website"},"country":{"type":"string","description":"Country is the User's country"}},"additionalProperties":false,"description":"Info is the personal information of the User"},"octelium.api.main.core.v1.User.Spec.Session":{"type":"object","properties":{"clientDuration":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"ClientDuration sets the Session duration used by clients after which\nthe Session is deemed expired and automatically deleted by the\nCluster."},"clientlessDuration":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"ClientlessDuration sets the Session duration for the\nclient-less/BeyondCorp mode after which the Session is deemed expired\nand automatically deleted by the Cluster."},"accessTokenDuration":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"AccessTokenDuration sets the access token duration"},"refreshTokenDuration":{"$ref":"#/definitions/octelium.api.main.meta.v1.Duration","description":"RefreshTokenDuration sets the refresh token duration"},"maxPerUser":{"type":"integer","format":"uint32","minimum":0,"description":"MaxPerUser sets the max number of Sessions per User"},"defaultState":{"$ref":"#/definitions/octelium.api.main.core.v1.Session.Spec.State","description":"DefaultState is the default state of a newly created Session"}},"additionalProperties":false,"description":"Session sets the options of the Sessions created for the User"},"octelium.api.main.core.v1.User.Spec.Type":{"type":"string","enum":["TYPE_UNKNOWN","HUMAN","WORKLOAD"],"description":"Type is the type of the User","x-enumDescriptions":{"TYPE_UNKNOWN":"TYPE_UNKNOWN is reserved. Not used by any User.","HUMAN":"HUMAN means that the User is used by a human.","WORKLOAD":"WORKLOAD means that the User is used by a workload (e.g. container,\npod, sdk, server, etc...)"}},"octelium.api.main.core.v1.User.Status":{"type":"object","properties":{"ext":{"type":"object","additionalProperties":{"type":"object"},"description":"Ext is a map of internal Cluster-managed extension data."},"identityProviderRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"IdentityProviderRef is the reference of the IdentityProvider that\nprovisioned the User."},"isLocked":{"type":"boolean","description":"IsLocked indicates whether the User is locked by the Cluster."}},"additionalProperties":false,"description":"Status is the current status of the User"},"octelium.api.main.core.v1.UserList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version (i.e. \"core/v1\")"},"kind":{"type":"string","description":"Kind is the resource name (i.e. `UserList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.core.v1.User"},"description":"Items is the list of Users."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false,"description":"UserList is the list of Users returned by the ListUser method."},"octelium.api.main.meta.v1.CommonListOptions":{"type":"object","properties":{"page":{"type":"integer","format":"uint32","minimum":0,"description":"Page is the page number, starts at zero."},"itemsPerPage":{"type":"integer","format":"uint32","minimum":0,"description":"ItemsPerPage is the items per page"},"orderBy":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions.OrderBy","description":"OrderBy orders the list"}},"additionalProperties":false,"description":"CommonListOptions is the listing options that are common to every List\nrequest."},"octelium.api.main.meta.v1.CommonListOptions.OrderBy":{"type":"object","properties":{"type":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions.OrderBy.Type","description":"Type is the field by which the list is ordered"},"mode":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions.OrderBy.Mode","description":"Mode is the direction in which the list is ordered"}},"additionalProperties":false,"description":"OrderBy sets the ordering of the returned list"},"octelium.api.main.meta.v1.CommonListOptions.OrderBy.Mode":{"type":"string","enum":["MODE_UNSET","ASC","DESC"],"description":"Mode is the direction in which the list is ordered","x-enumDescriptions":{"MODE_UNSET":"MODE_UNSET falls back to the default direction","ASC":"ASC orders the list in an ascending order","DESC":"DESC orders the list in a descending order"}},"octelium.api.main.meta.v1.CommonListOptions.OrderBy.Type":{"type":"string","enum":["TYPE_UNSET","NAME","CREATED_AT"],"description":"Type is the field by which the list is ordered","x-enumDescriptions":{"TYPE_UNSET":"TYPE_UNSET falls back to the default behavior which is to order the\nlist by the creation date.","NAME":"NAME orders the list by the objects' names","CREATED_AT":"CREATED_AT orders the list by the objects' creation dates"}},"octelium.api.main.meta.v1.DeleteOptions":{"type":"object","properties":{"uid":{"type":"string","description":"UID is the object's UID."},"name":{"type":"string","description":"Name is the object name that needs to be deleted. Either the name or the\nUID must be used."}},"additionalProperties":false,"description":"DeleteOptions is the request of the Delete methods. The object to be deleted\nis identified by either its UID or its name."},"octelium.api.main.meta.v1.DualStackIP":{"type":"object","properties":{"ipv4":{"type":"string","description":"IPv4 is the IPv4 address."},"ipv6":{"type":"string","description":"IPv6 is the IPv6 address."}},"additionalProperties":false,"description":"DualStackIP is a pair of an IPv4 and an IPv6 address."},"octelium.api.main.meta.v1.DualStackNetwork":{"type":"object","properties":{"v4":{"type":"string","description":"V4 is the IPv4 network address represented as CIDR notation IP address\nand prefix length (e.g. `192.0.2.0/24`)."},"v6":{"type":"string","description":"V6 is the IPv6 network address represented as CIDR notation IP address\nand prefix length (e.g. `2001:db8::/32`)."}},"additionalProperties":false,"description":"DualStackNetwork is a pair of an IPv4 and an IPv6 network range."},"octelium.api.main.meta.v1.Duration":{"type":"object","properties":{"milliseconds":{"type":"integer","format":"uint32","minimum":0,"description":"Milliseconds is the duration set in milliseconds","x-oneof":"type"},"seconds":{"type":"integer","format":"uint32","minimum":0,"description":"Seconds is the duration set in seconds","x-oneof":"type"},"minutes":{"type":"integer","format":"uint32","minimum":0,"description":"Minutes is the duration set in minutes","x-oneof":"type"},"hours":{"type":"integer","format":"uint32","minimum":0,"description":"Hours is the duration set in hours","x-oneof":"type"},"days":{"type":"integer","format":"uint32","minimum":0,"description":"Days is the duration set in days","x-oneof":"type"},"weeks":{"type":"integer","format":"uint32","minimum":0,"description":"Weeks is the duration set in weeks","x-oneof":"type"},"months":{"type":"integer","format":"uint32","minimum":0,"description":"Months is the duration set in months","x-oneof":"type"}},"additionalProperties":false,"description":"Duration is a length of time that is expressed in a single unit of choice.\nExactly one of the units is set (e.g. `seconds: 30`).","x-oneofs":{"type":["milliseconds","seconds","minutes","hours","days","weeks","months"]}},"octelium.api.main.meta.v1.GetOptions":{"type":"object","properties":{"uid":{"type":"string","description":"UID is the object's UID"},"name":{"type":"string","description":"Name is the object's name"}},"additionalProperties":false,"description":"GetOptions is the request of the Get methods. The object to be retrieved is\nidentified by either its UID or its name."},"octelium.api.main.meta.v1.ListResponseMeta":{"type":"object","properties":{"page":{"type":"integer","format":"uint32","minimum":0,"description":"Page is the page number. Starts with zero."},"itemsPerPage":{"type":"integer","format":"uint32","minimum":0,"description":"ItemsPerPage is the number of items per page."},"totalCount":{"type":"integer","format":"uint32","minimum":0,"description":"TotalCount is the total count of items that can be obtained."},"hasMore":{"type":"boolean","description":"HasMore shows whether a next page is available"}},"additionalProperties":false,"description":"ListResponseMeta is the pagination information that is common to every List\nresponse."},"octelium.api.main.meta.v1.Metadata":{"type":"object","properties":{"uid":{"type":"string","description":"UID is the unique UUID value for the object assigned by the Cluster.\nRead-only."},"name":{"type":"string","description":"Name is the name of the object. It must be unique within a certain\nAPI/Version/Kind tuple."},"createdAt":{"type":"string","format":"date-time","description":"CreatedAt is the timestamp of creation of the object. Read-only."},"updatedAt":{"type":"string","format":"date-time","description":"UpdatedAt is the timestamp of when the object was last updated.\nRead-only."},"displayName":{"type":"string","description":"DisplayName is the name that can be shown publicly for the object. Doesn't\nneed to be unique."},"description":{"type":"string","description":"Description is used to describe the object in a short sentence. Maximum\ncharacters are 1000."},"labels":{"type":"object","additionalProperties":{"type":"string"},"description":"Labels is a map of string keys and values to organize objects."},"tags":{"type":"array","items":{"type":"string"},"description":"Tags is an optional array of tags that classify the Resource."},"annotations":{"type":"object","additionalProperties":{"type":"string"},"description":"Annotations is a map of string keys and values that can be used to store\narbitrary metadata about the object."},"picURL":{"type":"string","description":"PicURL is the Picture URL of the resource."},"resourceVersion":{"type":"string","description":"ResourceVersion is a unique ID that represent the current version of the\nresource object. Used by the Cluster to detect updates."},"lastResourceVersion":{"type":"string","description":"LastResourceVersion is the ResourceVersion of the last update of the\nResource."},"actorRef":{"$ref":"#/definitions/octelium.api.main.meta.v1.ObjectReference","description":"ActorRef is the object reference to the Actor resource, typically a\nSession, who is responsible for the current resource change. If ActorRef is\nnot set, then the current change of the resource was done by the Cluster"},"actorOperation":{"type":"string","description":"ActorOperation is the gRPC full method triggered by the actorRef to modify\nthe Resource"},"isSystem":{"type":"boolean","description":"IsSystem means that the resource is created by the Cluster and it cannot be\nmanaged by the administrators. Read-only."},"specLabels":{"type":"object","additionalProperties":{"type":"string"},"description":"SpecLabels is map used internally by the Cluster for quick searches among\nlists of objects. Read-only."},"isUserHidden":{"type":"boolean","description":"IsUserHidden means that the resource object is hidden from ordinary Users\nand should not be exposed via the User APIs."},"isSystemHidden":{"type":"boolean","description":"IsSystemHidden means that the resource object is hidden by the Cluster and\nshould not be exposed via the APIs."},"systemLabels":{"type":"object","additionalProperties":{"type":"string"},"description":"SystemLabels is a similar map to specLabels. Used only by the Cluster."}},"additionalProperties":false,"description":"Metadata is the metadata that is common to every Cluster resource. It\ncarries the resource's identity (i.e. its UID and name), its\nhuman-readable information as well as the Cluster-managed bookkeeping of the\nresource's versioning and provenance."},"octelium.api.main.meta.v1.ObjectReference":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version of the reference resource"},"kind":{"type":"string","description":"Kind is the resource kind. A kind is unique per an APIVersion."},"uid":{"type":"string","description":"UID is the resource object UID. A UID is unique across the entire Cluster."},"name":{"type":"string","description":"Name is the resource object name. A name is unique per a certain kind."},"resourceVersion":{"type":"string","description":"ResourceVersion is the resourceVersion of the resource."}},"additionalProperties":false,"description":"ObjectReference is a reference to another Cluster resource. It identifies\nthe referenced resource by its kind and either its UID or its name."},"octelium.api.main.meta.v1.OperationResult":{"type":"object","properties":{},"additionalProperties":false,"description":"OperationResult is the response of the methods that return no resource (e.g.\nthe Delete methods). It is intentionally empty."},"octelium.api.main.user.v1.ConnectionState":{"type":"object","properties":{"mtu":{"type":"integer","format":"int32","description":"MTU is the link MTU used at the client side"},"x25519Key":{"type":"string","contentEncoding":"base64","description":"X25519Key is the WireGuard private key used by the client"},"ed25519Key":{"type":"string","contentEncoding":"base64"},"addresses":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.meta.v1.DualStackNetwork"},"description":"Addresses is the list of the dual-stack addresses of the Connection."},"gateways":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.user.v1.Gateway"},"description":"Gateways is the list of the Gateways."},"dns":{"$ref":"#/definitions/octelium.api.main.user.v1.DNS","description":"DNS sets the private DNS information."},"serviceConfigs":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.user.v1.ConnectionState.ServiceConfig"},"description":"ServiceConfigs is the list of Service configs set to the client host"},"l3Mode":{"$ref":"#/definitions/octelium.api.main.user.v1.ConnectionState.L3Mode","description":"L3Mode sets the layer-3 mode approved by the Cluster."},"serviceOptions":{"$ref":"#/definitions/octelium.api.main.user.v1.ConnectionState.ServiceOptions","description":"ServiceOptions is the hosted Service information."},"cidr":{"$ref":"#/definitions/octelium.api.main.meta.v1.DualStackNetwork","description":"CIDR is the Cluster Service CIDR."}},"additionalProperties":false},"octelium.api.main.user.v1.ConnectionState.L3Mode":{"type":"string","enum":["BOTH","V4","V6"],"x-enumDescriptions":{"BOTH":"BOTH approves that the Connection is ready for dual-stack.","V4":"V4 approves that the Connection is ready for IPv4 only.","V6":"V6 approves that the Connection is ready for IPv6 only."}},"octelium.api.main.user.v1.ConnectionState.ServiceConfig":{"type":"object","properties":{"ssh":{"$ref":"#/definitions/octelium.api.main.user.v1.ConnectionState.ServiceConfig.SSH","description":"SSH sets SSH-specific Service config","x-oneof":"type"}},"additionalProperties":false,"x-oneofs":{"type":["ssh"]}},"octelium.api.main.user.v1.ConnectionState.ServiceConfig.SSH":{"type":"object","properties":{"knownHosts":{"type":"array","items":{"type":"string"},"description":"KnownHosts is the list of SSH known hosts"},"authorizedKeys":{"type":"array","items":{"type":"string"},"description":"AuthorizedKeys is the list of SSH authorized keys"}},"additionalProperties":false},"octelium.api.main.user.v1.ConnectionState.ServiceOptions":{"type":"object","properties":{"services":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.user.v1.HostedService"},"description":"HostedServices is the list of hosted Services"}},"additionalProperties":false},"octelium.api.main.user.v1.ConnectRequest":{"type":"object","properties":{"initialize":{"$ref":"#/definitions/octelium.api.main.user.v1.ConnectRequest.Initialize","x-oneof":"type"},"keepAlive":{"$ref":"#/definitions/octelium.api.main.user.v1.ConnectRequest.KeepAlive","x-oneof":"type"}},"additionalProperties":false,"x-oneofs":{"type":["initialize","keepAlive"]}},"octelium.api.main.user.v1.ConnectRequest.Initialize":{"type":"object","properties":{"l3Mode":{"$ref":"#/definitions/octelium.api.main.user.v1.ConnectRequest.Initialize.L3Mode","description":"L3Mode is the layer-3 mode supported by the Connection."},"serviceOptions":{"$ref":"#/definitions/octelium.api.main.user.v1.ConnectRequest.Initialize.ServiceOptions","description":"ServiceOptions sets the hosted Services to be served by the Connection."},"connectionType":{"$ref":"#/definitions/octelium.api.main.user.v1.ConnectRequest.Initialize.ConnectionType","description":"ConnectionType is the connection type"},"publishedServices":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.user.v1.ConnectRequest.Initialize.PublishedService"},"description":"PublishedServices is the list of published Services to the client host"},"ignoreDNS":{"type":"boolean","description":"IgnoreDNS means that the client does not used the Cluster DNS"},"eSSHEnable":{"type":"boolean","description":"EnableESSH enables serving embedded SSH"},"eSSHPort":{"type":"integer","format":"int32","description":"Port is the listen port of the embedded SSH server"},"eSOCKS5Enable":{"type":"boolean"},"eSOCKS5Port":{"type":"integer","format":"int32"}},"additionalProperties":false},"octelium.api.main.user.v1.ConnectRequest.Initialize.ConnectionType":{"type":"string","enum":["UNSET","WIREGUARD","QUICV0"],"x-enumDescriptions":{"UNSET":"UNSET is not used","WIREGUARD":"WIREGUARD means that the connection is WireGuard","QUICV0":"QUICV0 means that the connection is QUICv0"}},"octelium.api.main.user.v1.ConnectRequest.Initialize.L3Mode":{"type":"string","enum":["BOTH","V4","V6"],"x-enumDescriptions":{"BOTH":"BOTH informs the Cluster that the Connection is ready for dual-stack.","V4":"V4 informs the Cluster that the Connection only accepts IPv4.","V6":"V6 informs the Cluster that the Connection only accepts IPv6."}},"octelium.api.main.user.v1.ConnectRequest.Initialize.PublishedService":{"type":"object","properties":{"name":{"type":"string","description":"Name is the Service name"},"port":{"type":"integer","format":"uint32","minimum":0,"description":"Port is the forwarded Service port number on the client host"},"address":{"type":"string","description":"Address is the forwarded Service host address"}},"additionalProperties":false},"octelium.api.main.user.v1.ConnectRequest.Initialize.ServiceOptions":{"type":"object","properties":{"serveAll":{"type":"boolean","description":"ServeAll informs the Cluster that Connection is ready to serve all\nServices that can be hosted by the owner User."},"services":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.user.v1.ConnectRequest.Initialize.ServiceOptions.Service"}},"labelSelector":{"type":"string"},"portStart":{"type":"integer","format":"int32","description":"PortStart informs the Cluster of the initial port number that should be\nused for serving Services."}},"additionalProperties":false},"octelium.api.main.user.v1.ConnectRequest.Initialize.ServiceOptions.Service":{"type":"object","properties":{"name":{"type":"string"}},"additionalProperties":false},"octelium.api.main.user.v1.ConnectRequest.KeepAlive":{"type":"object","properties":{"setAt":{"type":"string","format":"date-time"}},"additionalProperties":false},"octelium.api.main.user.v1.ConnectResponse":{"type":"object","properties":{"createdAt":{"type":"string","format":"date-time"},"addGateway":{"$ref":"#/definitions/octelium.api.main.user.v1.ConnectResponse.AddGateway","description":"AddGateway is the event to add a Gateway.","x-oneof":"Event"},"updateGateway":{"$ref":"#/definitions/octelium.api.main.user.v1.ConnectResponse.UpdateGateway","description":"UpdateGateway is the event to update a Gateway.","x-oneof":"Event"},"deleteGateway":{"$ref":"#/definitions/octelium.api.main.user.v1.ConnectResponse.DeleteGateway","description":"DeleteGateway is the event to delete a Gateway.","x-oneof":"Event"},"updateDNS":{"$ref":"#/definitions/octelium.api.main.user.v1.ConnectResponse.UpdateDNS","description":"UpdateDNS is the event to update DNS.","x-oneof":"Event"},"message":{"$ref":"#/definitions/octelium.api.main.user.v1.ConnectResponse.Message","description":"Message is the event to receive a custom message from the Cluster.","x-oneof":"Event"},"disconnect":{"$ref":"#/definitions/octelium.api.main.user.v1.ConnectResponse.Disconnect","description":"Disconnect is the event to disconnect from the Cluster.","x-oneof":"Event"},"addService":{"$ref":"#/definitions/octelium.api.main.user.v1.ConnectResponse.AddService","description":"AddService is the event to add a hosted Service.","x-oneof":"Event"},"updateService":{"$ref":"#/definitions/octelium.api.main.user.v1.ConnectResponse.UpdateService","description":"UpdateService is the event to update a hosted Service.","x-oneof":"Event"},"deleteService":{"$ref":"#/definitions/octelium.api.main.user.v1.ConnectResponse.DeleteService","description":"DeleteService is the event to delete a hosted Service.","x-oneof":"Event"},"state":{"$ref":"#/definitions/octelium.api.main.user.v1.ConnectionState","description":"State is the event that sends the entire state of the Connection.","x-oneof":"Event"}},"additionalProperties":false,"x-oneofs":{"Event":["addGateway","updateGateway","deleteGateway","updateDNS","message","disconnect","addService","updateService","deleteService","state"]}},"octelium.api.main.user.v1.ConnectResponse.AddGateway":{"type":"object","properties":{"gateway":{"$ref":"#/definitions/octelium.api.main.user.v1.Gateway","description":"Gateway is the added Gateway."}},"additionalProperties":false},"octelium.api.main.user.v1.ConnectResponse.AddService":{"type":"object","properties":{"service":{"$ref":"#/definitions/octelium.api.main.user.v1.HostedService","description":"Service is the hosted Service that needs to be added."}},"additionalProperties":false},"octelium.api.main.user.v1.ConnectResponse.DeleteGateway":{"type":"object","properties":{"id":{"type":"string","description":"ID is the ID of the Gateway that needs to be deleted."}},"additionalProperties":false},"octelium.api.main.user.v1.ConnectResponse.DeleteService":{"type":"object","properties":{"name":{"type":"string","description":"Name is the name of the Service that needs to be deleted."}},"additionalProperties":false},"octelium.api.main.user.v1.ConnectResponse.Disconnect":{"type":"object","properties":{"message":{"type":"string","description":"Message is an optional message from the Cluster upon disconnect.\nCurrrently not used."}},"additionalProperties":false},"octelium.api.main.user.v1.ConnectResponse.Message":{"type":"object","properties":{"message":{"type":"string","description":"Message is a custom message from the Cluster."}},"additionalProperties":false},"octelium.api.main.user.v1.ConnectResponse.UpdateDNS":{"type":"object","properties":{"dns":{"$ref":"#/definitions/octelium.api.main.user.v1.DNS","description":"DNS is the DNS information."}},"additionalProperties":false},"octelium.api.main.user.v1.ConnectResponse.UpdateGateway":{"type":"object","properties":{"gateway":{"$ref":"#/definitions/octelium.api.main.user.v1.Gateway","description":"Gateway is the updated Gateway."}},"additionalProperties":false},"octelium.api.main.user.v1.ConnectResponse.UpdateService":{"type":"object","properties":{"service":{"$ref":"#/definitions/octelium.api.main.user.v1.HostedService","description":"Service is the hosted Service that needs to be updated."}},"additionalProperties":false},"octelium.api.main.user.v1.DisconnectRequest":{"type":"object","properties":{},"additionalProperties":false},"octelium.api.main.user.v1.DisconnectResponse":{"type":"object","properties":{},"additionalProperties":false},"octelium.api.main.user.v1.DNS":{"type":"object","properties":{"servers":{"type":"array","items":{"type":"string"},"description":"Servers is the list of the Cluster private DNS servers."}},"additionalProperties":false},"octelium.api.main.user.v1.Gateway":{"type":"object","properties":{"id":{"type":"string","description":"ID is the Gateway's ID."},"addresses":{"type":"array","items":{"type":"string"},"description":"Addresses is the list of the Gateway's public addresses."},"CIDRs":{"type":"array","items":{"type":"string"},"description":"CIDRs is the list of Gateway CIDRs."},"hostname":{"type":"string"},"wireguard":{"$ref":"#/definitions/octelium.api.main.user.v1.Gateway.WireGuard"},"quicv0":{"$ref":"#/definitions/octelium.api.main.user.v1.Gateway.QUICV0"}},"additionalProperties":false},"octelium.api.main.user.v1.Gateway.QUICV0":{"type":"object","properties":{"port":{"type":"integer","format":"int32","description":"Port is the Gateway's QUICv0 port."},"keepAliveSeconds":{"type":"integer","format":"int32"}},"additionalProperties":false},"octelium.api.main.user.v1.Gateway.WireGuard":{"type":"object","properties":{"port":{"type":"integer","format":"int32","description":"Port is the Gateway's WireGuard port."},"publicKey":{"type":"string","description":"PublicKey is the Gateway's WireGuard curve25519 public key."},"keepAliveSeconds":{"type":"integer","format":"int32","description":"CIDRs is the list of Gateway CIDRs.\nKeepAliveSeconds is the number of seconds to periodically send\nWireGuard's keepalive packets."}},"additionalProperties":false},"octelium.api.main.user.v1.GetStatusRequest":{"type":"object","properties":{},"additionalProperties":false},"octelium.api.main.user.v1.GetStatusResponse":{"type":"object","properties":{"domain":{"type":"string"},"cluster":{"$ref":"#/definitions/octelium.api.main.user.v1.GetStatusResponse.Cluster","description":"Cluster is the Cluster's information."},"user":{"$ref":"#/definitions/octelium.api.main.user.v1.GetStatusResponse.User","description":"User is the User's information."},"session":{"$ref":"#/definitions/octelium.api.main.user.v1.GetStatusResponse.Session","description":"Session is the Session's information."}},"additionalProperties":false},"octelium.api.main.user.v1.GetStatusResponse.Cluster":{"type":"object","properties":{"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata"}},"additionalProperties":false},"octelium.api.main.user.v1.GetStatusResponse.Session":{"type":"object","properties":{"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata"},"spec":{"$ref":"#/definitions/octelium.api.main.user.v1.GetStatusResponse.Session.Spec"},"status":{"$ref":"#/definitions/octelium.api.main.user.v1.GetStatusResponse.Session.Status"}},"additionalProperties":false},"octelium.api.main.user.v1.GetStatusResponse.Session.Spec":{"type":"object","properties":{},"additionalProperties":false},"octelium.api.main.user.v1.GetStatusResponse.Session.Status":{"type":"object","properties":{"type":{"$ref":"#/definitions/octelium.api.main.user.v1.GetStatusResponse.Session.Status.Type"},"isConnected":{"type":"boolean"}},"additionalProperties":false},"octelium.api.main.user.v1.GetStatusResponse.Session.Status.Type":{"type":"string","enum":["UNKNOWN","CLIENT","CLIENTLESS"],"x-enumDescriptions":{"CLIENT":"CLIENT is meant for client-based Sessions (i.e. the octelium client)","CLIENTLESS":"CLIENTLESS is meant for client-less/BeyondCorp-based Sessions"}},"octelium.api.main.user.v1.GetStatusResponse.User":{"type":"object","properties":{"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata"},"spec":{"$ref":"#/definitions/octelium.api.main.user.v1.GetStatusResponse.User.Spec"},"status":{"$ref":"#/definitions/octelium.api.main.user.v1.GetStatusResponse.User.Status"}},"additionalProperties":false},"octelium.api.main.user.v1.GetStatusResponse.User.Spec":{"type":"object","properties":{"email":{"type":"string"},"type":{"$ref":"#/definitions/octelium.api.main.user.v1.GetStatusResponse.User.Spec.Type"}},"additionalProperties":false},"octelium.api.main.user.v1.GetStatusResponse.User.Spec.Type":{"type":"string","enum":["TYPE_UNKNOWN","HUMAN","WORKLOAD"],"x-enumDescriptions":{"TYPE_UNKNOWN":"TYPE_UNKNOWN is reserved. Not used by any User.","HUMAN":"HUMAN means that the User is used by a human.","WORKLOAD":"WORKLOAD means that the User is used by a workload (e.g. container,\npod, sdk, server, etc...)"}},"octelium.api.main.user.v1.GetStatusResponse.User.Status":{"type":"object","properties":{},"additionalProperties":false},"octelium.api.main.user.v1.HostedService":{"type":"object","properties":{"name":{"type":"string","description":"Name is the name of the hosted Service."},"port":{"type":"integer","format":"uint32","minimum":0,"description":"Port is the Service's port."},"l4Type":{"$ref":"#/definitions/octelium.api.main.user.v1.HostedService.L4Type","description":"L4Type is the layer-4 type of the Service."},"upstream":{"$ref":"#/definitions/octelium.api.main.user.v1.HostedService.Upstream","description":"Upstream is the listener upstream's information."},"address":{"$ref":"#/definitions/octelium.api.main.meta.v1.DualStackIP","description":"Address is the dual-stack address of the Service. It can be null for\nupstreams listening on 0.0.0.0 or the Connection addresses."},"mode":{"$ref":"#/definitions/octelium.api.main.user.v1.HostedService.Mode","description":"Mode is the hosted Service mode"}},"additionalProperties":false},"octelium.api.main.user.v1.HostedService.L4Type":{"type":"string","enum":["L4_UNKNOWN","TCP","UDP"],"x-enumDescriptions":{"L4_UNKNOWN":"L4_UNKNOWN is not used","TCP":"TCP means that the Service is TCP-based","UDP":"UDP means that the Service is UDP-based"}},"octelium.api.main.user.v1.HostedService.Mode":{"type":"string","enum":["MODE_UNSET","MODE_DEFAULT","MODE_ESSH"],"x-enumDescriptions":{"MODE_UNSET":"MODE_UNSET is not used","MODE_DEFAULT":"MODE_DEFAULT means that the hosted Service is served by an upstream","MODE_ESSH":"MODE_ESSH means that the host Service is served by the embedded SSH\nserver"}},"octelium.api.main.user.v1.HostedService.Upstream":{"type":"object","properties":{"host":{"type":"string","description":"Host is the upstream host"},"port":{"type":"integer","format":"int32","description":"Port is the upstream listen port"}},"additionalProperties":false},"octelium.api.main.user.v1.ListNamespaceOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions"}},"additionalProperties":false},"octelium.api.main.user.v1.ListServiceOptions":{"type":"object","properties":{"common":{"$ref":"#/definitions/octelium.api.main.meta.v1.CommonListOptions"},"namespace":{"type":"string"},"type":{"$ref":"#/definitions/octelium.api.main.user.v1.Service.Spec.Type"}},"additionalProperties":false},"octelium.api.main.user.v1.Namespace":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata","description":"Metadata is the object's metadata."},"spec":{"$ref":"#/definitions/octelium.api.main.user.v1.Namespace.Spec","description":"Spec is the Namespace specification."},"status":{"$ref":"#/definitions/octelium.api.main.user.v1.Namespace.Status","description":"Status is the current status of the Namespace."}},"additionalProperties":false},"octelium.api.main.user.v1.Namespace.Spec":{"type":"object","properties":{},"additionalProperties":false},"octelium.api.main.user.v1.Namespace.Status":{"type":"object","properties":{},"additionalProperties":false},"octelium.api.main.user.v1.NamespaceList":{"type":"object","properties":{"apiVersion":{"type":"string","description":"APIVersion is the API version of the object."},"kind":{"type":"string","description":"Kind is the resource name (i.e. `NamespaceList`)."},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.user.v1.Namespace"},"description":"Items is the list of Namespaces."},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false},"octelium.api.main.user.v1.Service":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"metadata":{"$ref":"#/definitions/octelium.api.main.meta.v1.Metadata"},"spec":{"$ref":"#/definitions/octelium.api.main.user.v1.Service.Spec"},"status":{"$ref":"#/definitions/octelium.api.main.user.v1.Service.Status"}},"additionalProperties":false},"octelium.api.main.user.v1.Service.Spec":{"type":"object","properties":{"port":{"type":"integer","format":"uint32","minimum":0,"description":"Port is the Service listen port"},"type":{"$ref":"#/definitions/octelium.api.main.user.v1.Service.Spec.Type","description":"Type is the Service tpye"},"isTLS":{"type":"boolean","description":"IsTLS shows whether the Service is listening over TLS"},"isPublic":{"type":"boolean","description":"IsPublic means that the Service is publicly exposed and can be accessed\nvia the client-less/BeyondCorp mode"}},"additionalProperties":false},"octelium.api.main.user.v1.Service.Spec.Type":{"type":"string","enum":["UNSET","TCP","UDP","HTTP","SSH","KUBERNETES","POSTGRES","MYSQL","GRPC","WEB","DNS","SOCKS5","RDP_WEB","MCP","LLM","RDP"]},"octelium.api.main.user.v1.Service.Status":{"type":"object","properties":{"namespace":{"type":"string","description":"Namespace is the Service's Namespace"},"addresses":{"type":"array","items":{"type":"string"},"description":"Addresses is the list of private addresses used by the Service"},"primaryHostname":{"type":"string","description":"PrimaryHostname is the unique primary hostname"}},"additionalProperties":false},"octelium.api.main.user.v1.ServiceList":{"type":"object","properties":{"apiVersion":{"type":"string"},"kind":{"type":"string"},"items":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.user.v1.Service"}},"listResponseMeta":{"$ref":"#/definitions/octelium.api.main.meta.v1.ListResponseMeta","description":"ListResponseMeta is common information about the list."}},"additionalProperties":false},"octelium.api.main.user.v1.SetServiceConfigsRequest":{"type":"object","properties":{"name":{"type":"string","description":"Name is the Service name"}},"additionalProperties":false},"octelium.api.main.user.v1.SetServiceConfigsResponse":{"type":"object","properties":{"configs":{"type":"array","items":{"$ref":"#/definitions/octelium.api.main.user.v1.SetServiceConfigsResponse.Config"},"description":"Configs is the list of configurations needed to be set at the client side\nto use the Service"},"host":{"type":"string"},"port":{"type":"integer","format":"int32"},"l3Mode":{"$ref":"#/definitions/octelium.api.main.user.v1.SetServiceConfigsResponse.L3Mode"}},"additionalProperties":false},"octelium.api.main.user.v1.SetServiceConfigsResponse.Config":{"type":"object","properties":{"kubeconfig":{"$ref":"#/definitions/octelium.api.main.user.v1.SetServiceConfigsResponse.Config.Kubeconfig","description":"Kubeconfig sets kubeconfig-specific configurations","x-oneof":"type"},"ssh":{"$ref":"#/definitions/octelium.api.main.user.v1.SetServiceConfigsResponse.Config.SSH","x-oneof":"type"}},"additionalProperties":false,"x-oneofs":{"type":["kubeconfig","ssh"]}},"octelium.api.main.user.v1.SetServiceConfigsResponse.Config.Kubeconfig":{"type":"object","properties":{"content":{"type":"string","contentEncoding":"base64","description":"Content is the kubeconfig content"}},"additionalProperties":false},"octelium.api.main.user.v1.SetServiceConfigsResponse.Config.SSH":{"type":"object","properties":{"knownHosts":{"type":"array","items":{"type":"string"},"description":"KnownHosts is the list of SSH known hosts"},"authorizedKeys":{"type":"array","items":{"type":"string"},"description":"AuthorizedKeys is the list of SSH authorized keys"}},"additionalProperties":false},"octelium.api.main.user.v1.SetServiceConfigsResponse.L3Mode":{"type":"string","enum":["BOTH","V4","V6"]}}}
|