> For the complete documentation index, see [llms.txt](https://docs.ox.security/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ox.security/api-documentation/api-reference/api--cloud-security/types/objects/cloud-item.md).

# cloudItem

Represents a comprehensive cloud security item with security context.

### Examples

```graphql
type CloudItem {
  id: String
  assetName: String
  service: String
  resourceId: String
  cbomId: String
  cbomProvider: String
  resourceType: String
  resourceName: String
  accountId: String
  firstSeen: String
  lastRescanAt: String
  lastScannedAt: String
  serviceKey: String
  rescannable: Boolean
  cloudProvider: String
  serviceCategory: String
  applications: [AppInfo]
  isExposed: String
  isPermissiveIdentity: Boolean
  isHighPrivilege: Boolean
  isSensitiveData: Boolean
  contextFactors: [String]
  imageSource: String
  registryType: String
  registryName: String
  imageScanStatus: String
  exposurePath: [ExposurePathItem]
  accountName: String
  subService: String
  region: String
  resourceTags: JSON
  authenticationRequired: Boolean
  reachability: CloudItemReachability
  verdict: String
  resourceArn: String
  images: [CloudItemImage]
  relatedIssues: Severities
  issueSeverityBreakdown: [CloudIssueSeverityBreakdown]
  issuesStats: IssuesStats
  cluster: String
  link: String
  imageHash: String
  workloads: [Workload]
  artifactIds: [String]
  attachedIdentities: CbomAttachedIdentities
  compliance: [CloudItemCompliance]
  usageSeries: CloudUsageSeries
  usageCoverage: String
  isAiAsset: Boolean
  isTrainingData: Boolean
  modelInfo: CloudModelInfo
  trainingDataInfo: CloudTrainingDataInfo
  tools: [CloudTool]
  dataAccess: [CloudDataAccess]
  isMcpServer: Boolean
  mcpServer: CloudMcpServer
  mcpDescription: String
  aiService: CloudAiService
  probeResults: [CloudProbeResult]
}
```

### Fields

| Field                                                                                                                                                                                  | Description                                                                                                                                                                                                                           | Supported fields                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| id `String`                                                                                                                                                                            | Unique identifier for the cloud item                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| assetName `String`                                                                                                                                                                     | Name of the cloud asset or resource                                                                                                                                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| service `String`                                                                                                                                                                       | Cloud service type (EC2, S3, Lambda, etc.)                                                                                                                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| resourceId `String`                                                                                                                                                                    | Cloud provider's resource identifier                                                                                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| cbomId `String`                                                                                                                                                                        | Cloud Bill of Materials identifier                                                                                                                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| cbomProvider `String`                                                                                                                                                                  | Cloud provider name                                                                                                                                                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| resourceType `String`                                                                                                                                                                  | Type of cloud resource                                                                                                                                                                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| resourceName `String`                                                                                                                                                                  | Name of the cloud resource                                                                                                                                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| accountId `String`                                                                                                                                                                     | Cloud account identifier                                                                                                                                                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| firstSeen `String`                                                                                                                                                                     | Date when the resource was first discovered                                                                                                                                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| lastRescanAt `String`                                                                                                                                                                  | When this asset was last rechecked by an on-demand single-asset rescan, as an ISO timestamp; null until the first rescan                                                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| lastScannedAt `String`                                                                                                                                                                 | When a scan or the runtime sensor last wrote the data of this asset, as an ISO timestamp. An on-demand single-asset rescan leaves the value unchanged and sets lastRescanAt instead.                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| serviceKey `String`                                                                                                                                                                    | Stable service key of the asset (e.g. s3, ec2, iam), unlike the display label in service                                                                                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| rescannable `Boolean`                                                                                                                                                                  | Whether an on-demand single-asset rescan can recheck this asset: an AWS, GCP or Azure asset produced by the CSPM engine, other than the account or subscription anchor, tenant-wide Entra objects and nodes derived from other assets |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| cloudProvider `String`                                                                                                                                                                 | Cloud provider (AWS, Azure, GCP, etc.)                                                                                                                                                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| serviceCategory `String`                                                                                                                                                               | Category of the cloud service                                                                                                                                                                                                         |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| applications [`[AppInfo]`](https://docs.ox.security/api-documentation/api-reference/api--cloud-security/types/objects/app-info.md)                                                     | Applications associated with this cloud resource                                                                                                                                                                                      | <p>id <code>String</code><br>name <code>String</code><br>type <code>String</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| isExposed `String`                                                                                                                                                                     | Whether the resource is exposed to the internet                                                                                                                                                                                       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| isPermissiveIdentity `Boolean`                                                                                                                                                         | Whether the resource has a permissive (high-privilege) identity attached.                                                                                                                                                             |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| isHighPrivilege `Boolean`                                                                                                                                                              | Whether the resource itself has high-privilege access.                                                                                                                                                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| isSensitiveData `Boolean`                                                                                                                                                              | Whether the resource holds sensitive data (confirmed secrets or PII).                                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| contextFactors `[String]`                                                                                                                                                              | Severity-factor context labels for the asset. Set for runtime image assets.                                                                                                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| imageSource `String`                                                                                                                                                                   | Source of the container image if applicable                                                                                                                                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| registryType `String`                                                                                                                                                                  | Type of container registry                                                                                                                                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| registryName `String`                                                                                                                                                                  | Name of the container registry                                                                                                                                                                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| imageScanStatus `String`                                                                                                                                                               | Status of the image security scan                                                                                                                                                                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| exposurePath [`[ExposurePathItem]`](https://docs.ox.security/api-documentation/api-reference/api--cloud-security/types/objects/exposure-path-item.md)                                  | Path showing how the resource is exposed                                                                                                                                                                                              | <p>type <code>String</code><br>name <code>String</code><br>cbomId <code>String</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| accountName `String`                                                                                                                                                                   | Human-readable name of the cloud account                                                                                                                                                                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| subService `String`                                                                                                                                                                    | Sub-service or component within the main service                                                                                                                                                                                      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| region `String`                                                                                                                                                                        | Cloud region where the resource is located                                                                                                                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| resourceTags `JSON`                                                                                                                                                                    | Tags associated with the cloud resource                                                                                                                                                                                               |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| authenticationRequired `Boolean`                                                                                                                                                       | Whether authentication is required to access the asset. Asset-level verdict: the live-probe result when the asset was probed, otherwise the static config/service-model determination.                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| reachability [`CloudItemReachability`](https://docs.ox.security/api-documentation/api-reference/api--cloud-security/types/objects/cloud-item-reachability.md)                          | Result of the reachability probe for the asset, including whether reachability was confirmed and the observed HTTP response.                                                                                                          | <p>confirmed <code>Boolean</code><br>responseCode <code>String</code><br>authTagValue <code>String</code><br>conclusion <code>String</code><br>playbook <code>String</code><br>steps <code>\[String]</code><br>response <code>String</code></p>                                                                                                                                                                                                                                                                                                                                          |
| verdict `String`                                                                                                                                                                       | Breach verdict for the asset (Breachable / Contained / N/A): the scanner-persisted agent-aware verdict when available, otherwise the reachability + authentication derivation.                                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| resourceArn `String`                                                                                                                                                                   | Amazon Resource Name (ARN) for AWS resources                                                                                                                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| images [`[CloudItemImage]`](https://docs.ox.security/api-documentation/api-reference/api--cloud-security/types/objects/cloud-item-image.md)                                            | Container images associated with this resource                                                                                                                                                                                        | <p>name <code>String</code><br>hashes <a href="https://docs.ox.security/api-documentation/api-reference/api--cloud-security/types/objects/cloud-item-image-hash.md"><code>\[CloudItemImageHash]</code></a><br>tags <code>\[String]</code></p>                                                                                                                                                                                                                                                                                                                                            |
| relatedIssues [`Severities`](https://docs.ox.security/api-documentation/api-reference/api--application/types/objects/severities.md)                                                    | Security issues found in this resource, categorized by severity                                                                                                                                                                       | <p>info <code>Int</code><br>low <code>Int</code><br>medium <code>Int</code><br>high <code>Int</code><br>critical <code>Int</code><br>appox <code>Int</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                          |
| issueSeverityBreakdown [`[CloudIssueSeverityBreakdown]`](https://docs.ox.security/api-documentation/api-reference/api--cloud-security/types/objects/cloud-issue-severity-breakdown.md) | Breakdown of issues by policy category with severity details                                                                                                                                                                          | <p>name <code>String</code><br>severities <a href="https://docs.ox.security/api-documentation/api-reference/api--application/types/objects/severities.md"><code>Severities</code></a></p>                                                                                                                                                                                                                                                                                                                                                                                                |
| issuesStats [`IssuesStats`](https://docs.ox.security/api-documentation/api-reference/api--cloud-security/types/objects/issues-stats.md)                                                | Statistics about security issues found                                                                                                                                                                                                | <p>totalIssues <code>Int</code><br>sourceTools <a href="https://docs.ox.security/api-documentation/api-reference/api--cloud-security/types/objects/issue-stat.md"><code>\[IssueStat]</code></a><br>categories <a href="https://docs.ox.security/api-documentation/api-reference/api--cloud-security/types/objects/issue-stat.md"><code>\[IssueStat]</code></a><br>severities <a href="https://docs.ox.security/api-documentation/api-reference/api--cloud-security/types/objects/issue-stat.md"><code>\[IssueStat]</code></a></p>                                                        |
| cluster `String`                                                                                                                                                                       | Kubernetes cluster name if applicable                                                                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| link `String`                                                                                                                                                                          | URL link to view the resource in the cloud console                                                                                                                                                                                    |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| imageHash `String`                                                                                                                                                                     | Hash of the container image                                                                                                                                                                                                           |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| workloads [`[Workload]`](https://docs.ox.security/api-documentation/api-reference/api--cloud-security/types/objects/workload.md)                                                       | Kubernetes workloads associated with this resource                                                                                                                                                                                    | <p>type <code>String</code><br>namespace <code>String</code><br>name <code>String</code><br>cluster <code>String</code><br>region <code>String</code><br>isExposed <code>String</code><br>consoleLink <code>String</code><br>exposurePath <a href="https://docs.ox.security/api-documentation/api-reference/api--cloud-security/types/objects/exposure-path-item.md"><code>\[ExposurePathItem]</code></a></p>                                                                                                                                                                            |
| artifactIds `[String]`                                                                                                                                                                 | List of artifact identifiers associated with this resource                                                                                                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| attachedIdentities [`CbomAttachedIdentities`](https://docs.ox.security/api-documentation/api-reference/api--cloud-security/types/objects/cbom-attached-identities.md)                  | CBOM asset related identities                                                                                                                                                                                                         | <p>users <code>\[String]</code><br>groups <code>\[String]</code><br>servicePrincipals <code>\[String]</code><br>serviceAccounts <code>\[String]</code><br>iamPolicies <code>\[String]</code><br>attachedResources <code>\[String]</code><br>trustedBy <code>\[String]</code></p>                                                                                                                                                                                                                                                                                                         |
| compliance [`[CloudItemCompliance]`](https://docs.ox.security/api-documentation/api-reference/api--cloud-security/types/objects/cloud-item-compliance.md)                              | Per-asset compliance results: each entry is a single compliance check evaluated for this asset, with its status and the framework controls it maps to.                                                                                | <p>checkId <code>String</code><br>status <code>String</code><br>frameworks <code>JSON</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| usageSeries [`CloudUsageSeries`](https://docs.ox.security/api-documentation/api-reference/api--cloud-security/types/objects/cloud-usage-series.md)                                     | Generative AI usage time-series for the asset, covering invocation and token volumes over a rolling window. Set for AI service assets that publish usage metrics.                                                                     | <p>source <code>String</code><br>countMetric <code>String</code><br>tokenMetric <code>String</code><br>windowDays <code>Int</code><br>daily <a href="https://docs.ox.security/api-documentation/api-reference/api--cloud-security/types/objects/cloud-usage-daily.md"><code>\[CloudUsageDaily]</code></a></p>                                                                                                                                                                                                                                                                            |
| usageCoverage `String`                                                                                                                                                                 | Reason the asset has or lacks usage data, distinguishing an idle asset from one whose usage metric is unavailable or unsupported. Absent when usage was never evaluated for the asset.                                                |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| isAiAsset `Boolean`                                                                                                                                                                    | Indicates whether the asset is classified as an AI asset.                                                                                                                                                                             |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| isTrainingData `Boolean`                                                                                                                                                               | Indicates whether the asset holds data used to train or tune a model.                                                                                                                                                                 |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| modelInfo [`CloudModelInfo`](https://docs.ox.security/api-documentation/api-reference/api--cloud-security/types/objects/cloud-model-info.md)                                           | Structured identity of the foundation model associated with the asset.                                                                                                                                                                | <p>modelName <code>String</code><br>modelVersion <code>String</code><br>vendor <code>String</code><br>family <code>String</code><br>modelClass <code>String</code><br>where <code>String</code><br>matched <code>String</code></p>                                                                                                                                                                                                                                                                                                                                                       |
| trainingDataInfo [`CloudTrainingDataInfo`](https://docs.ox.security/api-documentation/api-reference/api--cloud-security/types/objects/cloud-training-data-info.md)                     | Structured identity of the training data associated with the asset.                                                                                                                                                                   | <p>dataType <code>String</code><br>location <code>String</code><br>locationType <code>String</code><br>locationPath <code>String</code><br>storageType <code>String</code></p>                                                                                                                                                                                                                                                                                                                                                                                                           |
| tools [`[CloudTool]`](https://docs.ox.security/api-documentation/api-reference/api--cloud-security/types/objects/cloud-tool.md)                                                        | Tools the AI agent can invoke at inference time.                                                                                                                                                                                      | <p>name <code>String</code><br>type <code>String</code><br>target <code>String</code><br>where <code>String</code><br>matched <code>String</code><br>args <code>\[String]</code><br>probed <code>Boolean</code><br>skipReason <code>String</code><br>injectionSignals <code>\[String]</code></p>                                                                                                                                                                                                                                                                                         |
| dataAccess [`[CloudDataAccess]`](https://docs.ox.security/api-documentation/api-reference/api--cloud-security/types/objects/cloud-data-access.md)                                      | Data systems the asset depends on.                                                                                                                                                                                                    | <p>name <code>String</code><br>where <code>String</code><br>matched <code>String</code><br>target <code>String</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| isMcpServer `Boolean`                                                                                                                                                                  | Indicates whether the asset is classified as a Model Context Protocol (MCP) server.                                                                                                                                                   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| mcpServer [`CloudMcpServer`](https://docs.ox.security/api-documentation/api-reference/api--cloud-security/types/objects/cloud-mcp-server.md)                                           | Detection evidence that classified the asset as an MCP server. Absent when the asset is not an MCP server.                                                                                                                            | <p>signals <a href="https://docs.ox.security/api-documentation/api-reference/api--cloud-security/types/objects/mcp-server-signal.md"><code>\[McpServerSignal]</code></a><br>tools <a href="https://docs.ox.security/api-documentation/api-reference/api--cloud-security/types/objects/mcp-server-tool.md"><code>\[McpServerTool]</code></a></p>                                                                                                                                                                                                                                          |
| mcpDescription `String`                                                                                                                                                                | Description of the MCP server. Absent when the scanner did not record one.                                                                                                                                                            |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| aiService [`CloudAiService`](https://docs.ox.security/api-documentation/api-reference/api--cloud-security/types/objects/cloud-ai-service.md)                                           | Detection evidence that classified the asset as an AI service — an A2A agent, a self-hosted inference endpoint or a vector store. Absent when no AI-service detector matched.                                                         | <p>kind <code>String</code><br>signals <a href="https://docs.ox.security/api-documentation/api-reference/api--cloud-security/types/objects/mcp-server-signal.md"><code>\[McpServerSignal]</code></a><br>capabilities <a href="https://docs.ox.security/api-documentation/api-reference/api--cloud-security/types/objects/cloud-ai-service-capability.md"><code>\[CloudAiServiceCapability]</code></a><br>description <code>String</code><br>provider <code>String</code><br>protocolVersion <code>String</code><br>endpoint <code>String</code><br>declaresAuth <code>Boolean</code></p> |
| probeResults [`[CloudProbeResult]`](https://docs.ox.security/api-documentation/api-reference/api--cloud-security/types/objects/cloud-probe-result.md)                                  | Connectivity probe results collected for the asset during attack surface simulation.                                                                                                                                                  | <p>url <code>String</code><br>type <code>String</code><br>statusCode <code>Int</code><br>curl <code>String</code><br>connectedAsset <a href="https://docs.ox.security/api-documentation/api-reference/api--cloud-security/types/objects/cloud-probe-connected-asset.md"><code>CloudProbeConnectedAsset</code></a><br>verdict <code>String</code></p>                                                                                                                                                                                                                                     |

### References

#### Queries using this object:

* [\<?> getSingleCloudBomItem](https://docs.ox.security/api-documentation/api-reference/api--cloud-security/queries/get-single-cloud-bom-item.md)

#### Fields with this object:

* [{} CloudItemsResponse.cloudItems](https://docs.ox.security/api-documentation/api-reference/api--cloud-security/types/objects/cloud-items-response.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ox.security/api-documentation/api-reference/api--cloud-security/types/objects/cloud-item.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
