Docs
Live demo
GET/api/v2/attention
jobs:manageAPI token

List the work of the caller's organization that Principal stopped repeating by itself, newest first and at most 50 per section: credential deliveries whose newest job failed after spending every attempt (the Kubernetes credentials of a group member after a membership change, the kubeconfig snapshots of a Kubernetes target after its edit) and discovery or drift checks of targets paused after repeated failures. A later queued, running or completed job of the same delivery replaces an older failure. It also lists the OAuth clients of the organization's applications that any GitLab user can sign in to, and, with group_access, members of a group whose group rule gives them no access on its target. Organization administrators only.

Parameters

Query1 optional
group_accessbooleanquery

Also list members of a group whose group rule gives them no access on its target. The list walks every group rule of the organization, so the Health page asks for it on its own and at most once in five minutes. Without the parameter the list is empty.

default false

Responses

200

OK

OrganizationAttentionResponse · 6 fields
credential_deliveriesarray of CredentialDeliveryResponserequired
10 fields
job_idstring · uuidrequired
kindstringrequired

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_credentialstarget_kubeconfigs

An object of the organization a problem concerns.

2 fields
idstring · uuidrequired
namestringrequired

An object of the organization a problem concerns.

2 fields
idstring · uuidrequired
namestringrequired

An object of the organization a problem concerns.

2 fields
idstring · uuidrequired
namestringrequired
attemptsintegerrequired
max_attemptsintegerrequired
first_attempt_atstring · date-timerequired
gave_up_atstring · date-time

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
paused_operationsarray of PausedTargetOperationResponserequired
6 fields
targetAttentionReferencerequired

An object of the organization a problem concerns.

2 fields
idstring · uuidrequired
namestringrequired
operationstringrequired
discoverydrift
paused_untilstring · date-timerequired
consecutive_failuresintegerrequired
last_failure_atstring · date-time

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
expired_rulesarray of ExpiredRuleResponserequired

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.

8 fields
policy_idstringrequired

An object of the organization a problem concerns.

2 fields
idstring · uuidrequired
namestringrequired

An object of the organization a problem concerns.

2 fields
idstring · uuidrequired
namestringrequired
expires_atstring · date-timerequired
cleanup_task_idstring

The latest removal of the rule. Absent until its removal starts.

cleanup_statusstring

State of the latest removal, empty until it starts.

cleanup_outcomestring
decision_requiredboolean

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.

open_gitlab_sign_insarray of OpenGitLabSignInResponserequired

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.

4 fields
clusterAttentionReferencerequired

An object of the organization a problem concerns.

2 fields
idstring · uuidrequired
namestringrequired
applicationAttentionReferencerequired

An object of the organization a problem concerns.

2 fields
idstring · uuidrequired
namestringrequired
client_idstringrequired
client_namestringrequired
gitlab_sign_in_uncheckedarray of AttentionReferencerequired

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.

2 fields
idstring · uuidrequired
namestringrequired
group_rule_members_without_accessarray of GroupRuleMemberWithoutAccessResponserequired

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.

4 fields
policy_idstringrequired

The group rule to apply.

An object of the organization a problem concerns.

2 fields
idstring · uuidrequired
namestringrequired

An object of the organization a problem concerns.

2 fields
idstring · uuidrequired
namestringrequired

An object of the organization a problem concerns.

2 fields
idstring · uuidrequired
namestringrequired
400

The request does not match the operation contract (request.invalid): a parameter or body field has the wrong type, format or value.

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

↑ ↓ to moveEnter to openEsc to close