> 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-remediation-item.md).

# incidentRemediationItem

One pull request or ticket that remediates the incident.

### Examples

```graphql
type IncidentRemediationItem {
  id: String!
  incidentId: String!
  itemType: RemediationItemType!
  externalId: String!
  title: String!
  provider: String!
  project: String
  author: String
  assignee: String
  team: String
  appId: String
  appName: String
  appTags: [String!]!
  businessUnits: [IncidentBusinessUnitRef!]!
  ticketStatus: String
  upgradeType: RemediationUpgradeType
  ciStatus: RemediationCiStatus
  reviewStatus: RemediationReviewStatus
  state: RemediationState!
  resourceName: String
  issueId: String
  linkedIndicatorValues: [String!]!
  url: String
  isDeployed: Boolean
  eventAt: DateTime!
}
```

### Fields

| Field                                                                                                                                                                    | Description                                                                                                                                                                                                                                                                                                                                                                                       | Supported fields                                            |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------- |
| id `String!`                                                                                                                                                             | The identifier of the pull request or ticket row.                                                                                                                                                                                                                                                                                                                                                 |                                                             |
| incidentId `String!`                                                                                                                                                     | The identifier of the incident the row belongs to.                                                                                                                                                                                                                                                                                                                                                |                                                             |
| itemType [`RemediationItemType!`](https://docs.ox.security/api-documentation/api-reference/api--response-center/types/enums/remediation-item-type.md)                    | Whether the row is a pull request or a ticket.                                                                                                                                                                                                                                                                                                                                                    |                                                             |
| externalId `String!`                                                                                                                                                     | The identifier of the row in its source system, such as a merge request number or a ticket key.                                                                                                                                                                                                                                                                                                   |                                                             |
| title `String!`                                                                                                                                                          | The title of the pull request or ticket.                                                                                                                                                                                                                                                                                                                                                          |                                                             |
| provider `String!`                                                                                                                                                       | The source system of the row, such as the source control or ticketing vendor.                                                                                                                                                                                                                                                                                                                     |                                                             |
| project `String`                                                                                                                                                         | The repository path or ticket project the row belongs to.                                                                                                                                                                                                                                                                                                                                         |                                                             |
| author `String`                                                                                                                                                          | The author of the pull request or the creator of the ticket.                                                                                                                                                                                                                                                                                                                                      |                                                             |
| assignee `String`                                                                                                                                                        | The assignee of the ticket. Absent when the ticket is unassigned.                                                                                                                                                                                                                                                                                                                                 |                                                             |
| team `String`                                                                                                                                                            | The team the row is assigned to.                                                                                                                                                                                                                                                                                                                                                                  |                                                             |
| appId `String`                                                                                                                                                           | Identifier of the application the remediated source issue belongs to.                                                                                                                                                                                                                                                                                                                             |                                                             |
| appName `String`                                                                                                                                                         | Name of the application the remediated source issue belongs to.                                                                                                                                                                                                                                                                                                                                   |                                                             |
| appTags `[String!]!`                                                                                                                                                     | Application tags of the application this item belongs to, resolved per request from the current tag assignments of that application.                                                                                                                                                                                                                                                              |                                                             |
| businessUnits [`[IncidentBusinessUnitRef!]!`](https://docs.ox.security/api-documentation/api-reference/api--response-center/types/objects/incident-business-unit-ref.md) | Business units of the application this item belongs to, resolved per request from the org-unit hierarchy.                                                                                                                                                                                                                                                                                         | <p>id <code>String!</code><br>name <code>String!</code></p> |
| ticketStatus `String`                                                                                                                                                    | Live status of the ticket as reported by the ticketing vendor. Absent when the vendor lookup was unavailable or did not resolve the ticket. A workflow status determines state: closing statuses set Done, blocking statuses set Blocked, and every other status sets InProgress. Empty values, Unknown, N/A, and Deleted (the vendor no longer has the ticket) leave the stored state unchanged. |                                                             |
| upgradeType [`RemediationUpgradeType`](https://docs.ox.security/api-documentation/api-reference/api--response-center/types/enums/remediation-upgrade-type.md)            | The upgrade type of the pull request. Absent when the stored value is not a known type.                                                                                                                                                                                                                                                                                                           |                                                             |
| ciStatus [`RemediationCiStatus`](https://docs.ox.security/api-documentation/api-reference/api--response-center/types/enums/remediation-ci-status.md)                     | The continuous integration status of the pull request.                                                                                                                                                                                                                                                                                                                                            |                                                             |
| reviewStatus [`RemediationReviewStatus`](https://docs.ox.security/api-documentation/api-reference/api--response-center/types/enums/remediation-review-status.md)         | The review status of the pull request.                                                                                                                                                                                                                                                                                                                                                            |                                                             |
| state [`RemediationState!`](https://docs.ox.security/api-documentation/api-reference/api--response-center/types/enums/remediation-state.md)                              | Remediation state of the item. Pull requests use Merged, Open, and Draft. Tickets use Done, InProgress, and Blocked, derived from ticketStatus when it reports a workflow status, and from the stored state when ticketStatus is absent, empty, Unknown, N/A, or Deleted.                                                                                                                         |                                                             |
| resourceName `String`                                                                                                                                                    | The name of the resource the remediated source issue is on.                                                                                                                                                                                                                                                                                                                                       |                                                             |
| issueId `String`                                                                                                                                                         | The identifier of the scanner issue that the pull request or ticket remediates. Absent for rows that are not derived from a matched issue.                                                                                                                                                                                                                                                        |                                                             |
| linkedIndicatorValues `[String!]!`                                                                                                                                       | The indicator values, such as packages or CVEs, that the row addresses.                                                                                                                                                                                                                                                                                                                           |                                                             |
| url `String`                                                                                                                                                             | The link to the pull request or ticket in its source system.                                                                                                                                                                                                                                                                                                                                      |                                                             |
| isDeployed `Boolean`                                                                                                                                                     | Whether the merged code of a pull request has been deployed. Absent for tickets and unmerged pull requests.                                                                                                                                                                                                                                                                                       |                                                             |
| eventAt `DateTime!`                                                                                                                                                      | The time of the last activity on a pull request in its source system. For a ticket, the time the ticket row was last derived.                                                                                                                                                                                                                                                                     |                                                             |

### References

#### Fields with this object:

* [{} IncidentRemediation.pullRequests](https://docs.ox.security/api-documentation/api-reference/api--response-center/types/objects/incident-remediation.md)
* [{} IncidentRemediation.tickets](https://docs.ox.security/api-documentation/api-reference/api--response-center/types/objects/incident-remediation.md)
* [{} RemediationByResource.pullRequest](https://docs.ox.security/api-documentation/api-reference/api--response-center/types/objects/remediation-by-resource.md)
* [{} RemediationByResource.ticket](https://docs.ox.security/api-documentation/api-reference/api--response-center/types/objects/remediation-by-resource.md)
* [{} IncidentRemediationGroup.items](https://docs.ox.security/api-documentation/api-reference/api--response-center/types/objects/incident-remediation-group.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-remediation-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.
