Docs
Live demo
POST/api/v2/admin/jobs
jobs:manageAPI token

Create and enqueue a new background job

Request body application/json · EnqueueJobRequest

Job creation request

Required2 of 7 fields
job_typestringrequired
drift_checkk8s_drift_check
payloadEnqueueJobPayloadrequired
1 field
target_idstring · uuidrequired
Optional5 fields
instance_idstring · uuid

Deprecated compatibility alias for payload.target_id. If present, both values must match.

deprecated
max_attemptsinteger

Deprecated compatibility field. The only accepted value is 3.

3
deprecated
prioritystring

Deprecated compatibility field. The only accepted value is normal.

normal
deprecated
scopestring

Deprecated compatibility field. The only accepted value is drift_check.

drift_check
deprecated
timeout_secondsinteger

Deprecated compatibility field. The only accepted value is 1800.

1800
deprecated

Responses

201

Created

JobResponse · 40 fields

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.

4 fields
idstringrequired
actionstringrequired

The bulk action, as in GET /bulk-operations/{id}.

group_idstring
group_labelstring

The group name recorded when the run started.

4 fields
stagestring (entity.DiscoveryStage)required

A stage actually emitted by a discovery worker.

application_discovery_warningchecking_stalenesscleaned_stalecleaning_stalecompleteconnectconnectingdatabases_completediscovered_api_resourcesdiscovered_application_candidatesdiscovered_cluster_role_bindingsdiscovered_cluster_rolesdiscovered_namespacesdiscovered_role_bindingsdiscovered_rolesdiscovered_tablesdiscovering_api_resourcesdiscovering_application_candidatesdiscovering_cluster_role_bindingsdiscovering_cluster_rolesdiscovering_completediscovering_databasesdiscovering_namespacesdiscovering_role_bindingsdiscovering_role_bindings_warningdiscovering_rolesdiscovering_roles_warningdiscovering_schemasdiscovering_tablesdiscovering_usersfinalizingpropagating_future_objectspropagation_warningresources_completeresources_connectingresources_databases_completeresources_discovering_databasesresources_discovering_tablesresources_finalizingresources_scanned_database
6 more values
roles_completescanned_databasescanning_completestaleness_warningusersusers_complete
percentintegerrequired

Persisted worker progress. Even 100 does not imply that the job is terminal.

min 0 · max 100
messagestringrequired

Safe static English presentation of the stage.

updated_atstring · date-timerequired
warningsarray of entity.DiscoveryWarning
6 fields
codestring (entity.DiscoveryWarningCode)required
discovery_warninginventory_incompletepropagation_incompleteobjects_not_on_every_replica
messagestringrequired

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.

max items 50
4 fields
databasestringrequired

The database, or the database of the table.

tablestring

Set for a table of a database every replica holds. Absent for a database some replicas lack.

replicasarray of stringrequired

Host names of the first replicas, in name order, that hold the object.

max items 16
replica_countintegerrequired

The number of replicas that hold the object, including the ones not listed.

min 0
object_countinteger

Only for objects_not_on_every_replica. The number of such objects, including the ones not listed.

min 0
skipped_databasesarray of string

Only for inventory_incomplete: the first databases, in name order, that discovery left out because the target's service account cannot enter them.

max items 50
skipped_database_countinteger

Only for inventory_incomplete. The number of skipped databases, including the ones not listed.

min 0
access_profile_analysis_job_idstring · uuid

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.

8 fields
codestring (JobFailureCode)required

Closed registry of asynchronous operation failure causes, independent of HTTP problem codes.

ACCESS_PROFILE_STALEAMBIGUOUS_TARGET_OUTCOMEAPPLY_INTERRUPTEDAUTHENTICATION_FAILEDCLICKHOUSE_REPLICAS_OUT_OF_SYNCCLICKHOUSE_USER_NAME_RESERVEDCONNECTION_FAILEDCONNECTION_REFUSEDCONNECTION_TIMEOUTCONNECTOR_CREDENTIALS_MISSINGCONNECTOR_PAUSEDCONNECTOR_SOURCE_CHANGEDCONNECTOR_TYPE_UNAVAILABLECONSTRAINT_VIOLATIONCREDENTIAL_EXPIREDCREDENTIAL_NOT_FOUNDDATABASE_NOT_FOUNDDRIFT_BINDING_NOT_FOUNDDRIFT_DEFAULT_INHERITED_SKIPPEDDRIFT_NO_EXECUTABLE_DIFFDRIFT_PARTIAL_APPLYDRIFT_PLAN_GENERATION_FAILEDDRIFT_RESOURCE_MISMATCHDRIFT_RULE_DELETINGDRIFT_RUN_OUTDATEDDRIFT_SCOPE_MISMATCHGROUP_EXPANSION_LIMIT_EXCEEDEDHANDLER_NOT_FOUNDK8S_CHANGE_REJECTEDK8S_CLUSTER_UNREACHABLEK8S_NAMESPACE_FORBIDDENK8S_NAMESPACE_NOT_FOUNDK8S_RBAC_FORBIDDENKUBERNETES_MEMBER_CREDENTIALS_PENDINGKUBERNETES_SERVICE_ACCOUNT_KUBECONFIG_NOT_ISSUEDMARIADB_TRUNCATE_UNSUPPORTEDMARIADB_USAGE_UNSUPPORTEDMARIADB_GRANTS_AMBIGUOUSMUTATION_LOCKEDMYSQL_MANAGEMENT_PRIVILEGES_MISSING
34 more values
NOT_FOUNDOPERATION_BACKOFFOPERATION_CANCELLEDOPERATION_TIMEOUTOWNED_OBJECTS_DECISION_REQUIREDPERMISSION_DENIEDPLAN_APPLY_ARTIFACT_INVALIDPLAN_APPLY_ORPHANED_LOCKPLAN_APPLY_ROLLBACK_BASELINE_INVALIDPLAN_APPLY_RULE_CHANGEDPLAN_APPLY_TARGET_STATE_CHANGEDPLAN_APPLY_ACCESS_IMPACT_CHANGEDPOSTGRES_FUTURE_OBJECT_CREATORS_MISSINGPOSTGRES_GRANT_AUTHORITY_MISSINGPOSTGRES_MANAGEMENT_PRIVILEGES_MISSINGPOSTGRES_ROLE_ATTRIBUTE_UNSUPPORTEDPOSTGRES_ROLE_NAME_RESERVEDPOSTGRES_TLS_FILE_NOT_ALLOWEDPROVIDER_REQUEST_FAILEDRATE_LIMITEDROLE_EXISTSROLE_NOT_FOUNDROTATION_CHECK_REQUIREDSECRET_STORE_UNAVAILABLESERIALIZATION_ERRORTARGET_ACCOUNT_IDENTITY_MISMATCHTARGET_ACCOUNT_IDENTITY_UNVERIFIEDTARGET_ACCOUNT_IMPORT_PENDINGTARGET_ACCOUNT_PRINCIPAL_LOGINTARGET_ACCOUNT_TAKENTARGET_CONNECTION_MISSINGTARGET_REPAIR_REQUIREDUNKNOWN_ERRORVALIDATION_FAILED
titlestring

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.

max length 32
explanationstringrequired
recommended_actionstringrequired
retryablebooleanrequired

Whether the failed attempt was eligible for an automatic retry under the actual queue policy.

phasestring

Known operation phase at failure, when available.

resolution_codestring

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.

max length 128 · pattern ^[a-z][a-z0-9_-]*(\.[a-z0-9_-]+)*$
cluster_answerstring

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.

max length 500
terminalbooleanrequired

Whether this operation has finished.

outcomestring (entity.OperationOutcome)required

Final operation result, or null while the operation is active.

successfailurecancelledpartial
can be null
substatestring (entity.OperationSubstate)required

Qualifies the status and outcome of an operation where they alone would hide what the operator must know. Null when none applies.

rollback_in_progressrolled_backneeds_repairoutcome_unknowninterruptedrequires_approvalholds_lockawaiting_confirmationexpiredtimed_outrescheduled
can be null
attemptsinteger
completed_atstring
created_atstring
created_bystring
databasestring
duration_msinteger
execution_stepsarray of object
9 fields

Safe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.

8 fields
codestring (JobFailureCode)required

Closed registry of asynchronous operation failure causes, independent of HTTP problem codes.

ACCESS_PROFILE_STALEAMBIGUOUS_TARGET_OUTCOMEAPPLY_INTERRUPTEDAUTHENTICATION_FAILEDCLICKHOUSE_REPLICAS_OUT_OF_SYNCCLICKHOUSE_USER_NAME_RESERVEDCONNECTION_FAILEDCONNECTION_REFUSEDCONNECTION_TIMEOUTCONNECTOR_CREDENTIALS_MISSINGCONNECTOR_PAUSEDCONNECTOR_SOURCE_CHANGEDCONNECTOR_TYPE_UNAVAILABLECONSTRAINT_VIOLATIONCREDENTIAL_EXPIREDCREDENTIAL_NOT_FOUNDDATABASE_NOT_FOUNDDRIFT_BINDING_NOT_FOUNDDRIFT_DEFAULT_INHERITED_SKIPPEDDRIFT_NO_EXECUTABLE_DIFFDRIFT_PARTIAL_APPLYDRIFT_PLAN_GENERATION_FAILEDDRIFT_RESOURCE_MISMATCHDRIFT_RULE_DELETINGDRIFT_RUN_OUTDATEDDRIFT_SCOPE_MISMATCHGROUP_EXPANSION_LIMIT_EXCEEDEDHANDLER_NOT_FOUNDK8S_CHANGE_REJECTEDK8S_CLUSTER_UNREACHABLEK8S_NAMESPACE_FORBIDDENK8S_NAMESPACE_NOT_FOUNDK8S_RBAC_FORBIDDENKUBERNETES_MEMBER_CREDENTIALS_PENDINGKUBERNETES_SERVICE_ACCOUNT_KUBECONFIG_NOT_ISSUEDMARIADB_TRUNCATE_UNSUPPORTEDMARIADB_USAGE_UNSUPPORTEDMARIADB_GRANTS_AMBIGUOUSMUTATION_LOCKEDMYSQL_MANAGEMENT_PRIVILEGES_MISSING
34 more values
NOT_FOUNDOPERATION_BACKOFFOPERATION_CANCELLEDOPERATION_TIMEOUTOWNED_OBJECTS_DECISION_REQUIREDPERMISSION_DENIEDPLAN_APPLY_ARTIFACT_INVALIDPLAN_APPLY_ORPHANED_LOCKPLAN_APPLY_ROLLBACK_BASELINE_INVALIDPLAN_APPLY_RULE_CHANGEDPLAN_APPLY_TARGET_STATE_CHANGEDPLAN_APPLY_ACCESS_IMPACT_CHANGEDPOSTGRES_FUTURE_OBJECT_CREATORS_MISSINGPOSTGRES_GRANT_AUTHORITY_MISSINGPOSTGRES_MANAGEMENT_PRIVILEGES_MISSINGPOSTGRES_ROLE_ATTRIBUTE_UNSUPPORTEDPOSTGRES_ROLE_NAME_RESERVEDPOSTGRES_TLS_FILE_NOT_ALLOWEDPROVIDER_REQUEST_FAILEDRATE_LIMITEDROLE_EXISTSROLE_NOT_FOUNDROTATION_CHECK_REQUIREDSECRET_STORE_UNAVAILABLESERIALIZATION_ERRORTARGET_ACCOUNT_IDENTITY_MISMATCHTARGET_ACCOUNT_IDENTITY_UNVERIFIEDTARGET_ACCOUNT_IMPORT_PENDINGTARGET_ACCOUNT_PRINCIPAL_LOGINTARGET_ACCOUNT_TAKENTARGET_CONNECTION_MISSINGTARGET_REPAIR_REQUIREDUNKNOWN_ERRORVALIDATION_FAILED
titlestring

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.

max length 32
explanationstringrequired
recommended_actionstringrequired
retryablebooleanrequired

Whether the failed attempt was eligible for an automatic retry under the actual queue policy.

phasestring

Known operation phase at failure, when available.

resolution_codestring

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.

max length 128 · pattern ^[a-z][a-z0-9_-]*(\.[a-z0-9_-]+)*$
cluster_answerstring

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.

max length 500
terminalbooleanrequired
outcomestring (entity.OperationOutcome)required

Final operation result, or null while the operation is active.

successfailurecancelledpartial
can be null
namestring
statusstring
pendingrunningcompletedfailedskipped
started_atstring
finished_atstring
duration_msinteger
error_messagestring
failed_atstring
idstring
idempotency_keystring
instance_idstring
target_namestring
target_kindstring
target_versionstring
job_typestring
last_errorstring
locked_atstring
max_attemptsinteger
next_retry_atstring
stop_requested_atstring · date-time

When a person asked the running rule apply to stop after its current step.

payloadmap of string → any

Deprecated legacy metadata alias. Use payload_summary.

deprecated
payload_summaryJobMetadataResponse
49 fields

Safe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.

8 fields
codestring (JobFailureCode)required

Closed registry of asynchronous operation failure causes, independent of HTTP problem codes.

ACCESS_PROFILE_STALEAMBIGUOUS_TARGET_OUTCOMEAPPLY_INTERRUPTEDAUTHENTICATION_FAILEDCLICKHOUSE_REPLICAS_OUT_OF_SYNCCLICKHOUSE_USER_NAME_RESERVEDCONNECTION_FAILEDCONNECTION_REFUSEDCONNECTION_TIMEOUTCONNECTOR_CREDENTIALS_MISSINGCONNECTOR_PAUSEDCONNECTOR_SOURCE_CHANGEDCONNECTOR_TYPE_UNAVAILABLECONSTRAINT_VIOLATIONCREDENTIAL_EXPIREDCREDENTIAL_NOT_FOUNDDATABASE_NOT_FOUNDDRIFT_BINDING_NOT_FOUNDDRIFT_DEFAULT_INHERITED_SKIPPEDDRIFT_NO_EXECUTABLE_DIFFDRIFT_PARTIAL_APPLYDRIFT_PLAN_GENERATION_FAILEDDRIFT_RESOURCE_MISMATCHDRIFT_RULE_DELETINGDRIFT_RUN_OUTDATEDDRIFT_SCOPE_MISMATCHGROUP_EXPANSION_LIMIT_EXCEEDEDHANDLER_NOT_FOUNDK8S_CHANGE_REJECTEDK8S_CLUSTER_UNREACHABLEK8S_NAMESPACE_FORBIDDENK8S_NAMESPACE_NOT_FOUNDK8S_RBAC_FORBIDDENKUBERNETES_MEMBER_CREDENTIALS_PENDINGKUBERNETES_SERVICE_ACCOUNT_KUBECONFIG_NOT_ISSUEDMARIADB_TRUNCATE_UNSUPPORTEDMARIADB_USAGE_UNSUPPORTEDMARIADB_GRANTS_AMBIGUOUSMUTATION_LOCKEDMYSQL_MANAGEMENT_PRIVILEGES_MISSING
34 more values
NOT_FOUNDOPERATION_BACKOFFOPERATION_CANCELLEDOPERATION_TIMEOUTOWNED_OBJECTS_DECISION_REQUIREDPERMISSION_DENIEDPLAN_APPLY_ARTIFACT_INVALIDPLAN_APPLY_ORPHANED_LOCKPLAN_APPLY_ROLLBACK_BASELINE_INVALIDPLAN_APPLY_RULE_CHANGEDPLAN_APPLY_TARGET_STATE_CHANGEDPLAN_APPLY_ACCESS_IMPACT_CHANGEDPOSTGRES_FUTURE_OBJECT_CREATORS_MISSINGPOSTGRES_GRANT_AUTHORITY_MISSINGPOSTGRES_MANAGEMENT_PRIVILEGES_MISSINGPOSTGRES_ROLE_ATTRIBUTE_UNSUPPORTEDPOSTGRES_ROLE_NAME_RESERVEDPOSTGRES_TLS_FILE_NOT_ALLOWEDPROVIDER_REQUEST_FAILEDRATE_LIMITEDROLE_EXISTSROLE_NOT_FOUNDROTATION_CHECK_REQUIREDSECRET_STORE_UNAVAILABLESERIALIZATION_ERRORTARGET_ACCOUNT_IDENTITY_MISMATCHTARGET_ACCOUNT_IDENTITY_UNVERIFIEDTARGET_ACCOUNT_IMPORT_PENDINGTARGET_ACCOUNT_PRINCIPAL_LOGINTARGET_ACCOUNT_TAKENTARGET_CONNECTION_MISSINGTARGET_REPAIR_REQUIREDUNKNOWN_ERRORVALIDATION_FAILED
titlestring

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.

max length 32
explanationstringrequired
recommended_actionstringrequired
retryablebooleanrequired

Whether the failed attempt was eligible for an automatic retry under the actual queue policy.

phasestring

Known operation phase at failure, when available.

resolution_codestring

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.

max length 128 · pattern ^[a-z][a-z0-9_-]*(\.[a-z0-9_-]+)*$
cluster_answerstring

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.

max length 500
actionstring
action_symbolstring
addressstring
critical_countinteger
current_stepinteger
descriptionstring
drift_countinteger
duration_msinteger
errorstring
error_codestring
error_explanationstring
failed_countinteger
failure_countinteger
indexinteger
info_countinteger
job_idstring
messagestring
operation_idstring

Bulk action that this job runs. GET /bulk-operations/{id} reads it.

phasestring
plan_idstring
policy_idstring
progressnumber
raw_errorstring
recommended_actionstring
remediated_countinteger

Items remediated. For kubernetes_credential_refresh, kubeconfigs re-issued for the target's current authentication mode.

removed_countinteger

For kubernetes_credential_refresh, kubeconfigs of another authentication mode removed because the identity has no access in the current mode.

duplicates_newinteger

Connector sync only. Accounts this sync added to the duplicates of the connector.

duplicates_waitinginteger

Connector sync only. Accounts the sync skipped as duplicates, the new ones included.

resource_idstring
resource_typestring
risk_levelstring
run_idstring
stagestring
statusstring
pendingqueuedrunningcompletedfailedcancelledtimeoutokerrorrescheduledsucceededpartially_succeededrollback_in_progressrolled_backfailed_needs_repairsuccesspartial_success
success_countinteger
target_idstring
totalinteger
total_countinteger
total_findingsinteger
total_stepsinteger
warningsarray of string
warning_countinteger
recoverableboolean
6 fields
attemptedintegerrequired
failedintegerrequired
foundintegerrequired
resultsarray of entity.SessionTerminationResultrequired
skippedintegerrequired
terminatedintegerrequired
retained_shared_rbacarray of entity.RetainedSharedRBACObject

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.

3 fields
kindstringrequired
namestringrequired
reasonstringrequired

Why the object was kept, starting with "Kept:" and naming the binding that still uses it.

kept_unconfirmed_accountsarray of string

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.

removed_from_principal_onlyboolean

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.

6 fields
decisionstringrequired

complete records the attempt as completed, requeue repeats the job, repair fails it for manual repair.

completerequeuerepair
decided_bystring

Who decided (cli:<host> for the maintenance CLI).

decided_atstring · date-time
notestring
interrupted_worker_idstring

Worker of the previous job protocol that held the interrupted attempt.

interrupted_statestring

Registry state of the attempt when the decision was made.

legacy_claimrequest_record
plan_idstring
prioritystring
resultmap of string → any

Deprecated legacy metadata alias. Use result_summary.

deprecated
result_summaryJobMetadataResponse
49 fields

Safe operation failure. Explanation and recommended_action come from the static failure-code registry. The only text not written by Principal is cluster_answer.

8 fields
codestring (JobFailureCode)required

Closed registry of asynchronous operation failure causes, independent of HTTP problem codes.

ACCESS_PROFILE_STALEAMBIGUOUS_TARGET_OUTCOMEAPPLY_INTERRUPTEDAUTHENTICATION_FAILEDCLICKHOUSE_REPLICAS_OUT_OF_SYNCCLICKHOUSE_USER_NAME_RESERVEDCONNECTION_FAILEDCONNECTION_REFUSEDCONNECTION_TIMEOUTCONNECTOR_CREDENTIALS_MISSINGCONNECTOR_PAUSEDCONNECTOR_SOURCE_CHANGEDCONNECTOR_TYPE_UNAVAILABLECONSTRAINT_VIOLATIONCREDENTIAL_EXPIREDCREDENTIAL_NOT_FOUNDDATABASE_NOT_FOUNDDRIFT_BINDING_NOT_FOUNDDRIFT_DEFAULT_INHERITED_SKIPPEDDRIFT_NO_EXECUTABLE_DIFFDRIFT_PARTIAL_APPLYDRIFT_PLAN_GENERATION_FAILEDDRIFT_RESOURCE_MISMATCHDRIFT_RULE_DELETINGDRIFT_RUN_OUTDATEDDRIFT_SCOPE_MISMATCHGROUP_EXPANSION_LIMIT_EXCEEDEDHANDLER_NOT_FOUNDK8S_CHANGE_REJECTEDK8S_CLUSTER_UNREACHABLEK8S_NAMESPACE_FORBIDDENK8S_NAMESPACE_NOT_FOUNDK8S_RBAC_FORBIDDENKUBERNETES_MEMBER_CREDENTIALS_PENDINGKUBERNETES_SERVICE_ACCOUNT_KUBECONFIG_NOT_ISSUEDMARIADB_TRUNCATE_UNSUPPORTEDMARIADB_USAGE_UNSUPPORTEDMARIADB_GRANTS_AMBIGUOUSMUTATION_LOCKEDMYSQL_MANAGEMENT_PRIVILEGES_MISSING
34 more values
NOT_FOUNDOPERATION_BACKOFFOPERATION_CANCELLEDOPERATION_TIMEOUTOWNED_OBJECTS_DECISION_REQUIREDPERMISSION_DENIEDPLAN_APPLY_ARTIFACT_INVALIDPLAN_APPLY_ORPHANED_LOCKPLAN_APPLY_ROLLBACK_BASELINE_INVALIDPLAN_APPLY_RULE_CHANGEDPLAN_APPLY_TARGET_STATE_CHANGEDPLAN_APPLY_ACCESS_IMPACT_CHANGEDPOSTGRES_FUTURE_OBJECT_CREATORS_MISSINGPOSTGRES_GRANT_AUTHORITY_MISSINGPOSTGRES_MANAGEMENT_PRIVILEGES_MISSINGPOSTGRES_ROLE_ATTRIBUTE_UNSUPPORTEDPOSTGRES_ROLE_NAME_RESERVEDPOSTGRES_TLS_FILE_NOT_ALLOWEDPROVIDER_REQUEST_FAILEDRATE_LIMITEDROLE_EXISTSROLE_NOT_FOUNDROTATION_CHECK_REQUIREDSECRET_STORE_UNAVAILABLESERIALIZATION_ERRORTARGET_ACCOUNT_IDENTITY_MISMATCHTARGET_ACCOUNT_IDENTITY_UNVERIFIEDTARGET_ACCOUNT_IMPORT_PENDINGTARGET_ACCOUNT_PRINCIPAL_LOGINTARGET_ACCOUNT_TAKENTARGET_CONNECTION_MISSINGTARGET_REPAIR_REQUIREDUNKNOWN_ERRORVALIDATION_FAILED
titlestring

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.

max length 32
explanationstringrequired
recommended_actionstringrequired
retryablebooleanrequired

Whether the failed attempt was eligible for an automatic retry under the actual queue policy.

phasestring

Known operation phase at failure, when available.

resolution_codestring

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.

max length 128 · pattern ^[a-z][a-z0-9_-]*(\.[a-z0-9_-]+)*$
cluster_answerstring

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.

max length 500
actionstring
action_symbolstring
addressstring
critical_countinteger
current_stepinteger
descriptionstring
drift_countinteger
duration_msinteger
errorstring
error_codestring
error_explanationstring
failed_countinteger
failure_countinteger
indexinteger
info_countinteger
job_idstring
messagestring
operation_idstring

Bulk action that this job runs. GET /bulk-operations/{id} reads it.

phasestring
plan_idstring
policy_idstring
progressnumber
raw_errorstring
recommended_actionstring
remediated_countinteger

Items remediated. For kubernetes_credential_refresh, kubeconfigs re-issued for the target's current authentication mode.

removed_countinteger

For kubernetes_credential_refresh, kubeconfigs of another authentication mode removed because the identity has no access in the current mode.

duplicates_newinteger

Connector sync only. Accounts this sync added to the duplicates of the connector.

duplicates_waitinginteger

Connector sync only. Accounts the sync skipped as duplicates, the new ones included.

resource_idstring
resource_typestring
risk_levelstring
run_idstring
stagestring
statusstring
pendingqueuedrunningcompletedfailedcancelledtimeoutokerrorrescheduledsucceededpartially_succeededrollback_in_progressrolled_backfailed_needs_repairsuccesspartial_success
success_countinteger
target_idstring
totalinteger
total_countinteger
total_findingsinteger
total_stepsinteger
warningsarray of string
warning_countinteger
recoverableboolean
6 fields
attemptedintegerrequired
failedintegerrequired
foundintegerrequired
resultsarray of entity.SessionTerminationResultrequired
skippedintegerrequired
terminatedintegerrequired
retained_shared_rbacarray of entity.RetainedSharedRBACObject

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.

3 fields
kindstringrequired
namestringrequired
reasonstringrequired

Why the object was kept, starting with "Kept:" and naming the binding that still uses it.

kept_unconfirmed_accountsarray of string

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.

removed_from_principal_onlyboolean

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.

6 fields
decisionstringrequired

complete records the attempt as completed, requeue repeats the job, repair fails it for manual repair.

completerequeuerepair
decided_bystring

Who decided (cli:<host> for the maintenance CLI).

decided_atstring · date-time
notestring
interrupted_worker_idstring

Worker of the previous job protocol that held the interrupted attempt.

interrupted_statestring

Registry state of the attempt when the decision was made.

legacy_claimrequest_record
run_atstring
scheduled_atstring
scopestring

Where a background operation is in the shared lifecycle (decision S1). outcome says how a finished operation ended and substate qualifies the state.

queuedrunningfinished
updated_atstring
worker_idstring
404

Target not found

409

The Idempotency-Key of the request belongs to a request with the same key that is still running (Retry-After names the seconds to wait) or to a request with another endpoint or body (resource.conflict). Code operation.already_running: a drift check already runs on this target or waits for its next attempt. Nothing was queued. details.existing_job_id and resources (relation running_operation) name that job, details.started_at is when it was started, and resolution.code operation.view_running opens it.

Common errors: 400 401 403 413 429 503 504. They mean the same for every operation, see Errors.

↑ ↓ to moveEnter to openEsc to close