AcceptDriftFindingsRequest
Run-scoped finding keys "<run_id>_<finding_id>" of one target's latest finished drift check.
Why the findings are expected, up to 1000 characters.
When the acceptance ends. Must be in the future. Leave it out and set no_end_date to accept with no end date.
Accept with no end date, as the new normal. Exactly one of until and no_end_date is set.
AcceptDriftFindingsResponse
AccessImpact
Effect of successful execution on inspected existing MariaDB databases and global privileges. Unknown assessments block confirmation. Sessions describes cached privilege protection over every execution prefix. Removed patterns change grant coverage for future databases, separately from the enumerated existing databases. Runtime failures require a fresh access check.
preservedreducedunknownpreservedclosedunknownAccessOrigin
Where a row of a rule came from: written in the rule, materialized from its template, or imported from the live account at adoption or by the one-off import after an upgrade. An imported row is part of the desired state like any other row.
ruletemplateimportedAccessProfileAccountResponse
AccessProfileBlockerResponse
AccessProfileResponse
lowhighsuggestedadoptingadopteddismissedstaleName to give the rule template adopted from this profile, after the access it grants (for example "Read access to billing"). Never contains the profile signature.
AccessTemplateBulkApplyConfirmRequest
AccessTemplateBulkApplyConfirmResponse
AccessTemplateBulkApplyGrantResponse
AccessTemplateBulkApplyItemResponse
Safe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.
Whether this operation has finished.
Final operation result, or null while the operation is active.
successfailurecancelledpartialwould_create would_reuse conflictblockedcreatedreusedfailedwould_upgrade upgradedappliedapply_failed What the preview of a template rule update saw of the rule: the rule (direct or group rule. The item's policy_id fields stay empty for a rule update), the rule version the update is pinned to (a rule that changed since is left as it was), the template version the rule used and its grants before the update, and whether its future objects setting is on, before and after the update.
AccessTemplateBulkApplyItemUpgradeResponse
What the preview of a template rule update saw of the rule: the rule (direct or group rule. The item's policy_id fields stay empty for a rule update), the rule version the update is pinned to (a rule that changed since is left as it was), the template version the rule used and its grants before the update, and whether its future objects setting is on, before and after the update.
The rule's name as the rule list shows it when the preview read the rule. A preview names every rule it lists. Absent for an update the release before previewed.
The name of the rule's target when the preview read the rule. Absent for an update the release before previewed.
Whether the rule's future objects setting is on before the update, as the rule page shows it. The engine extends to objects created later only the grants it can (PostgreSQL: a grant on every object of a kind in a schema).
Whether the rule's future objects setting is on after the update. A template version can change it with the same grants. False for a rule the update would refuse.
AccessTemplateBulkApplyPreviewRequest
create_only create_and_apply Typed placement for Kubernetes templates: required for shared_by_template_v1 ones, optional for isolated ones (overrides the namespaces of the template body), rejected for other engines. Namespaces are trimmed, deduplicated and sorted.
AccessTemplateBulkApplyPreviewResponse
AccessTemplateBulkApplyRunDetailResponse
AccessTemplateBulkApplyRunResponse
Whether this operation has finished.
Final operation result, or null while the operation is active.
successfailurecancelledpartialSafe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.
Qualifies the status and outcome of an operation where they alone would hide what the operator must know. Null when none applies.
rollback_in_progress rolled_back needs_repair outcome_unknown interruptedrequires_approval holds_lock awaiting_confirmation expiredtimed_out rescheduledcreate_only create_and_apply upgrade_and_apply Where a background operation is in the shared lifecycle (decision S1). outcome says how a finished operation ended and substate qualifies the state.
queuedrunningfinishedTyped Kubernetes placement of the run, echoed from the preview request.
Resolved target selector of a bulk apply run, echoed back by preview and confirm responses. Mirrors the request selector shape without request-only validation rules.
AccessTemplateResponse
TTL the rule wizard offers for this template, an ISO 8601 duration.
Key of the template. Rules, versions and every /access-templates/{name} path refer to the template by it, and a rename never changes it.
Name people see, the same for every version. Equals name until someone renames the template with PATCH /access-templates/{name}.
Longest TTL a rule of this template may ask for (L-14), an ISO 8601 duration.
How many rules of the caller organization use the template, any version, counted the way a refused delete counts them. Present only in GET, PUT and PATCH /access-templates/{name}.
The first row of a PostgreSQL rule or template that names its objects by name or by a name mask while Future objects are on. Future objects reach only a row on every object of its kind in a schema, so the switch reaches none of these objects. Only a rule or template saved before Principal refused such a save carries it, and its next save is refused until Future objects are off or the row covers every object of its kind. A rule carries it in every read. A template only in GET /access-templates/{name} and the version read.
AccessTemplateRuleUpgradeApplyResponse
The apply job of one rule the update waits for: its state, its attempts and, after a failed attempt the queue retries, when the next one may start and why the last one failed.
Where a background operation is in the shared lifecycle (decision S1). outcome says how a finished operation ended and substate qualifies the state.
queuedrunningfinishedFinal operation result, or null while the operation is active.
successfailurecancelledpartialSafe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.
AccessTemplateRuleUpgradeLatestResponse
The latest update of a template's rules in the organization.
The update. Null while the rules of the template were never updated.
The apply job of one rule the update waits for: its state, its attempts and, after a failed attempt the queue retries, when the next one may start and why the last one failed.
Rules a finished update did not apply that were deleted since or no longer use the template. Retry failed rules (a preview with their policy_ids) does not take them in, so the result no longer offers it for them.
AccessTemplateRuleUpgradePreviewRequest
Rules to preview again from their current state, such as the failed rules of the last update. Empty: every rule of the organization on an older version of the template. The rules the last update left unapplied are previewed either way.
ActionCountsDTO
ActivityActionsResponse
Actions the caller may offer on the row. Viewers get none. The action route still decides and answers 409 when the operation changed meanwhile.
ActivityAttemptResponse
Final operation result, or null while the operation is active.
successfailurecancelledpartialPause between the end of the previous attempt and the start of this one.
ActivityBellResponse
When the person last marked results as seen. Null before the first time.
ActivityChartBucket
Successful operations and events.
Failed operations and events, and the ones that ended with a warning or partly.
Events that Principal denied.
Operations that still run or wait for a decision.
Drift signals.
ActivityChartResponse
Start of the first bucket, at or before the requested from.
End of the last bucket, at or after the requested to.
ActivityFacetValueResponse
Name of the person or object. Null for other filters and for objects that are gone.
ActivityInitiatorResponse
Who or what started the operation. person is set whenever a person stands behind it, also when another operation started it on their behalf. parent_operation_id is set when another operation started it.
personoperationschedulesystemActivityLogEntryResponse
Key of the stage that logged the line, the same as the key of the step.
infowarnerrorActivityObjectResponse
An object of an operation as the product names it. Name is null when the object is gone.
targetruleconnectorapplicationActivityOperationDetailResponse
Operation ID, the same as the job ID.
discoverydrift_check applybulk_apply bulksyncremediationcleanuptarget_delete maintenancerunningsucceededpartialneeds_decision failedcancelledAn object of an operation as the product names it. Name is null when the object is gone.
Other objects of the operation, such as the target of a rule apply.
Who or what started the operation. person is set whenever a person stands behind it, also when another operation started it on their behalf. parent_operation_id is set when another operation started it.
Finished successfully and started by nobody, such as a scheduled check that went fine.
Failed, will not retry by itself and no later run of the same operation on the same object finished after it. A later run that ends with a problem needs action instead of this one.
Stages of the latest attempt in the order the worker runs them. Empty for operations whose worker does not record stages and for runs recorded before stages existed.
Safe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.
Number of operations this operation started.
Actions the caller may offer on the row. Viewers get none. The action route still decides and answers 409 when the operation changed meanwhile.
Operations this operation started, newest first, at most 100.
Median duration of the last 20 successful runs of the same operation on the same object in the organization. Null until at least 3 such runs exist and for operations without an object, such as bulk runs. Each stage carries its own typical_ms.
Time between queueing and the start of the first attempt, including a wait for a busy target or lock that put the attempt back in the queue. Null before the first attempt started.
Every attempt the worker made, oldest first, with the pause before it and its stages. A stage keeps the stages of the last 5 attempts.
ActivityOperationFacetsResponse
ActivityOperationItemResponse
resourceruleidentitymembershipcleanupoperationstageWhat the item is about when it is not a product object, such as a database resource.
An object of an operation as the product names it. Name is null when the object is gone.
What was done, such as grant, revoke, apply or a sync stage.
runningdonepartialwarningfailedskippedSafe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.
The operation of the item when another operation did it.
ActivityOperationItemsResponse
ActivityOperationLogResponse
ActivityOperationResponse
Operation ID, the same as the job ID.
discoverydrift_check applybulk_apply bulksyncremediationcleanuptarget_delete maintenancerunningsucceededpartialneeds_decision failedcancelledAn object of an operation as the product names it. Name is null when the object is gone.
Other objects of the operation, such as the target of a rule apply.
Who or what started the operation. person is set whenever a person stands behind it, also when another operation started it on their behalf. parent_operation_id is set when another operation started it.
Finished successfully and started by nobody, such as a scheduled check that went fine.
Failed, will not retry by itself and no later run of the same operation on the same object finished after it. A later run that ends with a problem needs action instead of this one.
Stages of the latest attempt in the order the worker runs them. Empty for operations whose worker does not record stages and for runs recorded before stages existed.
Safe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.
Number of operations this operation started.
Actions the caller may offer on the row. Viewers get none. The action route still decides and answers 409 when the operation changed meanwhile.
ActivityPersonResponse
Display name, email or username. Null when the identity is gone.
True for a service account or a service identity.
ActivityStepFactResponse
One thing a stage counted, such as the roles it read or the changes that failed.
warning or failed when a non-zero value needs a look.
neutralwarningfailedActivityStepResponse
Safe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.
Final operation result, or null while the operation is active.
successfailurecancelledpartialpendingrunningcompletedfailedskippedStable stage key, such as read_accounts or apply_changes. Null for stages recorded without one.
What the stage does, did or will do in one sentence, or why it did not finish. Built from the stage and its status, never from target output.
Median duration of this stage in the earlier successful runs of the same operation on the same object. Only in the operation detail and only from 3 runs.
AddGroupMemberRequest
AdminHealthComponentResponse
Sanitized health observation for one bounded installation component.
postgresqlopenbaodex_management admission_controller scheduler_jobs audit_pipeline dependenciesworkflowshealthydegradedunhealthyunknowncriticaloptionalactive_probe durable_state nonenot_checked not_configured not_separately_observable timeoutunavailablecollection_failed no_activity attention_required AdminHealthMetricResponse
Bounded numeric measurement for an installation component.
queue_depth_pending queue_depth_queued queue_depth_running runnable_depth oldest_runnable_age_seconds terminal_completed terminal_failed terminal_timeout terminal_total terminal_failure_ratio admission_ingress_mutations_total admission_ingress_decode_failures_total admission_token_reviews_authenticated_total admission_token_reviews_unauthenticated_total admission_token_reviews_failed_total admission_tls_cert_valid_days dex_connectors_total dex_clients_total audit_failed_intents_total audit_events_recorded_total audit_events_denied_total AdminHealthResponse
Latest immutable installation health snapshot.
healthydegradedunhealthyunknownCounts of enabled installation components by current state.
AdminHealthSummaryResponse
Counts of enabled installation components by current state.
AdoptAccessProfileIdentityMappingRequest
Legacy existing identity mapping. Prefer identity.
Discriminated by mode. When mode=existing, only identity_id is read. When mode=create_static, external_id and display_name are required and the server creates a service-kind identity carrying adoption metadata before linking the target account.
AdoptAccessProfileRequest
Required when adopting a high-risk profile. Must be bound to the reviewed canonical signature.
Canonical grant signature the operator reviewed for high-risk or skipped-account adoption.
Account-set signature the operator reviewed. Rejects stale dialogs after analysis changes the account set.
Required when the recommendation includes skipped accounts that will remain unmanaged.
Name for the access template created by the adoption job.
Optional description for the access template created by the adoption job.
AdoptAccessProfileResponse
AdoptApplicationsRequest
Kubernetes target (cluster) where the discovery found the Ingresses
AdoptApplicationsResponse
AdoptIdentitySpec
Discriminated by mode. When mode=existing, only identity_id is read. When mode=create_static, external_id and display_name are required and the server creates a service-kind identity carrying adoption metadata before linking the target account.
existingcreate_static Existing identity to map to. Required when mode=existing.
External id for the new static identity. Required when mode=create_static.
Human-readable label for the new static identity. Required when mode=create_static.
Optional description for the new static identity.
AdoptionPreviewBlockerResponse
AdoptionPreviewItemResponse
AdoptionPreviewRequest
Kubernetes target (cluster) where the discovery found the Ingresses
AdoptionPreviewResponse
AdoptTargetAccountRequest
Atomic adopt request. The nested identity block carries either a reference to an existing identity (mode: existing) or the spec for a static identity to be created in the same transaction (mode: create_static). When the adopt step fails after a fresh identity has been created, the server rolls the identity back so no orphan rows remain in the directory. rules must be the operator-confirmed result of the adoption preview, optionally edited before submit.
principal_managed Discriminated by mode. When mode=existing, only identity_id is read. When mode=create_static, external_id and display_name are required and the server creates a service-kind identity carrying adoption metadata before linking the target account.
Confirmed rows. On PostgreSQL a row identical to a previewed one is imported, any other is the rule's own.
Memberships the operator confirmed from the preview (PostgreSQL). An absent field takes over every live membership of the account. An empty array takes over none.
AgentLoginRequest
AllowlistedApplicationCandidateResponse
candidateadoption_previewed adoptedprincipal_managed externalallowlistedAnalyzeAccessProfilesResponse
APITokenCapPreviewItem
personalorganizationWhen the token stops working under the given limits, its creation time plus the limit.
True when that moment has passed, so the token stops at once.
APITokenCapPreviewResponse
The affected tokens. Empty when details_hidden is true.
True when more than 1000 tokens exceed the limits and the list shows the first 1000 by creation time.
How many of the examined tokens stop working under the given limits, and when the first one stops.
True when the caller can't read tokens (tokens:read), so the response has the summary only.
APITokenCapPreviewSummary
How many of the examined tokens stop working under the given limits, and when the first one stops.
Tokens whose stop moment has already passed, so they stop as soon as the limits are saved.
The earliest stop among the tokens that do not stop at once. Null when there is none.
APITokenCreateRequest
Name that tells what the token is for.
Built-in role the token is issued with. The permissions of the role and of custom_role must be permissions of the caller. An organization token needs admin, viewer or a custom role.
adminvieweruserCustom role the token holds on top of its built-in role.
When the token expires: at least one hour ahead and at most the longest lifetime of the organization policy (GET /api-tokens/policy. 90 days by default, 7 days for a token with allow_security_changes, 30 days with allow_installation_admin, never more than 366 days). A later date within ten minutes of the limit is lowered to it. A later one answers 400.
IP addresses or networks (CIDR, IPv4 /16 or narrower, IPv6 /32 or narrower) the token is accepted from. A request from any other address answers 401 auth.api_token_invalid with details.reason=network without naming the networks. Empty accepts every network unless the organization policy requires networks for new tokens (then 400). A replaced secret keeps the networks of the token.
Lets the token make the security changes that the console confirms with a second factor: the organization security policy, required two-factor authentication, trusted networks, and members' passwords, password reset links, external sign-in, email, two-factor reset and unlock. Only a token whose roles hold security:manage can have it. Omitted means false.
Lets a personal token administer the installation within its owner's installation rights: health, maintenance mode, the audit of every organization, the upgrade preflight and the operations of the installation. Only an installation administrator can issue it, and the token stays valid for at most 30 days. The token keeps the installation rights its owner held at issuance and never more. Omitted means false.
Lets the token list, issue, replace, take over and revoke API tokens. A token it issues holds no permission or right this token lacks, expires no later than this token and is revoked with it. It replaces secrets and takes over tokens only within itself and the tokens it issued. Omitted means false.
Lets the token call GET /identities/{id}/credentials for the credentials its owner may view: their own, and with the admin role those of any member. The right stands in for the second factor the console asks for, so every read is recorded and counted toward the hourly limit. It is given only at issuance, after the second-factor confirmation of the creator. A token issued with another token gets it only when that token has it. Without it the token answers 403 auth.api_token_not_allowed (details.reason=api_token_credentials_read_not_allowed). Omitted means false.
Marks a personal token as the connection of an AI agent through POST /mcp: the console lists such tokens under AI agents, and a new secret keeps the mark. The mark gives no right, and without allow_credentials_read the token gets no SSH certificate from POST /ssh/certificates. An organization token with the mark answers 400. Omitted means false.
APITokenIssuedResponse
The token secret. Shown only in this response. Principal keeps only its SHA-256 digest.
APITokenListResponse
APITokenMemberRef
Identity ID. Null when the identity was deleted.
APITokenPageResponse
A page of the list in the shared envelope, dto.ListPage. This list doesn't count its items, so total is absent.
True when another page follows. The list ends when it is false.
Opaque cursor of the next page, present only when has_more is true. Send it unchanged as the cursor query parameter with the same filters.
Full number of items that match the request, present only when the list counts them. It is never the size of the page.
APITokenPolicyRequest
API token settings of the organization policy. A null or omitted number keeps the installation default (30, 90, 7 and 30 days). The default lifetime and the security limit can't exceed the longest lifetime.
Lifetime the console offers for a new token.
Longest lifetime of a new token or a replaced secret. 366 days is the ceiling of the installation.
Longest lifetime of a token issued with allow_security_changes.
Require the networks a new token is accepted from. Omitted means false.
Days without use after which the periodic check disables a token. 0 turns the check off.
Apply the longest lifetime to tokens issued before it was set: such a token stops working when its lifetime reaches the limit, at once when it already has. GET /api-tokens/policy/preview lists them. Omitted means false. Turning it off makes the tokens work again until their own expiry.
APITokenPolicyResponse
The API token policy of an organization as it applies, installation defaults filled in.
Lifetime the console offers for a new token.
Longest lifetime of a new token or a replaced secret.
Longest lifetime of a token issued with allow_security_changes. Never more than max_lifetime_days.
A new token must name the networks it is accepted from.
Days without use after which the periodic check disables a token. 0 turns the check off.
The longest lifetime also applies to tokens issued before it was set.
APITokenPolicySettings
Stored API token settings of the organization. Null means the installation default.
APITokenResponse
personalorganizationBuilt-in role the token was issued with. It never grows.
adminvieweruserCustom role the token holds on top of its built-in role.
The widest built-in role whose permissions the token has now. Null when it does not authenticate.
adminvieweruserWhat the token may do now: the permissions of its roles that the member behind the token also has. Empty when it does not authenticate.
access:applyaccess:manageaccess:readapplications:manageapplications:readaudit:readdrift:managedrift:readidentities:manageidentities:readjobs:managejobs:readmembers:managemembers:readnotifications:managenotifications:readorganization:readsecurity:managesecurity:readtargets:managetargets:readtokens:managetokens:readactive works with all permissions of its roles. Limited works with fewer because the bound member has fewer permissions now. Inactive does not work because the bound member is not a member any more (member_missing) or, for an organization token, the responsible administrator lost read access (member_without_access).
activelimitedinactiveexpiredrevokedWhy a token is limited, inactive, expired or revoked. On an expired token, member_missing or member_without_access says a new secret would be inactive too, and policy_cap says the longest lifetime of the organization policy, applied to existing tokens, ended it. unused on a revoked token says the periodic check disabled it because it was not used within the days the policy allows. Such a token can't come back, create a new one.
role_lowered member_missing member_without_access revokedrotatedunusedpolicy_cap Prefix and last characters of the secret, to recognize the token.
When the token expires by its own terms, as issued.
When the longest lifetime of the organization policy would end the token (created_at plus the limit for this token), present only when the lifetime exceeds the policy. The token stops at this moment only while the policy applies the limit to existing tokens (cap_existing). Otherwise it is informational.
The lifetime of the token exceeds the longest lifetime of the organization policy.
The token may make the security changes that the console confirms with a second factor. Set when the token is issued and kept when its secret is replaced.
The personal token may administer the installation within the installation rights its owner held at issuance. Set when the token is issued and kept when its secret is replaced.
The token may list, issue, replace, take over and revoke API tokens within its own permissions and rights. Set when the token is issued and kept when its secret is replaced.
The token may call GET /identities/{id}/credentials within its owner's rights. Set when the token is issued and kept when its secret is replaced.
The token connects an AI agent through POST /mcp. Set when the token is issued and kept when its secret is replaced. It gives no right, and without allow_credentials_read the token gets no SSH certificate.
For an agent token, the key that names the connection in the agent's client. It stays the same when the secret is replaced. Null for every other token.
For an agent token, the first moment the MCP server at POST /mcp answered it successfully. Null until then and for every other token. A request that only carried the secret, without a successful MCP answer, does not set it. A new secret starts with null.
Networks (CIDR) the token is accepted from. Empty means every network.
API token that issued this token or replaced its secret. Revoking that token revokes this one too. Null when a person issued it in the console.
When the token last made a request, recorded at most once a minute.
Client address of the last recorded use, as the backend saw it: the address the trusted proxies forwarded, or the direct peer when no trusted proxy is configured.
The token that replaced this one when its secret was rotated.
APITokenRotateRequest
When the new secret expires: at least one hour ahead and at most the longest lifetime of the organization policy for this token (GET /api-tokens/policy), as for a new token.
ApplicationAccessReadOnlyReasonCode
Why Principal can't change the Dex clients of this application. Picks the next step. applications_not_managed: the target's SSO applications aren't managed in this Principal's Dex (the target setting applications_on_bundled_dex turns it on), whatever kubectl signs in through. dex_management_missing: this Principal has no Dex management set up. dex_outdated: the Dex of the cluster answers but serves a management API older than 1000, so Principal neither reads nor writes the allowed groups of its clients until Dex is updated.
applications_not_managed dex_management_missing dex_management_off dex_unavailable dex_outdated dex_changes_off ApplicationAccessSourceResponse
ApplicationAdoptionState
candidateadoption_previewed adoptedprincipal_managed externalApplicationAuthGateCertificateIssuerOptionResponse
ApplicationAuthGateCurrentResponse
Gate configuration observed on the target cluster for the deployed SSO gate. Edit forms start from these values.
ApplicationAuthGateDefaultsResponse
Controls whether the SSO gate forwards X-Auth-Request-Groups to the application. Defaults to true.
ApplicationAuthGateIngressClassOptionResponse
ApplicationAuthGateIngressProtectionResponse
Whether the application Ingress is behind its SSO gate on the target cluster right now, observed from the Ingress and the gate admission webhook. Only protected means requests pass through the gate. The UI shows the gate as active only in that state.
protectedunprotectedunknownWhy the Ingress is not protected or why protection could not be observed. Empty for protected.
ApplicationAuthGateOptionsResponse
Present only while a Principal-managed SSO gate is deployed for the application. An empty tls.source or ingress_class_name means the gate Ingress is missing or foreign (unknown). Edit forms fall back to defaults for those fields.
Whether the application Ingress is behind its SSO gate on the target cluster right now, observed from the Ingress and the gate admission webhook. Only protected means requests pass through the gate. The UI shows the gate as active only in that state.
Network lists of the organization that the SSO gate can let in without sign-in, with the lists this application's gate selected.
ApplicationAuthGateTLSConfigResponse
inheritsecretissuercluster_issuer disabledApplicationAuthGateTLSSecretOptionResponse
ApplicationAuthGateTrustedNetworkResponse
The application's SSO gate lets requests from these addresses in without sign-in.
The list changed after the gate last applied it. The cluster still has the earlier addresses until the application access is saved again.
ApplicationCandidateReasonCode
missing_source_identity system_namespace kubernetes_api_host well_known_health_endpoint system_component acme_challenge identity_provider_component ApplicationCandidateResponse
ApplicationCandidateResponseBase
candidateadoption_previewed adoptedprincipal_managed externalApplicationCapabilitiesResponse
Why Principal can't change the Dex clients of this application. Picks the next step. applications_not_managed: the target's SSO applications aren't managed in this Principal's Dex (the target setting applications_on_bundled_dex turns it on), whatever kubectl signs in through. dex_management_missing: this Principal has no Dex management set up. dex_outdated: the Dex of the cluster answers but serves a management API older than 1000, so Principal neither reads nor writes the allowed groups of its clients until Dex is updated.
applications_not_managed dex_management_missing dex_management_off dex_unavailable dex_outdated dex_changes_off ApplicationDexClientApplyRequest
createupdateadoptdeleteSet to 1 to acknowledge one-time native OIDC credential delivery. Required for native-only and combined gate plus native OIDC create.
1ApplicationDexClientAuthGateRequest
SSO gate settings for the Dex client. On update, fields left empty keep the values of the deployed gate (see auth_gate_options.current in the access read model). Only an explicit tls.source "inherit" re-targets the application Ingress secret. On create, empty fields take auth_gate_options.defaults.
Toggles the Principal oauth2-proxy gate. With contract_version 1, false selects native OIDC for create or preserves an existing native client. Gate-to-native updates are rejected and require delete/recreate.
Controls application Ingress ownership while the gate is enabled. Omitted or true installs the Principal mutating webhook and converges auth annotations. An explicit false creates and readies the oauth2-proxy gate without changing or selecting the application Ingress, so operator-managed annotations can activate it later.
Controls whether the SSO gate requests the groups scope and forwards X-Auth-Request-Groups to the application. Omitted values default to true.
Organization network lists whose addresses reach the application without sign-in. Omitted keeps the current selection on update and selects none on create. An empty list lets no network in.
ApplicationDexClientAuthGateResponse
Per-application oauth2-proxy SSO gate change planned by a Dex client mutation preview.
ensureremoveExisting auth annotations are operator-managed and must be updated in IaC before traffic uses the Principal SSO gate.
Exact NGINX auth annotations for the application Ingress.
Whether the SSO gate requests the groups scope and forwards X-Auth-Request-Groups to the application.
Client addresses and ranges the SSO gate lets in without sign-in, from the selected network lists.
True when the caller can't read the security settings, so the preview leaves out the addresses of the selected trusted networks: source_ranges and the source range annotation of ingress_annotations. Apply still lets the selected networks in.
ApplicationDexClientAuthGateTLSRequest
inheritsecretissuercluster_issuer disabledApplicationDexClientAuthGateTLSResponse
inheritsecretissuercluster_issuer disabledApplicationDexClientMutationPreviewResponse
dex_client ApplicationDexClientMutationScopeResponse
ApplicationDexClientMutationStateResponse
Effective native OIDC mode, including native-only bindings created by older backend versions. May be true together with auth_gate_enabled.
Persisted auth mode observed for this binding. Null means a legacy binding.
Principal group memberships exposed through Dex claims and downstream auth headers.
all_memberships access_groups Whether ancestor group memberships grant access and appear in the groups claim.
Whether the Principal connector refuses the sign-in of a user without an email address.
ApplicationDexClientPreviewRequest
Set to 1 to enable explicit auth mode and native OIDC setup semantics.
1createupdateadoptdeleteSelects all Principal memberships or only memberships granting access. Omitted requests preserve the current binding on update and use all_memberships on create.
all_memberships access_groups Grant access through ancestor groups. Omitted requests preserve the current binding on update and stay false on create.
Refuse the sign-in of a user without an email address on the Principal sign-in page. Applies to native OIDC clients that sign in through the Principal connector. The preview blocks it elsewhere. Omitted requests preserve the current binding on update and stay false on create.
Requires contract_version 1. Enables native OIDC alongside the SSO gate on create. With the gate disabled, native mode is required. Omitted updates preserve the binding mode. Changing native mode requires recreating the client because its secret is shown only at create.
SSO gate settings for the Dex client. On update, fields left empty keep the values of the deployed gate (see auth_gate_options.current in the access read model). Only an explicit tls.source "inherit" re-targets the application Ingress secret. On create, empty fields take auth_gate_options.defaults.
ApplicationDexClientPreviewResponse
1dex_client createupdateadoptdeleteEffective native OIDC mode, including native-only bindings created by older backend versions. May be true together with auth_gate_enabled.
Resolved auth mode that apply will persist.
Per-application oauth2-proxy SSO gate change planned by a Dex client mutation preview.
ApplicationDexConnectorResponse
ApplicationKubernetesObjectRef
ApplicationMutationBlockerResponse
Stable reason of the blocker. cluster_in_observe means the cluster is in Observe, so Principal doesn't change the SSO gate there until the cluster is managed again.
ApplicationMutationOperationResponse
ApplicationMutationPreviewResponse
urldex_client ApplicationMutationResultResponse
One-time setup values returned only after native-only or combined gate plus native OIDC create. Combined mode also stores the secret for its gate.
ApplicationNestedGroups
The Include nested groups setting saved for the application's Dex clients that sign people in through Principal: included when every such client has it on, excluded when none has, mixed when the clients differ. With it on, a group rule also lets in the members of the group's subgroups. The clients share one Principal connector, so with mixed the setting of the client applied last decides for all of them, and Principal doesn't tell which one that is.
includedexcludedmixedApplicationOAuthAppResponse
Public Dex OIDC issuer for configuring the application.
Whether the Dex client is public and therefore has no client secret.
Effective native OIDC mode, including native-only bindings created by older backend versions. May be true together with auth_gate_enabled.
Persisted Application auth mode. Null means a legacy binding whose mode is not explicit.
Principal group memberships exposed to this OAuth client. Present for Principal-managed bindings.
all_memberships access_groups Whether ancestor group memberships grant access and appear in the groups claim. Present for Principal-managed bindings.
Whether the Principal connector refuses the sign-in of a user without an email address. Present for Principal-managed bindings.
IDs of the direct users this client signs in with an empty groups claim. Set for Principal-managed native OIDC clients in the access_groups mode when none of the user's groups has access to the application. Empty for other clients.
The client is managed by Principal but no longer exists in Dex. Principal can only delete it, which also removes its SSO gate. Create a new client afterwards.
The client signs people in through GitLab and neither the client nor that GitLab sign-in method of Dex names a GitLab group, so any GitLab user can sign in to the application. The same rule refuses to create or change such a client. This flag shows clients that already exist, for example after an operator removed the groups of the sign-in method in the installation settings.
ApplicationOIDCSetupResponse
One-time setup values returned only after native-only or combined gate plus native OIDC create. Combined mode also stores the secret for its gate.
Present only for confidential clients. Never returned by read or preview endpoints.
Application callback URIs. Excludes the SSO gate callback in combined mode.
ApplicationPersistedAdoptionState
adoptedprincipal_managed externalApplicationResourceKeyResponse
What an application finding is about: an entry of the access list (subject_id, subject_kind) or a Dex client of the application (client_id, the changed fields, whether it is gone from Dex and whether Principal can write back the client it applied).
ApplicationSignInResponse
ApplicationSourceResponse
Every path of this Ingress on the host, in the order of the Ingress. One application covers the paths of one Ingress on one host. The sign-in gate protects all of these paths, and another Ingress on the same host is a separate application. Absent until the next discovery of a candidate read before Principal kept the paths.
Path the SSO gate of the application answers under, <path>/oauth2. For a regular expression path it is the literal part before the expression, /console/oauth2 for /console(/.*)?, or /oauth2/<literal part> when the expression would also catch that address, /oauth2/console for /console(/|$)(.*).
ApplicationTargetDetailResponse
adoptedprincipal_managed externalTime of the cluster discovery that did not find the Ingress of this application: it was deleted in the cluster or its namespace, name or host changed. The application and its rules stay until a person deletes it. Absent while discovery finds the Ingress.
The Include nested groups setting of the application's Principal sign-in, which decides whether a group rule also lets in the members of the group's subgroups. The list of applications and the application read report it. Absent when no Dex client of the application signs people in through Principal.
includedexcludedmixedApplicationTargetSummaryResponse
adoptedprincipal_managed externalTime of the cluster discovery that did not find the Ingress of this application: it was deleted in the cluster or its namespace, name or host changed. The application and its rules stay until a person deletes it. Absent while discovery finds the Ingress.
The Include nested groups setting of the application's Principal sign-in, which decides whether a group rule also lets in the members of the group's subgroups. The list of applications and the application read report it. Absent when no Dex client of the application signs people in through Principal.
includedexcludedmixedApplicationURLApplyRequest
ApplicationURLPreviewRequest
ApplyPlanRequest
ApplyPlanResponse
ApplyPolicyResponse
Whether this operation has finished.
Final operation result, or null while the operation is active.
successfailurecancelledpartialQualifies the status and outcome of an operation where they alone would hide what the operator must know. Null when none applies.
rollback_in_progress rolled_back needs_repair outcome_unknown interruptedrequires_approval holds_lock awaiting_confirmation expiredtimed_out rescheduledHuman-readable message about job status
May be empty if plan creation failed
Where a background operation is in the shared lifecycle (decision S1). outcome says how a finished operation ended and substate qualifies the state.
queuedrunningfinishedApplyRunResponse
Safe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.
Whether this operation has finished.
Final operation result, or null while the operation is active.
successfailurecancelledpartialQualifies the status and outcome of an operation where they alone would hide what the operator must know. Null when none applies.
rollback_in_progress rolled_back needs_repair outcome_unknown interruptedrequires_approval holds_lock awaiting_confirmation expiredtimed_out rescheduledWhere a background operation is in the shared lifecycle (decision S1). outcome says how a finished operation ended and substate qualifies the state.
queuedrunningfinishedAttentionReference
An object of the organization a problem concerns.
AttributeChangeDTO
add, remove, change. PostgreSQL role attributes report update
New value (null for removals)
Previous value (null for additions)
JSON path to attribute
Is this a sensitive value?
AuditChangeResponse
Field name as the screen shows it, present only for events with their own field names
AuditEventFacetsMetaResponse
AuditEventFacetsResponse
Actor labels ranked by matching event count for top-actor views.
AuditEventFacetsWindowResponse
AuditEventHistogramBucketResponse
AuditEventHistogramResponse
AuditEventHistogramTotalsResponse
AuditEventHistogramWindowResponse
AuditEventRefResponse
AuditEventResponse
Safe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.
Number of changed fields this event records, the length of changes.
AuditExecutorResponse
AuditFacetValueResponse
Filter code of the value.
Display name of the value. The UI shows it instead of the code.
AuditReportControlResponse
AuditReportFiltersRequest
Start of the period (RFC 3339). Without it the report covers the default period of the preset (default_period_days) back from to. A period longer than 1098 days is refused with 400.
End of the period (RFC 3339). Without it, or when it is in the future, the report ends now.
Limit the report to these targets. Targets of other organizations are ignored.
Limit the report to targets of these kinds.
postgresmysqlclickhousemongodbkubernetessshapplicationAuditReportFormat
The report file: pdf, csv (a ZIP archive with one CSV file per table) or json (one file with the principal.audit_report schema). Reports made before the format choice are pdf.
pdfcsvjsonAuditReportFrameworkResponse
AuditReportListItemResponse
Why the caller's role cannot open this report. Empty when it can.
Safe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.
Where a background operation is in the shared lifecycle (decision S1). outcome says how a finished operation ended and substate qualifies the state.
queuedrunningfinishedWhether this operation has finished.
Final operation result, or null while the operation is active.
successfailurecancelledpartialQualifies the status and outcome of an operation where they alone would hide what the operator must know. Null when none applies.
rollback_in_progress rolled_back needs_repair outcome_unknown interruptedrequires_approval holds_lock awaiting_confirmation expiredtimed_out rescheduledThe report file: pdf, csv (a ZIP archive with one CSV file per table) or json (one file with the principal.audit_report schema). Reports made before the format choice are pdf.
pdfcsvjsonThe custom report title. Empty when the report uses the preset title.
The start of the report period. Absent for an older queued report without a set period.
The end of the report period. Absent for an older queued report without a set period.
AuditReportOptionsRequest
Accepted and ignored.
v2A preset id from GET /audit/reports/presets: executive, access_review, privileged_access, leavers, change_management, security_events, drift, access_activity, iso27001, soc2 or pci_dss. Another value is refused with 400. Default: executive.
The report file: pdf, csv (a ZIP archive with one CSV file per table) or json (one file with the principal.audit_report schema). Another value is refused with 400 and a sentence that names the formats. Default: pdf.
The report title on the cover. The preset title when empty.
Section ids from GET /audit/reports/presets in any order. The report keeps the catalog order. The preset sections when empty. An unknown id is refused with 400.
Accepted and ignored.
exceptionsfullThe most rows in the refused and failed actions and the activity by area tables. Default: 150.
false leaves the full timeline section out of the report. true adds it to the preset sections when sections is empty. Use sections instead.
The most events in the full timeline section. 0 leaves the section out. Sent without sections, a value above 0 adds the section to the preset sections. Default: 1000.
Accepted and ignored.
aggregatedrawHow strictly the report rates risk. Default: balanced.
strictbalancedlenientShow internal ids next to names. Default: false.
false leaves the refused, failed and sensitive actions section out of the report. Use sections instead.
false leaves the targets section out of the report. Use sections instead.
false leaves the most frequent events section out of the report. true adds it to the preset sections when sections is empty. Use sections instead.
false leaves the methodology section out of the report. Use sections instead.
Takes precedence over show_internal_identifiers, as before. Use show_internal_identifiers instead.
Shorten every IP address and network in the report to its /16 (IPv4) or /48 (IPv6) network and replace the host in URLs and in user@host:port endpoints with hidden. Default: true.
The older name of appendix_timeline_limit. Takes precedence over it, as before. Values below 0 count as 0 and values above 5000 as 5000.
The most rows in the most frequent events table. Sent without sections, it adds that section to the preset sections. Default: 25.
AuditReportPresetResponse
frameworktopicAuditReportPresetsResponse
AuditReportSectionResponse
What the section shows: the current state of access, events of the period, the configuration, or none for the methodology.
current_state periodconfigurationnoneThe permissions the section needs besides audit:read, for example targets:read and identities:read for sections that show the current targets and access. Empty when audit:read is enough.
AuditReportSummaryResponse
Pages of a PDF report. 0 for a CSV or JSON report.
How many access entries in scope are privileged.
The period had more events than the report reads. The event sections show the newest ones.
Numbers of this summary that the report did not count, because none of its sections reads the events or the current access. Each of them is 0. Absent when the report counted every number.
total_events exceptions_count managed_subjects unmanaged_subjects high_risk_targets privileged_access AuditReportTargetKindResponse
postgresmysqlclickhousemongodbkubernetessshapplicationAuditResponsibilityResponse
AuditTraceResponse
AuditWhereResponse
AuthGateSchedulingConfiguration
Pins Principal-managed SSO gate (oauth2-proxy) pods to schedulable nodes. Required for Kubernetes clusters where every node carries a taint. On update, a supplied empty object clears the configuration.
AuthGateToleration
One pod toleration in Kubernetes core/v1 terms. Operator defaults to Equal.
NoSchedulePreferNoScheduleNoExecuteEqualExistsAuthSessionAuditCapabilities
Read the audit log (administrators, viewers and holders of the exact audit:read scope).
AuthSessionCapabilities
What the caller may use in the selected organization and the installation, decided by the same permission check as the API routes. The console shows screens and actions by these flags and never derives them from role names.
AuthSessionInstallationCapabilities
Read installation health and its audit trail.
Switch the installation maintenance mode.
AuthSessionOrganizationCapabilities
Create, change and delete organization objects (administrators).
Read every organization page (administrators and viewers).
AuthSessionOrgRef
AuthSessionResponse
AuthSessionUser
What the caller may use in the selected organization and the installation, decided by the same permission check as the API routes. The console shows screens and actions by these flags and never derives them from role names.
Built-in role of the user in the selected organization.
adminvieweruserEverything the user may do in the selected organization: the built-in role, the custom role and the roles of the groups the user belongs to directly. The console shows actions by these permissions.
access:applyaccess:manageaccess:readapplications:manageapplications:readaudit:readdrift:managedrift:readidentities:manageidentities:readjobs:managejobs:readmembers:managemembers:readnotifications:managenotifications:readorganization:readsecurity:managesecurity:readtargets:managetargets:readtokens:managetokens:readBlockedApplicationCandidateResponse
candidateadoption_previewed adoptedprincipal_managed externalblockedmissing_source_identity system_namespace kubernetes_api_host well_known_health_endpoint system_component acme_challenge identity_provider_component BulkApplyTargetSelectorRequest
BulkOperationConfirmRequest
The request_hash the preview returned
BulkOperationCountsResponse
Rows waiting to run or still running
BulkOperationItemResponse
The ID of the picked row as the request named it
pendingrunningdonefailedskippedWhy the row failed or was skipped, in words a person can act on. A pending row of a preview may name what it will do when that differs from the action itself, and a done row may name what else happened.
The attempt of the operation this row last ran in
The job the single request of this row started
Safe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.
Present when the end of the run, not the row itself, decided how the row ended. not_started: a skipped row the cancel kept from starting. job_still_running: a failed row whose job was still running when the run ended. A retry follows that job again instead of starting a second one. Read this field, not the message, which is text for a person and may change.
not_started job_still_running BulkOperationRequest
The action to run on every picked row. accept_findings is refused until it is available.
add_to_group remove_from_group delete_identities discover_targets check_drift test_connection set_discovery_schedule start_managing test_tunnels sync_connectors apply_rules delete_rules update_template_version fix_findings accept_findings create_identities add_group_to_applications remove_group_from_applications IDs of the picked rows, at most 500: a longer list is refused with a reason a person can act on. Duplicates and empty values are dropped. add_to_group and remove_from_group also take a person by email: a row whose email no user of the organization has fails with failure code NOT_FOUND. create_identities takes emails only, compared without case. add_group_to_applications and remove_group_from_applications take application IDs.
Parameters of the action. group_id for add_to_group, remove_from_group, add_group_to_applications and remove_group_from_applications. Optional group_id for create_identities adds the new and the existing people to that group. Display_names (email to the name of the new person) for create_identities, where a missing name is made from the email. Schedule for set_discovery_schedule, template_name and template_version for update_template_version, run_findings (finding ID to run finding ID) for fix_findings, rule_versions (rule ID to the rule version the person reviewed) for apply_rules: a rule changed since then fails its row instead of applying unreviewed access.
BulkOperationResponse
The job that runs the operation. Null for a preview waiting for its confirmation
Parameters of the action as the run recorded them. A delete_identities run also records item_kinds: the row ID to user, group or service, so the run is named by what it deleted after those objects are gone. A run on people or groups also records item_labels: the row ID to the name the person or group had when the run was planned, so its rows keep their names after a page reload and after the objects are gone. A run on a group (add_to_group, remove_from_group, create_identities into a group, add_group_to_applications, remove_group_from_applications) records group_label: the name the group had when the run was planned, so the run keeps naming it after the group is gone.
Where a background operation is in the shared lifecycle (decision S1). outcome says how a finished operation ended and substate qualifies the state.
queuedrunningfinishedWhether this operation has finished.
Final operation result, or null while the operation is active.
successfailurecancelledpartialQualifies the status and outcome of an operation where they alone would hide what the operator must know. Null when none applies.
rollback_in_progress rolled_back needs_repair outcome_unknown interruptedrequires_approval holds_lock awaiting_confirmation expiredtimed_out rescheduledSafe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.
Present on a preview. Confirm the preview with it
Present on a preview. It can be confirmed until then
CleanupAccountLeftResponse
The account as the target names it, for example the PostgreSQL role or user@host on MariaDB, or the name of a Kubernetes object.
The kind of a Kubernetes object or account, for example RoleBinding or ServiceAccount. Absent on other engines.
The namespace of a namespaced Kubernetes object or account. Absent for a cluster-wide object and on other engines.
True when Principal created the account. False when it was adopted.
CleanupPendingDecisionBindingResponse
Why Principal cannot prove the account (kind unproven_account).
CleanupPendingDecisionResponse
Set while a cleanup task is stopped in cleanup_failed waiting for the operator. Principal never deletes data owned by a revoked account on its own.
Decision kind: owned_objects (keep or delete the objects a revoked account owns) or unproven_account (forget a ClickHouse account Principal cannot prove).
owned_objects unproven_account CleanupTaskJobResponse
State of the background job that runs this cleanup, present while the task has a job: whether a retry is queued, running or waiting, and when it runs next.
Where a background operation is in the shared lifecycle (decision S1). outcome says how a finished operation ended and substate qualifies the state.
queuedrunningfinishedWhether the job has finished.
Final operation result, or null while the operation is active.
successfailurecancelledpartialQualifies the status and outcome of an operation where they alone would hide what the operator must know. Null when none applies.
rollback_in_progress rolled_back needs_repair outcome_unknown interruptedrequires_approval holds_lock awaiting_confirmation expiredtimed_out rescheduledSafe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.
The job, with the fields below under the same names as in GET /admin/jobs/{id}. Present only when the caller may read jobs (jobs:read). Without that right the job carries only its state above.
ID of the target the job works on.
Raw error of the job, only for a caller who may manage jobs, as in GET /admin/jobs/{id}.
Steps of the job. Error_message only for a caller who may manage jobs.
CleanupTaskResponse
Safe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.
State of the background job that runs this cleanup, present while the task has a job: whether a retry is queued, running or waiting, and when it runs next.
Whether this operation has finished.
Final operation result, or null while the operation is active.
successfailurecancelledpartialQualifies the status and outcome of an operation where they alone would hide what the operator must know. Null when none applies.
rollback_in_progress rolled_back needs_repair outcome_unknown interruptedrequires_approval holds_lock awaiting_confirmation expiredtimed_out rescheduledThe removal was accepted, but its job was never queued (for example the database failed in between) and nothing has run for two minutes. A retry or another delete request queues it again.
Operator's recorded answer to the owned objects decision, if any.
keep_data delete_data Operator's recorded answer to an unproven account request, if any.
forgetSet while a cleanup task is stopped in cleanup_failed waiting for the operator. Principal never deletes data owned by a revoked account on its own.
True after a failed target deletion was told to finish with remove_from_principal_only.
Accounts the target deletion left on the target because Principal can't confirm it created them.
Only for a target cleanup task in cleanup_failed: the accounts Principal still manages on the target, created by Principal or adopted. They stay on the target when the deletion finishes with remove_from_principal_only. Absent when there are none.
Where a background operation is in the shared lifecycle (decision S1). outcome says how a finished operation ended and substate qualifies the state.
queuedrunningfinishedClickHouseConfiguration
ClickHouseConnectionDetails
Secret-free ClickHouse endpoint metadata. Admin credentials and TLS material are never returned.
nativehttpWhether clients must provide the separately managed TLS server name. The value is never returned.
Whether clients must provide the separately managed custom CA certificate. The certificate is never returned.
ClickHouseGrantResponse
directroleThe grant may be a wildcard that ClickHouse printed without its '*'. Discovery could not confirm it.
ClickHouseRoleGrantResponse
ClickHouseUserResponse
True when Principal can take the account under management. Adoption refuses the rest. Whether it is already managed is in principal.ownership_state.
humansystemprincipal_managed adoptableconfig_managed systemConfirmDefaultBaselineRequest
ConfirmPendingIdentityAuthBindingRequest
Canonical issuer from the verified OIDC ID token.
Dex connector id string, not connector_configs.id.
Immutable upstream subject from Dex federated_claims.user_id.
ConnectionCheckResult
Stable code of the check, for example database_connectivity.
Name of the check for people, for example "Connect and sign in".
passedfailedskippedOutcome of the check in plain words. Never contains driver or library text.
For a failed check, the server's error code and text or the innermost driver error, shown only in the technical details. Never contains addresses or credentials.
ConnectionCheckStatus
passedfailedskippedConnectorDeleteMode
keep_stale purgeConnectorDeleteTargetSummary
ConnectorDuplicateAccount
email or username when the account matches a person only by that field, several when it matches several people fully
emailusernameseveralConnectorDuplicateCandidate
The person already has an account of this connector, so Same person can't choose them.
ConnectorDuplicateDecision
linkcreateThe person to link the account to, one of the suggested people. Required for link.
ConnectorDuplicateDecisionsRequest
ConnectorDuplicateDecisionsResponse
The sync that applies the decisions. Absent when a sync already runs.
ConnectorDuplicateListResponse
ConnectorResponse
pendingrunningcompletedfailedrequires_approval True when the field mapping is the provider default Principal stores for a new connector.
The settings the connector uses, under canonical names only (base_url, groups, excluded_group_suffixes, page_size, include_outside_collaborators, sync_bot_and_service_accounts): a value stored under an old name is shown under its canonical name, and where names disagree the value the connector uses is shown. Clients show and send this form.
Canonical settings the stored spec names under several names with different values. Spec shows the value the connector uses for each. Saving the connector with the shown settings resolves them.
gitlabgooglegithubldapkubernetescustomThe sync a connector has not finished, whoever queued it (Run sync now, an approval or the schedule): its state, its attempts and, after a failed attempt the queue retries, when the next one may start and why the last one failed. Reads of connectors carry it. A connector without an unfinished sync has none.
ConnectorSyncJobResponse
The sync a connector has not finished, whoever queued it (Run sync now, an approval or the schedule): its state, its attempts and, after a failed attempt the queue retries, when the next one may start and why the last one failed. Reads of connectors carry it. A connector without an unfinished sync has none.
Where a background operation is in the shared lifecycle (decision S1). outcome says how a finished operation ended and substate qualifies the state.
queuedrunningfinishedFinal operation result, or null while the operation is active.
successfailurecancelledpartialAttempts that ran and failed.
When the next attempt may start after a failed one.
Safe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.
ConnectorType
gitlabgooglegithubldapkubernetescustomConnectorTypeResponse
gitlabgooglegithubldapkubernetescustomName to show for the type
Group of the type in a picker, one of the response categories
available - Principal can create and use this type now. Coming_soon - listed for the roadmap, Principal refuses to create, test or sync it.
availablecoming_soon Fields of POST /connectors that a connector of this type needs, as dotted paths in the request body. Spec may be an empty object when no spec.* field is listed. Empty for a coming_soon type, which can't be created
ConnectorTypesResponse
Categories in display order
ConsoleSignInMethodListResponse
The callback address to register in the application of each provider.
ConsoleSignInMethodRequest
githubgooglemicrosoftoidcgitlabldapConsoleSignInMethodResponse
githubgooglemicrosoftoidcgitlabldapCreateAccessProfileTemplateRequest
CreateAccessProfileTemplateResponse
CreateAccessTemplateRequest
TTL the rule wizard offers for this template, an ISO 8601 duration such as PT8H, no longer than max_ttl. Principal never adds it to a rule by itself.
postgreskubernetesmysqlclickhousemongodbapplicationsshTemplate name. Leading and trailing whitespace is removed. The response returns the stored name. The name is the key of the template in its address, so it can't contain "/" (400 with details.field=name).
Longest TTL a rule of this template may ask for (L-14), an ISO 8601 duration of 15 minutes to 30 days such as P1D. Absent means the 30-day limit of every rule with a TTL.
CreateAuditReportRequest
CreateAuditReportResponse
Whether this operation has finished.
Final operation result, or null while the operation is active.
successfailurecancelledpartialQualifies the status and outcome of an operation where they alone would hide what the operator must know. Null when none applies.
rollback_in_progress rolled_back needs_repair outcome_unknown interruptedrequires_approval holds_lock awaiting_confirmation expiredtimed_out rescheduledWhere a background operation is in the shared lifecycle (decision S1). outcome says how a finished operation ended and substate qualifies the state.
queuedrunningfinishedCreateConnectorRequest
Interval of scheduled syncs as an ISO 8601 duration (PT15M, PT1H, P1D, P1W), at least 5 minutes: a shorter one, PT0M or P0D included, is rejected with 400.
Provider settings. GitLab and GitHub use canonical names: base_url, groups, excluded_group_suffixes, page_size, root_ca and insecure_skip_verify (GitLab: a PEM CA certificate of a self-managed server and whether to accept any server certificate. Changing either needs a new token), include_outside_collaborators and sync_bot_and_service_accounts (GitHub). Old names (url, baseUrl, api_url, group, pageSize, excludedGroups, excluded_groups, exclude_group_suffixes, includeOutsideCollaborators, syncBotAndServiceAccounts) are deprecated and accepted until 2027-01-01: they are saved under the canonical names, and names of one setting with different values are rejected with 400. LDAP uses url (ldap:// or ldaps://), start_tls, insecure_skip_verify, root_ca, directory_type (active_directory or openldap), bind_dn, user_base_dn, user_filter, group_base_dn, group_filter, groups and excluded_group_suffixes. Its credential is bind_password.
gitlabgooglegithubldapkubernetescustomCreateIdentityAuthBindingRequest
Canonical issuer from the verified OIDC ID token.
Dex connector id string (for example gitlab or principal), not connector_configs.id.
Immutable upstream subject from Dex federated_claims.user_id.
CreateIdentityRequest
Required, except for a service account (service_account=true) that does not sign in to Principal (no principal_login, principal_password or send_invitation). Such a service account without it gets a login made from display_name: Latin letters and digits joined by hyphens, Cyrillic transliterated, at most 32 characters with a -2, -3 suffix when the login is taken. Its accounts on targets are named after the login. A service account's external_id that another identity already has is refused with 409. It is refused with 400 when a member or an account found on a target already has a name it would give on targets, and when that name is reserved, such as root or postgres.
usergroupserviceDeprecated compatibility field. Ownership is derived as false for public creates. Omit this field or send false. Sending true is rejected.
Custom attributes, for example email. Server-owned keys are ignored: principal_static_account, target_account_adoption, target_account_key, github_account_type, principal_password_rotated_at, secret_ref.
Manual password. Validated in UTF-8 bytes: 12-72 bytes, including uppercase, lowercase, digit, and special characters. Omit to auto-generate.
Create a service account: a user an application uses instead of a person. kind=user only, otherwise 400. It is the same user for rules, groups, credentials and targets.
Requires service_account=true. Where the application's secret is kept or is to be kept, as a path in the organization secret store, for example secret/data/billing/postgres: segments of letters, digits and . _ - : # separated by slashes. Never the secret itself. A value that is not such a path is rejected with 400.
Email a one-time password setup link after creation. Omitted or false disables invitations. Requires configured SMTP, a public base URL, kind=user, Principal login, and an email external_id. Delivery failure retains the user and returns invitation_status=failed with the generated password for recovery. The link expires in 24 hours.
Deprecated compatibility field. Ownership is derived as [manual] for public creates. Omit this field, send an empty array, or send exactly [manual]. Other values are rejected.
CreatePolicyRequest
What the access is for, saved as metadata.description of the rule. When the template is added to an existing rule of the same subject and target, that rule keeps its own description and gets this one only if it has none. Null or an empty string sets no description.
Rule with a TTL (I17): when to remove the rule, 15 minutes to 30 days from now. A personal rule only. A group rule refuses it with policy.ttl_not_allowed. On PostgreSQL, MariaDB, ClickHouse, MongoDB and Kubernetes the rule gets its own temporary account, SSH hosts and applications take it on the personal rule. A Kubernetes target with Deckhouse authorization rules refuses it with policy.ttl_not_allowed. Give either expires_at or ttl.
For a group subject, include leaf members of known nested groups. Omitted or false limits the new rule to direct members. Expansion is tenant-scoped and bounded.
How a new group rule on a PostgreSQL, MariaDB or ClickHouse target gives access. member_grants (the default) copies the rule's grants to every member's own account. group_role keeps them once in a role of the group without sign-in and grants each member's account the membership in it. Fixed at creation. A template added to the group's existing rule keeps that rule's mode and refuses the other one.
member_grants group_role Typed placement of a Kubernetes rule: the namespaces the rule binds in. Required when template_name references a Kubernetes template with metadata.kubernetes_rbac_profile_mode=shared_by_template_v1. Optional for direct rules (stored as the rule scope). Rejected for other template modes until unified materialization (accessTemplateSplit stage 3).
Common field
Direct rules mode - mutually exclusive with template_name
Optional adopted or principal-created target-local account to pin this rule to.
Template mode - mutually exclusive with rules
Rule with a TTL as an ISO 8601 duration of days, hours, minutes or seconds, for example PT2H or P7D. 15 minutes to 30 days. Give either ttl or expires_at.
CreatePolicyResponse
When Principal removes this rule with a TTL (I17). Absent for a rule without one.
Set only in the response to PUT /policies/{id} that changes the expiry: Principal saved the new expiry but could not start the Apply that brings it to the account on the database.
Safe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.
Safe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.
Saved changes that the last successful apply did not materialize. True when the rule state recorded by that apply (effective permissions, placement, template versions, layout and materialization switches of the snapshot it applied) differs from the current rule. Rules applied before the state was recorded fall back to updated_at later than applied_at plus 5 seconds after a success or partial success. Always false for per-member copies of a group rule. Renames, apply status writes and other bookkeeping never set it.
delete_requested cleanup_running cleanup_failed cleanup_completed Canonical human name of the rule, the one every screen and message uses: the rule's own name. Else "{Template} for {Subject}" for a template rule. Else "Access for {Subject} on {Target}". A rule inherited from a group gets the group rule's name. Missing subject or target names are left out. Machine-generated names and IDs are never used.
What the access is for, from metadata.description of the rule. Absent when the rule has none.
Identifier of the group the access came through in its source, as the connector group mapping sets it. With the default mapping it is the full path for GitLab and GitHub groups (acme/platform/backend) and the address for Google groups. Empty for groups not linked to a connector and for callers without identities:read.
Group inheritance fields
Whether this group rule includes members of nested groups.
Set on the rule of an adopted target account. Assigning a template to the identity adds it to the identity's rule without a target account link, never to this rule.
successpartial_success failedRisk level of the latest plan (low, medium, high, critical)
When the latest plan was created
ID of the most recent plan for this policy
kubernetes_user_rbac kubernetes_group_rbac kubernetes_service_account_rbac group_role application_group Access mode of a group rule on a PostgreSQL, MariaDB or ClickHouse target, and of the member rows it keeps. member_grants copies the rule to every member's account, group_role keeps it in a role of the group that members are granted. Absent on other rules.
member_grants group_role The role a group rule in the group_role mode keeps on the target. Absent otherwise.
Namespaces contributed by this policy to shared Kubernetes RBAC profiles.
Effective server-owned Kubernetes RBAC object layout. Every new rule is materialized as unified_v1. The other values only appear on policies created before that layout and disappear as those are rematerialized. A policy still on the pre-stage-3 Role-per-namespace layout carries no value at all.
unified_v1 shared_clusterrole_v1 shared_profile_v1 Memberships of the rule's account in other roles (PostgreSQL). The rule asks for them like for its grants: an apply grants a missing one back.
Kinds of access the engine of the target does not read, such as column privileges on PostgreSQL. An empty drift says nothing about them.
The first row of a PostgreSQL rule or template that names its objects by name or by a name mask while Future objects are on. Future objects reach only a row on every object of its kind in a schema, so the switch reaches none of these objects. Only a rule or template saved before Principal refused such a save carries it, and its next save is refused until Future objects are off or the row covers every object of its kind. A rule carries it in every read. A template only in GET /access-templates/{name} and the version read.
Subject info fields (enriched from Identity)
Identifier of a group subject in its source, as the connector group mapping sets it. With the default mapping it is the full path for GitLab and GitHub groups (acme/platform/backend) and the address for Google groups. Empty for groups not linked to a connector, for people and service accounts, and for callers without identities:read.
"user", "group", "service"
Name of the target. Absent when the target could not be read.
Kind of the target, such as postgres or kubernetes. Absent when the target could not be read.
The policy the request created, updated or found unchanged (equals id)
Current version of that policy after the request (equals version)
What an assignment did to the rule of the identity on the target, decided by the write itself: created a new rule, updated the existing one, or found it already granting that (unchanged. Nothing was written).
createdupdatedunchangedCreateSignInExpectationRequest
CreateSSHKeyRequest
CreateSSHTunnelRequest
Host the tunnel forwards to, as seen from the bastion. Set together with remote_port. A value wins over the endpoint of the linked target.
Port the tunnel forwards to. Set together with remote_host.
Password for sudo operations on remote server
PostgreSQL target to link the tunnel to. The forwarded endpoint is taken from its connection string.
Token from successful test-connection
CreateTargetRequest
Pins Principal-managed SSO gate (oauth2-proxy) pods to schedulable nodes. Required for Kubernetes clusters where every node carries a taint. On update, a supplied empty object clears the configuration.
Kubernetes user kubeconfig connection, independent of the management connection. Omit to preserve the current setting on update. An empty object restores management defaults. A custom server with no CA uses the client system trust store. TLS verification is always enabled.
Settings of an SSH target. A host has its own connection. A fleet names hosts by list and labels.
Compatibility block for clients of the previous release. Use applications_on_bundled_dex. A response shows the management address of this Principal's Dex only when the target's SSO applications are managed there and kubectl also signs in through this Principal's Dex, so older clients that read any address as "kubectl signs in through this Principal's Dex" stay right. In a request, the address of this Principal's Dex turns that management on. An empty object or an omitted block changes nothing (before this release an empty object turned it off). Any other address is refused. When a request carries applications_on_bundled_dex, that field decides and this block only has to name no other address. The target does not store this block.
Whether the SSO applications of a Kubernetes target are managed in this Principal's own Dex. It is independent of kubectl sign-in (dex_custom): a target may have such applications without any kubectl sign-in, and they always use this Principal's Dex issuer and management address. In a request, true or false changes it. Omitted, it stays as it is (a new target gets true when kubectl signs in through this Principal's Dex). Only Kubernetes targets have it: a response carries it for them and omits it for other kinds, and a request for another kind is refused.
Whether Principal protects every Ingress created in the Kubernetes target after this setting is turned on: the Ingress gets the SSO gate annotations at creation, Principal adds it as an application with its own Dex client and SSO gate, and only people with a rule on that application sign in. Ingresses that existed before stay as they are. System namespaces, Principal and Dex objects, cert-manager ACME solvers and Ingresses with the annotation principal.io/protect: "false" are not touched. Turning it off stops protecting new Ingresses and keeps the gates already created. It needs the target's SSO applications managed in this Principal's Dex. In a request, true or false changes it, omitted it stays as it is (a new target created without it has it off). Only Kubernetes targets have it.
ignorealertremediatepostgreskubernetesmysqlclickhousemongodbapplicationsshValue for the principal.io/managed-by label on K8s RBAC objects. Must be unique per cluster.
CredentialDeliveryResponse
A credential delivery Principal stopped retrying by itself.
member_credentials — the Kubernetes credentials of one group member after a membership change. Target_kubeconfigs — the kubeconfig snapshots of one Kubernetes target after its edit.
member_credentials target_kubeconfigs An object of the organization a problem concerns.
An object of the organization a problem concerns.
An object of the organization a problem concerns.
Safe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.
CredentialItemResponse
PostgreSQLConnectionDetails, MySQLConnectionDetails, ClickHouseConnectionDetails, MongoDBConnectionDetails, or KubernetesConnectionDetails. Empty for SSH targets: POST /ssh/certificates returns the hosts with the certificate.
externalprincipal_managed unknownunmanagedprincipal_created adoptedorphanedWhy Principal can't give this credential now, safe to show. Set only then. The item carries no secret and can't be revealed. Whether it can be rotated is rotate_available: rotating a damaged kubeconfig of a target account issues a working one.
The action that gives a working credential again, set with unavailable_reason when one does: rotate means Rotate issues a new credential (rotate_available is then true). unavailable_reason names only the cause then. The screen names the action for the viewer.
rotateUsernamePasswordCredentials, KubeconfigCredentials or, for SSH targets, {"type": "ssh_certificate"}: the identity signs in with a certificate from POST /ssh/certificates, there is no secret to reveal or rotate. While rotation_state is not_confirmed, UsernamePasswordCredentials also carries unconfirmed_password, the new password of the cut-off change: the target accepts either it or password.
not_confirmed while a password change cut off after it was sent waits for a check: Principal keeps both passwords and doesn't know which one the target accepts. POST /identities/{id}/credentials/rotation-check settles it. A Rotate finishes the change with the same new password.
not_confirmed When the unconfirmed password change was sent.
The temporary account of a rule with a TTL (I17) works until this moment. Principal removes it then. Absent for a permanent account.
When the current secret of this account was first revealed. Two answers with the same moment carry the same secret, so a client keeps the value it already holds when a later answer hides it as shown once.
postgresql, mysql, clickhouse, mongodb, kubernetes. Absent, like target_name, when the target can't be read. The item then carries unavailable_reason.
postgreskubernetesmysqlclickhousemongodbapplicationsshCredentialRotationCheckRequest
The target-local account whose password change to check. Omitted for the identity's own account.
CredentialRotationCheckResponse
confirmed: the new password signs in, and Principal stores it. previous_confirmed: the change didn't take effect, the stored password signs in, and the new one was dropped. not_confirmed: Principal still can't tell. Both passwords stay. none: no password change waited for a check.
confirmedprevious_confirmed not_confirmed noneCredentialsSummaryResponse
True when the identity certainly has no credentials, so the console says so without a reveal
DatabaseSelectorRequest
DeleteConnectorRequest
keep_stale purgeDeleteConnectorResponse
DeleteConnectorSummaryResponse
Users that deleting the connector together with its users keeps as no longer synced: they belong to another organization or are the last administrator of an organization.
DeletePolicyResponse
Whether this operation has finished.
Final operation result, or null while the operation is active.
successfailurecancelledpartialQualifies the status and outcome of an operation where they alone would hide what the operator must know. Null when none applies.
rollback_in_progress rolled_back needs_repair outcome_unknown interruptedrequires_approval holds_lock awaiting_confirmation expiredtimed_out rescheduledWhere a background operation is in the shared lifecycle (decision S1). outcome says how a finished operation ended and substate qualifies the state.
queuedrunningfinishedDeleteTargetResponse
Whether this operation has finished.
Final operation result, or null while the operation is active.
successfailurecancelledpartialQualifies the status and outcome of an operation where they alone would hide what the operator must know. Null when none applies.
rollback_in_progress rolled_back needs_repair outcome_unknown interruptedrequires_approval holds_lock awaiting_confirmation expiredtimed_out rescheduledWhere a background operation is in the shared lifecycle (decision S1). outcome says how a finished operation ended and substate qualifies the state.
queuedrunningfinishedSet when the deleted target was in Observe: Principal deleted it without revoking access, whatever revoke_managed asked for, and the accounts stay on the target.
target_in_observe With revoke_skipped, the full list of accounts Principal managed on the target that stay on it, without a limit. A target with hundreds of accounts lists all of them.
DependencyEdgeDTO
DependencyGraphDTO
DependencyNodeDTO
DeprecatedApplicationAccessGroupResponse
DeprecatedApplicationAccessGroupsUpdateRequest
DeprecatedApplicationAccessResponse
DeprecatedApplicationAccessUpdateRequest
DeprecatedApplicationAccessUserResponse
DetachPolicyTemplateRequest
Policy version the caller saw (optimistic locking)
DexClientSecretPreviewResponse
generatepreservedeletecreatereusedeleteDexCustomConfiguration
deckhouse_car rbac_groups legacy_groups federated_snapshot Which Dex the target signs kubectl in through. bundled is this Principal's own Dex: the response shows its current issuer, client and management address, and the target follows a change of it. custom is a Dex or OIDC provider the target names itself. Principal can't manage its clients. Read-only: a request chooses the bundled Dex by leaving out oidc_issuer_url and oidc_client_id (or sending the bundled Dex's own), and a custom Dex by sending another pair.
bundledcustomDexDiscoveredProvider
DexDiscoveryFailureReason
no_crd no_providers permission_denied issuer_not_found discovery_error DexDiscoveryResult
auto_filled selection_required failedskippedno_crd no_providers permission_denied issuer_not_found discovery_error DexDiscoveryStatus
auto_filled selection_required failedskippedDexGRPCConfiguration
Compatibility block for clients of the previous release. Use applications_on_bundled_dex. A response shows the management address of this Principal's Dex only when the target's SSO applications are managed there and kubectl also signs in through this Principal's Dex, so older clients that read any address as "kubectl signs in through this Principal's Dex" stay right. In a request, the address of this Principal's Dex turns that management on. An empty object or an omitted block changes nothing (before this release an empty object turned it off). Any other address is refused. When a request carries applications_on_bundled_dex, that field decides and this block only has to name no other address. The target does not store this block.
DiscoverResponse
Legacy field for v1 API
Job type identifier
New field for v2 API
DiscoveryMetadata
Timestamp of the discovery data
Whether the cache is considered stale
DiscoveryResourceResponse
Included when refresh=true triggers async job
DiscoverySuggestedPatternsResponse
DriftAcceptanceResponse
When the acceptance ends. Null means it has no end date.
Identity that accepted the finding. Absent when that identity no longer exists.
DriftCheckRequest
DriftCheckResponse
Whether this operation has finished.
Final operation result, or null while the operation is active.
successfailurecancelledpartialQualifies the status and outcome of an operation where they alone would hide what the operator must know. Null when none applies.
rollback_in_progress rolled_back needs_repair outcome_unknown interruptedrequires_approval holds_lock awaiting_confirmation expiredtimed_out rescheduledWhere a background operation is in the shared lifecycle (decision S1). outcome says how a finished operation ended and substate qualifies the state.
queuedrunningfinishedDriftRemediationPlanResponse
Run-scoped finding key "<run_id>_<finding_id>" of the planned finding, as accepted by /drift/run-findings/{id}/remedy.
DriftRemediationRequest
If true, only generate plan without applying
If true, include inherited/default findings in remediation
Remediation scope filter (all findings or only default/inherited findings)
alldefault_inherited_only DriftRemediationResponse
Final operation result, or null while the operation is active.
successfailurecancelledpartialFinding ID that was remediated
Run-scoped finding key "<run_id>_<finding_id>" of the remediated finding. Matches the run_finding_id of drift:run-finding live events for this job.
Job ID for async remediation
Run ID if remediating entire run
Remediation status.
queuedcompletedfailedalready_in_sync requires_explicit_single DriftResponse
Safe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.
Run-scoped finding key "<run_id>_<finding_id>". Identifies the finding in /drift/run-findings/{id}/remedy and in drift:run-finding live events.
Canonical name of the rule that produced the finding (the rule's display_name), when the rule is visible.
Identity the rule grants access to.
Display name of the rule subject.
Kind of the rule subject identity.
MariaDB only: what fixing this finding with Apply of its rule does to the open sessions of the account, computed by the drift check with the same assessment the plan of the rule uses. closed: Apply closes them. kept: they keep their access. unknown: Principal could not tell, so expect them to close. Absent on a finding checked before Principal computed it, which a client treats as unknown. The exact answer comes from the plan of the rule when it is applied.
closedkeptunknownLatest remediation status for this finding snapshot.
openremediatedfailedalready_in_sync skippedTimestamp of the latest remediation status update.
Last remediation job that touched this finding snapshot.
Machine-readable error code from the last failed remediation attempt.
Human-readable error message from the last failed remediation attempt.
Human-readable description of the drift finding.
Human-readable resource identifier (e.g. "ClusterRole principal-role in default").
Owner of the Kubernetes object the finding is about, resolved on read. Absent for database targets and for objects Principal does not manage.
Name of the database account on the target whose access the finding is about (for example anna_petrova), resolved on read. Absent for Kubernetes targets and when the account is unknown.
Present while the finding is accepted as expected: it is then not a problem. Absent when the finding is not accepted or its acceptance has ended.
DriftRunResponse
Safe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.
Whether this operation has finished.
Final operation result, or null while the operation is active.
successfailurecancelledpartialQualifies the status and outcome of an operation where they alone would hide what the operator must know. Null when none applies.
rollback_in_progress rolled_back needs_repair outcome_unknown interruptedrequires_approval holds_lock awaiting_confirmation expiredtimed_out rescheduledWhere a background operation is in the shared lifecycle (decision S1). outcome says how a finished operation ended and substate qualifies the state.
queuedrunningfinishedDriftStatsResponse
Open findings accepted as expected. They are not in total_findings or the other counts. open_stats is counted when it is read. The stats stored with a drift check are counted by the check and after a fix: accepting a finding, or the end of its term, changes them at the next check or fix.
DriftSummaryResponse
DriftTargetSnapshotResponse
EnqueueJobPayload
EnqueueJobRequest
Deprecated compatibility alias for payload.target_id. If present, both values must match.
drift_check k8s_drift_check Deprecated compatibility field. The only accepted value is 3.
3Deprecated compatibility field. The only accepted value is normal.
normalDeprecated compatibility field. The only accepted value is drift_check.
drift_check Deprecated compatibility field. The only accepted value is 1800.
1800EnsureIdentityRequest
EnsureIdentityResponse
EnsurePolicyRequest
External identity pattern (for federated users from GitLab, GitHub, LDAP, etc.)
Rule with a TTL (I17): when to remove the rule, 15 minutes to 30 days from now. A personal rule only. A group refuses it with policy.ttl_not_allowed. Every call with an expiry gives new temporary access and never returns an existing rule. Give either expires_at or ttl.
Local identity pattern (for manually created users/service accounts)
usergroupserviceTyped placement of a Kubernetes rule (accessTemplateSplit stage 2c). Required when template_name references a shared_by_template_v1 Kubernetes RBAC profile template. Rejected for other template modes until unified materialization (stage 3).
Common fields (required for both patterns)
Rule with a TTL as an ISO 8601 duration of days, hours, minutes or seconds, for example PT2H or P7D. 15 minutes to 30 days. Give either ttl or expires_at.
EnsurePolicyResponse
True only for result=created. Deprecated: read result instead. Kept for compatibility and removed no earlier than release 5.0.0.
The policy the request created, updated or found unchanged
Current version of that policy after the request
What an assignment did to the rule of the identity on the target, decided by the write itself: created a new rule, updated the existing one, or found it already granting that (unchanged. Nothing was written).
createdupdatedunchangedOnly present if validation failed
entity.AccessTemplateBulkApplyTargetSelector
Resolved target selector of a bulk apply run, echoed back by preview and confirm responses. Mirrors the request selector shape without request-only validation rules.
all_managed explicitentity.ApplyActionResultPayload
Safe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.
entity.ApplyResultPayload
successpartial_success failedentity.ApplyRunGroupMemberResult
Safe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.
Name of the member the result belongs to, as it was when the apply ran.
pendingrunningsucceededfailedpartially_succeeded rollback_in_progress rolled_back failed_needs_repair entity.ApplyRunPlanSnapshot
validinvalidpartialentity.ApplyRunResult
Safe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.
The apply ended before its plan did. The changes it made stay on the target. The steps after the stop never started.
Steps a single-rule apply runs. Recorded after every step, so a run Principal stopped running still says how far it got.
Steps the apply made so far.
Steps that failed so far.
Completed steps that changed something on the target, counted like the rows of the result: a step the plan showed as already in place runs but is not a change. For a group apply, the changes of its members added up. Absent on runs recorded before Principal counted it.
The attempt of the apply job that ran this apply, 1 for the first.
entity.ApplyStop
The apply ended before its plan did. The changes it made stay on the target. The steps after the stop never started.
requested when a person asked the apply to stop after its current step, target_busy when a step waited for a lock another session held on the target past the wait limit.
requestedtarget_busy Changes of the rule's plan made before the stop. Zero for a group rule, whose members are counted in the member fields.
Changes the rule's plan held. Zero for a group rule.
Members of a group rule whose apply never started.
entity.DatabaseSelector
entity.DiscoveryProgress
A stage actually emitted by a discovery worker.
application_discovery_warning checking_staleness cleaned_stale cleaning_stale completeconnectconnectingdatabases_complete discovered_api_resources discovered_application_candidates discovered_cluster_role_bindings discovered_cluster_roles discovered_namespaces discovered_role_bindings discovered_roles discovered_tables discovering_api_resources discovering_application_candidates discovering_cluster_role_bindings discovering_cluster_roles discovering_complete discovering_databases discovering_namespaces discovering_role_bindings discovering_role_bindings_warning discovering_roles discovering_roles_warning discovering_schemas discovering_tables discovering_users finalizingpropagating_future_objects propagation_warning resources_complete resources_connecting resources_databases_complete resources_discovering_databases resources_discovering_tables resources_finalizing resources_scanned_database 6 more values
roles_complete scanned_database scanning_complete staleness_warning usersusers_complete Persisted worker progress. Even 100 does not imply that the job is terminal.
Safe static English presentation of the stage.
entity.DiscoveryReplicaObject
The database, or the database of the table.
Set for a table of a database every replica holds. Absent for a database some replicas lack.
Host names of the first replicas, in name order, that hold the object.
The number of replicas that hold the object, including the ones not listed.
entity.DiscoveryStage
A stage actually emitted by a discovery worker.
application_discovery_warning checking_staleness cleaned_stale cleaning_stale completeconnectconnectingdatabases_complete discovered_api_resources discovered_application_candidates discovered_cluster_role_bindings discovered_cluster_roles discovered_namespaces discovered_role_bindings discovered_roles discovered_tables discovering_api_resources discovering_application_candidates discovering_cluster_role_bindings discovering_cluster_roles discovering_complete discovering_databases discovering_namespaces discovering_role_bindings discovering_role_bindings_warning discovering_roles discovering_roles_warning discovering_schemas discovering_tables discovering_users finalizingpropagating_future_objects propagation_warning resources_complete resources_connecting resources_databases_complete resources_discovering_databases resources_discovering_tables resources_finalizing resources_scanned_database 6 more values
roles_complete scanned_database scanning_complete staleness_warning usersusers_complete entity.DiscoveryWarning
discovery_warning inventory_incomplete propagation_incomplete objects_not_on_every_replica Safe static English warning, without target or driver diagnostics.
Only for objects_not_on_every_replica: the first ClickHouse cluster databases and tables, in name order, that some replicas lack. Discovery did not record them.
Only for objects_not_on_every_replica. The number of such objects, including the ones not listed.
Only for inventory_incomplete: the first databases, in name order, that discovery left out because the target's service account cannot enter them.
Only for inventory_incomplete. The number of skipped databases, including the ones not listed.
entity.DiscoveryWarningCode
discovery_warning inventory_incomplete propagation_incomplete objects_not_on_every_replica entity.OperationLifecycle
Where a background operation is in the shared lifecycle (decision S1). outcome says how a finished operation ended and substate qualifies the state.
queuedrunningfinishedentity.OperationOutcome
Final operation result, or null while the operation is active.
successfailurecancelledpartialentity.OperationSubstate
Qualifies the status and outcome of an operation where they alone would hide what the operator must know. Null when none applies.
rollback_in_progress rolled_back needs_repair outcome_unknown interruptedrequires_approval holds_lock awaiting_confirmation expiredtimed_out rescheduledentity.SessionTerminationResult
supporteddegradedunsupportedcompletedpartialfaileddegradedunsupportedentity.SessionTerminationSummary
entity.SubjectKind
usergroupserviceentity.TargetAccountKey
entity.TargetKind
postgreskubernetesmysqlclickhousemongodbapplicationsshErrorDetail
ExpiredRuleResponse
A rule with a TTL past its expiry whose removal has not finished.
An object of the organization a problem concerns.
An object of the organization a problem concerns.
The latest removal of the rule. Absent until its removal starts.
State of the latest removal, empty until it starts.
The removal waits for an administrator decision on the rule page, such as what to do with the objects of a temporary PostgreSQL role or Forget user on ClickHouse. A retry alone does not finish it.
FailureReasonStat
Safe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.
FieldError
FutureObjectsNamedRowResponse
The first row of a PostgreSQL rule or template that names its objects by name or by a name mask while Future objects are on. Future objects reach only a row on every object of its kind in a schema, so the switch reaches none of these objects. Only a rule or template saved before Principal refused such a save carries it, and its next save is refused until Future objects are off or the row covers every object of its kind. A rule carries it in every read. A template only in GET /access-templates/{name} and the version read.
The kind of objects of the row, in the plural.
tablessequencesfunctionstypesobjectsThe database the row names. Absent when the row names none, and always for a template.
The schema the row names. Absent when the row names none.
The object name or name mask of the row.
GetAuditReportResponse
Why the caller's role cannot open this report. Empty when it can.
Safe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.
Whether this operation has finished.
Final operation result, or null while the operation is active.
successfailurecancelledpartialQualifies the status and outcome of an operation where they alone would hide what the operator must know. Null when none applies.
rollback_in_progress rolled_back needs_repair outcome_unknown interruptedrequires_approval holds_lock awaiting_confirmation expiredtimed_out rescheduledWhere a background operation is in the shared lifecycle (decision S1). outcome says how a finished operation ended and substate qualifies the state.
queuedrunningfinishedThe preset id the report was made from.
The report file: pdf, csv (a ZIP archive with one CSV file per table) or json (one file with the principal.audit_report schema). Reports made before the format choice are pdf.
pdfcsvjsonThe custom report title. Empty when the report uses the preset title.
The section ids of the report in report order.
The start of the report period. Absent for an older queued report without a set period.
The end of the report period. Absent for an older queued report without a set period.
GrantAccessRequest
For EnsureSubject
Optional metadata
For EnsureSubject
Execution mode
plan_only apply_async apply_sync OperationID for idempotency (optional, generated if not provided)
For EnsureSubject
The subject to grant to. Send either subject_id or connector_id, provider, external_id and subject_kind, not both.
Target identification
Policy definition (one of these must be provided)
Rule with a TTL (I17): an ISO 8601 duration of 15 minutes to 30 days, for example PT1H. The grant creates a personal rule that Principal removes at that moment. On a database or Kubernetes target the rule gets its own temporary account. A group subject refuses it with policy.ttl_not_allowed.
GrantAccessResponse
Final operation result, or null while the operation is active.
successfailurecancelledpartialSafe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.
Qualifies the status and outcome of an operation where they alone would hide what the operator must know. Null when none applies.
rollback_in_progress rolled_back needs_repair outcome_unknown interruptedrequires_approval holds_lock awaiting_confirmation expiredtimed_out rescheduledThe saved plan the grant generated. In an apply mode the job executes this plan exactly when POST /policies/{id}/plan would report exact_apply_supported true. Otherwise, for example for a group policy applied per member, the job applies the policy's current state and records the plan it builds on its own apply run (see job_id), while plan_id keeps naming the generated plan for tracing.
Where a background operation is in the shared lifecycle (decision S1). outcome says how a finished operation ended and substate qualifies the state.
queuedrunningfinishedGrantPolicyRuleRequest
GroupMembersResponse
A page of the list in the shared envelope, dto.ListPage. Total counts the group's direct members. The list continues by position, so items added or removed between pages can shift the next page.
True when another page follows. The list ends when it is false.
Opaque cursor of the next page, present only when has_more is true. Send it unchanged as the cursor query parameter with the same filters.
Full number of items that match the request, present only when the list counts them. It is never the size of the page.
GroupRuleMemberWithoutAccessResponse
A member of a group that has a group rule on a target but holds no rule there.
The group rule to apply.
An object of the organization a problem concerns.
An object of the organization a problem concerns.
An object of the organization a problem concerns.
handler.DexAccessRequestOfferRequest
Key from the Principal sign-in refusal. When set, the other fields are ignored.
handler.DexAccessRequestResponse
opensentlimitedunavailablehandler.DexAccessRequestSendRequest
handler.DexPrincipalConnectorAccessDeniedResponse
handler.DexPrincipalConnectorExchangeRequest
handler.DexPrincipalConnectorIdentityResponse
handler.DexPrincipalConnectorRefreshRequest
handler.DexPrincipalConnectorScopesRequest
handler.DexPrincipalTokenExchangeRequest
handler.KubernetesTokenReviewRequest
authentication.k8s.io/v1authentication.k8s.io/v1beta1TokenReviewhandler.KubernetesTokenReviewRequestError
TOKEN_REVIEW_REQUEST_INVALID handler.KubernetesTokenReviewResponse
authentication.k8s.io/v1authentication.k8s.io/v1beta1TokenReviewHBAAuthMethod
trustrejectmd5passwordscram-sha-256gsssspiidentpeerldapradiuscertpamHBAConfiguration
HBADetectResponse
HBARuleResponse
trustrejectmd5passwordscram-sha-256gsssspiidentpeerldapradiuscertpamlocalhosthostsslhostnosslHBARulesResponse
HBARuleType
localhosthostsslhostnosslHBAValidationResponse
HealthStatsResponse
HighRiskItemDTO
Why this is high risk
IdentityAdoptedAccountResponse
principal_created adoptedexternalprincipal_managed unknownIdentityAdoptedAccountsListResponse
IdentityAuthBindingMigrationReport
IdentityAuthBindingMigrationReportItem
pending_confirmation IdentityAuthBindingResponse
pending_confirmation activelegacyadminjitprovider_backfill IdentityCapabilitiesResponse
IdentityCredentialsAuditRequest
Detail of what the console did with credentials it already received: a copy of one field or a download of a file. The reveal itself is recorded by GET /identities/{id}/credentials on the server.
copydownloadLabel of the credentials tab field that was copied or downloaded
UsernamePasswordNew passwordDSNNative DSNHTTP URLHTTPS URLAPI serverKubeconfigService accountNamespaceusername_password kubeconfigIdentityDexAccessApplicationResponse
Name of the application's target. Absent when the target could not be read.
IdentityDexAccessGroupResponse
Group claim name Dex sends to applications.
Group display name. Absent when the group has none.
IdentityDexAccessResponse
IdentityGraphGroupNodeResponse
usergroupserviceProvider-confirmed account classification. Absent when unknown.
User email from identity metadata.
Provider avatar URL from identity metadata.
True for a user an application uses instead of a person. Absent for people, groups and service identities.
References into the top-level members dictionary in compact mode.
Direct members of the group before pagination: users, service accounts and nested groups, without GitLab access-token bots. The same number as members_count of GET /identities and GET /identities/{id}. Members and member_ids list these members with their kind.
Members the group reaches only through its nested groups, at any depth: users, service accounts and the nested groups themselves, without GitLab access-token bots and without the group's own direct members. It counts groups too. People_through_subgroups_count counts people only. The same number as members_through_subgroups_count of GET /identities/{id}.
People the group reaches only through its nested groups, at any depth: users (a user marked as a service account too), each once, without groups, without identities of kind service, without GitLab access-token bots and without the group's own direct members. A person who is a direct member and also in a nested group is counted in direct_people_count only.
Direct members of the group that are people: users (a user marked as a service account too), without nested groups, identities of kind service and GitLab access-token bots. The members the People board lists as people of the group.
IdentityGraphMemberNodeResponse
usergroupserviceProvider-confirmed account classification. Absent when unknown.
User email from identity metadata.
Provider avatar URL from identity metadata.
True for a user an application uses instead of a person. Absent for people, groups and service identities.
IdentityGraphResponse
Deduplicated member dictionary populated in compact mode.
One page of the people in no group, without the token bots the console hides.
IdentityGraphSummaryResponse
People in no group who match the search, without the token bots the console hides (GitLab project and group access token bots, GitHub [bot] logins and GitHub accounts the connector classified as bots). ungrouped_users leaves the same bots out, so offset_ungrouped pages through exactly this many people.
IdentityIDResponse
usergroupserviceThe label the console shows for the identity: its display_name, else its email, username or external_id, the same label as in GET /identities/graph.
IdentityIDsResponse
The same identities as items, IDs only. Kept for older clients.
Every matching identity, in the order of ids, with its kind and its display name as GET /identities returns it, so a selection outside the loaded page keeps groups apart from people.
More identities match than the 5000 IDs returned.
IdentityKind
usergroupserviceIdentityMFARequirementRequest
True marks the person, false removes the mark.
IdentityMFARequirementResponse
False when the installation does not offer a second factor. Then nobody is asked for one.
The person has an active second factor.
An administrator marked the person.
What the organization of the person requires: off, selected (marked people and administrators) or everyone.
offselectedeveryoneWhy a second factor is required: organization (from everyone), administrator (the person holds the admin role while the organization requires selected people and administrators), selected (the person is marked). Null when it is not required.
organizationadministratorselectedIdentityProfileConflictResponse
connectorprincipallegacysign_in IdentityProfileSourceResponse
usernamedisplay_name emailavatar_url account_type connector: a connector sync. Principal: set in Principal. Legacy: kept from before sources were recorded. Sign_in: value of the first Dex sign-in.
connectorprincipallegacysign_in Other writers that hold a different value. The shown value wins by priority.
IdentityResponse
Provider-confirmed account classification. Absent when unknown.
Provider avatar or Gravatar URL for user identities.
Email from the identity metadata, when it is an address.
usergroupserviceDirect member total (group identities only): users, service accounts and nested groups, without GitLab access-token bots. GET /identities/graph reports the same number for the group.
Group identities only: members the group reaches only through its nested groups, at any depth, nested groups included, without GitLab access-token bots and without its own direct members. GET /identities/graph reports the same number.
Group identities only: people (users, a user marked as a service account too, no groups, no identities of kind service, no GitLab access-token bots) the group reaches only through its nested groups, each once, without its own direct members.
Group identities only: direct members that are people (users, a user marked as a service account too), without nested groups, identities of kind service and GitLab access-token bots.
True for a user an application uses instead of a person. A service account is the same user for rules, groups, credentials and targets. The mark only describes it. Absent for people, groups and service identities.
Service accounts only: where the application's secret is kept or is to be kept, as a path in the organization secret store. A description, never a secret. Principal does not read it. Absent when not recorded.
Returned only by GET /identities/{id}: the writer each profile field shows the value of, and other writers that hold a different value.
Returned only by GET /identities/{id} for a person: whether an administrator or a connector suspended them.
Login from the identity provider. A single sign-on user may have a generated key here.
IdentitySuspensionResponse
Who suspended the person, an administrator or a connector that no longer finds them.
administratorconnectorIdentityWithPrincipalPasswordResponse
Provider-confirmed account classification. Absent when unknown.
Provider avatar or Gravatar URL for user identities.
Email from the identity metadata, when it is an address.
usergroupserviceDirect member total (group identities only): users, service accounts and nested groups, without GitLab access-token bots. GET /identities/graph reports the same number for the group.
Group identities only: members the group reaches only through its nested groups, at any depth, nested groups included, without GitLab access-token bots and without its own direct members. GET /identities/graph reports the same number.
Group identities only: people (users, a user marked as a service account too, no groups, no identities of kind service, no GitLab access-token bots) the group reaches only through its nested groups, each once, without its own direct members.
Group identities only: direct members that are people (users, a user marked as a service account too), without nested groups, identities of kind service and GitLab access-token bots.
True for a user an application uses instead of a person. A service account is the same user for rules, groups, credentials and targets. The mark only describes it. Absent for people, groups and service identities.
Service accounts only: where the application's secret is kept or is to be kept, as a path in the organization secret store. A description, never a secret. Principal does not read it. Absent when not recorded.
Returned only by GET /identities/{id}: the writer each profile field shows the value of, and other writers that hold a different value.
Returned only by GET /identities/{id} for a person: whether an administrator or a connector suspended them.
Login from the identity provider. A single sign-on user may have a generated key here.
Present only when an invitation was requested. Failed does not roll back user creation.
sentfailedImpactSummary
InheritedPolicyMemberExclusionResponse
Why a member of the group does not receive the rule. Principal applies one rule per identity and target and does not combine group rules with individual rules, so a member whose access on the target another rule already holds is listed as excluded instead of covered.
The kind of rule that holds the member's access on the target.
individual_rule group_rule The rule that holds the member's access on the target (their individual rule, or the group rule of another group).
The other group whose rule holds the access. Present for reason group_rule.
Display name of the other group, when it is known.
InheritedPolicyMemberResponse
Why a member of the group does not receive the rule. Principal applies one rule per identity and target and does not combine group rules with individual rules, so a member whose access on the target another rule already holds is listed as excluded instead of covered.
Provider-confirmed account classification. Absent when unknown.
InstallationMaintenanceJobsResponse
Unfinished jobs of the installation by registry state.
Pending and queued jobs. The next worker takes them with a lease ticket.
Running attempts that hold a lease ticket.
Running attempts of legacy workers without a lease ticket. Each needs an operator decision.
Running records of in-flight API requests. Their requests finish them.
InstallationMaintenanceRequest
Turns the installation maintenance mode on.
Why the mode is on. Shown to other administrators and in the maintenance CLI.
InstallationMaintenanceResponse
Installation maintenance mode with the unfinished jobs.
Who changed the mode last (identity:<id> for the API, cli:<host> for the maintenance CLI).
The answering backend replica refuses to start its work while legacy claims remain.
Unfinished jobs of the installation by registry state.
JobBulkOperationResponse
The bulk run this job carries, present on bulk_operation jobs in the jobs list: what it does and the group it works on, so a list row can name it without reading the run.
The bulk action, as in GET /bulk-operations/{id}.
The group name recorded when the run started.
JobCutoverResolutionResponse
Operator decision about a job whose attempt a worker of the previous job protocol left running, recorded by the maintenance CLI registry (docs/maintenance-cutover.md). Returned to job administrators only.
complete records the attempt as completed, requeue repeats the job, repair fails it for manual repair.
completerequeuerepairWho decided (cli:<host> for the maintenance CLI).
Worker of the previous job protocol that held the interrupted attempt.
Registry state of the attempt when the decision was made.
legacy_claim request_record JobFailureCode
Closed registry of asynchronous operation failure causes, independent of HTTP problem codes.
ACCESS_PROFILE_STALE AMBIGUOUS_TARGET_OUTCOME APPLY_INTERRUPTED AUTHENTICATION_FAILED CLICKHOUSE_REPLICAS_OUT_OF_SYNC CLICKHOUSE_USER_NAME_RESERVED CONNECTION_FAILED CONNECTION_REFUSED CONNECTION_TIMEOUT CONNECTOR_CREDENTIALS_MISSING CONNECTOR_PAUSED CONNECTOR_SOURCE_CHANGED CONNECTOR_TYPE_UNAVAILABLE CONSTRAINT_VIOLATION CREDENTIAL_EXPIRED CREDENTIAL_NOT_FOUND DATABASE_NOT_FOUND DRIFT_BINDING_NOT_FOUND DRIFT_DEFAULT_INHERITED_SKIPPED DRIFT_NO_EXECUTABLE_DIFF DRIFT_PARTIAL_APPLY DRIFT_PLAN_GENERATION_FAILED DRIFT_RESOURCE_MISMATCH DRIFT_RULE_DELETING DRIFT_RUN_OUTDATED DRIFT_SCOPE_MISMATCH GROUP_EXPANSION_LIMIT_EXCEEDED HANDLER_NOT_FOUND K8S_CHANGE_REJECTED K8S_CLUSTER_UNREACHABLE K8S_NAMESPACE_FORBIDDEN K8S_NAMESPACE_NOT_FOUND K8S_RBAC_FORBIDDEN KUBERNETES_MEMBER_CREDENTIALS_PENDING KUBERNETES_SERVICE_ACCOUNT_KUBECONFIG_NOT_ISSUED MARIADB_TRUNCATE_UNSUPPORTED MARIADB_USAGE_UNSUPPORTED MARIADB_GRANTS_AMBIGUOUS MUTATION_LOCKED MYSQL_MANAGEMENT_PRIVILEGES_MISSING 34 more values
NOT_FOUND OPERATION_BACKOFF OPERATION_CANCELLED OPERATION_TIMEOUT OWNED_OBJECTS_DECISION_REQUIRED PERMISSION_DENIED PLAN_APPLY_ARTIFACT_INVALID PLAN_APPLY_ORPHANED_LOCK PLAN_APPLY_ROLLBACK_BASELINE_INVALID PLAN_APPLY_RULE_CHANGED PLAN_APPLY_TARGET_STATE_CHANGED PLAN_APPLY_ACCESS_IMPACT_CHANGED POSTGRES_FUTURE_OBJECT_CREATORS_MISSING POSTGRES_GRANT_AUTHORITY_MISSING POSTGRES_MANAGEMENT_PRIVILEGES_MISSING POSTGRES_ROLE_ATTRIBUTE_UNSUPPORTED POSTGRES_ROLE_NAME_RESERVED POSTGRES_TLS_FILE_NOT_ALLOWED PROVIDER_REQUEST_FAILED RATE_LIMITED ROLE_EXISTS ROLE_NOT_FOUND ROTATION_CHECK_REQUIRED SECRET_STORE_UNAVAILABLE SERIALIZATION_ERROR TARGET_ACCOUNT_IDENTITY_MISMATCH TARGET_ACCOUNT_IDENTITY_UNVERIFIED TARGET_ACCOUNT_IMPORT_PENDING TARGET_ACCOUNT_PRINCIPAL_LOGIN TARGET_ACCOUNT_TAKEN TARGET_CONNECTION_MISSING TARGET_REPAIR_REQUIRED UNKNOWN_ERROR VALIDATION_FAILED JobMetadataResponse
Safe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.
Bulk action that this job runs. GET /bulk-operations/{id} reads it.
Items remediated. For kubernetes_credential_refresh, kubeconfigs re-issued for the target's current authentication mode.
For kubernetes_credential_refresh, kubeconfigs of another authentication mode removed because the identity has no access in the current mode.
Connector sync only. Accounts this sync added to the duplicates of the connector.
Connector sync only. Accounts the sync skipped as duplicates, the new ones included.
pendingqueuedrunningcompletedfailedcancelledtimeoutokerrorrescheduledsucceededpartially_succeeded rollback_in_progress rolled_back failed_needs_repair successpartial_success Shared Kubernetes roles the cleanup kept because another binding still uses them. After a target deletion they stay in the cluster and Principal no longer removes them.
Accounts a target deletion with revoke left on the target because Principal can't confirm it created or adopted them. The target is deleted. The accounts keep their access.
True when a failed target deletion ended with remove_from_principal_only. Principal deleted the target without revoking what the failed attempts left. That access stays on the target.
Operator decision about a job whose attempt a worker of the previous job protocol left running, recorded by the maintenance CLI registry (docs/maintenance-cutover.md). Returned to job administrators only.
JobResponse
The bulk run this job carries, present on bulk_operation jobs in the jobs list: what it does and the group it works on, so a list row can name it without reading the run.
Follow-up analysis queued by this discovery. Poll its terminal state before refreshing patterns.
Safe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.
Whether this operation has finished.
Final operation result, or null while the operation is active.
successfailurecancelledpartialQualifies the status and outcome of an operation where they alone would hide what the operator must know. Null when none applies.
rollback_in_progress rolled_back needs_repair outcome_unknown interruptedrequires_approval holds_lock awaiting_confirmation expiredtimed_out rescheduledWhen a person asked the running rule apply to stop after its current step.
Deprecated legacy metadata alias. Use payload_summary.
Deprecated legacy metadata alias. Use result_summary.
Where a background operation is in the shared lifecycle (decision S1). outcome says how a finished operation ended and substate qualifies the state.
queuedrunningfinishedJobRunResponse
Safe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.
Whether this operation has finished.
Final operation result, or null while the operation is active.
successfailurecancelledpartialQualifies the status and outcome of an operation where they alone would hide what the operator must know. Null when none applies.
rollback_in_progress rolled_back needs_repair outcome_unknown interruptedrequires_approval holds_lock awaiting_confirmation expiredtimed_out rescheduledWhere a background operation is in the shared lifecycle (decision S1). outcome says how a finished operation ended and substate qualifies the state.
queuedrunningfinishedJobRunsResponse
K8sClusterRoleBindingResponse
Rule, template or identity this Principal object belongs to. Filled by the resource explorer inventory. Absent for objects Principal does not manage.
K8sClusterRoleResponse
Rule, template or identity this Principal object belongs to. Filled by the resource explorer inventory. Absent for objects Principal does not manage.
K8sNamespaceResponse
ActiveTerminatingK8sRBACRuleResponse
K8sResourceCategoryResponse
K8sResourceKeyResponse
K8sResourceTypeResponse
K8sRoleBindingResponse
Rule, template or identity this Principal object belongs to. Filled by the resource explorer inventory. Absent for objects Principal does not manage.
K8sRoleRefResponse
K8sRoleResponse
Rule, template or identity this Principal object belongs to. Filled by the resource explorer inventory. Absent for objects Principal does not manage.
K8sSubjectResponse
True when Principal can take the account under management. Adoption refuses the rest. Whether it is already managed is in principal.ownership_state.
humansystemidentity_service principal_static_account postgres_predefined_role postgres_bootstrap_superuser postgres_provider_role postgres_connection_role mysql_reserved_account mariadb_system_account mariadb_public_role mongodb_connection_user mongodb_internal_user mongodb_user_without_id kubernetes_service_account kubernetes_system_subject kubernetes_default_rbac Rule, template or identity this Principal object belongs to. Filled by the resource explorer inventory. Absent for objects Principal does not manage.
KubernetesUserConnectionConfiguration
Kubernetes user kubeconfig connection, independent of the management connection. Omit to preserve the current setting on update. An empty object restores management defaults. A custom server with no CA uses the client system trust store. TLS verification is always enabled.
HTTPS Kubernetes API URL reachable by users. Required for a nonempty override.
Base64-encoded PEM CA bundle. Omit to use the client system trust store.
Optional TLS certificate server name override.
ListAccessProfilesResponse
ListAccessTemplatesResponse
A page of the list in the shared envelope, dto.ListPage. Total counts the latest versions of matching templates.
True when another page follows. The list ends when it is false.
Opaque cursor of the next page, present only when has_more is true. Send it unchanged as the cursor query parameter with the same filters.
Full number of items that match the request, present only when the list counts them. It is never the size of the page.
ListActivityOperationsResponse
A page of the list in the shared envelope, dto.ListPage. Total counts the operations the filters select. The list continues by position, so operations created between pages can shift the next page.
True when another page follows. The list ends when it is false.
Opaque cursor of the next page, present only when has_more is true. Send it unchanged as the cursor query parameter with the same filters.
Full number of items that match the request, present only when the list counts them. It is never the size of the page.
ListApplicationCandidatesResponse
A page of the list in the shared envelope, dto.ListPage. Total counts the candidates the filters select.
True when another page follows. The list ends when it is false.
Opaque cursor of the next page, present only when has_more is true. Send it unchanged as the cursor query parameter with the same filters.
Full number of items that match the request, present only when the list counts them. It is never the size of the page.
ListApplicationTargetsResponse
A page of the list in the shared envelope, dto.ListPage. Total counts the target's applications.
True when another page follows. The list ends when it is false.
Opaque cursor of the next page, present only when has_more is true. Send it unchanged as the cursor query parameter with the same filters.
Full number of items that match the request, present only when the list counts them. It is never the size of the page.
ListApplyRunsResponse
A page of the list in the shared envelope, dto.ListPage. This list doesn't count its items, so total is absent.
True when another page follows. The list ends when it is false.
Opaque cursor of the next page, present only when has_more is true. Send it unchanged as the cursor query parameter with the same filters.
Full number of items that match the request, present only when the list counts them. It is never the size of the page.
ListAuditEventsResponse
A page of the list in the shared envelope, dto.ListPage. The audit log doesn't count its events, so total is absent.
True when another page follows. The list ends when it is false.
Opaque cursor of the next page, present only when has_more is true. Send it unchanged as the cursor query parameter with the same filters.
Full number of items that match the request, present only when the list counts them. It is never the size of the page.
ListAuditReportsResponse
ListClickHouseUsersResponse
ListConnectorsResponse
A page of the list in the shared envelope, dto.ListPage. This list doesn't count its items, so total is absent.
True when another page follows. The list ends when it is false.
Opaque cursor of the next page, present only when has_more is true. Send it unchanged as the cursor query parameter with the same filters.
Full number of items that match the request, present only when the list counts them. It is never the size of the page.
ListCredentialsResponse
ListDriftFindingsByRunResponse
ListDriftFindingsResponse
A page of the list in the shared envelope, dto.ListPage. Total counts the findings the filters select. The list continues by position, so items added or removed between pages can shift the next page.
True when another page follows. The list ends when it is false.
Opaque cursor of the next page, present only when has_more is true. Send it unchanged as the cursor query parameter with the same filters.
Full number of items that match the request, present only when the list counts them. It is never the size of the page.
ListDriftRunsResponse
A page of the list in the shared envelope, dto.ListPage. Total counts the drift runs the filters select. The list continues by position, so items added or removed between pages can shift the next page.
True when another page follows. The list ends when it is false.
Opaque cursor of the next page, present only when has_more is true. Send it unchanged as the cursor query parameter with the same filters.
Full number of items that match the request, present only when the list counts them. It is never the size of the page.
ListDriftTargetSnapshotsResponse
ListFacetsResponse
Facet value counts for one list, keyed by facet name, plus named view counts and the total under every filter.
Rows that match the search and every filter.
Values with counts per facet, ordered by count descending.
Rows per named view, counted under the search without facet filters.
ListFacetValueResponse
Filter value code, in the same form the matching filter parameter accepts.
Rows with this value under the current search and the other filters.
Name to show for the value when the code is an ID, such as the target name of a rule target.
ListIdentitiesResponse
A page of the list in the shared envelope, dto.ListPage. Total counts matching identities on the first page and is absent from continuation pages.
True when another page follows. The list ends when it is false.
Opaque cursor of the next page, present only when has_more is true. Send it unchanged as the cursor query parameter with the same filters.
Full number of items that match the request, present only when the list counts them. It is never the size of the page.
ListIdentityAuthBindingsResponse
ListInheritedPolicyMembersResponse
ListJobsResponse
A page of the list in the shared envelope, dto.ListPage. Total counts the jobs the filters select. The list continues by position, so items added or removed between pages can shift the next page.
True when another page follows. The list ends when it is false.
Opaque cursor of the next page, present only when has_more is true. Send it unchanged as the cursor query parameter with the same filters.
Full number of items that match the request, present only when the list counts them. It is never the size of the page.
ListK8sClusterRoleBindingsResponse
ListK8sClusterRolesResponse
ListK8sNamespacesResponse
ListK8sObjectNamesResponse
ListK8sResourceTypesResponse
ListK8sRoleBindingsResponse
ListK8sRolesResponse
ListMongoDBUsersResponse
ListMySQLUsersResponse
ListNotificationDeliveriesResponse
A page of the list in the shared envelope, dto.ListPage. Total counts the organization's deliveries. The list continues by position, so items added or removed between pages can shift the next page.
True when another page follows. The list ends when it is false.
Opaque cursor of the next page, present only when has_more is true. Send it unchanged as the cursor query parameter with the same filters.
Full number of items that match the request, present only when the list counts them. It is never the size of the page.
ListPage
The envelope of every paginated list. The registry is backend/docs/api-lists.md. Continue with next_cursor while has_more is true. total is the full number of items that match the request and is present only when the server counts it, never the page size. Each list states whether it counts.
True when another page follows. The list ends when it is false.
Opaque cursor of the next page, present only when has_more is true. Send it unchanged as the cursor query parameter with the same filters.
Full number of items that match the request, present only when the list counts them. It is never the size of the page.
ListPoliciesResponse
A page of the list in the shared envelope, dto.ListPage. Total counts matching rules. It is absent when the count fails.
True when another page follows. The list ends when it is false.
Opaque cursor of the next page, present only when has_more is true. Send it unchanged as the cursor query parameter with the same filters.
Full number of items that match the request, present only when the list counts them. It is never the size of the page.
ListPostgreSQLRolesResponse
Included when refresh=true triggers async job
V2 API field
ListSSHKeysResponse
A page of the list in the shared envelope, dto.ListPage. This list doesn't count its items, so total is absent.
True when another page follows. The list ends when it is false.
Opaque cursor of the next page, present only when has_more is true. Send it unchanged as the cursor query parameter with the same filters.
Full number of items that match the request, present only when the list counts them. It is never the size of the page.
ListSSHTunnelsResponse
A page of the list in the shared envelope, dto.ListPage. This list doesn't count its items, so total is absent.
True when another page follows. The list ends when it is false.
Opaque cursor of the next page, present only when has_more is true. Send it unchanged as the cursor query parameter with the same filters.
Full number of items that match the request, present only when the list counts them. It is never the size of the page.
ListSyncEventsResponse
ListSyncRunsResponse
ListTargetsResponse
A page of the list in the shared envelope, dto.ListPage. This list doesn't count its items, so total is absent.
True when another page follows. The list ends when it is false.
Opaque cursor of the next page, present only when has_more is true. Send it unchanged as the cursor query parameter with the same filters.
Full number of items that match the request, present only when the list counts them. It is never the size of the page.
ListTunnelEventsResponse
A page of the list in the shared envelope, dto.ListPage. This list doesn't count its items, so total is absent.
True when another page follows. The list ends when it is false.
Opaque cursor of the next page, present only when has_more is true. Send it unchanged as the cursor query parameter with the same filters.
Full number of items that match the request, present only when the list counts them. It is never the size of the page.
ManagedObjectResponse
Who a Kubernetes object Principal manages belongs to. label is the human phrase for headings and text. object_kind, object_name and namespace identify the raw object for technical details only.
Short English phrase naming the object for a person, such as "Role for Data policy" or "Unused shared role of template Namespace viewer v1". Never contains IDs or hashes.
What made Principal create the object.
rule_role rule_binding template_role template_binding profile_role profile_binding service_account legacydeleted_rule other_target unknownRule the object belongs to. For owner_kind deleted_rule the rule no longer exists and must not be linked.
Name a person gave the rule. Absent when the rule has no own name.
Template whose role or binding this is.
Template version the shared role or binding was created from.
Whether rules of the target still use a shared template role. Absent when unknown.
in_use unusedRules of the target whose bindings use a shared template role.
Identity the object grants access to, when it exists in the organization.
Display name of the identity.
Kubernetes kind of the object.
Raw Kubernetes object name, for technical details and copying only.
Namespace of a namespaced object.
ManagedObjectRuleResponse
Rule that uses a shared template role.
Name a person gave the rule. Absent when the rule has no own name.
Identity the rule grants access to.
Display name of the identity.
MappingConfigDTO
MariaDBSystemDatabase
MariaDB system databases whose tables control the server itself: mysql holds accounts and privileges, sys and performance_schema the server internals and every session's activity. A rule may grant on them, but that is administrator access in effect, so plans warn about it and the UI says so wherever such a rule is written or shown. Names compare with case, as MariaDB compares database names on Linux.
mysqlperformance_schema sysMarkActivitySeenRequest
MemberPolicyRemovalDTO
A per-member policy that a successful apply of its group policy deletes. On a Kubernetes target with direct group RBAC (Dex rbac_groups) the apply binds the group itself, so the policies the group had for each member before are removed, and the access each of them grants its member directly is revoked.
Name of the member. Empty when the member is unknown in the organization.
Identity the member policy grants access to.
The per-member policy the apply deletes.
The access the deletion revokes from the member.
MFAChallengeResponse
Present for re-authentication challenges. Login challenges are identified by cookie.
login verifies an enrolled factor, enroll offers or mandates the first one, reauth is step-up.
loginenrollreauthTrue when an organization mandates MFA and the enroll prompt cannot be skipped.
True for an enrollment prompt the user may postpone.
MFACodeRequest
Authenticator or recovery code.
MFAConfirmTOTPRequest
MFAConfirmWebAuthnRequest
PublicKeyCredential serialized with toJSON().
MFAEnrollmentResultResponse
One enrolled second factor.
Present only when this enrollment was the identity's first factor.
MFALoginCompleteResponse
Sanitized post-login path.
Factor that completed sign-in. Empty when the enrollment offer was skipped.
totpwebauthnrecovery_code Unused recovery codes left. Present only when a recovery code was used.
One enrolled second factor.
Present once when sign-in enrollment created the first factor.
MFAMethodResponse
One enrolled second factor.
Factor kind.
totpwebauthnMFAReauthResponse
totpwebauthnrecovery_code MFARecoveryCodesResponse
MFARecoveryCodesSummary
MFARequiredPeopleResponse
More than 500 people are marked. Items holds the first 500 by name.
MFARequiredPerson
The person has an active second factor.
MFAResetResponse
MFAStatusResponse
True when an organization of the caller enforces a second factor. The last method cannot be removed.
True when the session verified a factor recently enough for sensitive changes.
MFATOTPEnrollmentResponse
Base32 secret for manual entry. Shown once.
otpauth:// URI encoded in the QR code.
PNG data URL of the QR code.
MFAWebAuthnEnrollmentResponse
WebAuthn creation options (PublicKeyCredentialCreationOptionsJSON under publicKey).
MFAWebAuthnFinishRequest
PublicKeyCredential serialized with toJSON().
MFAWebAuthnOptionsResponse
WebAuthn request options (PublicKeyCredentialRequestOptionsJSON under publicKey).
MongoDBConnectionDetails
Secret-free MongoDB endpoint metadata. Admin credentials and TLS material are never returned.
Authentication database of the account
Whether clients must provide the separately managed custom CA certificate. The certificate is never returned.
MongoDBPrivilegeResponse
MongoDBRoleResponse
MongoDBUserResponse
True when Principal can take the account under management. Adoption refuses the rest. Whether it is already managed is in principal.ownership_state.
Authentication database of the user
humansystemadoptableexternal_auth systemMySQLUserResponse
True when Principal can take the account under management. Adoption refuses the rest. Whether it is already managed is in principal.ownership_state.
humansystemidentity_service principal_static_account postgres_predefined_role postgres_bootstrap_superuser postgres_provider_role postgres_connection_role mysql_reserved_account mariadb_system_account mariadb_public_role mongodb_connection_user mongodb_internal_user mongodb_user_without_id kubernetes_service_account kubernetes_system_subject kubernetes_default_rbac NotificationChannelDeliveriesResponse
The newest notifications of one channel.
NotificationChannelDeliveryResponse
One notification a channel received, summarized by its latest attempt.
ID of the latest attempt. Resend accepts it.
drift.founddrift.failedapply.failedapply.succeededsync.failedaccess.expiringaccess.requestedcert.duetarget.createdtarget.updatedtarget.delete_requested target.deletedapplication.adoptedapplication.access.updatedapplication.dex_client.applied identity.createdidentity.updatedidentity.deletedgroup.membership.addedgroup.membership.removedpolicy.createdpolicy.updatedpolicy.deletedcredentials.revealedcredentials.read_limit_exceeded api_token.new_network access.left_on_target operation.finishedpendingsentfailedSafe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.
Why the latest attempt failed, in plain words with the next step. The provider's answer when the provider rejected the message. Present only for a notification that was not delivered.
Why Resend is not offered. Absent when it is. delivered — an attempt delivered it. Retrying — its delivery job is queued or running. Unknown_result — an attempt of it to this or another channel never recorded a result, so it may have been delivered and is not resent without a person checking the channels. No_delivery_job — no delivery job of it gave up (a Send test message, for example). Channel_disabled — the channel is turned off. Not_subscribed — the channel no longer takes this event, severity or target. Subscription_removed — the Activity subscription that sent it was removed.
deliveredretryingunknown_result no_delivery_job channel_disabled not_subscribed subscription_removed The Activity subscription that sent the notification.
The Activity operation the notification is about. Present for Activity subscriptions.
NotificationConfigRequest
webhookemailslackChannel-specific configuration. For Slack, put the destination channel name/ID in config.channel and optionally provide config.bot_token. The top-level channel field remains the delivery channel type. config.bot_token is stored in OpenBao and is never returned in responses.
drift.founddrift.failedapply.failedapply.succeededsync.failedaccess.expiringaccess.requestedcert.duetarget.createdtarget.updatedtarget.delete_requested target.deletedapplication.adoptedapplication.access.updatedapplication.dex_client.applied identity.createdidentity.updatedidentity.deletedgroup.membership.addedgroup.membership.removedpolicy.createdpolicy.updatedpolicy.deletedcredentials.revealedcredentials.read_limit_exceeded api_token.new_network access.left_on_target NotificationConfigResponse
Channel type. The console edits Slack channels, webhook and email channels are managed through the API.
webhookemailslackThe settings of the channel that are safe to show, by channel type: Slack channel, name and bot_token_configured: true when a bot token is stored in OpenBao. Email recipients and name. Webhook name and the scheme and host of its url, with url_truncated: true when the saved address also has a path, a query or credentials. Every caller gets the same answer. Other saved fields, secrets and headers are never returned. An update that sends back only these fields keeps the saved ones.
drift.founddrift.failedapply.failedapply.succeededsync.failedaccess.expiringaccess.requestedcert.duetarget.createdtarget.updatedtarget.delete_requested target.deletedapplication.adoptedapplication.access.updatedapplication.dex_client.applied identity.createdidentity.updatedidentity.deletedgroup.membership.addedgroup.membership.removedpolicy.createdpolicy.updatedpolicy.deletedcredentials.revealedcredentials.read_limit_exceeded api_token.new_network access.left_on_target NotificationDeliveryResponse
Safe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.
Final operation result, or null while the operation is active.
successfailurecancelledpartialslackdrift.founddrift.failedapply.failedapply.succeededsync.failedaccess.expiringaccess.requestedcert.duetarget.createdtarget.updatedtarget.delete_requested target.deletedapplication.adoptedapplication.access.updatedapplication.dex_client.applied identity.createdidentity.updatedidentity.deletedgroup.membership.addedgroup.membership.removedpolicy.createdpolicy.updatedpolicy.deletedcredentials.revealedcredentials.read_limit_exceeded api_token.new_network access.left_on_target operation.finishedpendingsentfailedThe Activity subscription that sent the notification. Present for Activity subscriptions.
The Activity operation the notification is about. Present for Activity subscriptions.
NotificationDeliverySubscription
The Activity subscription that sent the notification.
Its current name. Empty when it has none or was removed.
True when the subscription no longer exists.
NotificationSubscriptionFilterRequest
The Activity feed filter a subscription keeps: the dimensions GET /activity/operations filters by, named as the value lists of GET /activity/operations/facets (targets holds the ids target_id takes, and so on). An empty list does not narrow the view. statuses take only final results. Without statuses the subscription takes every final result. needs_action true keeps operations whose problem is still the last finished run of the same operation on the same object, as the feed decides it when the operation finishes.
discoverydrift_check applybulk_apply bulksyncremediationcleanuptarget_delete succeededpartialneeds_decision failedcancelledpersonoperationschedulesystemNotificationSubscriptionFilterResponse
The stored filter of a subscription. An empty list does not narrow the view.
NotificationSubscriptionRequest
Optional name the channel's delivery list shows next to what the subscription sent.
The Activity feed filter a subscription keeps: the dimensions GET /activity/operations filters by, named as the value lists of GET /activity/operations/facets (targets holds the ids target_id takes, and so on). An empty list does not narrow the view. statuses take only final results. Without statuses the subscription takes every final result. needs_action true keeps operations whose problem is still the last finished run of the same operation on the same object, as the feed decides it when the operation finishes.
NotificationSubscriptionResponse
The stored filter of a subscription. An empty list does not narrow the view.
The person who created the subscription. Null when unknown or removed.
NotificationSubscriptionsResponse
NotificationTestResponse
sentOpenGitLabSignInResponse
An OAuth client of an application that any GitLab user can sign in to.
An object of the organization a problem concerns.
An object of the organization a problem concerns.
OperationChange
create, update, delete, no-op
Human-readable change description
role, grant, policy, k8s-resource
SQL statement (if applicable)
Target resource (role name, database, etc.)
OperationFailureResponse
Safe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.
Closed registry of asynchronous operation failure causes, independent of HTTP problem codes.
ACCESS_PROFILE_STALE AMBIGUOUS_TARGET_OUTCOME APPLY_INTERRUPTED AUTHENTICATION_FAILED CLICKHOUSE_REPLICAS_OUT_OF_SYNC CLICKHOUSE_USER_NAME_RESERVED CONNECTION_FAILED CONNECTION_REFUSED CONNECTION_TIMEOUT CONNECTOR_CREDENTIALS_MISSING CONNECTOR_PAUSED CONNECTOR_SOURCE_CHANGED CONNECTOR_TYPE_UNAVAILABLE CONSTRAINT_VIOLATION CREDENTIAL_EXPIRED CREDENTIAL_NOT_FOUND DATABASE_NOT_FOUND DRIFT_BINDING_NOT_FOUND DRIFT_DEFAULT_INHERITED_SKIPPED DRIFT_NO_EXECUTABLE_DIFF DRIFT_PARTIAL_APPLY DRIFT_PLAN_GENERATION_FAILED DRIFT_RESOURCE_MISMATCH DRIFT_RULE_DELETING DRIFT_RUN_OUTDATED DRIFT_SCOPE_MISMATCH GROUP_EXPANSION_LIMIT_EXCEEDED HANDLER_NOT_FOUND K8S_CHANGE_REJECTED K8S_CLUSTER_UNREACHABLE K8S_NAMESPACE_FORBIDDEN K8S_NAMESPACE_NOT_FOUND K8S_RBAC_FORBIDDEN KUBERNETES_MEMBER_CREDENTIALS_PENDING KUBERNETES_SERVICE_ACCOUNT_KUBECONFIG_NOT_ISSUED MARIADB_TRUNCATE_UNSUPPORTED MARIADB_USAGE_UNSUPPORTED MARIADB_GRANTS_AMBIGUOUS MUTATION_LOCKED MYSQL_MANAGEMENT_PRIVILEGES_MISSING 34 more values
NOT_FOUND OPERATION_BACKOFF OPERATION_CANCELLED OPERATION_TIMEOUT OWNED_OBJECTS_DECISION_REQUIRED PERMISSION_DENIED PLAN_APPLY_ARTIFACT_INVALID PLAN_APPLY_ORPHANED_LOCK PLAN_APPLY_ROLLBACK_BASELINE_INVALID PLAN_APPLY_RULE_CHANGED PLAN_APPLY_TARGET_STATE_CHANGED PLAN_APPLY_ACCESS_IMPACT_CHANGED POSTGRES_FUTURE_OBJECT_CREATORS_MISSING POSTGRES_GRANT_AUTHORITY_MISSING POSTGRES_MANAGEMENT_PRIVILEGES_MISSING POSTGRES_ROLE_ATTRIBUTE_UNSUPPORTED POSTGRES_ROLE_NAME_RESERVED POSTGRES_TLS_FILE_NOT_ALLOWED PROVIDER_REQUEST_FAILED RATE_LIMITED ROLE_EXISTS ROLE_NOT_FOUND ROTATION_CHECK_REQUIRED SECRET_STORE_UNAVAILABLE SERIALIZATION_ERROR TARGET_ACCOUNT_IDENTITY_MISMATCH TARGET_ACCOUNT_IDENTITY_UNVERIFIED TARGET_ACCOUNT_IMPORT_PENDING TARGET_ACCOUNT_PRINCIPAL_LOGIN TARGET_ACCOUNT_TAKEN TARGET_CONNECTION_MISSING TARGET_REPAIR_REQUIRED UNKNOWN_ERROR VALIDATION_FAILED Short name of the failure from the same registry, for lists and queues where the explanation is too long. Absent on failures saved before the field existed.
Whether the failed attempt was eligible for an automatic retry under the actual queue policy.
Known operation phase at failure, when available.
Stable code of the action that can resolve this failure, the same vocabulary as a problem's resolution.code, for example upstream.check_connection. Absent when no single action does. A screen that offers the action shows it next to the failure, otherwise it shows recommended_action.
The Kubernetes cluster's own answer to a change its admission policy or webhook refused: the policy or webhook name and its message. Only a step failure with code K8S_CHANGE_REJECTED carries it, as plain text without control characters, cut to 500 characters. The cluster administrator writes it, not Principal. Given only to callers with access:read in the rule's organization. Absent for runs saved before the field existed.
OperationResponse
OperationSummary
{"create": 5, "update": 2, "delete": 1}
OrganizationAttentionResponse
The work of one organization that Principal stopped repeating by itself.
Rules with a TTL (I17) whose expiry passed more than two minutes ago and whose removal has not finished: the target refused it and Principal repeats it, or it waits for a decision about objects of a temporary PostgreSQL role. Retry or decide the removal on the rule.
OAuth clients of the organization's applications that any GitLab user can sign in to: the client signs people in through GitLab and neither the client nor that GitLab sign-in method of Dex names a GitLab group. The installation settings of Dex hold the groups of the sign-in method, so removing them there opens the application without a change in Principal. Principal reads each Dex for this list at most once in five minutes and again right after a Dex client of an application changes.
Clusters with applications whose Dex didn't answer the last read for open_gitlab_sign_ins. Their applications keep the warnings of the last successful read. Principal reads the Dex again in five minutes.
Members of a group whose group rule holds no rule for them on its target, so the group gives them no access there (I34). Applying the group rule gives them its access.
OrganizationMembershipCandidatesResponse
A page of the list in the shared envelope, dto.ListPage. The list continues by key and does not count its items.
True when another page follows. The list ends when it is false.
Opaque cursor of the next page, present only when has_more is true. Send it unchanged as the cursor query parameter with the same filters.
Full number of items that match the request, present only when the list counts them. It is never the size of the page.
OrganizationMembershipsResponse
A page of the list in the shared envelope, dto.ListPage. Total counts the organization's memberships. The list continues by position, so items added or removed between pages can shift the next page.
True when another page follows. The list ends when it is false.
Opaque cursor of the next page, present only when has_more is true. Send it unchanged as the cursor query parameter with the same filters.
Full number of items that match the request, present only when the list counts them. It is never the size of the page.
OrganizationPolicyInstallation
Installation values an organization inherits and may only tighten.
True when the installation offers the forgot-password form to Principal users.
True when the installation offers second factors.
Hourly reveal limit per caller that an organization without an override uses.
Installation defaults of the API token settings.
OrganizationPolicyLimits
Range every numeric setting accepts under this installation, in the setting's unit: characters, days or seconds. A save rejects a changed value outside its range.
Inclusive range of a numeric setting.
Inclusive range of a numeric setting.
Inclusive range of a numeric setting.
Inclusive range of a numeric setting.
Inclusive range of a numeric setting.
Inclusive range of a numeric setting.
Inclusive range of a numeric setting.
Inclusive range of a numeric setting.
OrganizationPolicyRange
Inclusive range of a numeric setting.
OrganizationPolicyRequest
Full replacement of an organization's security policy. Omitted or null overrides inherit. The save applies only over the revision it names: a policy saved by someone else since answers 409.
Policy revision the values were read at (dto.OrganizationPolicyResponse.revision).
Only false is accepted. Turns off the forgot-password form for Principal users.
How long a confirmed second factor covers sensitive changes. At most the installation value.
Require a second factor from every member before a console session is issued.
Require a second factor only from the people marked on PUT /identities/{id}/mfa/requirement and from every member who holds the admin role. Has no extra effect while mfa_required is true. Omitted keeps the stored value, so a client that does not know the field can't turn the mode off.
Days after which a Principal password expires and must be reset.
Minimum Principal password length. At least the installation minimum.
Only false is accepted. Principal users then sign in to applications through SSO only.
Console idle timeout. At most the installation value.
Absolute console session length. At most the installation value.
How many times one caller may view credentials per hour in this organization, counted over a sliding hour across every identity. Null inherits the installation default of 20. The next view answers 429 (details.reason=credential_read_limit_exceeded, details.retry_at).
Show a stored secret once after it is issued. Afterwards GET /identities/{id}/credentials lists the account with reveal_available=false and an unavailable_reason, and only a rotation gives a new secret. Omitted keeps the stored value.
Members add sign-in methods to themselves in Account security. Off at first. Omitted keeps the stored value.
A connector suspends a person it no longer finds when no other source is left to them. On at first. Omitted keeps the stored value.
API token settings. Omitted keeps the stored settings, so a client that does not know the field can't change them. Null numbers inside reset a setting to the installation default.
OrganizationPolicyResponse
False when the organization turned the form off. Null inherits the installation.
Installation values an organization inherits and may only tighten.
Range every numeric setting accepts under this installation, in the setting's unit: characters, days or seconds. A save rejects a changed value outside its range.
The organization requires a second factor from the marked people and from its administrators.
False when the organization allows SSO only. Null inherits the installation.
Organization override of the hourly reveal limit per caller. Null inherits.
True when a stored secret is shown once after it is issued.
True when members add sign-in methods to themselves in Account security.
True when a connector suspends a person it no longer finds and who has no other source.
Stored API token settings of the organization. Null means the installation default.
Policy revision. Every save increments it. A save names the revision it was read at.
OrganizationRequest
Require a second factor from every member before a console session is issued. Omitted keeps the current policy.
OrganizationResponse
True when the organization requires a second factor from every member.
OrganizationsResponse
A page of the list in the shared envelope, dto.ListPage. Total counts the organizations the caller sees. The list continues by position, so items added or removed between pages can shift the next page.
True when another page follows. The list ends when it is false.
Opaque cursor of the next page, present only when has_more is true. Send it unchanged as the cursor query parameter with the same filters.
Full number of items that match the request, present only when the list counts them. It is never the size of the page.
OrgBuiltInRoleResponse
adminvieweruseraccess:applyaccess:manageaccess:readapplications:manageapplications:readaudit:readdrift:managedrift:readidentities:manageidentities:readjobs:managejobs:readmembers:managemembers:readnotifications:managenotifications:readorganization:readsecurity:managesecurity:readtargets:managetargets:readtokens:managetokens:readOrgCustomRoleRef
A custom role of the organization.
OrgCustomRoleRequest
A manage or access:apply permission also brings the read permission of its area and jobs:read. Drift and applications permissions also bring targets:read, access:manage, access:apply and applications:manage also bring targets:read and identities:read.
access:applyaccess:manageaccess:readapplications:manageapplications:readaudit:readdrift:managedrift:readidentities:manageidentities:readjobs:managejobs:readmembers:managemembers:readnotifications:managenotifications:readorganization:readsecurity:managesecurity:readtargets:managetargets:readtokens:managetokens:readOrgCustomRoleResponse
access:applyaccess:manageaccess:readapplications:manageapplications:readaudit:readdrift:managedrift:readidentities:manageidentities:readjobs:managejobs:readmembers:managemembers:readnotifications:managenotifications:readorganization:readsecurity:managesecurity:readtargets:managetargets:readtokens:managetokens:readMembers of the organization who hold the role on top of their built-in role.
Groups that give the role to their direct members.
Usable API tokens that hold the role.
OrgGroupRef
OrgGroupRoleRequest
Built-in role the group gives. user gives nothing.
adminvieweruserCustom role the group gives, or null.
OrgGroupRoleResponse
adminvieweruserA custom role of the organization.
OrgGroupRolesResponse
OrgMembershipRequest
Organization role. "member" is a deprecated alias of "user".
adminusermemberviewerDeprecated. Old extra permissions. A custom role replaces them.
Custom role the member holds on top of the built-in role.
OrgMembershipResponse
The member user. Absent when it could not be read. A member that belongs to another organization (the administrator who created this organization) is shown by name, login, email and source only.
Effective organization role resolved from roles.
adminvieweruserCustom role the member holds on top of the built-in role.
Everything the member may do in the organization: the built-in role, the custom role and the roles of the groups the member belongs to directly.
access:applyaccess:manageaccess:readapplications:manageapplications:readaudit:readdrift:managedrift:readidentities:manageidentities:readjobs:managejobs:readmembers:managemembers:readnotifications:managenotifications:readorganization:readsecurity:managesecurity:readtargets:managetargets:readtokens:managetokens:readOrgMembershipUpdateRequest
Organization role. "member" is a deprecated alias of "user".
adminusermemberviewerIf omitted, existing scopes are preserved. To replace scopes send an explicit scopes array (empty to clear).
Custom role the member holds on top of the built-in role. Omitted keeps the current custom role, null removes it.
OrgPermission
A permission in an organization. read sees an area, manage changes it, access:apply applies rules to targets. admin holds every permission, viewer every read permission, user none.
access:applyaccess:manageaccess:readapplications:manageapplications:readaudit:readdrift:managedrift:readidentities:manageidentities:readjobs:managejobs:readmembers:managemembers:readnotifications:managenotifications:readorganization:readsecurity:managesecurity:readtargets:managetargets:readtokens:managetokens:readOrgRolesResponse
Every permission a role can hold.
access:applyaccess:manageaccess:readapplications:manageapplications:readaudit:readdrift:managedrift:readidentities:manageidentities:readjobs:managejobs:readmembers:managemembers:readnotifications:managenotifications:readorganization:readsecurity:managesecurity:readtargets:managetargets:readtokens:managetokens:readOwnedObjectDatabaseResponse
Database name. (shared) groups cluster-wide objects such as databases.
True when the database could not be inspected and only the count is known.
OwnedObjectInventoryResponse
True when the per-database object listing was cut at the server-side limit.
OwnedObjectResponse
OwnSignInLinkResponse
OwnSignInMethodResponse
Provider of a method of the installation, empty for a sign-in that comes from elsewhere.
The person can add or remove this method themselves.
OwnSignInMethodsResponse
The organization lets members add and remove methods themselves.
PasswordLoginRequest
PasswordLoginResponse
PausedTargetOperationResponse
A discovery or drift check of a target paused after repeated failures.
An object of the organization a problem concerns.
discoverydriftSafe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.
PlanApplyBlockerDTO
A reason the apply of a previewed plan refuses before it changes anything. member_credentials_pending: members of a group bound directly on a Kubernetes target (Dex rbac_groups) still have kubeconfigs issued for the target's previous sign-in source. The credential refresh after the target change replaces them, and the apply refuses until then (409 policy.member_credentials_pending). service_account_incomplete: the last check of the MariaDB target's service account found privileges missing. Service_account names them and the command that grants them, and the apply refuses until a check finds them granted (409 policy.target_service_account_incomplete). account_not_created_by_principal: a MariaDB account with the name the rule uses already exists on the target, and Principal neither created nor adopted it. Each member names the person and the account, and the apply refuses before any change (TARGET_ACCOUNT_IDENTITY_UNVERIFIED) until the account is adopted or removed on the target.
member_credentials_pending service_account_incomplete account_not_created_by_principal The people the blocker concerns, sorted by name: group members, or the person of a personal rule for account_not_created_by_principal. Empty for a target blocker.
The service account of a MariaDB target as its last check found it (access model MD-P1): the account Principal connects with, the privileges of the contract it lacks with what each one breaks, and the command a database administrator runs. The sentences come from the static contract. Only the account name and the command built from it come from the target. A target response carries it from GET /targets/{id} and from an update (PUT or PATCH /targets/{id}), which answers with the check of a replaced connection, and not before the first check.
PlanApplyBlockerMemberDTO
For account_not_created_by_principal, the account on the target, for example maria@%. Empty for other blockers.
Name of the member.
PlanDiffResponse
Effect of successful execution on inspected existing MariaDB databases and global privileges. Unknown assessments block confirmation. Sessions describes cached privilege protection over every execution prefix. Removed patterns change grant coverage for future databases, separately from the enumerated existing databases. Runtime failures require a fresh access check.
Reasons the apply refuses before it changes anything, such as group members whose kubeconfigs still wait for the re-issue after a sign-in source change. Empty when the apply can run.
State snapshots (optional, for detailed inspection)
Validation
Dependency graph for visualization
Target the plan was computed for
Per-member policies a successful apply deletes after it binds a group itself (Kubernetes direct group RBAC), with the access each deletion revokes. Empty when the apply removes none.
Version of the rule a rule preview was built from. Apply sends it back as expected_version. Absent on drift plans.
Basic plan information
Resource diffs with before/after state
Risk analysis
Present only with save=true when the apply can run (no apply_blockers and access_impact.status is not unknown). The plan saved from the same read of the target and the same rule version as these rows. POST /plans/{id}/apply with its plan_id applies exactly the rows above while exact_apply_supported is true. The rows and summary above are the only count of changes.
"policy" or "drift"
"pending": the plan has changes to apply or member policies to remove (member_policy_removals). "applied": the target already matches the policy. "error": the plan has validation errors. Empty only from servers that did not set it.
pendingappliederrorTerraform-style summary of the resource diffs. Member_policy_removals are not counted
The same warnings as warnings, one record each, with the code a screen groups them by. Repeats with the same code, object and text are dropped. Empty when the plan has no warnings.
Texts of the warnings, kept for older screens. Warning_details carries the same texts with codes
PlanDiffSummary
Breakdown by risk level
Breakdown by resource type
ChangesCount is the actual number of changes (to_create + to_update + to_delete + to_replace) This is distinct from Total, which includes unchanged resources
Human-readable message
Terraform-style counts
PlanPreviewRequest
Policy description for the created policy. Valid only with rules.
For a group subject, include leaf members of known nested groups when the preview is applied. Omitted or false limits a new rule to direct members.
Typed placement of the previewed Kubernetes rule. Required for a shared_by_template_v1 template preview. For an inline-rules preview it must match the namespaces referenced by the rules.
Inline rules for a direct-policy preview (accessTemplateSplit stage 2c-2). Exactly one of rules or template_name must be provided. The preview promises a creation. An existing policy for the subject/target pair is a conflict.
Policy metadata for the created policy (e.g. future_objects, apply_default_privileges), mirroring POST /policies. Valid only with rules.
Policy name for the created policy. Valid only with rules.
Target account link the created policy binds to, mirroring POST /policies. Valid only with rules.
Template mode. Exactly one of rules or template_name must be provided.
PlanPreviewResponse
Always true for plan preview
Legacy fields for /:id/plan endpoint (old flow)
Fields for plan-preview endpoint (new flow)
PlanSummary
PlanWarningDetail
True when the administrator should act on this warning before Apply, false when it only reports what Apply does or leaves. Set by the code, the same for every engine.
What is wrong, for the administrator. One of role_missing, database_missing, state_partly_unread, privilege_reading_denied, wildcard_not_checked, revocations_skipped, privileges_left_as_is, account_import_pending, sessions_may_end, system_database_access, wildcard_grants_ambiguous, namespace_missing, host_needs_repair, account_not_managed, host_unreachable, host_key_changed, host_sudo_missing, host_refused_change, host_setup_blocks_access, account_not_assignable, group_missing, file_too_large, grant_option_missing, other. other marks a warning that has no code yet. Read its text. The table with the meaning of each code is in the error contract of the backend.
The object the warning is about, as the plan names it: a role, a database, database.schema, a table, a namespace or a host. Absent when the warning is about the whole target.
The warning in words, the same text as in warnings
PolicyAccountToAdoptResponse
The account to adopt for a rule whose last apply was refused with resolution target.adopt_account.
The person of the rule, picked in the Adopt window.
The account as the target names it, for example boris or maria@%.
Whether the last discovery of the target found the account. Adopt needs it found. When it is false the console runs discovery of the target first.
PolicyMembershipRequest
One membership of the rule's account in another role (PostgreSQL GRANT role TO account, MongoDB grantRolesToUser). inherit and set are the PostgreSQL 16 membership options. Leave them out on older servers or when the rule should not control them. PostgreSQL limits the role name to 63 bytes, MongoDB to 255.
Parent role the account is a member of.
PolicyMembershipResponse
One membership of the rule's account in another role with the origin of the row.
Where a row of a rule came from: written in the rule, materialized from its template, or imported from the live account at adoption or by the one-off import after an upgrade. An imported row is part of the desired state like any other row.
ruletemplateimportedPolicyMutationResult
What an assignment did to the rule of the identity on the target, decided by the write itself: created a new rule, updated the existing one, or found it already granting that (unchanged. Nothing was written).
createdupdatedunchangedPolicyResponse
When Principal removes this rule with a TTL (I17). Absent for a rule without one.
Set only in the response to PUT /policies/{id} that changes the expiry: Principal saved the new expiry but could not start the Apply that brings it to the account on the database.
Safe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.
Safe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.
Saved changes that the last successful apply did not materialize. True when the rule state recorded by that apply (effective permissions, placement, template versions, layout and materialization switches of the snapshot it applied) differs from the current rule. Rules applied before the state was recorded fall back to updated_at later than applied_at plus 5 seconds after a success or partial success. Always false for per-member copies of a group rule. Renames, apply status writes and other bookkeeping never set it.
delete_requested cleanup_running cleanup_failed cleanup_completed Canonical human name of the rule, the one every screen and message uses: the rule's own name. Else "{Template} for {Subject}" for a template rule. Else "Access for {Subject} on {Target}". A rule inherited from a group gets the group rule's name. Missing subject or target names are left out. Machine-generated names and IDs are never used.
What the access is for, from metadata.description of the rule. Absent when the rule has none.
Identifier of the group the access came through in its source, as the connector group mapping sets it. With the default mapping it is the full path for GitLab and GitHub groups (acme/platform/backend) and the address for Google groups. Empty for groups not linked to a connector and for callers without identities:read.
Group inheritance fields
Whether this group rule includes members of nested groups.
Set on the rule of an adopted target account. Assigning a template to the identity adds it to the identity's rule without a target account link, never to this rule.
successpartial_success failedRisk level of the latest plan (low, medium, high, critical)
When the latest plan was created
ID of the most recent plan for this policy
kubernetes_user_rbac kubernetes_group_rbac kubernetes_service_account_rbac group_role application_group Access mode of a group rule on a PostgreSQL, MariaDB or ClickHouse target, and of the member rows it keeps. member_grants copies the rule to every member's account, group_role keeps it in a role of the group that members are granted. Absent on other rules.
member_grants group_role The role a group rule in the group_role mode keeps on the target. Absent otherwise.
Namespaces contributed by this policy to shared Kubernetes RBAC profiles.
Effective server-owned Kubernetes RBAC object layout. Every new rule is materialized as unified_v1. The other values only appear on policies created before that layout and disappear as those are rematerialized. A policy still on the pre-stage-3 Role-per-namespace layout carries no value at all.
unified_v1 shared_clusterrole_v1 shared_profile_v1 Memberships of the rule's account in other roles (PostgreSQL). The rule asks for them like for its grants: an apply grants a missing one back.
Kinds of access the engine of the target does not read, such as column privileges on PostgreSQL. An empty drift says nothing about them.
The first row of a PostgreSQL rule or template that names its objects by name or by a name mask while Future objects are on. Future objects reach only a row on every object of its kind in a schema, so the switch reaches none of these objects. Only a rule or template saved before Principal refused such a save carries it, and its next save is refused until Future objects are off or the row covers every object of its kind. A rule carries it in every read. A template only in GET /access-templates/{name} and the version read.
Subject info fields (enriched from Identity)
Identifier of a group subject in its source, as the connector group mapping sets it. With the default mapping it is the full path for GitLab and GitHub groups (acme/platform/backend) and the address for Google groups. Empty for groups not linked to a connector, for people and service accounts, and for callers without identities:read.
"user", "group", "service"
Name of the target. Absent when the target could not be read.
Kind of the target, such as postgres or kubernetes. Absent when the target could not be read.
PolicyRuleRequest
PolicyRuleResponse
Where a row of a rule came from: written in the rule, materialized from its template, or imported from the live account at adoption or by the one-off import after an upgrade. An imported row is part of the desired state like any other row.
ruletemplateimportedPostgreSQLRoleResponse
True when Principal can take the account under management. Adoption refuses the rest. Whether it is already managed is in principal.ownership_state.
humansystemidentity_service principal_static_account postgres_predefined_role postgres_bootstrap_superuser postgres_provider_role postgres_connection_role mysql_reserved_account mariadb_system_account mariadb_public_role mongodb_connection_user mongodb_internal_user mongodb_user_without_id kubernetes_service_account kubernetes_system_subject kubernetes_default_rbac PreviewTargetAccountAdoptionRequest
PreviewTargetAccountAdoptionResponse
principal_managed Memberships of the account adoption takes into the rule (PostgreSQL), origin imported. Privileges the account holds only through a membership stay with the membership instead of becoming direct grants.
PreviewTemplateRequest
Provide either a non-empty template_body or both template_name and template_version, never both sources. An empty template_body counts as absent.
Target to preview against. Its engine must match the template engine
Inline template body. Mutually exclusive with template_name and template_version
Saved access template to preview. Requires template_version
Version of the saved template. Required together with template_name
PreviewTemplateResponse
PrincipalGroupMemberResponse
Absent: Principal does not record who added a group member. The audit event of the change names the administrator.
The member identity. Absent when it could not be read.
Membership origin - "manual" for Principal-managed memberships, otherwise the connector provider that synced it.
PrincipalPasswordResetLinkResponse
One-time password reset link. Shown once and never persisted in plaintext.
PrincipalResponse
PrivilegeCatalogItem
roleactionaccountdatabasecollectionlowmediumhighcriticalPrivilegeCatalogResponse
Canonical privilege catalog for an engine. privileges is the full whitelist accepted by the template validator. global_only is the subset that must be granted at . / cluster scope (MariaDB / MySQL global-only verbs, ClickHouse CLUSTER). Empty for engines without that concept.
Privileges with their kind, the levels they can be granted on and their risk (MongoDB)
PublicSignInPageResponse
Shown when someone clicks ? next to the email or username field.
Shown when someone clicks ? next to the password field.
An https:// or mailto: address.
The picture next to the form. principal is the Principal picture, image the uploaded one, none a page without a picture.
principalimagenoneSign-in methods in the page order. Hidden methods are not shown but keep working.
Address of the logo relative to the backend, null for none.
Address of the own picture relative to the backend, null unless poster is image.
QueueStatsResponse
RefreshApplicationCandidatesRequest
Kubernetes target (cluster) where the discovery found the Ingresses
RenameAccessTemplateRequest
New name people see, 1 to 255 characters after trimming spaces.
ResourceDiff
ResourceDiffDTO
Change information
+, ~, -, -/+, =
Human-readable address (e.g., "pg.role.app_reader")
Desired state (null for deletes)
Before/after state for diff visualization
Attribute-level changes for update operations
Dependencies
Engine description of the change. Technical wording that may name raw objects
The change in plain English: what happens to which object, such as "Grant SELECT on table public.orders in the shop database to user alice". Absent when Principal cannot describe the change.
Kubernetes: YAML manifest
Resource identification
role, grant, k8s-role, k8s-rolebinding
Risk assessment
Why a high or critical change got its risk level, in words without the level itself (risk_level carries it). Empty for a lower risk and when the row's own description already says it, as for SSH host changes.
Implementation details
ResourceKeyResponse
Comma-separated roles through whose membership a PostgreSQL account holds the extra privileges of the finding. Absent when the privileges are granted directly.
What an application finding is about: an entry of the access list (subject_id, subject_kind) or a Dex client of the application (client_id, the changed fields, whether it is gone from Dex and whether Principal can write back the client it applied).
Where an SSH finding is. Present only for findings of SSH targets.
ResourcesSearchFailedTarget
A target whose discovered resources the search could not read.
ResourcesSearchItem
Database of a database, schema or table hit.
True for a Kubernetes object Principal created.
What a resource search hit matched.
targetdatabaseschematablerolemysql_user clickhouse_user mongodb_user k8s_namespace k8s_cluster_role k8s_role k8s_cluster_binding k8s_role_binding ssh_tunnel ssh_key Namespace of a Kubernetes namespace, Role or RoleBinding hit.
Schema of a PostgreSQL schema or table hit. For MariaDB and ClickHouse tables, the database.
postgreskubernetesmysqlclickhousemongodbapplicationsshResourcesSearchMatchType
What a resource search hit matched.
targetdatabaseschematablerolemysql_user clickhouse_user mongodb_user k8s_namespace k8s_cluster_role k8s_role k8s_cluster_binding k8s_role_binding ssh_tunnel ssh_key ResourcesSearchResponse
A page of the list in the shared envelope, dto.ListPage. Items come in one stable order: by target (name, then id), by kind of hit (target, databases, schemas, tables, accounts, Kubernetes objects, SSH tunnels and keys), then by name. The cursor continues after the last item shown, so a page never repeats or skips an item another page showed. The search reads one page at a time and does not count every match, so total is absent. The search reads what discovery saved. partial and failed_targets describe the page they come with: the targets whose resources could not be read while that page was answered. A page continued past a target does not read it again, so a client walking the list joins failed_targets of every page and treats the list as partial when any page was.
Targets whose discovered resources the search could not read for this page. Empty when partial is false. Join the lists of every page read.
True when another page follows. The list ends when it is false.
Opaque cursor of the next page, present only when has_more is true. Send it unchanged as the cursor query parameter with the same filters.
Full number of items that match the request, present only when the list counts them. It is never the size of the page.
True when the resources of some targets could not be read for this page: the items are then not a proof that nothing else matches. A list is partial when any of its pages was.
RetryCleanupTaskRequest
Answer to a pending owned objects decision. keep_data reassigns the objects to the Principal service account before the role is dropped. delete_data drops the objects together with the role. Omit when the task has no pending decision.
keep_data delete_data Answer to a pending unproven_account request. forget stops Principal managing the account: the rule is deleted with Principal's records and stored credentials of the account, and nothing is sent to the target, so the user and its rights stay there. Omit when the task has no such request. Send it without owned_objects_decision.
forgetFinish a failed target deletion without touching the target again: Principal deletes the target and its rules, and everything the failed attempts did not revoke stays on the target. Only for a target cleanup task in cleanup_failed. Send it without owned_objects_decision and account_decision. Any other state is rejected with 409.
RiskAnalysisDTO
low, medium, high, critical
Human-readable risk summary
RotateCredentialsRequest
Rotate credentials for a specific adopted target-local account on the target.
Confirms password reset for an external adopted database role.
RotatePrincipalCredentialsRequest
Manual password. Validated in UTF-8 bytes: 12-72 bytes, including uppercase, lowercase, digit, and special characters. Omit to auto-generate.
RotatePrincipalCredentialsResponse
SavedPlanReference
The plan the confirm window applies, saved with the rows it was shown with.
Effect of successful execution on inspected existing MariaDB databases and global privileges. Unknown assessments block confirmation. Sessions describes cached privilege protection over every execution prefix. Removed patterns change grant coverage for future databases, separately from the enumerated existing databases. Runtime failures require a fresh access check.
True when POST /plans/{id}/apply runs this plan exactly. False applies the current state of the rule.
After this time POST /plans/{id}/apply refuses the plan as not applicable.
SavedPlanResponse
Always true for plan preview
Legacy fields for /:id/plan endpoint (old flow)
Fields for plan-preview endpoint (new flow)
Effect of successful execution on inspected existing MariaDB databases and global privileges. Unknown assessments block confirmation. Sessions describes cached privilege protection over every execution prefix. Removed patterns change grant coverage for future databases, separately from the enumerated existing databases. Runtime failures require a fresh access check.
True when POST /plans/{id}/apply executes this saved plan exactly as stored. False when the apply refuses exact execution, for a group policy applied per member, a policy on the legacy shared Kubernetes RBAC profile or a target engine that stored no execution artifact. Apply the current state of the policy with POST /policies/{id}/apply instead.
Per-member policies the apply of this plan deletes after it binds a group itself (Kubernetes direct group RBAC), with the access each deletion revokes. The exact apply of this plan deletes no other member policy. Empty when the apply removes none.
ServiceAccountPrivilegeResponse
read_grant_tables create_user grant_option show_databases processconnection_admin The privilege as a database administrator names it, for example "GRANT OPTION".
What Principal can't do without the privilege.
ServiceAccountTokenTrustCreateRequest
The iss claim of the token, an https URL.
The sub claim of the token, compared exactly.
A value the aud claim of the token must contain.
Public signing keys of the issuer as a JWKS document, for an issuer Principal can't reach.
ServiceAccountTokenTrustListResponse
ServiceAccountTokenTrustResponse
discovery when Principal reads the keys of the issuer, static when keys were pasted.
discoverystaticSetIdentityServiceAccountRequest
true marks the user as a service account, or keeps it one and replaces its secret location. False makes it a person again and clears the location.
Service accounts only (400 with service_account=false). Where the application's secret is kept or is to be kept, as a path in the organization secret store, for example secret/data/billing/postgres: segments of letters, digits and . _ - : # separated by slashes. Omitted or empty clears it. Never the secret itself. A value that is not such a path is rejected with 400.
SetupStateRequest
First-run setup state of the signed-in administrator in the current organization.
started while the wizard is open, completed after the first rule is applied, skipped when the person leaves it.
startedcompletedskippedThe wizard's own draft without secrets. Null removes it.
The revision GET /setup/state returned, 0 before the first save.
SetupStateResponse
First-run setup state of the signed-in administrator in the current organization.
null until the person opens the setup.
startedcompletedskippedThe wizard's own draft without secrets.
Counts the saves, 0 until the first one. A save names the revision it was read at.
SignInErrorCode
Code Principal puts into the error query parameter of /login after a failed browser sign-in (the 302 of /auth/callback and the Dex sign-in steps). The login page explains each code. Any other value is not Principal's and gets a generic text.
account_conflict account_needs_approval account_not_registered group_not_allowed no_organization provider_auth_restart provider_unavailable service_unavailable sign_in_busy sign_in_expired sign_in_failed sign_in_not_verified sso_not_configured SignInExpectationListResponse
SignInExpectationResponse
SignInPageLastChange
Name of the person who saved the page. Null when they are deleted or saved it without a person.
The person who saved the page no longer exists.
Name of the organization the person worked in when they saved the page. Null for a change saved before Principal recorded it, or when the organization is deleted.
The organization of the person no longer exists.
SignInPageMethod
Dex connector ID.
Words on the button of the method on the console sign-in page, up to 40 characters. Empty means Continue with the name of the method.
Name of the method when the sign-in page was last saved. Read only.
Provider type of the method when the sign-in page was last saved. Read only.
SignInPageMethodOption
Dex connector type, empty when Dex did not answer.
SignInPageSettingsRequest
The whole sign-in page. Empty texts show the standard Principal text.
Shown when someone clicks ? next to the email or username field.
Shown when someone clicks ? next to the password field.
An https:// or mailto: address.
The picture next to the form. principal is the Principal picture, image the uploaded one, none a page without a picture.
principalimagenoneSign-in methods in the page order. Hidden methods are not shown but keep working.
Data URL of the logo, null for none.
Data URL of the own picture. It stays saved while poster is principal or none, so the picture can be chosen again.
SignInPageSettingsResponse
Shown when someone clicks ? next to the email or username field.
Shown when someone clicks ? next to the password field.
An https:// or mailto: address.
The picture next to the form. principal is the Principal picture, image the uploaded one, none a page without a picture.
principalimagenoneSign-in methods in the page order. Hidden methods are not shown but keep working.
Data URL of the logo, null for none.
Data URL of the own picture.
Every sign-in method of the bundled Dex in the page order.
False when Dex did not answer and method_options lists only the saved methods.
Who saved the sign-in page last and when. The page is shared by every organization of the installation, so it names the person and the organization they worked in when they saved it. Null when nobody saved it.
SSHAccountResponse
How Principal manages the account. Absent when Principal does not manage it.
createdadoptedSSHAccountsResponse
Groups that exist on the host.
SSHAdoptRequest
SSHAdoptResponse
SSHCAResponse
SSHCertificateHost
The Linux account to sign in as on this host. Empty until a rule of the person is applied there.
Shared accounts such as deploy that the certificate also opens on this host, sorted by name. Empty when no applied rule gives one.
SSHCertificateRequest
OpenSSH public key, ssh-ed25519, ecdsa or RSA of at least 2048 bits.
SSHCertificateResponse
The certificate in OpenSSH format, to save next to the private key as id_*-cert.pub.
SSHFleetConfiguration
A host joins the fleet when it has every one of these labels.
SSHHostConfiguration
Organization SSH key Principal signs in with.
Pinned public key of the host in authorized_keys format. Another key stops every operation on the host.
SHA256 fingerprint of the pinned key. Response only.
Labels fleets select the host by.
SSHHostKeyRequest
Connection of the host, ssh://user@host:port.
SSHHostKeyResponse
SSHHostResponse
SSHHostRuleStateResponse
The host or fleet the rule belongs to.
appliedfailedunreachablependingrevoke_pending SSHHostsResponse
SSHKeyCreatedResponse
Number of SSH tunnels that sign in with the key. Always 0 for a new key.
SSHKeyResponse
Number of SSH tunnels that sign in with the key. A key in use can't be deleted.
SSHResourceKeyResponse
Where an SSH finding is. Present only for findings of SSH targets.
Linux account the finding is about.
What differs: a host step (create_account, set_groups, write_sudoers, remove_sudoers, write_principals, remove_principals, delete_account, forget_account, prepare_host) or a host finding (host_unreachable, host_key_changed, blocked, orphan_account, extra_groups, extra_authorized_key, extra_sudoers, extra_principals).
The finding in words.
SSHRetryResponse
SSHRuleHostsResponse
SSHRuleHostsSummary
SSHTargetConfiguration
Settings of an SSH target. A host has its own connection. A fleet names hosts by list and labels.
hostfleetLifetime of the certificates Principal issues for this target, 5 to 1440 minutes. Default 480.
SSHTunnelConfigResponse
SSHTunnelDetailResponse
Reason of the last failure of the tunnel in Principal's words. Never a driver or dial error
Reason of the last failed health check, or of the failed reconnects of a tunnel that stopped because nobody used it
Always 0. Principal no longer opens a local port for a tunnel. Kept for wire compatibility.
SSH key the tunnel signs in with. Omitted when the tunnel has no key.
disconnectedconnectingconnectedfailedSSHTunnelResponse
Reason of the last failure of the tunnel in Principal's words. Never a driver or dial error
Reason of the last failed health check, or of the failed reconnects of a tunnel that stopped because nobody used it
Always 0. Principal no longer opens a local port for a tunnel. Kept for wire compatibility.
SSH key the tunnel signs in with. Omitted when the tunnel has no key.
disconnectedconnectingconnectedfailedSSHUnadoptRequest
SyncDestructiveDiffDTO
Non-sensitive connector-owned rows selected for deletion by the complete sync diff.
SyncEventResponse
Safe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.
SyncGuardrailCheckDTO
One independently evaluated destructive deletion threshold.
Current row count used as the denominator for this check.
identitymembershipidentity_delete_threshold_exceeded membership_delete_threshold_exceeded SyncGuardrailDetailsDTO
Deterministic evidence used for destructive guardrail decisions.
SyncRunResponse
Safe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.
Whether this operation has finished.
Final operation result, or null while the operation is active.
successfailurecancelledpartialQualifies the status and outcome of an operation where they alone would hide what the operator must know. Null when none applies.
rollback_in_progress rolled_back needs_repair outcome_unknown interruptedrequires_approval holds_lock awaiting_confirmation expiredtimed_out rescheduledTime when the source run's single-use approval was consumed.
Rerun that consumed the source run's approval.
Single job reserved to execute this source run's approval.
Reviewed source run whose approval authorizes this rerun.
Time when the source run's approval job was reserved.
Identity that reserved the source run's approval job, when available.
Connector configuration revision used to compute this run.
Non-sensitive connector-owned rows selected for deletion by the complete sync diff.
SHA-256 fingerprint of the complete create, update, and delete operation set.
Deterministic evidence used for destructive guardrail decisions.
SHA-256 fingerprint of the effective connector configuration used by this run.
Where a background operation is in the shared lifecycle (decision S1). outcome says how a finished operation ended and substate qualifies the state.
queuedrunningfinishedSyncSkippedGroupDTO
A group a sync skipped because the provider did not return its members after retries.
Safe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.
Group name the operator knows, such as its full path.
SyncStatsDTO
Groups gone from the source that a sync with skipped groups kept, since a group may be gone only by name or still belong to a skipped group. A sync that loads every group removes them.
Groups whose members the provider did not return after retries. The sync left their memberships unchanged and removed no user or group. A successful run with skipped groups completed partially.
Synced users kept out of the organization because an administrator removed them. The sync updated their profile but did not add the membership back.
Users missing from every group that loaded. A sync with skipped groups keeps them, since they may still be in a skipped group. A sync that loads every group removes them.
Accounts the sync skipped as duplicates, see GET /connectors/{id}/duplicates. The sync created nothing for them and gave them no groups. The rest of the sync went on.
Of users_skipped_as_duplicates, the accounts that this run added to the duplicates. The notification about duplicates goes out only when this is above zero.
TargetAccountIdentitySummary
Human label of the identity. Empty when the identity has no human name.
TargetAccountKeyRequest
postgresmysqlkubernetesclickhousemongodbServiceAccountUserGroupAuthentication database of a MongoDB user
TargetAccountLinkResponse
TargetAccountPrincipalEnvelope
unmanagedprincipal_created adoptedorphanedexternalprincipal_managed unknownThe rule that created a Principal-created account.
Whether Principal recorded the account instance it created or adopted. Set only for PostgreSQL and MongoDB accounts Principal created or adopted. Principal removes the account, revokes its access or changes its password only when it is verified. Mismatch means the account was recreated outside Principal.
verifiedunverifiedmismatchHow Principal recorded the account instance: created right after it created the account, adopted from discovery at adoption, or observed by the first discovery or apply that saw it.
createdadoptedobservedTargetAccountRuleSummary
The rule that created a Principal-created account.
Canonical display name of the rule. Empty when the rule was deleted.
True when the target no longer has the rule.
TargetCapabilitiesResponse
True when Kubernetes targets can sign in through this Principal's own Dex. When false, a request that chooses it is rejected with 400.
True when this Principal's Dex manages the sign-in clients of SSO applications, so a Kubernetes target can turn on applications_on_bundled_dex and protect_new_ingresses.
TargetDriftCheckResponse
Where a background operation is in the shared lifecycle (decision S1). outcome says how a finished operation ended and substate qualifies the state.
queuedrunningfinishedFinal operation result, or null while the operation is active.
successfailurecancelledpartialQualifies the status and outcome of an operation where they alone would hide what the operator must know. Null when none applies.
rollback_in_progress rolled_back needs_repair outcome_unknown interruptedrequires_approval holds_lock awaiting_confirmation expiredtimed_out rescheduledTargetInventoryDatabase
TargetInventoryK8s
TargetInventoryResponse
postgreskubernetesmysqlclickhousemongodbapplicationsshTargetKind
postgreskubernetesmysqlclickhousemongodbapplicationsshTargetMembershipRequest
Organization role. "member" is a deprecated alias of "user".
adminusermemberviewerTargetMembershipResponse
Instance membership returns instance_id per OpenAPI spec
TargetMembershipsResponse
A page of the list in the shared envelope, dto.ListPage. Total counts the target's memberships. The list continues by position, so items added or removed between pages can shift the next page.
True when another page follows. The list ends when it is false.
Opaque cursor of the next page, present only when has_more is true. Send it unchanged as the cursor query parameter with the same filters.
Full number of items that match the request, present only when the list counts them. It is never the size of the page.
TargetMembershipUpdateRequest
Organization role. "member" is a deprecated alias of "user".
adminusermemberviewerIf omitted, existing scopes are preserved. To replace scopes send an explicit scopes array (empty to clear).
TargetOperationPauseResponse
State of a target's discovery or drift checks after failed runs. A run is one job with its retries. After 10 failed runs in a row Principal pauses the operation for 15 minutes, then for 30 and 60 minutes after each further failed run. A successful run starts over. While paused, scheduled runs are skipped and runs people start are refused with target.operation_backoff_active. A passing POST /targets/{id}/test-connection after the last failure (connection_verified) lets the next run a person starts end the pause.
discoverydriftRuns are refused and scheduled runs skipped until paused_until.
When the pause ends by itself. Present only while paused. Nothing starts at that moment.
Failed runs in a row since the last successful one.
Safe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.
The last passing connection check of the saved target.
A connection check passed after the last failure, so a run a person starts ends the pause.
TargetResponse
The service account of a MariaDB target as its last check found it (access model MD-P1): the account Principal connects with, the privileges of the contract it lacks with what each one breaks, and the command a database administrator runs. The sentences come from the static contract. Only the account name and the command built from it come from the target. A target response carries it from GET /targets/{id} and from an update (PUT or PATCH /targets/{id}), which answers with the check of a replaced connection, and not before the first check.
Discovery and drift check state of a target with failed runs since the last success, one entry per such operation. Absent when both last succeeded or never ran. GET /targets and GET /targets/{id} fill it.
Whether the saved PostgreSQL configuration has one endpoint, multiple endpoints, cannot be parsed, or names TLS files the installation does not allow.
single_host multi_host unparseabletls_files_not_allowed Safe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.
Pins Principal-managed SSO gate (oauth2-proxy) pods to schedulable nodes. Required for Kubernetes clusters where every node carries a taint. On update, a supplied empty object clears the configuration.
Kubernetes user kubeconfig connection, independent of the management connection. Omit to preserve the current setting on update. An empty object restores management defaults. A custom server with no CA uses the client system trust store. TLS verification is always enabled.
delete_requested cleanup_running cleanup_failed cleanup_completed When the deletion was requested, present while the cleanup task has not started within its grace period
Settings of an SSH target. A host has its own connection. A fleet names hosts by list and labels.
Compatibility block for clients of the previous release. Use applications_on_bundled_dex. A response shows the management address of this Principal's Dex only when the target's SSO applications are managed there and kubectl also signs in through this Principal's Dex, so older clients that read any address as "kubectl signs in through this Principal's Dex" stay right. In a request, the address of this Principal's Dex turns that management on. An empty object or an omitted block changes nothing (before this release an empty object turned it off). Any other address is refused. When a request carries applications_on_bundled_dex, that field decides and this block only has to name no other address. The target does not store this block.
Whether the SSO applications of a Kubernetes target are managed in this Principal's own Dex. It is independent of kubectl sign-in (dex_custom): a target may have such applications without any kubectl sign-in, and they always use this Principal's Dex issuer and management address. In a request, true or false changes it. Omitted, it stays as it is (a new target gets true when kubectl signs in through this Principal's Dex). Only Kubernetes targets have it: a response carries it for them and omits it for other kinds, and a request for another kind is refused.
Whether Principal protects every Ingress created in the Kubernetes target after this setting is turned on: the Ingress gets the SSO gate annotations at creation, Principal adds it as an application with its own Dex client and SSO gate, and only people with a rule on that application sign in. Ingresses that existed before stay as they are. System namespaces, Principal and Dex objects, cert-manager ACME solvers and Ingresses with the annotation principal.io/protect: "false" are not touched. Turning it off stops protecting new Ingresses and keeps the gates already created. It needs the target's SSO applications managed in this Principal's Dex. In a request, true or false changes it, omitted it stays as it is (a new target created without it has it off). Only Kubernetes targets have it.
When Principal started protecting new Ingresses of the Kubernetes target. Ingresses created earlier are not protected automatically.
postgreskubernetesmysqlclickhousemongodbapplicationsshValue for the principal.io/managed-by label on K8s RBAC objects.
Monotonically increasing revision used for optimistic concurrency control.
The replica set name of the saved MongoDB connection. Empty for other kinds.
Whether the saved MongoDB connection string has options the target form doesn't show: several hosts, a CA certificate, an authentication mechanism or custom timeouts. The form then keeps the connection as it is. Change such a connection through the API. Absent for other kinds.
Whether the saved connection of a PostgreSQL, MariaDB, ClickHouse or MongoDB target holds a password. False for other kinds and when the connection is missing. Only GET /targets/{id} reads the connection and returns the field. The list, create and update responses omit it, and so does the detail while Principal's secret store gives no answer.
Whether the target has an inline SSH tunnel configured. Only GET /targets/{id} returns the field. The list, create and update responses omit it.
Whether OpenBao holds the kubeconfig at the connection reference of a Kubernetes target. False for other kinds. Only GET /targets/{id} reads secrets and returns the field. The list, create and update responses omit it, and so does the detail while Principal's secret store gives no answer.
Kubernetes targets whose cluster Principal has identified (UID of the kube-system namespace, read when the connection is saved and at discovery): unique when no other target of the installation registers the cluster, duplicate when another one does (targets saved before the one-registration rule, or test installations in the shared cluster registration mode). Absent for other targets and before the cluster is identified.
uniqueduplicateTargetServiceAccountResponse
The service account of a MariaDB target as its last check found it (access model MD-P1): the account Principal connects with, the privileges of the contract it lacks with what each one breaks, and the command a database administrator runs. The sentences come from the static contract. Only the account name and the command built from it come from the target. A target response carries it from GET /targets/{id} and from an update (PUT or PATCH /targets/{id}), which answers with the check of a replaced connection, and not before the first check.
The target whose service account was checked. "Check again" checks it.
ready when the account holds every privilege of the contract. Incomplete blocks changes.
readyincompleteThe account as MariaDB writes it, for example "principal@%".
The GRANT statements a database administrator runs to meet the contract. Absent when ready or when the account name can't be written into a command safely.
When the check ran.
TargetSubjectAccessResponse
postgreskubernetesmysqlclickhousemongodbapplicationsshTargetSubjectGrantResponse
Grant scope. MySQL/MariaDB global grants use "global" and represent account-level . privileges.
globaldatabaseschematablesequencefunctiontypeTargetSummaryResponse
TargetTypeResponse
postgreskubernetesmysqlclickhousemongodbapplicationsshName to show for the type
Group of the type in a picker, one of the response categories
available - Principal can create and use this type now. Coming_soon - listed for the roadmap, Principal refuses to create, test or sync it.
availablecoming_soon Fields of POST /targets that a target of this type needs, as dotted paths in the request body
TargetTypesResponse
Number of available target types. A client that groups types by roadmap wave shows only the types available now when horizon is below 30.
Categories in display order
TemplateInUseDetails
The rules that keep a template from being deleted, seen from the caller organization. Rules of other organizations are never named or counted here.
Up to 20 IDs of the caller organization's rules that use the template.
How many rules of the caller organization use the template.
Always false: a template belongs to one organization, and rules of other organizations can't use it.
TemplateInUseProblem
Problem details of a refused template delete.
Stable machine-readable problem identifier
api_token.limit_reached api_token.role_exceeds_caller auth.agent_identity_unavailable auth.agent_login_disabled auth.agent_login_misconfigured auth.agent_membership_required auth.agent_organization_unavailable auth.agent_token_invalid auth.api_token_invalid auth.api_token_not_allowed auth.csrf_invalid auth.csrf_required auth.dex_callback_invalid auth.dex_connector_disabled auth.dex_connector_session_invalid auth.dex_connector_unauthorized auth.group_not_allowed auth.identity_alias_conflict auth.identity_not_registered auth.identity_required auth.identity_resolution_unavailable auth.identity_suspended auth.invalid_request auth.invalid_state auth.legacy_auth_disabled auth.login_start_failed auth.membership_invalid auth.mfa_challenge_failed auth.no_memberships auth.oidc_authorization_failed auth.oidc_callback_failed auth.oidc_not_configured auth.org_membership_missing auth.org_resolution_failed auth.organization_access_denied auth.organization_resolution_failed auth.organization_selection_invalid auth.session_creation_failed auth.session_identity_invalid auth.session_invalid 89 more values
auth.session_required auth.session_store_error authentication.requiredauthorization.deniedcleanup.decision_not_pending cleanup.decision_required cleanup.retry_already_scheduled connector.credentials_missing connector.github_group_discovery_limit connector.github_organizations_unavailable connector.gitlab_group_discovery_limit connector.gitlab_membership_groups_unavailable connector.ldap_group_discovery_limit connector.ldap_groups_unavailable connector.pausedconnector.test_timed_out connector.type_unavailable drift.acceptance_already_active drift.acceptance_check_outdated drift.acceptance_finding_resolved drift.explicit_confirmation_required drift.invalid_target_filter group.expansion_limit_exceeded health.snapshot_invalid health.snapshot_unavailable identity.delete_blocked installation.maintenancenotification.delivery_failed operation.already_running pagination.cursor_invalid pagination.offset_unsupported policy.access_held_by_group_rule policy.apply_in_progress policy.existing_rule_conflict policy.group_role_taken policy.member_credentials_pending policy.not_template_managed policy.owned_objects_decision_required policy.target_service_account_incomplete policy.template_managed policy.template_validation_failed policy.ttl_not_allowed request.cancelledrequest.failedrequest.invalidrequest.rate_limited request.timed_out request.too_large request.unprocessableresource.conflictresource.not_found response.unknownrotation.account_missing rotation.check_required rotation.interruptedrotation.not_confirmed secret_store.unavailable service.failedservice.internal_error service.unavailablesse.streaming_unsupported sse.topics_required ssh_key.in_use ssh_tunnel.in_use target.account_identity_mismatch target.account_identity_unverified target.account_import_pending target.account_principal_login target.account_taken target.auto_remediation_unsupported target.cluster_already_registered target.connection_missing target.dex_sign_in_required target.grant_authority_missing target.manage_refused target.operation_backoff_active target.replica_account_missing target.repair_required target_mutation_barrier tenant.claims_invalid tenant.claims_missing tenant.membership_missing tenant.membership_unavailable tenant.org_access_denied tenant.org_ambiguous tenant.org_header_invalid upstream.authentication_failed upstream.authorization_failed upstream.connection_failed User-facing sentence about this occurrence that names objects by their human names. It never contains API field names, routes, environment variables, UUIDs or error text. Such text goes to details.technical_detail. May be omitted, then clients use their text for the code.
The rules that keep a template from being deleted, seen from the caller organization. Rules of other organizations are never named or counted here.
FieldErrors is an array of field-level validation errors (400 or 422 responses)
Instance is a URI reference that identifies the specific occurrence of the problem (optional)
Client-visible next action that may resolve a problem
Safe retry metadata for a temporarily blocked target operation
Bounded resources related to a failed action
Status is the HTTP status code
Title is a short, human-readable summary of the problem type
TraceID is the trace ID for correlation (not part of RFC 7807, but useful)
Type is a URI reference that identifies the problem type (optional)
TestConnectionInlineRequest
postgreskubernetesmysqlclickhousemongodbsshSettings of an SSH target. A host has its own connection. A fleet names hosts by list and labels.
TestConnectionInlineResponse
TestConnectionRequest
TestConnectionResponse
Why the test failed, written for the operator (for example a changed host key, a key that is not authorized, a host that cannot be resolved or reached). It never carries the underlying library or storage error.
Why sudo cannot run the pg_hba.conf commands. Set only when the connection succeeded.
Whether the SSH user may run the pg_hba.conf commands with sudo. Absent when the connection failed.
TestConnectorRequest
Provider settings. GitLab and GitHub use canonical names: base_url, groups, excluded_group_suffixes, page_size, root_ca and insecure_skip_verify (GitLab: a PEM CA certificate of a self-managed server and whether to accept any server certificate. Changing either needs a new token), include_outside_collaborators and sync_bot_and_service_accounts (GitHub). Old names (url, baseUrl, api_url, group, pageSize, excludedGroups, excluded_groups, exclude_group_suffixes, includeOutsideCollaborators, syncBotAndServiceAccounts) are deprecated and accepted until 2027-01-01: they are read under the canonical names, and names of one setting with different values are rejected with 400. LDAP uses url (ldap:// or ldaps://), start_tls, insecure_skip_verify, root_ca, directory_type (active_directory or openldap), bind_dn, user_base_dn, user_filter, group_base_dn, group_filter, groups and excluded_group_suffixes. Its credential is bind_password.
gitlabgooglegithubldapTestConnectorResponse
TransitiveMembersResponse
TriggerSyncRequest
TriggerSyncResponse
TrustedNetworkApplicationResponse
The application's SSO gate still has the addresses of an earlier revision of the list. Saving the application access applies the current addresses.
TrustedNetworkCreateRequest
IP addresses or CIDR ranges. A single address means /32 or /128. IPv4 ranges are /16 or narrower, IPv6 ranges /32 or narrower. Up to 30 after duplicates are removed.
TrustedNetworkListResponse
TrustedNetworkResponse
Version of the list. Moves on every change, a rename included. An update names the version it read.
Applications whose SSO gate lets this list in. Empty in create and update responses.
TrustedNetworkUpdateRequest
The revision the list was read at. A save over another revision is refused with 409 and details.error_code version_mismatch.
TunnelEventResponse
TunnelMetricsResponse
TunnelStatusResponse
Always 0. Principal no longer opens a local port for a tunnel. Kept for wire compatibility.
disconnectedconnectingconnectedfailedTypeAvailability
available - Principal can create and use this type now. Coming_soon - listed for the roadmap, Principal refuses to create, test or sync it.
availablecoming_soon UpdateAccessTemplateRequest
TTL the rule wizard offers for this template, an ISO 8601 duration such as PT8H, no longer than max_ttl. Principal never adds it to a rule by itself. Absent keeps the saved value, an empty string removes it.
Longest TTL a rule of this template may ask for (L-14), an ISO 8601 duration of 15 minutes to 30 days such as P1D. Absent keeps the saved value, an empty string removes the limit.
UpdateConnectorRequest
Interval of scheduled syncs as an ISO 8601 duration (PT15M, PT1H, P1D, P1W), at least 5 minutes: a shorter one, PT0M or P0D included, is rejected with 400. A schedule sent back unchanged is kept as stored.
Provider settings. GitLab and GitHub use canonical names: base_url, groups, excluded_group_suffixes, page_size, root_ca and insecure_skip_verify (GitLab: a PEM CA certificate of a self-managed server and whether to accept any server certificate. Changing either needs a new token), include_outside_collaborators and sync_bot_and_service_accounts (GitHub). Old names (url, baseUrl, api_url, group, pageSize, excludedGroups, excluded_groups, exclude_group_suffixes, includeOutsideCollaborators, syncBotAndServiceAccounts) are deprecated and accepted until 2027-01-01: they are saved under the canonical names, and names of one setting with different values are rejected with 400. LDAP uses url (ldap:// or ldaps://), start_tls, insecure_skip_verify, root_ca, directory_type (active_directory or openldap), bind_dn, user_base_dn, user_filter, group_base_dn, group_filter, groups and excluded_group_suffixes. Its credential is bind_password.
UpdateIdentityRequest
Replaces the stored description. Omit or send an empty string to clear it.
New display name. Omit or send an empty string to keep the stored name.
Deprecated compatibility field. Ownership is derived. Omit this field or echo the identity's current managed value. Changes are rejected.
Replaces the custom attributes. Omit to keep the stored metadata. Server-owned keys are ignored and keep their stored values: principal_static_account, target_account_adoption, target_account_key, github_account_type, principal_password_rotated_at. The retired secret_ref key is ignored and removed.
Deprecated compatibility field. Ownership is derived. Omit this field or echo the identity's current sources exactly. Changes are rejected.
UpdatePolicyRequest
New expiry of a rule with a TTL, at least a minute and at most 30 days from now. Send it alone with version. A rule without a TTL refuses it with policy.ttl_not_allowed, an expired rule with resource.conflict. Principal moves the expiry. On PostgreSQL it also runs Apply in the caller's name to move VALID UNTIL, so there the change needs access:apply (403 otherwise) and waits for an Apply or a removal of the rule that already runs (409). If that Apply does not start, the answer names it in warnings.
Typed placement of a Kubernetes rule. For an update from a shared_by_template_v1 Kubernetes template a non-empty array replaces the placement and an explicit empty array is rejected. An absent field keeps the namespaces the rule stored for that template. Rejected for other template modes until unified materialization (accessTemplateSplit stage 3). For direct rules the field is presence-aware: an absent field keeps the stored placement, an explicit empty array clears it, a non-empty array replaces it.
Common field
The rule's own name, saved as metadata.name in every update mode (alone, with metadata, with rules or with a template update), as on create. A name sent here wins over metadata.name.
The rule's description, saved as metadata.description in every update mode.
Direct rules mode - mutually exclusive with template_name
Template mode - mutually exclusive with rules
Presence-aware memberships of the rule's account (PostgreSQL rules only): an absent field keeps the stored memberships, an array replaces them. A membership identical to a stored one keeps its origin. Sent with an explicit empty rules array, a non-empty memberships array clears the grants of the rule, imported rows included.
UpdateSSHTunnelRequest
Host the tunnel forwards to, as seen from the bastion. A connected tunnel uses it without a reconnect.
Port the tunnel forwards to. Requires remote_host in the request or on the tunnel.
Password for sudo operations on remote server
PostgreSQL target to link the tunnel to. An empty string unlinks the linked target.
UpdateTargetRequest
Pins Principal-managed SSO gate (oauth2-proxy) pods to schedulable nodes. Required for Kubernetes clusters where every node carries a taint. On update, a supplied empty object clears the configuration.
Kubernetes user kubeconfig connection, independent of the management connection. Omit to preserve the current setting on update. An empty object restores management defaults. A custom server with no CA uses the client system trust store. TLS verification is always enabled.
Complete connection string. Omitted or empty preserves the saved secret. SQL replacements are verified before saving.
Settings of an SSH target. A host has its own connection. A fleet names hosts by list and labels.
Compatibility block for clients of the previous release. Use applications_on_bundled_dex. A response shows the management address of this Principal's Dex only when the target's SSO applications are managed there and kubectl also signs in through this Principal's Dex, so older clients that read any address as "kubectl signs in through this Principal's Dex" stay right. In a request, the address of this Principal's Dex turns that management on. An empty object or an omitted block changes nothing (before this release an empty object turned it off). Any other address is refused. When a request carries applications_on_bundled_dex, that field decides and this block only has to name no other address. The target does not store this block.
Whether the SSO applications of a Kubernetes target are managed in this Principal's own Dex. It is independent of kubectl sign-in (dex_custom): a target may have such applications without any kubectl sign-in, and they always use this Principal's Dex issuer and management address. In a request, true or false changes it. Omitted, it stays as it is (a new target gets true when kubectl signs in through this Principal's Dex). Only Kubernetes targets have it: a response carries it for them and omits it for other kinds, and a request for another kind is refused.
Whether Principal protects every Ingress created in the Kubernetes target after this setting is turned on: the Ingress gets the SSO gate annotations at creation, Principal adds it as an application with its own Dex client and SSO gate, and only people with a rule on that application sign in. Ingresses that existed before stay as they are. System namespaces, Principal and Dex objects, cert-manager ACME solvers and Ingresses with the annotation principal.io/protect: "false" are not touched. Turning it off stops protecting new Ingresses and keeps the gates already created. It needs the target's SSO applications managed in this Principal's Dex. In a request, true or false changes it, omitted it stays as it is (a new target created without it has it off). Only Kubernetes targets have it.
ignorealertremediateValue for the principal.io/managed-by label on K8s RBAC objects. Must be unique per cluster.
Target revision observed by the caller. When omitted, the server pins the revision read at the start of this request for backward compatibility.
SSH tunnel the target connects through. An empty string stops using the saved tunnel. An absent field keeps it.
UpgradePreflightResponse
Upgrade preflight report of the installation.
Build version of the binary that built the report.
Applied metadata database migration. Null when it could not be read.
Whether the last migration was left incomplete. Null when it could not be read.
ok: no remainders. Attention: remainders exist, the note says what to do. Unknown: a source could not be read, the section claims nothing.
okattentionunknownUpgradePreflightSection
One area of the upgrade preflight report.
Stable section identifier, for example jobs, kubernetes or identities.
ok: no remainders. Attention: remainders exist, the note says what to do. Unknown: a source could not be read, the section claims nothing.
okattentionunknownNamed counts. The keys depend on the section.
Up to 20 identifiers of remainders as "<count key> <kind>:<id>". Never secrets.
Non-numeric facts such as the oldest and newest row of a table (RFC 3339).
What the remainders mean and what the operator should do (Russian).
UpgradePreflightStatus
ok: no remainders. Attention: remainders exist, the note says what to do. Unknown: a source could not be read, the section claims nothing.
okattentionunknownValidateManagedByConflictRef
ValidateManagedByRequest
The managed-by annotation value to validate.
Preferred. Absolute HTTP(S) Kubernetes API server URL used to scope the uniqueness check. Takes precedence over the deprecated kubeconfig when both are supplied.
Deprecated compatibility field. Prefer cluster_server_url. The server only parses the Kubernetes API server URL.
Target ID to exclude from the uniqueness check (for update flows).
ValidateManagedByResponse
ValidationErrors
xerr.FieldError
Field is the name of the field that failed validation
User-facing sentence about the field that starts with its label, never with the API field name
Tag is the validation tag that failed
Omitted from public validation responses to avoid disclosing submitted values
xerr.ProblemDetails
RFC 7807 Problem Details response
Stable machine-readable problem identifier
api_token.limit_reached api_token.role_exceeds_caller auth.agent_identity_unavailable auth.agent_login_disabled auth.agent_login_misconfigured auth.agent_membership_required auth.agent_organization_unavailable auth.agent_token_invalid auth.api_token_invalid auth.api_token_not_allowed auth.csrf_invalid auth.csrf_required auth.dex_callback_invalid auth.dex_connector_disabled auth.dex_connector_session_invalid auth.dex_connector_unauthorized auth.group_not_allowed auth.identity_alias_conflict auth.identity_not_registered auth.identity_required auth.identity_resolution_unavailable auth.identity_suspended auth.invalid_request auth.invalid_state auth.legacy_auth_disabled auth.login_start_failed auth.membership_invalid auth.mfa_challenge_failed auth.no_memberships auth.oidc_authorization_failed auth.oidc_callback_failed auth.oidc_not_configured auth.org_membership_missing auth.org_resolution_failed auth.organization_access_denied auth.organization_resolution_failed auth.organization_selection_invalid auth.session_creation_failed auth.session_identity_invalid auth.session_invalid 89 more values
auth.session_required auth.session_store_error authentication.requiredauthorization.deniedcleanup.decision_not_pending cleanup.decision_required cleanup.retry_already_scheduled connector.credentials_missing connector.github_group_discovery_limit connector.github_organizations_unavailable connector.gitlab_group_discovery_limit connector.gitlab_membership_groups_unavailable connector.ldap_group_discovery_limit connector.ldap_groups_unavailable connector.pausedconnector.test_timed_out connector.type_unavailable drift.acceptance_already_active drift.acceptance_check_outdated drift.acceptance_finding_resolved drift.explicit_confirmation_required drift.invalid_target_filter group.expansion_limit_exceeded health.snapshot_invalid health.snapshot_unavailable identity.delete_blocked installation.maintenancenotification.delivery_failed operation.already_running pagination.cursor_invalid pagination.offset_unsupported policy.access_held_by_group_rule policy.apply_in_progress policy.existing_rule_conflict policy.group_role_taken policy.member_credentials_pending policy.not_template_managed policy.owned_objects_decision_required policy.target_service_account_incomplete policy.template_managed policy.template_validation_failed policy.ttl_not_allowed request.cancelledrequest.failedrequest.invalidrequest.rate_limited request.timed_out request.too_large request.unprocessableresource.conflictresource.not_found response.unknownrotation.account_missing rotation.check_required rotation.interruptedrotation.not_confirmed secret_store.unavailable service.failedservice.internal_error service.unavailablesse.streaming_unsupported sse.topics_required ssh_key.in_use ssh_tunnel.in_use target.account_identity_mismatch target.account_identity_unverified target.account_import_pending target.account_principal_login target.account_taken target.auto_remediation_unsupported target.cluster_already_registered target.connection_missing target.dex_sign_in_required target.grant_authority_missing target.manage_refused target.operation_backoff_active target.replica_account_missing target.repair_required target_mutation_barrier tenant.claims_invalid tenant.claims_missing tenant.membership_missing tenant.membership_unavailable tenant.org_access_denied tenant.org_ambiguous tenant.org_header_invalid upstream.authentication_failed upstream.authorization_failed upstream.connection_failed User-facing sentence about this occurrence that names objects by their human names. It never contains API field names, routes, environment variables, UUIDs or error text. Such text goes to details.technical_detail. May be omitted, then clients use their text for the code.
Technical data of the problem for clients and support, never shown as a sentence. New field errors use field_errors.
FieldErrors is an array of field-level validation errors (400 or 422 responses)
Instance is a URI reference that identifies the specific occurrence of the problem (optional)
Client-visible next action that may resolve a problem
Safe retry metadata for a temporarily blocked target operation
Bounded resources related to a failed action
Status is the HTTP status code
Title is a short, human-readable summary of the problem type
TraceID is the trace ID for correlation (not part of RFC 7807, but useful)
Type is a URI reference that identifies the problem type (optional)
xerr.ProblemResolution
Client-visible next action that may resolve a problem
Stable machine-readable resolution identifier
Human-readable next step
xerr.ProblemResource
Client-visible resource related to a failed action
Stable resource identifier when one is available
Stable resource kind, such as identity, group, policy, or connector
Human name of the resource, safe for the current actor to see. Never an identifier. Clients show it instead of the ID and label a resource without it by its kind.
Stable relation between this resource and the failed action
System that owns the relation when relevant
xerr.ProblemResourceCollection
Bounded resources related to a failed action
Full number of related resources, including omitted items
Whether items contains only the first bounded page
xerr.ProblemRetry
Safe retry metadata for a temporarily blocked target operation
When the pause ends by itself and runs are allowed again. Nothing starts at that moment. A scheduled run starts at its next slot.