Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Cloud scans and cloud recon

Start cloud scans, run the cloud connector agent, and read cloud recon analysis of your cloud accounts.

Cloud scans

A cloud scan collects configuration from the cloud integrations your tenant has installed (AWS, Azure, GCP, Kubernetes). Cloud recon, the infrastructure graph, and the asset inventory are built from stored scan data; none of the read operations in this section contact your cloud accounts.

Start a cloud scan

Starts an asynchronous scan of every cloud integration your tenant has installed and returns a scanId immediately (runId carries the same value; the body also carries statusCode: 202). Pass provider (AWS, AZURE, GCP or K8S) to scan a single integration; accountIds (accounts, subscriptions, projects or cluster ids, repeated per value) narrows the scan further and is rejected unless provider is set. clusterIds selects managed Kubernetes clusters and requires provider K8S. Set rebuildInfraGraph=true to rebuild the infrastructure graph once the scan completes. Requires the ConfigWrite permission. Each call starts a new scan; poll Get cloud scan status with the returned id.

curl -s -X POST \
  -H "Accept: application/json" \
  -H "Authorization: Bearer <TOKEN>" \
  'https://api.<TENANT>.nullify.ai/context/cloud-scan/start?provider=AWS&rebuildInfraGraph=true'

Start Cloud Scan

post

Starts an asynchronous scan of every cloud integration the calling tenant has installed.

Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

providerstring · enumOptional

Scan only this integration (AWS, AZURE, GCP or K8S). Every installed integration is scanned when omitted.

Possible values:
clusterIdsstring[]Optional

Managed Kubernetes cluster scan identities or admin cluster IDs to scan. Repeat the parameter for each cluster. Requires provider K8S.

accountIdsstring[]Optional

Scan only these accounts (AWS), subscriptions (Azure), projects (GCP) or cluster ids (K8S) instead of every one the provider resolves. Repeat the parameter for each account. Requires provider.

rebuildInfraGraphbooleanOptional

Rebuild the infrastructure graph once the scan completes. Defaults to false.

Responses
200

OK

application/json
executionArnstringOptional
runIdstringOptional
scanIdstringOptional
statusCodeintegerOptional
post/context/cloud-scan/start
POST /context/cloud-scan/start HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "executionArn": "text",
  "runId": "text",
  "scanId": "text",
  "statusCode": 1
}

Get cloud scan status

Returns the aggregated state of a scan across every provider it covered. overallStatus is in_progress while any provider is queued or running, completed when every provider that ran completed, failed when every provider that ran failed, and partial when providers are a mix of completed and failed or a single provider finished partially. Providers the tenant has not configured are absent from providers, not reported as failed. An unknown scanId does not return 404; it reads as in_progress with an empty providers list. Poll this until overallStatus leaves in_progress. It needs only a valid tenant token, not a specific permission.

Get Cloud Scan Status

get

Returns the aggregated status of a cloud-scan across every provider the tenant scanned (AWS, Azure, GCP, Kubernetes).

Path parameters
scanIdstringRequired
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
overallStatusstringRequired
scanIdstringRequired
get/context/cloud-scan/{scanId}/status
GET /context/cloud-scan/{scanId}/status HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "overallStatus": "text",
  "providers": [
    {
      "completedAt": "text",
      "errorMessage": "text",
      "provider": "text",
      "startedAt": "text",
      "status": "text"
    }
  ],
  "scanId": "text"
}

Cloud connector pull request

The cloud connector agent assesses your infrastructure-as-code repository and opens a draft pull request that configures the Nullify cloud connector. You review and merge the pull request yourself.

Start a cloud connector PR run

Starts the asynchronous agent run and returns a runId and executionArn immediately (the body also carries statusCode: 202). Requires the ConfigWrite permission and the cloud connector PR feature to be enabled for your tenant (otherwise 412). It currently supports GitHub organizations on github.com only (GitHub Enterprise returns 412), and your AWS integration settings must already be configured (412 otherwise). If a run is already queued or in progress you get 409 naming that run; a run that has been in flight for more than two hours no longer blocks a new start.

Start Cloud Connector PR Run

post

Records an idempotent preparation request. An expired proposal requires expectedRunId and its exact digest. GitHub is never changed by this endpoint.

Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Body
digeststringOptional
expectedRunIdstringOptional
Responses
200

OK

application/json
executionArnstringOptional
runIdstringOptional
statusCodeintegerOptional
post/context/cloud-connector-pr/runs
POST /context/cloud-connector-pr/runs HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 40

{
  "digest": "text",
  "expectedRunId": "text"
}
{
  "executionArn": "text",
  "runId": "text",
  "statusCode": 1
}

Get a cloud connector PR run

Returns the state of one run started by the call above, including start and completion times, an error message if it failed, and, once the agent has opened it, the pull request (URL, number, repository, branch, and whether it is a draft). runId is the value returned when you started the run; an unknown id returns 404. Requires the ConfigRead permission.

Get Cloud Connector PR Run

get

Reports one cloud-connector-PR run started by POST /context/cloud-connector-pr/runs and the pull request it opened.

Path parameters
runIdstringRequired
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
statusstring · enumRequiredPossible values:
versionstringOptional
get/context/cloud-connector-pr/runs/{runId}
GET /context/cloud-connector-pr/runs/{runId} HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "pr": {
    "branch": "text",
    "createdAt": "text",
    "createdBy": "agent",
    "isDraft": true,
    "prNumber": 1,
    "prUrl": "text",
    "repo": "text"
  },
  "run": {
    "completedAt": "text",
    "error": "text",
    "runId": "text",
    "startedAt": "text",
    "state": "PENDING",
    "terminal": true
  },
  "status": "waiting",
  "version": "text"
}

Get cloud connector PR status

Returns your tenant's latest run and, separately, the latest saved pull-request record. They are independent, so a saved pull request stays visible alongside a newer failed run. Use this when you do not have a run id. It needs only a valid tenant token, not a specific permission.

Get Cloud Connector PR Status

get

Returns read-only readiness, the current preparation and the independent saved PR. Does not survey code or start work.

Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
preparationAvailablebooleanOptional
get/context/cloud-connector-pr/status
GET /context/cloud-connector-pr/status HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "automation": {
    "actions": [
      {
        "code": "text",
        "label": "text",
        "requiresPermission": "text"
      }
    ],
    "attempt": 1,
    "maxAttempts": 1,
    "message": "text",
    "nextAttemptAt": "text",
    "onboardingStarted": true,
    "progress": "selecting_repository",
    "proposal": {
      "approvalAllowed": true,
      "digest": "text",
      "expiresAt": "text",
      "preparedAt": "text",
      "runId": "text",
      "staleReason": "text"
    },
    "reasonCode": "text",
    "runId": "text",
    "selectionRevision": "text",
    "state": "disabled"
  },
  "pr": {
    "branch": "text",
    "createdAt": "text",
    "createdBy": "agent",
    "isDraft": true,
    "prNumber": 1,
    "prUrl": "text",
    "repo": "text"
  },
  "preparationAvailable": true,
  "run": {
    "completedAt": "text",
    "errorMessage": "text",
    "runId": "text",
    "startedAt": "text",
    "status": "waiting"
  }
}

Cloud recon

Cloud recon is an analysis of a cloud account built from the account's stored scan data. Account-scoped reads use accountId (the cloud account identifier, for example the AWS account number) and return data from the latest completed recon scan for that account. The document-style reads (synthesis, overview and the section reads) return 404 when the account has no completed scan. Absence of an item is not evidence that it does not exist: it can mean collection was incomplete, so check graph gaps before treating an area as clean. Requires the ConfigRead permission.

Get latest cloud recon scan

Returns the metadata of the latest completed recon scan for an account: scan id, provider, status, timestamps, schema version, node, edge, hotspot and discovered-node counts, and the model used. Pass scanId (a UUID) to read a specific recorded scan instead of the latest.

Get Latest Cloud Recon Scan

get

Returns the latest completed cloud_recon scan metadata for an account

Path parameters
accountIdstringRequired
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

scanIdstringOptional
Responses
200

OK

application/json
get/context/cloud-recon/accounts/{accountId}/scans/latest
GET /context/cloud-recon/accounts/{accountId}/scans/latest HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "scan": {
    "accountId": "text",
    "completedAt": "2026-01-01T00:00:00.000Z",
    "discoveredCount": 1,
    "edgeCount": 1,
    "hotspotCount": 1,
    "inputGraphHash": "text",
    "modelName": "text",
    "nodeCount": 1,
    "provider": "text",
    "s3Bucket": "text",
    "s3Key": "text",
    "scanId": "text",
    "schemaVersion": "text",
    "startedAt": "2026-01-01T00:00:00.000Z",
    "status": "text"
  }
}

Get account synthesis

Returns the full recon artifact for the account from the latest scan: summary, infrastructure summary, security boundaries, trusted services, traffic flows, a Mermaid diagram, hotspots, and graph gaps. It is a large document; the section reads below return one part each. Pass scanId to read a recorded scan.

Get Latest Cloud Recon Account Synthesis

get

Returns the full CloudRecon artifact (summary, infrastructure summary, security boundaries, trusted services, traffic flows, mermaid diagram, hotspots, graph gaps) from the latest scan for an account

Path parameters
accountIdstringRequired
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

scanIdstringOptional
Responses
200

OK

application/json
expiresAtstring · date-time · nullableOptional

Latest time the presigned URL can be used; it can stop working earlier if the signing session ends

presignedUrlstringOptional

S3 presigned URL for an artifact too large to return inline

sizeBytesinteger · int64Optional

Size of the stored artifact in bytes

synthesisanyOptional
get/context/cloud-recon/accounts/{accountId}/synthesis/latest
GET /context/cloud-recon/accounts/{accountId}/synthesis/latest HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "expiresAt": "2026-01-01T00:00:00.000Z",
  "presignedUrl": "text",
  "sizeBytes": 1,
  "synthesis": null
}

Get account overview

Returns the per-account summary, coverage status, and infrastructure rollup, including hotspot counts by severity.

Get Cloud Recon Account Overview

get

Returns the per-account summary, coverage status, and infrastructure rollup from the latest cloud_recon scan

Path parameters
accountIdstringRequired
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
get/context/cloud-recon/accounts/{accountId}/overview
GET /context/cloud-recon/accounts/{accountId}/overview HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "overview": {
    "accountId": "text",
    "discoveryCompleteness": "text",
    "explorationStatus": "text",
    "exposure": {
      "criticalNetworkExposureCount": 1,
      "internetReachableFlowCount": 1,
      "internetReachableServiceCount": 1,
      "publicDataStoreCount": 1,
      "wideOpenCrossAccountCount": 1
    },
    "graphCoverage": {
      "discoveredCount": 1,
      "edgeCount": 1,
      "hotspotCount": 1,
      "nodeCount": 1
    },
    "graphGapsBlocking": 1,
    "hotspotCounts": {
      "critical": 1,
      "high": 1,
      "low": 1,
      "medium": 1
    },
    "hotspotTotal": 1,
    "iamRedFlags": {
      "criticalFindingCount": 1,
      "crossAccountRoleCount": 1,
      "mfaAdoptionRate": "text",
      "overlyPermissiveRoleCount": 1,
      "rootAccountSecured": true,
      "staleCredentialCount": 1,
      "totalRoles": 1
    },
    "infrastructureSummary": {
      "capabilities": {
        "hasApiGateway": true,
        "hasAuditLogging": true,
        "hasContainerServices": true,
        "hasCrossAccountDependencies": true,
        "hasDatabases": true,
        "hasFlowLogs": true,
        "hasKubernetes": true,
        "hasLoadBalancers": true,
        "hasMessageQueues": true,
        "hasObjectStorage": true,
        "hasServerlessFunctions": true
      },
      "computeInventory": {
        "containerServices": 1,
        "kubernetesWorkloads": 1,
        "other": 1,
        "serverlessFunctions": 1,
        "totalComputeServices": 1,
        "virtualMachines": 1
      },
      "confidence": "text",
      "criticalDataStoreCount": 1,
      "crossAccountDependencyCount": 1,
      "environment": "text",
      "graphGapCount": 1,
      "internetFacingHotspotCount": 1,
      "majorTrafficFlowCount": 1,
      "regions": [
        "text"
      ],
      "securityBoundaryCount": 1,
      "trustedServiceCount": 1
    },
    "metadata": {
      "completedAt": "text",
      "durationSeconds": 1,
      "generatorModel": "text",
      "generatorPromptVersion": "text",
      "startedAt": "text"
    },
    "provider": "text",
    "scanId": "text",
    "scanStatus": "text",
    "summary": "text",
    "topHotspots": [
      {
        "category": "text",
        "confidence": "text",
        "id": "text",
        "internetFacing": true,
        "severity": "text",
        "title": "text"
      }
    ]
  }
}

List hotspots

Returns the hotspots (areas flagged as risky, each with title, severity, category, confidence and the graph nodes involved) from the latest scan. Filter with severity (critical, high, medium, low) and page with limit and offset; this route uses offset paging, not nextToken.

Get Cloud Recon Hotspots

get

Returns hotspots from the latest completed cloud_recon scan

Path parameters
accountIdstringRequired
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

severitystringOptional
limitintegerOptional
offsetintegerOptional
Responses
200

OK

application/json
get/context/cloud-recon/accounts/{accountId}/hotspots
GET /context/cloud-recon/accounts/{accountId}/hotspots HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "hotspots": [
    {
      "category": "text",
      "confidence": "text",
      "description": "text",
      "hotspotId": "text",
      "nodeIds": [
        "text"
      ],
      "severity": "text",
      "title": "text"
    }
  ]
}

List discovered nodes

Returns graph nodes from the latest scan, with their object type, source, port range, public flag and properties. Filter with objectType (for example securityGroupRule) and source; source=cloudrecon returns only the nodes the recon analysis added on top of the base scan. Page with limit and offset.

Get Cloud Recon Discovered Nodes

get

Returns graph nodes from the latest cloud_recon scan, filterable by object type and source (use source='cloudrecon' to get prescan additions only)

Path parameters
accountIdstringRequired
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

objectTypestringOptional
sourcestringOptional
limitintegerOptional
offsetintegerOptional
Responses
200

OK

application/json
get/context/cloud-recon/accounts/{accountId}/discovered-nodes
GET /context/cloud-recon/accounts/{accountId}/discovered-nodes HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "nodes": [
    {
      "cidr": "text",
      "nodeId": "text",
      "objectType": "text",
      "portFrom": 1,
      "portTo": 1,
      "properties": "text",
      "protocol": "text",
      "publicFlag": true,
      "region": "text",
      "source": "text",
      "subType": "text",
      "subnetId": "text",
      "vpcId": "text"
    }
  ]
}

Get security boundaries

Returns the security boundaries identified in the latest scan for the account.

Get Cloud Recon Security Boundaries

get

Returns the security boundaries identified in the latest cloud_recon scan for an account

Path parameters
accountIdstringRequired
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
get/context/cloud-recon/accounts/{accountId}/security-boundaries
GET /context/cloud-recon/accounts/{accountId}/security-boundaries HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "securityBoundaries": [
    {
      "confidence": "text",
      "dataClassification": "text",
      "description": "text",
      "egressNodeIds": [
        "text"
      ],
      "exposure": "text",
      "id": "text",
      "ingressNodeIds": [
        "text"
      ],
      "name": "text",
      "nodeIds": [
        "text"
      ],
      "trustLevel": "text",
      "type": "text"
    }
  ]
}

Get trusted services

Returns the trusted services (data stores and managed services) identified in the latest scan.

Get Cloud Recon Trusted Services

get

Returns the trusted services (data stores, managed services) identified in the latest cloud_recon scan for an account

Path parameters
accountIdstringRequired
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
get/context/cloud-recon/accounts/{accountId}/trusted-services
GET /context/cloud-recon/accounts/{accountId}/trusted-services HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "trustedServices": [
    {
      "accessedByNodeIds": [
        "text"
      ],
      "boundaryIds": [
        "text"
      ],
      "category": "text",
      "confidence": "text",
      "dataClassification": "text",
      "description": "text",
      "encryptionAtRest": true,
      "id": "text",
      "internetReachable": true,
      "name": "text",
      "nodeIds": [
        "text"
      ],
      "publicAccess": "text",
      "serviceType": "text"
    }
  ]
}

Get traffic flows

Returns the major traffic flows identified in the latest scan.

Get Cloud Recon Traffic Flows

get

Returns the major traffic flows identified in the latest cloud_recon scan for an account

Path parameters
accountIdstringRequired
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
get/context/cloud-recon/accounts/{accountId}/traffic-flows
GET /context/cloud-recon/accounts/{accountId}/traffic-flows HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "trafficFlows": [
    {
      "boundaryIds": [
        "text"
      ],
      "confidence": "text",
      "dataClassification": "text",
      "description": "text",
      "id": "text",
      "internetReachable": true,
      "pathEdgeTypes": [
        "text"
      ],
      "pathNodeIds": [
        "text"
      ],
      "protocol": "text",
      "sourceNodeId": "text",
      "targetNodeId": "text",
      "title": "text",
      "trustedServiceIds": [
        "text"
      ]
    }
  ]
}

Get network exposures

Returns network exposures such as open ports and permissive CIDR ranges identified in the latest scan.

Get Cloud Recon Network Exposures

get

Returns the network exposures (open ports, permissive CIDRs) identified in the latest cloud_recon scan for an account

Path parameters
accountIdstringRequired
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
get/context/cloud-recon/accounts/{accountId}/network-exposures
GET /context/cloud-recon/accounts/{accountId}/network-exposures HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "networkExposures": [
    {
      "cidr": "text",
      "cidrDirection": "text",
      "confidence": "text",
      "description": "text",
      "exposureType": "text",
      "id": "text",
      "nodeIds": [
        "text"
      ],
      "port": 1,
      "protocol": "text",
      "resourceId": "text",
      "resourceType": "text",
      "severity": "text"
    }
  ]
}

Get cross-account relationships

Returns the cross-account trust relationships recorded for this account in the latest scan.

Get Cloud Recon Cross-Account Relationships

get

Returns the cross-account trust relationships identified in the latest cloud_recon scan for an account

Path parameters
accountIdstringRequired
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
get/context/cloud-recon/accounts/{accountId}/cross-account-relationships
GET /context/cloud-recon/accounts/{accountId}/cross-account-relationships HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "crossAccountRelationships": [
    {
      "confidence": "text",
      "description": "text",
      "direction": "text",
      "externalAccountId": "text",
      "id": "text",
      "isWideOpen": true,
      "nodeIds": [
        "text"
      ],
      "relationshipType": "text",
      "resourceId": "text"
    }
  ]
}

Get graph gaps

Returns the discovery gaps (unresolved or unobserved areas) recorded in the latest scan. Read this to judge how complete the other sections are.

Get Cloud Recon Graph Gaps

get

Returns the discovery gaps (unresolved or unobserved areas) recorded in the latest cloud_recon scan for an account

Path parameters
accountIdstringRequired
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
get/context/cloud-recon/accounts/{accountId}/graph-gaps
GET /context/cloud-recon/accounts/{accountId}/graph-gaps HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "graphGaps": [
    {
      "blocksAnalysis": true,
      "category": "text",
      "confidence": "text",
      "description": "text",
      "id": "text",
      "missingObjectType": "text",
      "relatedArtifactIds": [
        "text"
      ],
      "relatedNodeIds": [
        "text"
      ],
      "severity": "text",
      "suggestedNextStep": "text"
    }
  ]
}

Get IAM posture

Returns the IAM posture rollup from the latest scan.

Get Cloud Recon IAM Posture

get

Returns the IAM posture rollup from the latest cloud_recon scan for an account

Path parameters
accountIdstringRequired
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
get/context/cloud-recon/accounts/{accountId}/iam-posture
GET /context/cloud-recon/accounts/{accountId}/iam-posture HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "iamPosture": {
    "confidence": "text",
    "crossAccountRoleCount": 1,
    "findings": [
      {
        "finding": "text",
        "resourceId": "text",
        "resourceType": "text",
        "severity": "text"
      }
    ],
    "mfaAdoptionRate": "text",
    "overlyPermissiveRoleCount": 1,
    "rootAccountSecured": true,
    "serviceAccountCount": 1,
    "staleCredentialCount": 1,
    "totalRoles": 1
  }
}

Get topology

Returns the per-account Mermaid topology diagram and the counts of discovered nodes and edges from the latest scan.

Get Cloud Recon Topology

get

Returns the per-account mermaid topology diagram plus the full discovered node/edge counts from the latest cloud_recon scan

Path parameters
accountIdstringRequired
Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
get/context/cloud-recon/accounts/{accountId}/topology
GET /context/cloud-recon/accounts/{accountId}/topology HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "topology": {
    "discoveryCompleteness": "text",
    "edgeCount": 1,
    "explorationStatus": "text",
    "mermaidDiagram": "text",
    "nodeCount": 1
  }
}

Get organization synthesis

Returns the latest completed organization-level synthesis across the tenant's accounts: a combined summary, a combined Mermaid diagram, cross-account correlations, the source account ids, and a per-account summary table. Pass scanRunId to read a specific run; it returns 404 if that run is unknown.

Get Latest Cloud Recon Org Synthesis

get

Returns the latest completed org-level cloud_recon synthesis (combined summary, mermaid diagram, cross-account correlations) for the tenant

Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

scanRunIdstringOptional
Responses
200

OK

application/json
get/context/cloud-recon/organization/synthesis/latest
GET /context/cloud-recon/organization/synthesis/latest HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "synthesis": {
    "accountCount": 1,
    "aggregateMetadata": null,
    "combinedMermaidDiagram": "text",
    "combinedSummary": "text",
    "completedAt": "2026-01-01T00:00:00.000Z",
    "crossAccountCorrelations": null,
    "modelName": "text",
    "organizationId": "text",
    "perAccountSummaries": [
      {
        "accountId": "text",
        "boundaryCount": 1,
        "discoveryCompleteness": "text",
        "environment": "text",
        "explorationStatus": "text",
        "hotspotCounts": {
          "critical": 1,
          "high": 1,
          "low": 1,
          "medium": 1
        },
        "hotspotTotal": 1,
        "internetFacingCount": 1,
        "provider": "text",
        "trustedServiceCount": 1
      }
    ],
    "provider": "text",
    "s3Bucket": "text",
    "s3Key": "text",
    "scanRunId": "text",
    "schemaVersion": "text",
    "sourceAccountIds": [
      "text"
    ],
    "startedAt": "2026-01-01T00:00:00.000Z",
    "status": "text"
  }
}

List cross-account trusts

Returns every external principal that is trusted by two or more accounts in your tenant, with the trusting accounts, based on each account's latest scan.

Get Tenant Cloud Recon Cross-Account Trusts

get

Returns every external principal trusted by 2+ accounts in the tenant (latest scans only)

Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Responses
200

OK

application/json
get/context/cloud-recon/tenants/cross-account-trusts
GET /context/cloud-recon/tenants/cross-account-trusts HTTP/1.1
Host: api.<TENANT>.nullify.ai
Accept: */*
{
  "trusts": [
    {
      "externalAccountId": "text",
      "trustingAccountCount": 1,
      "trustingAccounts": [
        "text"
      ]
    }
  ]
}

Persist a cloud recon scan

Stores a completed recon scan produced by the Nullify cloud recon agent and indexes its nodes and hotspots. The body needs accountId, provider, startedAt, schemaVersion and the opaque payload; scanId is optional. The account must be one your tenant owns (otherwise the request is rejected) and a malformed payload returns an error. Most integrators never call this: recon scans are produced for you by the platform. Requires the ConfigWrite permission.

Persist Cloud Recon Scan

post

Persist a completed cloud_recon scan

Query parameters
azureOrganizationIdstringOptional

The Azure organization ID

bitbucketWorkspaceIdstringOptional

The Bitbucket workspace ID

githubOwnerIdinteger · int64Optional

The Github owner ID

githubInstallationIdinteger · int64Optional

Operator routes only: the GitHub App installation ID to use alongside githubOwnerId when the tenant's stored record has none. Ignored on customer routes.

gitlabGroupIdinteger · int64Optional

The GitLab group ID

installationIdstringOptional

The Nullify installation ID

azureRepositoryIdstring[]Optional

Filter by Azure repository IDs

githubRepositoryIdinteger · int64[]Optional

Filter by GitHub repository IDs

githubTeamIdinteger · int64Optional

Filter by GitHub team ID

bitbucketRepositoryIdstring[]Optional

Filter by Bitbucket repository IDs

Body
accountIdstringRequired
completedAtstring · date-timeOptional
modelNamestringOptional
payloadstring · base64Required
providerstringRequired
scanIdstringOptional
schemaVersionstringRequired
startedAtstring · date-timeRequired
Responses
200

OK

application/json
hotspotCountintegerOptional
nodeCountintegerOptional
s3BucketstringOptional
s3KeystringOptional
scanIdstringOptional
post/context/cloud-recon/scans
POST /context/cloud-recon/scans HTTP/1.1
Host: api.<TENANT>.nullify.ai
Content-Type: application/json
Accept: */*
Content-Length: 193

{
  "accountId": "text",
  "completedAt": "2026-01-01T00:00:00.000Z",
  "modelName": "text",
  "payload": "text",
  "provider": "text",
  "scanId": "text",
  "schemaVersion": "text",
  "startedAt": "2026-01-01T00:00:00.000Z"
}
{
  "hotspotCount": 1,
  "nodeCount": 1,
  "s3Bucket": "text",
  "s3Key": "text",
  "scanId": "text"
}

Last updated