-
Notifications
You must be signed in to change notification settings - Fork 14
Description
trying to push result to GitLab Issues and failing after we upgraded to latest version 1.7.07, looks like it may have been an issue since version 1.7.01
failing to process the SCA_RiskReport xml file getting the following error:
2025-03-17T18:46:26.859Z ERROR 1018 --- [ main] com.checkmarx.flow.service.SCAScanner : org.glassfish.jaxb.runtime.v2.runtime.IllegalAnnotationsException: 5 counts of IllegalAnnotationExceptions
Property criticalVulnerabilityCount is present but not specified in @XmlType.propOrder
this problem is related to the following location:
at protected byte com.checkmarx.sdk.dto.sca.xml.RiskReportSummaryType.criticalVulnerabilityCount
at com.checkmarx.sdk.dto.sca.xml.RiskReportSummaryType
at protected com.checkmarx.sdk.dto.sca.xml.RiskReportSummaryType com.checkmarx.sdk.dto.sca.xml.SCARiskReportType.riskReportSummary
I believe the issue is with the following file: src/main/java/com/checkmarx/sdk/dto/sca/xml/RiskReportSummaryType.java.
The XmlType for the propOrder item "CriticalVulnerabilityCount" does not align with the protected byte name defined for the @xmlelement
on line 65
the following "CriticalVulnerabilityCount",
should be "criticalVulnerabilityCount",
Note: the following file may have the same issue in this file as well "src/main/java/com/checkmarx/sdk/dto/sca/xml/PackageType.java"
at Line 64
the following "CriticalVulnerabilityCount",
should be "criticalVulnerabilityCount",