ERROR: Error during SonarScanner execution
java.lang.IllegalStateException: Failed to parse report 'C:\LTO\reporting\VCG\workspace\DATABASE_LAYER.json': missing mandatory field 'engineId'.
at org.sonar.scanner.externalissue.ReportParser.mandatoryField(ReportParser.java:98)
at org.sonar.scanner.externalissue.ReportParser.validate(ReportParser.java:54)
at org.sonar.scanner.externalissue.ReportParser.parse(ReportParser.java:43)
at org.sonar.scanner.externalissue.ExternalIssuesImportSensor.execute(ExternalIssuesImportSensor.java:72)
at org.sonar.scanner.sensor.AbstractSensorWrapper.analyse(AbstractSensorWrapper.java:64)
at org.sonar.scanner.sensor.ModuleSensorsExecutor.execute(ModuleSensorsExecutor.java:88)
{
"rules":[
{
"id":"sql:PRAGMA AUTONOMOUS_TRANSACTION",
"name":"sql:PRAGMA AUTONOMOUS_TRANSACTION",
"cleanCodeAttribute":"CONVENTIONAL",
"description":"Stored Procedure Contains COMMIT and/or ROLLBACK Statements in Procedures/Functions, Without the Use of PRAGMA AUTONOMOUS_TRANSACTION.",
"engineId":"vcg",
"impacts":[
{
"softwareQuality":"SECURITY",
"severity":"LOW"
}
]
},
{
"id":"sql:ERROR_HANDLING",
"name":"sql:ERROR_HANDLING",
"cleanCodeAttribute":"CONVENTIONAL",
"description":"WHEN OTHERS THEN",
"engineId":"vcg",
"impacts":[
{
"softwareQuality":"SECURITY",
"severity":"LOW"
}
]
},
{
"id":"sql:SQL_INJECTION",
"name":"sql:SQL_INJECTION",
"cleanCodeAttribute":"CONVENTIONAL",
"description":"Potential SQL Injection",
"engineId":"vcg",
"impacts":[
{
"softwareQuality":"SECURITY",
"severity":"LOW"
}
]
},
{
"id":"sql:INFORMATION_EXPOSURE_THROUGH_AN_ERROR_MESSAGE",
"name":"sql:INFORMATION_EXPOSURE_THROUGH_AN_ERROR_MESSAGE",
"cleanCodeAttribute":"CONVENTIONAL",
"description":"Error Handling With Output Parameters.",
"engineId":"vcg",
"impacts":[
{
"softwareQuality":"SECURITY",
"severity":"LOW"
}
]
},
{
"id":"sql:UNENCRYPTED_PASSWORDS",
"name":"sql:UNENCRYPTED_PASSWORDS",
"cleanCodeAttribute":"CONVENTIONAL",
"description":"Code Appears to Process Passwords Without the Use of a Standard Oracle Encryption Module",
"engineId":"vcg",
"impacts":[
{
"softwareQuality":"SECURITY",
"severity":"MEDIUM"
}
]
}
],
"issues":[
{
"ruleId":"sql:PRAGMA AUTONOMOUS_TRANSACTION",
"primaryLocation":{
"message":"This can result in data corruption, since rolling back or committing will split a wider logical transaction into two possibly conflicting sub-transactions. Exceptions to this include auditing procedures and long-running worker procedures.",
"filePath":"C:/LTO/reporting/VCG/workspace/SELECTED/AE-DatabaseLayer/Oracle/Procedures/AE_PRC_initEventPubConfig.SQL",
"textRange":{
"startLine":101
}
}
},
{
"ruleId":"sql:PRAGMA AUTONOMOUS_TRANSACTION",
"primaryLocation":{
"message":"This can result in data corruption, since rolling back or committing will split a wider logical transaction into two possibly conflicting sub-transactions. Exceptions to this include auditing procedures and long-running worker procedures.",
"filePath":