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

Display Security Hotspots page on branches and pull requests

    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

      New page on branches and pull requests

      • it appears¬†before "Security Reports"
      • add ability to filter on the leak period
        • see wireframe for UI
        • on branches
          • if coming from link "overall hotspot count", show overall
          • if coming from link "leak period count", show lead period
          • if click on tab "Security Hotspots", show overall
            • ¬†nice-to-have: make it sticky if issue list at project level is supposed to be sticky (it currently is not, is a bug since global issue list is sticky or is it intentional?)
        • on pull requests, only hotspots on the leak period are displayed and the option to switch off it is removed from the UI

      Change to project page

      • add ability to filter on the leak period
        • same behavior as for branches

      Change to WS api/hotspots/search

      • new parameters
        • sinceLeakPeriod (optional): boolean, default value is false
        • branch (optional and internal): a branch key
        • pullRequest (optional and internal): a pull request key

      Change to WS api/hotspots/change_status

      • support hotspot belongs to a branch

        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: