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

Security report hotspot link might not propagate category as expected

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 8.4
    • Fix Version/s: 8.6
    • Component/s: Security Hotspots, Web, Web API
    • Labels:
      None
    • Edition:
      Community
    • Production Notes:
      None

      Description

      Step to reproduce

      Go to a project Security Reports page, and click on a security hotspot link of a category that would be outside of the security hotspot page first data load due to pagination page size (default page size is 500).

       

      Best solution

      Update the WS api/hotspot/search to support 3 new filter parameters (one for each security standard): sonarsourceSecurity, owaspTop10, sansTop25. Each of these 3 will accept a list of categories available for the security standard. This will be consistent with the behaviour of api/issue/search. Adapt the frontend to display a simplified list in such case (similar to what's done with the permalink).

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jeremy.davis Jeremy Davis
              Reporter:
              philippe.perrin Philippe Perrin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: