> 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--response-center/types/objects/incident-affected-resources.md).

# incidentAffectedResources

### Examples

```graphql
type IncidentAffectedResources {
  warnings: [String!]
  items: [IncidentAffectedResource!]!
  totalCount: Int!
  groups: [IncidentAffectedResourceGroup!]
}
```

### Fields

| Field                                                                                                                                                                        | Description                                                                                                                                                                                   | Supported fields                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| warnings `[String!]`                                                                                                                                                         | Explains which optional search sources are unavailable and can make the returned results incomplete.                                                                                          |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| items [`[IncidentAffectedResource!]!`](https://docs.ox.security/api-documentation/api-reference/api--response-center/types/objects/incident-affected-resource.md)            | The resources of every returned section, concatenated in section order. Without an input this is up to 10,000 repositories and images, followed by registries, cloud accounts and developers. | <p>imageRuntimeStatus <a href="https://docs.ox.security/api-documentation/api-reference/api--response-center/types/enums/image-runtime-status.md"><code>ImageRuntimeStatus</code></a><br>runningIn <a href="https://docs.ox.security/api-documentation/api-reference/api--response-center/types/objects/incident-image-cloud-location.md"><code>\[IncidentImageCloudLocation!]</code></a><br>runningSiblings <a href="https://docs.ox.security/api-documentation/api-reference/api--response-center/types/objects/incident-running-sibling.md"><code>\[IncidentRunningSibling!]</code></a><br>runtimeObservedAt <code>DateTime</code><br>runtimeScanId <code>String</code><br>isRuntimeLastKnown <code>Boolean</code><br>resourceName <code>String!</code><br>kind <a href="https://docs.ox.security/api-documentation/api-reference/api--response-center/types/enums/affected-resource-kind.md"><code>AffectedResourceKind!</code></a><br>resourceDetail <code>String</code><br>appName <code>String</code><br>appId <code>String</code><br>appType <code>String</code><br>registryType <code>String</code><br>externalUrl <code>String</code><br>resourceOwner <code>String</code><br>hitIndicatorValues <code>\[String!]!</code><br>appTags <code>\[String!]!</code><br>businessUnits <a href="https://docs.ox.security/api-documentation/api-reference/api--response-center/types/objects/incident-business-unit-ref.md"><code>\[IncidentBusinessUnitRef!]!</code></a><br>affectedPackages <a href="https://docs.ox.security/api-documentation/api-reference/api--response-center/types/objects/incident-affected-package.md"><code>\[IncidentAffectedPackage!]!</code></a><br>openIssues <code>Int!</code><br>resolvedIssues <code>Int!</code><br>sbomCount <code>Int!</code><br>activeRows <code>Int!</code><br>isRunning <code>Boolean!</code><br>cloudRunState <a href="https://docs.ox.security/api-documentation/api-reference/api--response-center/types/enums/cloud-run-state.md"><code>CloudRunState</code></a><br>isCloudDeployed <code>Boolean</code><br>isPublic <code>Boolean</code><br>isInternetExposed <code>Boolean!</code><br>status <a href="https://docs.ox.security/api-documentation/api-reference/api--response-center/types/enums/affected-resource-status.md"><code>AffectedResourceStatus!</code></a><br>isStale <code>Boolean!</code><br>latestAsOf <code>DateTime</code><br>lastCodeActivity <code>DateTime</code><br>imageCreatedAt <code>DateTime</code><br>imageSha <code>String</code><br>imageDisplayName <code>String</code><br>imageTags <code>\[String!]</code><br>cloudProvider <code>String</code><br>cloudAccountId <code>String</code><br>cloudAccountName <code>String</code><br>cloudRegions <code>\[String!]</code><br>cloudClusterNames <code>\[String!]</code><br>cloudImageCount <code>Int</code><br>imageCount <code>Int</code><br>developerEmail <code>String</code><br>hitIndicatorValuesTruncated <code>Boolean</code><br>blockedCount <code>Int</code><br>flaggedCount <code>Int</code><br>allowedCount <code>Int</code><br>expiredCount <code>Int</code><br>lastActivity <code>DateTime</code></p> |
| totalCount `Int!`                                                                                                                                                            | The total number of resources across the returned sections. With an input this counts only the resources matching its filters and search.                                                     |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| groups [`[IncidentAffectedResourceGroup!]`](https://docs.ox.security/api-documentation/api-reference/api--response-center/types/objects/incident-affected-resource-group.md) | The returned sections with their own totals and cursors, in the fixed order Repo, Image, ImageRegistry, CloudAccount, DevEnvironment. Present only when an input is provided.                 | <p>hasRuntimeData <code>Boolean</code><br>kind <a href="https://docs.ox.security/api-documentation/api-reference/api--response-center/types/enums/affected-resource-kind.md"><code>AffectedResourceKind!</code></a><br>totalCount <code>Int!</code><br>items <a href="https://docs.ox.security/api-documentation/api-reference/api--response-center/types/objects/incident-affected-resource.md"><code>\[IncidentAffectedResource!]!</code></a><br>nextCursor <code>String</code><br>hasMore <code>Boolean!</code><br>isTruncated <code>Boolean!</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |

### References

#### Queries using this object:

* [\<?> getIncidentAffectedResources](https://docs.ox.security/api-documentation/api-reference/api--response-center/queries/get-incident-affected-resources.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--response-center/types/objects/incident-affected-resources.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.
