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

Sensor Java API should allow to add external rule engine issues

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.2
    • Component/s: None
    • Labels:

      Description

      Sensor should be able to create issues that are loaded from external rule engines.
      These issues are not associated to a rule declared by the analyzers.
      This should be done through a new method in the SensorContext, for example #newExternalRuleIssue. See the existing #newIssue.

      These issues need to support the following fields:

      • message
      • location (including message and file. optionally it can be precise and have secondary locations)
      • type: bug, code smell, vulnerability
      • severity
      • remediation cost (optional)
      • rule_id
      • rule_engine

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                duarte.meneses Duarte Meneses
                Reporter:
                duarte.meneses Duarte Meneses
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: