getHotspot
getHotspotRetrieve a security hotspot’s review details, rule guidance, code locations, data flows, and changelog from SonarQube to analyze and fix the flagged issue.
Instructions
Get one Security Hotspot. Returns review details, rule guidance, locations, flows, and changelog.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hotspotKey | Yes | Hotspot key |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule | No | ||
| flows | No | Data-flow paths showing how user input reaches the risky code. | |
| hotspot | No | ||
| changelog | No | Full change history of the hotspot (reviews, reassignments, etc.). | |
| textRange | No | Precise text range in the source file; null when the hotspot spans the whole file. |