Skip to content

Conversation

@nquinquenel
Copy link
Member

@nquinquenel nquinquenel commented Feb 10, 2026

image image

@hashicorp-vault-sonar-prod
Copy link

hashicorp-vault-sonar-prod bot commented Feb 10, 2026

MCP-221

@nquinquenel nquinquenel force-pushed the feature/nq/MCP-221-tool-security-hotspot branch from 0844d5a to 3c97ffe Compare February 11, 2026 15:45
@nquinquenel nquinquenel marked this pull request as ready for review February 11, 2026 17:57
@sonarqubecloud
Copy link

SonarQube reviewer guide

Review in SonarQube

Summary: Add Security Hotspots toolset with three new tools to search, view details, and manage Security Hotspot review status in SonarQube projects.

Review Focus:

  • The HotspotsApi class handles API communication with proper parameter building and URL encoding
  • Validation logic in ChangeSecurityHotspotStatusTool ensures resolution is required for REVIEWED status and forbidden for TO_REVIEW
  • Response mapping from API responses to tool responses maintains data integrity through nested record transformations
  • Comprehensive test coverage validates both SonarQube Cloud and Server scenarios with proper error handling

Start review at: src/main/java/org/sonarsource/sonarqube/mcp/serverapi/hotspots/HotspotsApi.java. This is the core API integration layer that all tools depend on, and its correctness directly impacts search, show, and status change functionality.

💬 Please send your feedback

Quality Gate Passed Quality Gate passed

Issues
0 New issues
3 Accepted issues
0 Dependency risks

Measures
0 Security Hotspots
84.9% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant