Cloud Integrations
These operations connect your cloud accounts to Nullify for cloud security scanning and Kubernetes context: AWS (an IAM role Nullify assumes), Azure (an app registration), GCP (workload identity federation) and Kubernetes clusters. Each provider has a settings resource you read, save and delete, plus a validation call that proves Nullify can reach the account.
Reads (GET) require secret-config:read; saves, deletes, validations and the Kubernetes allowlist call require config:write. See Authentication for tokens. Every call acts on the tenant of your token and takes the provider scope of the installation as a query parameter (for example githubOwnerId); use GET /admin/installations from Source Control and CI Integrations to find the value. The cloud settings are stored per tenant, so each call reads and writes one settings record per provider.
Responses never return secrets: the Azure clientSecret is write-only.
AWS
Nullify scans an AWS account by assuming an IAM role in it. You save the role name and account list, create the role in each account with the externalId Nullify returns, then validate that the role can be assumed. Account ids in awsAccounts are 12-digit AWS account ids.
Get AWS settings
Returns the saved AWS integration: iamRoleName, externalId, awsAccounts with a per-account lastVerifiedStatus, preferredDeployment, the Nullify-side nullifyRoleArn, nullifyS3Bucket and nullifyKMSKeyArn, and an overallStatus. When the last validation found connector permissions the role was refused, they are listed in connectorPermissionGaps; read connectorPermissionProbe alongside it, because an empty gap list only means the role is complete when the probe is complete (incomplete and not_probed mean the list is not a proof). Returns 404 when no AWS settings are saved. Requires secret-config:read.
Retrieves AWS cloud integration settings for the tenant. A tenant with no AWS integration gets overallStatus "not_configured" and empty settings.
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Unauthorized
Internal Server Error
GET /admin/integrations/cloud/aws/settings HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"awsAccounts": [
{
"accountId": "text",
"accountName": "text",
"accountType": "text",
"assumedRole": "text",
"errorMessage": "text",
"isDefault": true,
"lastVerifiedAt": "text",
"lastVerifiedStatus": "text",
"status": "text"
}
],
"connectorPermissionGaps": [
{
"accountId": "text",
"checkedAt": "text",
"permission": "text",
"service": "text"
}
],
"connectorPermissionProbe": "complete",
"createdAt": "text",
"externalId": "text",
"iamRoleName": "text",
"lastValidatedAt": "text",
"lastValidationStatus": "text",
"nullifyK8sCollectorRoleArn": "text",
"nullifyKMSKeyArn": "text",
"nullifyRoleArn": "text",
"nullifyS3AccessPointArn": "text",
"nullifyS3Bucket": "text",
"overallStatus": "text",
"preferredDeployment": "helm",
"updatedAt": "text"
}Save AWS settings
Creates or replaces the tenant's AWS settings. iamRoleName, awsAccounts and preferredDeployment (helm, terraform, cloudformation or cloud_connector) are required; a missing preferredDeployment returns 400. externalId is optional in the request and is returned in the response, so create the IAM role in your accounts with that value in its trust policy. The awsAccounts list is the full desired set: after saving, Nullify reconciles the upload allowlists (bucket, access point and KMS key) used by the Kubernetes collector so that accounts you removed lose access and accounts you added gain it. Most allowlist failures are logged and do not fail the call; if another reconcile holds the lock the call returns 503 and you should repeat it, or use Allow Kubernetes collector accounts. Requires config:write.
Creates or updates AWS cloud integration settings for the tenant
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Bad Request
Unauthorized
Internal Server Error
Service Unavailable
POST /admin/integrations/cloud/aws/settings HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 219
{
"awsAccounts": [
{
"accountId": "text",
"accountName": "text",
"accountType": "text",
"isDefault": true,
"lastVerifiedAt": "text",
"lastVerifiedStatus": "text"
}
],
"externalId": "text",
"iamRoleName": "text",
"preferredDeployment": "text"
}{
"awsAccounts": [
{
"accountId": "text",
"accountName": "text",
"accountType": "text",
"assumedRole": "text",
"errorMessage": "text",
"isDefault": true,
"lastVerifiedAt": "text",
"lastVerifiedStatus": "text",
"status": "text"
}
],
"externalId": "text",
"lastValidatedAt": "text",
"lastValidationStatus": "text",
"message": "text",
"nullifyKMSKeyArn": "text",
"nullifyRoleArn": "text",
"nullifyS3Bucket": "text",
"overallStatus": "text"
}Validate an AWS role
Tries to assume the role in each account listed in accountIds (1 to 100 accounts per request; an empty list or more than 100 returns 400) and reports a per-account result keyed by account id, plus an overallStatus of healthy or unhealthy. roleNameToAssume overrides the saved role name, which lets you test a candidate role before saving it; without it the saved iamRoleName is used and 400 is returned if there is none. The call also runs a connector permission preflight on each role it could assume and returns connectorPermissionGaps and connectorPermissionProbe. Save settings first: with no saved Nullify role the call returns 412. When the role name and accounts match the saved settings, the result is stored (visible on the next get as lastValidatedAt and per-account status); validating a different role or account list stores nothing. The call is synchronous and does not change any AWS resources. Requires config:write.
Validates that Nullify can assume the specified IAM role in the customer's AWS account(s)
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Bad Request
Unauthorized
Precondition Failed
Internal Server Error
POST /admin/integrations/cloud/aws/validate-role HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 67
{
"accountIds": [
"text"
],
"onboarding": true,
"roleNameToAssume": "text"
}{
"connectorPermissionGaps": [
{
"accountId": "text",
"checkedAt": "text",
"permission": "text",
"service": "text"
}
],
"connectorPermissionProbe": "complete",
"lastValidatedAt": "text",
"lastValidationStatus": "text",
"overallStatus": "text",
"results": {
"ANY_ADDITIONAL_PROPERTY": {
"assumedRole": "text",
"errorMessage": "text",
"isValid": true,
"status": "text"
}
}
}Delete AWS settings
Removes the tenant's AWS settings. Before deleting, Nullify strips the saved accounts from the collector upload allowlists. If another reconcile holds the lock the call returns 503 and keeps the settings so you can repeat it; other allowlist failures are logged and the delete still goes ahead. Requires config:write.
Deletes AWS cloud integration settings for the tenant
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Unauthorized
Not Found
Internal Server Error
Service Unavailable
DELETE /admin/integrations/cloud/aws/settings HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"message": "text",
"success": true
}Azure
Azure uses an app registration in your Entra tenant. The recommended authMode for validation is workload identity federation, where Nullify presents a signed token instead of a stored secret.
Get Azure settings
Returns the saved Azure integration: tenantId, clientId, authMode, displayName, subscriptions with per-subscription verification status, and the last validation result. For workload identity federation it also returns wifIssuerUrl and wifSubject, the issuer and subject to put in the app registration's federated credential. overallStatus is always configured here; use lastValidationStatus for health. Returns 404 when no Azure settings are saved. Requires secret-config:read.
Retrieves Azure cloud integration settings for the tenant. A tenant with no Azure integration gets overallStatus "not_configured" and empty settings.
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Unauthorized
Internal Server Error
GET /admin/integrations/cloud/azure/settings HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"authMode": "text",
"clientId": "text",
"createdAt": "text",
"displayName": "text",
"lastValidatedAt": "text",
"lastValidationStatus": "text",
"overallStatus": "text",
"subscriptions": [
{
"accountType": "text",
"isDefault": true,
"isEnabled": true,
"lastVerifiedAt": "text",
"lastVerifiedStatus": "text",
"state": "text",
"subscriptionId": "text",
"subscriptionName": "text"
}
],
"tenantId": "text",
"updatedAt": "text",
"wifIssuerUrl": "text",
"wifSubject": "text"
}Save Azure settings
Creates or replaces the tenant's Azure settings. tenantId and authMode are required, and authMode must be service_principal, managed_identity or workload_identity_federation. clientId is required for workload identity federation and service principal auth, and clientSecret is also required for service principal auth; the secret is write-only and never returned. A validation failure returns 400. Saving does not check the credentials; call Validate Azure credentials next. Requires config:write.
Creates or updates Azure cloud integration settings for the tenant
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Bad Request
Unauthorized
Internal Server Error
POST /admin/integrations/cloud/azure/settings HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 194
{
"authMode": "text",
"clientId": "text",
"clientSecret": "text",
"displayName": "text",
"subscriptions": [
{
"displayName": "text",
"isDefault": true,
"subscriptionId": "text",
"type": "text"
}
],
"tenantId": "text"
}{
"authMode": "text",
"clientId": "text",
"displayName": "text",
"lastValidatedAt": "text",
"lastValidationStatus": "text",
"message": "text",
"overallStatus": "text",
"subscriptions": [
{
"accountType": "text",
"isDefault": true,
"isEnabled": true,
"lastVerifiedAt": "text",
"lastVerifiedStatus": "text",
"state": "text",
"subscriptionId": "text",
"subscriptionName": "text"
}
],
"tenantId": "text"
}Validate Azure credentials
Authenticates to Azure with the saved workload identity federation configuration and checks access to each subscription, returning a per-subscription result and an overallStatus of healthy or unhealthy. Without subscriptionIds it checks the saved subscriptions that are enabled; ids you pass must already be in the saved settings (otherwise 400). Returns 412 when no settings are saved, when the saved authMode is not workload_identity_federation (other modes cannot be verified here), or when there are no subscriptions to check. A credential that cannot authenticate is reported as unhealthy in the body, not as an HTTP error. The result is stored on the settings. connectorPermissionProbe is always not_probed: a healthy result proves the credentials work, not that the app registration has every role the collectors need. Requires config:write.
Validates that Nullify can authenticate against the customer's Azure environment and access the configured subscriptions. Reads the previously saved workload identity federation configuration — the customer must Save before they can Verify.
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Bad Request
Unauthorized
Forbidden
Precondition Failed
Internal Server Error
POST /admin/integrations/cloud/azure/validate HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 28
{
"subscriptionIds": [
"text"
]
}{
"connectorPermissionProbe": "complete",
"lastValidatedAt": "text",
"lastValidationStatus": "healthy",
"overallStatus": "healthy",
"results": {
"ANY_ADDITIONAL_PROPERTY": {
"displayName": "text",
"errorMessage": "text",
"isValid": true,
"state": "text",
"status": "valid",
"subscriptionId": "text"
}
}
}Delete Azure settings
Removes the tenant's Azure settings. Requires config:write.
Deletes Azure cloud integration settings for the tenant
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Unauthorized
Not Found
Internal Server Error
DELETE /admin/integrations/cloud/azure/settings HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"message": "text",
"success": true
}GCP
GCP uses workload identity federation: you create a workload identity pool and provider in your project and a service account that Nullify impersonates, then save their identifiers.
Get GCP setup values
Returns what you need to create the GCP side with Terraform, the installer script or any other tool: oidcIssuerUrl, tenantId, ready-to-paste terraformVariables and installerEnv, the provider attribute condition and mapping, the service account binding role and member, the required APIs, and the read-only, discovery and custom roles. Works before any settings are saved. Requires secret-config:read. GET /admin/integrations/cloud/gcp/setup.
Get GCP settings
Returns the saved GCP integration: workloadIdentityProvider, workloadIdentityServiceAccountEmail, displayName, projects with per-project status, any gkeClusterOidcIssuerUrls, and the last validation result. Returns 404 when no GCP settings are saved. Requires secret-config:read.
Retrieves GCP cloud integration settings for the tenant. A tenant with no GCP integration gets overallStatus "not_configured" and empty settings.
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Unauthorized
Internal Server Error
GET /admin/integrations/cloud/gcp/settings HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"createdAt": "text",
"displayName": "text",
"gkeClusterOidcIssuerUrls": [
"text"
],
"gkeServiceAccountUniqueId": "text",
"lastValidatedAt": "text",
"lastValidationStatus": "text",
"nullifyK8sCollectorRoleArn": "text",
"overallStatus": "text",
"projects": [
{
"accountType": "text",
"autoDiscovered": true,
"isDefault": true,
"isEnabled": true,
"lastDiscoveredAt": "text",
"lastVerifiedAt": "text",
"lastVerifiedStatus": "text",
"projectId": "text",
"projectName": "text",
"state": "text"
}
],
"updatedAt": "text",
"workloadIdentityProvider": "text",
"workloadIdentityServiceAccountEmail": "text"
}Save GCP settings
Creates or replaces the tenant's GCP settings. workloadIdentityProvider must match projects/{NUMBER}/locations/global/workloadIdentityPools/{POOL}/providers/{PROVIDER} and workloadIdentityServiceAccountEmail must be a *.iam.gserviceaccount.com address; otherwise the call returns 400. discoveryScope is PROJECTS (the default, which needs at least one entry in projects), ORGANIZATION (needs organizationId) or FOLDER (needs folderId). Each entry in gkeClusterOidcIssuerUrls must be a https://container.googleapis.com/v1/projects/{PROJECT}/locations/{LOCATION}/clusters/{NAME} URL (the /zones/ form is normalised). When GKE issuer URLs are set, Nullify also updates the trust of its Kubernetes collector role; a failure there is logged and does not fail the call. Saving does not check the credentials; call Validate GCP credentials next. Requires config:write.
Creates or updates GCP cloud integration settings for the tenant
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Bad Request
Unauthorized
Internal Server Error
POST /admin/integrations/cloud/gcp/settings HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 324
{
"discoveryScope": "text",
"displayName": "text",
"folderId": "text",
"gkeClusterOidcIssuerUrls": [
"text"
],
"gkeServiceAccountUniqueId": "text",
"organizationId": "text",
"projects": [
{
"displayName": "text",
"isDefault": true,
"projectId": "text",
"type": "text"
}
],
"workloadIdentityProvider": "text",
"workloadIdentityServiceAccountEmail": "text"
}{
"displayName": "text",
"gkeClusterOidcIssuerUrls": [
"text"
],
"gkeServiceAccountUniqueId": "text",
"lastValidatedAt": "text",
"lastValidationStatus": "text",
"message": "text",
"nullifyK8sCollectorRoleArn": "text",
"overallStatus": "text",
"projects": [
{
"accountType": "text",
"autoDiscovered": true,
"isDefault": true,
"isEnabled": true,
"lastDiscoveredAt": "text",
"lastVerifiedAt": "text",
"lastVerifiedStatus": "text",
"projectId": "text",
"projectName": "text",
"state": "text"
}
],
"workloadIdentityProvider": "text",
"workloadIdentityServiceAccountEmail": "text"
}Validate GCP credentials
Exchanges the saved workload identity for a token and checks access to projects, returning a per-project result and an overallStatus of healthy or unhealthy. With PROJECTS scope it checks the projectIds you pass, or the saved enabled projects. With ORGANIZATION or FOLDER scope it lists the projects under that scope (or checks the projectIds you pass); if the service account cannot list them the call returns 403 and the message points at the missing roles/browser grant. Returns 412 when no settings are saved or there are no projects to check. A credential that cannot authenticate is reported as unhealthy in the body. The result is stored on the settings. connectorPermissionProbe is always not_probed. Requires config:write.
Validates that Nullify can authenticate against the customer's GCP environment and access the configured projects. Reads the previously saved WIF configuration — the customer must Save before they can Verify.
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Bad Request
Unauthorized
Forbidden
Precondition Failed
Internal Server Error
POST /admin/integrations/cloud/gcp/validate HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 23
{
"projectIds": [
"text"
]
}{
"connectorPermissionProbe": "complete",
"lastValidatedAt": "text",
"lastValidationStatus": "healthy",
"overallStatus": "healthy",
"results": {
"ANY_ADDITIONAL_PROPERTY": {
"displayName": "text",
"errorMessage": "text",
"isValid": true,
"projectId": "text",
"state": "text",
"status": "valid"
}
}
}Mint a GCP access token
Returns a short-lived GCP accessToken and its expiresAt, obtained with the tenant's saved workload identity settings. This is a token broker for Nullify's own agents: it accepts only credentials minted for that purpose and returns 403 for an ordinary API token, so integrators should not need it. Returns 412 when GCP settings are missing or incomplete. Requires secret-config:read.
Returns a short-lived GCP access token using the authenticated tenant's saved integration settings.
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Unauthorized
Forbidden
Precondition Failed
Internal Server Error
POST /admin/integrations/cloud/gcp/access-token HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"accessToken": "text",
"expiresAt": "2026-01-01T00:00:00.000Z"
}Delete GCP settings
Removes the tenant's GCP settings and, when GKE trust was configured, removes the matching trust from the Kubernetes collector role (a failure there is logged and the delete still goes ahead). Requires config:write.
Deletes GCP cloud integration settings for the tenant
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Unauthorized
Not Found
Internal Server Error
DELETE /admin/integrations/cloud/gcp/settings HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"message": "text",
"success": true
}Kubernetes
Kubernetes settings list the clusters whose workloads Nullify collects (clusterType is EKS, AKS, GKE or ON_PREM) and the nullifyRoleArn it uses for EKS. Each cluster in a response has an id and a scanIdentity, and either can address it in Remove a Kubernetes cluster. Clusters are identified by type, account, region and name (resourceId for AKS). Use the cluster calls to change one cluster without resending the rest.
Get Kubernetes settings
Returns the saved Kubernetes integration: nullifyRoleArn, every cluster with its latest verification status, and the last validation result. Returns 404 when none are saved. Requires secret-config:read.
Retrieves K8s cloud integration settings (managed clusters + on-prem) for the tenant. A tenant with no K8s integration gets an empty cluster list.
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Unauthorized
Internal Server Error
GET /admin/integrations/cloud/k8s/settings HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"clusters": [
{
"cloudAccountId": "text",
"clusterName": "text",
"clusterType": "EKS",
"collectConfigMaps": true,
"collectSecrets": true,
"id": "text",
"isEnabled": true,
"lastVerificationCode": "text",
"lastVerificationDetail": "text",
"lastVerifiedAt": "text",
"lastVerifiedStatus": "text",
"region": "text",
"resourceId": "text",
"scanIdentity": "text"
}
],
"createdAt": "text",
"lastValidatedAt": "text",
"lastValidationStatus": "text",
"nullifyRoleArn": "text",
"updatedAt": "text"
}Save Kubernetes settings
Replaces the whole cluster set with the clusters you send; a cluster you leave out is removed. Omit nullifyRoleArn to keep the stored value (an empty string clears it). collectSecrets and collectConfigMaps (secret metadata and ConfigMaps) keep their stored values for matched clusters when omitted. Each cluster needs a valid clusterType and a clusterName with no surrounding whitespace; an invalid cluster returns 400. EKS clusters need a 12-digit cloudAccountId and a valid region. To change one cluster, use Add or update a Kubernetes cluster. Requires config:write.
Creates or updates K8s integration settings (managed clusters + on-prem) for the tenant. Replaces the prior cluster set; use POST /admin/integrations/cloud/k8s/clusters to change one cluster. An omitted nullifyRoleArn keeps the stored value, and omitted collectSecrets/collectConfigMaps keep each matched cluster's values.
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
Omit to keep the stored role ARN; an empty string clears it.
OK
Bad Request
Unauthorized
Internal Server Error
POST /admin/integrations/cloud/k8s/settings HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 205
{
"clusters": [
{
"cloudAccountId": "text",
"clusterName": "text",
"clusterType": "EKS",
"collectConfigMaps": true,
"collectSecrets": true,
"isEnabled": true,
"region": "text",
"resourceId": "text"
}
],
"nullifyRoleArn": "text"
}{
"clusters": [
{
"cloudAccountId": "text",
"clusterName": "text",
"clusterType": "EKS",
"collectConfigMaps": true,
"collectSecrets": true,
"id": "text",
"isEnabled": true,
"lastVerificationCode": "text",
"lastVerificationDetail": "text",
"lastVerifiedAt": "text",
"lastVerifiedStatus": "text",
"region": "text",
"resourceId": "text",
"scanIdentity": "text"
}
],
"lastValidatedAt": "text",
"lastValidationStatus": "text",
"message": "text",
"nullifyRoleArn": "text",
"overallStatus": "text"
}Add or update a Kubernetes cluster
Adds one cluster, or updates the cluster that has the same identity, and leaves the other clusters and the role ARN alone. The response has the cluster and created, which is true when a new cluster was added. Omitted collectSecrets and collectConfigMaps keep their stored values and default to true for a new cluster. An EKS cluster must name a 12-digit AWS account that is already connected in your AWS settings, otherwise the call returns 400; connect the account with Save AWS settings first. Requires config:write.
Adds one K8s cluster, or updates the cluster with the same identity (type, account, region and name; resourceId for AKS), without changing the tenant's other clusters or role ARN. Omitted collectSecrets/collectConfigMaps keep stored values and default to true for a new cluster. An EKS cluster must name a 12-digit AWS account connected in the tenant's AWS settings.
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
Collect v1 ConfigMaps. Omit to keep the stored value; new clusters default to true.
Collect v1 Secrets (metadata only). Omit to keep the stored value; new clusters default to true.
OK
True when no existing cluster matched and a new row was created.
Bad Request
Unauthorized
Internal Server Error
POST /admin/integrations/cloud/k8s/clusters HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 167
{
"cloudAccountId": "text",
"clusterName": "text",
"clusterType": "text",
"collectConfigMaps": true,
"collectSecrets": true,
"isEnabled": true,
"region": "text",
"resourceId": "text"
}{
"cluster": {
"cloudAccountId": "text",
"clusterName": "text",
"clusterType": "EKS",
"collectConfigMaps": true,
"collectSecrets": true,
"id": "text",
"isEnabled": true,
"lastVerificationCode": "text",
"lastVerificationDetail": "text",
"lastVerifiedAt": "text",
"lastVerifiedStatus": "text",
"region": "text",
"resourceId": "text",
"scanIdentity": "text"
},
"created": true
}Remove a Kubernetes cluster
Removes one cluster, addressed by clusterId, which is either the cluster id or its scanIdentity from a get or upsert response. Other clusters and the integration settings stay. Returns 404 when no cluster matches. Requires config:write.
Removes one of the tenant's K8s clusters, addressed by row id or scan identity. Other clusters and the integration settings stay.
Cluster row id or scan identity
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Bad Request
Unauthorized
Not Found
Internal Server Error
DELETE /admin/integrations/cloud/k8s/clusters/{clusterId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"deleted": true
}Delete Kubernetes settings
Removes the tenant's Kubernetes integration and all of its clusters. Requires config:write.
Removes the tenant's K8s integration and all configured clusters.
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
OK
Unauthorized
Internal Server Error
Service Unavailable
DELETE /admin/integrations/cloud/k8s/settings HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
"deleted": true
}Allow Kubernetes collector accounts
Reconciles the allowlists (bucket, access point and KMS key) that let the Kubernetes collector in your AWS accounts upload to Nullify. Pass accountIds, or omit them to use every account in the saved AWS settings (404 when none are saved, 400 when the saved list is empty). The list is the full desired set, so accounts that are not in it lose access. The call returns 200 even when part of the reconcile fails: check s3PolicyUpdated, accessPointPolicyUpdated, kmsPolicyUpdated, the s3Error, accessPointError and kmsError fields and message. kmsSkipped is true when no KMS key is configured for the deployment. A concurrent reconcile is reported in the error fields; retry shortly. Requires config:write.
Allow the given AWS accounts (or all accounts from stored settings) to upload Kubernetes collector data.
The Azure organization ID
The Bitbucket workspace ID
The Github owner ID
Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.
The GitLab group ID
The Nullify installation ID
Filter by Azure repository IDs
Filter by GitHub repository IDs
Filter by GitHub team ID
Filter by Bitbucket repository IDs
AWS collector account IDs. With expectedRevision, an empty list removes only managed grants; legacy callers without a revision use stored AWS accounts.
Expected durable collector account revision; zero adopts an uninitialized account list.
Expected settings-row identity; empty only when no row exists.
OK
Bad Request
Unauthorized
Not Found
Conflict
Internal Server Error
Service Unavailable
POST /admin/integrations/cloud/k8s/whitelist HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 69
{
"accountIds": [
"text"
],
"expectedRevision": 1,
"expectedStateId": "text"
}{
"accessPointError": "text",
"accessPointPolicyUpdated": true,
"kmsError": "text",
"kmsPolicyUpdated": true,
"kmsSkipped": true,
"message": "text",
"revision": 1,
"s3Error": "text",
"s3PolicyUpdated": true,
"stateId": "text"
}Last updated