diff options
author | Antoine Vinot <antoine.vinot@sonarsource.com> | 2022-11-08 12:14:43 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-11-15 20:02:59 +0000 |
commit | 59df4a4ad498fa1ce6df396c0b7a6afb70b7ec83 (patch) | |
tree | 67292d7f45cac35e36326184db085e115b6e4e14 /sonar-scanner-engine/src/main/java/org/sonar/scanner | |
parent | 7b6049377bbeb887442a038efbc119656ebb3a12 (diff) | |
download | sonarqube-59df4a4ad498fa1ce6df396c0b7a6afb70b7ec83.tar.gz sonarqube-59df4a4ad498fa1ce6df396c0b7a6afb70b7ec83.zip |
SONAR-17560 Add Sarif deserialization
Diffstat (limited to 'sonar-scanner-engine/src/main/java/org/sonar/scanner')
-rw-r--r-- | sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/BatchComponents.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/BatchComponents.java b/sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/BatchComponents.java index 9241acae7ab..41144e68466 100644 --- a/sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/BatchComponents.java +++ b/sonar-scanner-engine/src/main/java/org/sonar/scanner/bootstrap/BatchComponents.java @@ -24,6 +24,7 @@ import java.util.Collection; import java.util.List; import org.sonar.core.component.DefaultResourceTypes; import org.sonar.core.config.CorePropertyDefinitions; +import org.sonar.core.sarif.SarifSerializerImpl; import org.sonar.scanner.cpd.JavaCpdBlockIndexerSensor; import org.sonar.scanner.deprecated.test.TestPlanBuilder; import org.sonar.scanner.externalissue.ExternalIssuesImportSensor; @@ -53,6 +54,7 @@ public class BatchComponents { // External issues components.add(ExternalIssuesImportSensor.class); components.add(ExternalIssuesImportSensor.properties()); + components.add(SarifSerializerImpl.class); return components; } |