> 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-counts.md).

# incidentCounts

### Examples

```graphql
type IncidentCounts {
  affectedApps: Int!
  affectedRepos: Int!
  affectedImages: Int!
  openFindings: Int!
  resolvedFindings: Int!
  removedFindings: Int!
  sbomMatches: Int!
  removedSbomMatches: Int!
  pipelineHits: Int!
  devEnvironments: Int!
  clearedMatches: Int!
  blockedItems: Int!
  blockedPipelineHits: Int!
  expiredPipelineHits: Int!
  blockedDevEnvironments: Int!
  expiredDevEnvironments: Int!
  excludedFindings: Int!
  suppressedSbomMatches: Int!
  cloudAccounts: Int!
  cloudRunningImages: Int!
  cloudRunningThisVersionImages: Int!
  openFindingsBySeverity: IncidentSeverityCounts!
  vex: IncidentVexCounts!
}
```

### Fields

| Field                                                                                                                                                                       | Description                                                                                                                      | Supported fields                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| affectedApps `Int!`                                                                                                                                                         |                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| affectedRepos `Int!`                                                                                                                                                        |                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| affectedImages `Int!`                                                                                                                                                       |                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| openFindings `Int!`                                                                                                                                                         |                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| resolvedFindings `Int!`                                                                                                                                                     |                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| removedFindings `Int!`                                                                                                                                                      |                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| sbomMatches `Int!`                                                                                                                                                          |                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| removedSbomMatches `Int!`                                                                                                                                                   |                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| pipelineHits `Int!`                                                                                                                                                         |                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| devEnvironments `Int!`                                                                                                                                                      |                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| clearedMatches `Int!`                                                                                                                                                       |                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| blockedItems `Int!`                                                                                                                                                         | Blocked pipeline hits plus blocked developer installs; never count toward exposure.                                              |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| blockedPipelineHits `Int!`                                                                                                                                                  | Active pipeline hits whose outcome was Blocked; retained as evidence, never counted as exposure.                                 |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| expiredPipelineHits `Int!`                                                                                                                                                  | Active pipeline hits older than the 7-day exposure window; retained as evidence, no longer counted as exposure.                  |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| blockedDevEnvironments `Int!`                                                                                                                                               | Active developer-environment installs whose outcome was Blocked; retained as evidence, never counted as exposure.                |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| expiredDevEnvironments `Int!`                                                                                                                                               | Active developer-environment installs older than the 7-day exposure window; retained as evidence, no longer counted as exposure. |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| excludedFindings `Int!`                                                                                                                                                     | Active issues a user excluded in OX; retained as evidence, no longer counted as exposure.                                        |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| suppressedSbomMatches `Int!`                                                                                                                                                | Open SBOM matches whose corresponding issue was cleared or excluded; retained as evidence, no longer counted as exposure.        |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| cloudAccounts `Int!`                                                                                                                                                        |                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| cloudRunningImages `Int!`                                                                                                                                                   |                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| cloudRunningThisVersionImages `Int!`                                                                                                                                        |                                                                                                                                  |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| openFindingsBySeverity [`IncidentSeverityCounts!`](https://docs.ox.security/api-documentation/api-reference/api--response-center/types/objects/incident-severity-counts.md) |                                                                                                                                  | <p>appoxalypse <code>Int!</code><br>critical <code>Int!</code><br>high <code>Int!</code><br>medium <code>Int!</code><br>low <code>Int!</code><br>info <code>Int</code></p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| vex [`IncidentVexCounts!`](https://docs.ox.security/api-documentation/api-reference/api--response-center/types/objects/incident-vex-counts.md)                              | VEX rollup over the same active issues as open findings, refreshed on each assessment. Zero until the incident is next assessed. | <p>affected <a href="https://docs.ox.security/api-documentation/api-reference/api--response-center/types/objects/incident-vex-bucket-counts.md"><code>IncidentVexBucketCounts!</code></a><br>underInvestigation <a href="https://docs.ox.security/api-documentation/api-reference/api--response-center/types/objects/incident-vex-bucket-counts.md"><code>IncidentVexBucketCounts!</code></a><br>unknown <a href="https://docs.ox.security/api-documentation/api-reference/api--response-center/types/objects/incident-vex-bucket-counts.md"><code>IncidentVexBucketCounts!</code></a><br>notAffected <a href="https://docs.ox.security/api-documentation/api-reference/api--response-center/types/objects/incident-vex-bucket-counts.md"><code>IncidentVexBucketCounts!</code></a><br>notAssessed <a href="https://docs.ox.security/api-documentation/api-reference/api--response-center/types/objects/incident-vex-bucket-counts.md"><code>IncidentVexBucketCounts!</code></a></p> |

### References

#### Fields with this object:

* [{} Incident.counts](https://docs.ox.security/api-documentation/api-reference/api--response-center/types/objects/incident.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-counts.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.
