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

Stop loading rules on scanner side

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.5
    • Component/s: Scanner
    • Labels:
      None
    • Estimate:
      Hours
    • Edition:
      Community
    • Production Notes:
      None

      Description

      The scanner engine is loading both active rules and rules.

      Loading rules is used for 2 cases:

      • put the rule name in the JSON report in preview mode (deprecated)
      • set the issue message for rule templates (that is the rule name)

      For the second use case, this can be done on compute engine side instead. In the scanner report, the issue message should be made optional, and the compute engine should automatically default to the rule name.

        Attachments

          Activity

            People

            Assignee:
            benoit.gianinetti Benoit Gianinetti (Inactive)
            Reporter:
            julien.henry Julien Henry
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: