The usual flow
- Test the connectionPOST/targets
/test-connection Test target connection (inline) - Create the targetPOST/targets Create a new target
- Discover itPOST/targets
/{id} Start discovery jobGET/resources/discover /targets Get target inventory/{id} /inventory - Adopt existing accountsPOST/targets
/{id} Preview target account adoptionPOST/targets/accounts /adopt /preview /{id} Adopt target account/accounts /adopt
Operations
54 operations
Connect and manage12
- POSTTest target connection (inline) usual flow/targets
/test-connection - POSTCreate a new target usual flow/targets
- GETList all targets/targets
- GETGet target by ID/targets
/{id} - PUTUpdate a target/targets
/{id} - PATCHUpdate a target/targets
/{id} - DELETEDelete a target/targets
/{id} - POSTTest target connection/targets
/{id} /test-connection - POSTCheck the target service account/targets
/{id} /service-account /check - GETList target types/targets
/types - GETGet target capabilities/targets
/capabilities - POSTValidate managed-by annotation uniqueness/targets
/validate-managed-by
Discovery and inventory8
- POSTStart discovery job usual flow/targets
/{id} /discover - GETGet target inventory usual flow/resources
/targets /{id} /inventory - GETGet target subject access/resources
/targets /{id} /subject-access - GETSearch resources globally/resources
/search - GETList databases in target/targets
/{id} /databases - GETList schemas in database/targets
/{id} /databases /{db} /schemas - GETList tables in schema/targets
/{id} /databases /{db} /schemas /{schema} /tables - GETList suggested object patterns/targets
/{id} /databases /{db} /suggested-patterns
Accounts on the target7
- GETList PostgreSQL roles/targets
/{id} /pg-roles - GETList MySQL/MariaDB users/targets
/{id} /mysql-users - GETList ClickHouse users/targets
/{id} /clickhouse-users - GETList MongoDB users/targets
/{id} /mongodb-users - POSTPreview target account adoption usual flow/targets
/{id} /accounts /adopt /preview - POSTAdopt target account usual flow/targets
/{id} /accounts /adopt - POSTUnadopt target account/target-accounts
/{id} /unadopt
Drift2
PostgreSQL pg_hba.conf3
Kubernetes8
- GETList Kubernetes Namespaces/targets
/{id} /k8s /namespaces - GETList Kubernetes object names/targets
/{id} /k8s /namespaces /{namespace} /object-names - GETList Kubernetes resource types/targets
/{id} /k8s /resource-types - GETList discovered Kubernetes Roles/targets
/{id} /k8s /roles - GETList Kubernetes ClusterRoles/targets
/{id} /k8s /cluster-roles - GETList Kubernetes RoleBindings/targets
/{id} /k8s /role-bindings - GETList Kubernetes ClusterRoleBindings/targets
/{id} /k8s /cluster-role-bindings - POSTDiscover Dex/OIDC configuration from cluster/targets
/{id} /dex-discovery
Kubernetes applications7
- GETList application child targets/targets
/{id} /applications - GETGet application child target/targets
/{id} /applications /{application_id} - GETGet application access state/targets
/{id} /applications /{application_id} /access - PUTUpdate application access/targets
/{id} /applications /{application_id} /access - PUTUpdate application access groups/targets
/{id} /applications /{application_id} /access /groups - POSTPreview application Dex client changes/targets
/{id} /applications /{application_id} /access /preview - POSTApply application Dex client changes/targets
/{id} /applications /{application_id} /access /apply
SSH hosts7
- GETGet the SSH certificate authority of the organization/targets
/ssh /ca - POSTFetch the host key of an SSH host/targets
/ssh /host-key - GETList the hosts of an SSH target/targets
/{id} /ssh /hosts - GETList the Linux accounts of an SSH host/targets
/{id} /ssh /accounts - POSTTake over an existing Linux account/targets
/{id} /ssh /accounts /adopt - POSTStop managing a Linux account/targets
/{id} /ssh /accounts /unadopt - POSTGet an SSH certificate/ssh
/certificates
No operation matches the filter.
Discovery, drift detection and revoking deletes run asynchronously (202). Repeated discovery or drift failures trigger backoff (409 target.operation_backoff_active), cleared after a passing POST /targets. See Targets and Discovery and adoption.