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

Security Hotspots page allows to change status of a reviewed hotspot

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.2
    • Component/s: Security Hotspots
    • Labels:
      None
    • Edition:
      Community
    • Production Notes:
      None

      Description

      UI changes

      • action box is named "Change Status" instead of "Review Hotspot"
      •  is label of the item of the current status different (eg. "keep reviewed as safe and add a comment")
      • after the action box is submitted
        • the status must be updated
        • the label of the action box must be changed when putting the hotspot back in review
        • the count on the "Review History" tab must be updated if a comment was added

      Changes to ws api/hotspots/change_status

      • a reviewed hotspot can be reopened: status=TO_REVIEW, resolution=null
      • the resolution of a hotspot can be changed: FIXED=>SAFE and SAFE=>FIXED
      • flag canChangeStatus is added to the response:
        • true if authenticated user has HOTSPOT_ADMINISTER permission on the current project
        • false otherwise

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              sebastien.lesaint Sebastien Lesaint
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: