# Remediation

- [JSON representation](https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/Remediation#SCHEMA_REPRESENTATION)
- [RemediationType](https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/Remediation#RemediationType)

Specifies details on how to handle (and presumably, fix) a vulnerability.

| JSON representation |
|---|
| ``` { "remediationType": enum (`https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/Remediation#RemediationType`), "details": string, "remediationUri": { object (`https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/RelatedUrl`) } } ``` |

| Fields ||
|---|---|
| `remediationType` | ``enum (`https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/Remediation#RemediationType`)`` The type of remediation that can be applied. |
| `details` | `string` Contains a comprehensive human-readable discussion of the remediation. |
| `remediationUri` | ``object (`https://docs.cloud.google.com/artifact-analysis/docs/reference/rest/v1beta1/RelatedUrl`)`` Contains the URL where to obtain the remediation. |

## RemediationType

The type of remediation that can be applied.

| Enums ||
|---|---|
| `REMEDIATION_TYPE_UNSPECIFIED` | No remediation type specified. |
| `MITIGATION` | A MITIGATION is available. |
| `NO_FIX_PLANNED` | No fix is planned. |
| `NONE_AVAILABLE` | Not available. |
| `VENDOR_FIX` | A vendor fix is available. |
| `WORKAROUND` | A workaround is available. |