---
title: "Update Vulnerabilities"
method: PUT
path: "/api/controls/v2/vulnerabilities"
tags: ["Vulnerabilities"]
---

# Update Vulnerabilities

`PUT /api/controls/v2/vulnerabilities`

## Request

- Base URL: `https://hostname`
- URL: `https://hostname/api/controls/v2/vulnerabilities`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://{hostname}/api/access/v1/oauth/token` scopes: `ITRM`

Use this API to update the attributes of vulnerabilities in the Vulnerability Library.

> 🗒 Things to Know
>
> - The [Get List of Vulnerabilities](https://developer.onetrust.com/onetrust/reference/findvulnerabilitiesbycriteriausingpost) API can be used to retrieve a list of all existing vulnerabilities.

## Request body

- TechRiskComplianceITRiskManagementVulnerabilityUpdateRequest[]: Post request containing a list of vulnerabilities and attributes to be updated within the vulnerabilities library.
  - `orgGroupId` string, uuid, required: Organization group identifier that this vulnerability belongs to.
  - `identifier` string, required: Unique business identifier for the vulnerability - must be unique within the organization.
  - `name` string, required: Name of the vulnerability.
  - `description` string: Detailed description of the vulnerability.
  - `framework` TechRiskComplianceITRiskManagementFrameworkInformation
    - `id` string, uuid: Primary Identifier.
    - `name` string: Framework Name of Control.
    - `nameKey` string: Framework Name key for Translation.
  - `category` TechRiskComplianceITRiskManagementCategoryInformation
    - `id` string, uuid: Category unique identifier
    - `name` string: Category name
    - `nameKey` string: Category nameKey for localization support
  - `status` 'Active' | 'Pending' | 'Archived': Current status of the vulnerability.
  - `id` string, uuid, required: Unique system identifier (UUID) of the vulnerability to update.
  - `attributes` object: Custom attributes associated with this vulnerability, organized as a map of attribute names to their values.

## Response `200`

OK

- TechRiskComplianceITRiskManagementVulnerabilityDto[]
  - `id` string, uuid, required: Unique system identifier (UUID) for the vulnerability.
  - `identifier` string, required: Business identifier for the vulnerability - unique within the organization.
  - `name` string, required: Display name of the vulnerability.
  - `description` string: Detailed description of the vulnerability, including potential impact and affected components.
  - `framework` TechRiskComplianceITRiskManagementFrameworkInformation
    - `id` string, uuid: Primary Identifier.
    - `name` string: Framework Name of Control.
    - `nameKey` string: Framework Name key for Translation.
  - `category` TechRiskComplianceITRiskManagementCategoryInformation
    - `id` string, uuid: Category unique identifier
    - `name` string: Category name
    - `nameKey` string: Category nameKey for localization support
  - `orgGroup` TechRiskComplianceITRiskManagementOrganizationInformation, required
    - `id` string, uuid: Primary Identifier.
    - `name` string: Organization Name.
  - `status` 'Active' | 'Pending' | 'Archived': Current status of the vulnerability (e.g., Active, Pending, Archived).
  - `attributes` object: Custom attributes associated with this vulnerability, organized as a map of attribute names to their values.
  - `displayLabel` string

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `429`: Too Many Requests. For more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).
- `500`: Internal Server Error

---

[API](https://skmtc.dev/onetrust/apis/tech-risk-compliance-it-risk-management.md) - [All operations](https://skmtc.dev/onetrust/apis/tech-risk-compliance-it-risk-management/llms.txt) - [OpenAPI document](https://skmtc.dev/onetrust/apis/tech-risk-compliance-it-risk-management/revisions/d0bfd2a3c53e?raw)
