Details

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

      Description

      • OWASP Top 10
      • SANS Top 25

      New WS:
      api/security_reports/show?project=xxx&branch=xxx&standard=[owaspTop10|sansTop25]&includeDistribution=true|false

      Currently, we are working with a mock of the webservice on the front-end. The JSON structure is as follow (can be updated ofc):

      {
        "categories": [
          {
            "category": "a1",
            "vulnerabilities": 2,
            "vulnerabilityRating": 5,
            "toReviewSecurityHotspots": 2,
            "openSecurityHotspots": 10,
            "wontFixSecurityHotspots": 0,
            "distribution": [
              {
                "cwe": "123",
                "vulnerabilities": 2,
                "vulnerabilityRating": 5,
                "toReviewSecurityHotspots": 2,
                "openSecurityHotspots": 10,
                "wontFixSecurityHotspots": 0
              },
             {
                "cwe": "456",
                "vulnerabilities": 2,
                "vulnerabilityRating": 5,
                "toReviewSecurityHotspots": 2,
                "openSecurityHotspots": 10,
                "wontFixSecurityHotspots": 0
              },
              {
                "cwe": "789",
                "vulnerabilities": 2,
                "vulnerabilityRating": 5,
                "toReviewSecurityHotspots": 2,
                "openSecurityHotspots": 10,
                "wontFixSecurityHotspots": 0
              },
              {
                "cwe": "unknown",
                "vulnerabilities": 2,
                "vulnerabilityRating": 5,
                "toReviewSecurityHotspots": 2,
                "openSecurityHotspots": 10,
                "wontFixSecurityHotspots": 0
              }
            ]
          },  
          {
            "category": "a2",
            "vulnerabilities": 0,
            "vulnerabilityRating": 0,
            "toReviewSecurityHotspots": 2,
            "openSecurityHotspots": 10,
            "wontFixSecurityHotspots": 0,
            "distribution": []
          },  
          {
            "category": "unknown",
            "vulnerabilities": 2,
            "vulnerabilityRating": 5,
            "toReviewSecurityHotspots": 2,
            "openSecurityHotspots": 10,
            "wontFixSecurityHotspots": 0,
            "distribution": []
          }
        ]
      }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ann.campbell.2 Ann Campbell
                Reporter:
                stas.vilchik Stas Vilchik (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: