Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-16101

Track Security Hotspots which represent real risks to fix later

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9.4
    • Component/s: Web, Web API
    • Labels:
      None
    • Edition:
      Community
    • Production Notes:
      None

      Description

      Frontend

      Tasks to be completed: 

      • Add ACKNOWLEDGED status in the status panel and ensure POST call to `/api/hotspots/change_status` backend endpoint.
      • Update the confirmation modal that is displayed to the user after the successful API call.
      • Add ACKNOWLEDGED in the status filter dropdown and ensure GET call to `/api/hotspots/search` backend endpoint. Also, update the left sidebar header when hotspots' selected status is `Reviewed as acknowledged`.
      • Update Security Hotspots Reviewed tooltip message. 

      Backend

      Tasks to be completed: 

      • Update web service `org.sonar.server.hotspot.ws.ChangeStatusAction` to be able to set a hotspot to status `REVIEWED` and resolution `ACKNOWLEDGED`.
      • Update web service `org.sonar.server.hotspot.ws.SearchAction` to be able to return all hotspots with status `REVIEWED` and resolution `ACKNOWLEDGED`.
      • Ensure security_hotspots_reviewed metric takes into account hotspots with `ACKNOWLEDGED` resolution and returns correct percentage value when using `org.sonar.server.measure.ws.ComponentAction` web service. 

       

        Attachments

          Activity

            People

            Assignee:
            revanshu.paliwal Revanshu Paliwal
            Reporter:
            klaudio.sinani Klaudio Sinani
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: