HackerOne icon

HackerOne

Manage your HackerOne bug bounty program via API

Actions113

Report → Update Weakness

AI-generated

Summary

Update the weakness (CWE) associated with a specific HackerOne report by specifying the report ID and new weakness ID.

Inputs

  • Report ID (required) — The numeric ID of the HackerOne report to update.
  • Weakness ID (required) — The HackerOne weakness (CWE) ID to associate with the report.

Output shape

a single object representing the updated report weakness information

The operation returns the updated weakness data for the given report. It requires both Report ID and Weakness ID to function properly. No pagination or additional optional fields are applicable.

Examples

Example 1: Update the weakness of a report with ID '12345' to weakness ID '7890'.

Set 'Report ID' to '12345' and 'Weakness ID' to '7890'.

Links

Discussion