com.cx.report.report.ftl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cx-client-common Show documentation
Show all versions of cx-client-common Show documentation
Web client for interaction with Checkmarx SAST, SCA and OSA products
The newest version!
<#macro thresholdTooltip threshold count>
<#if count gt threshold>
${threshold}
#if>
#macro>
Checkmarx Report
<#if buildFailed>
Checkmarx scan found the following issues:
<#if config.isSastEnabled() && !sast.sastResultsReady>
- SAST Scan Failed
#if>
<#if config.isOsaEnabled() && !dependencyResult.resultReady>
- OSA Scan Failed
#if>
<#if config.isAstScaEnabled() && !dependencyResult.resultReady>
- SCA Scan Failed
#if>
<#if policyViolated>
- ${policyViolatedCount} ${sast.encodeXSS(policyLabel)} Violated
#if>
<#if config.isSastEnabled() && sast.sastResultsReady && (sastThresholdExceeded || sastNewResultsExceeded) && (config.isOsaEnabled() || config.isAstScaEnabled()) && dependencyResult.resultReady && dependencyThresholdExceeded>
- Exceeded CxSAST and CxOSA/CxSCA Vulnerability Thresholds
<#elseif config.isSastEnabled() && sast.sastResultsReady && (sastThresholdExceeded || sastNewResultsExceeded)>
- Exceeded CxSAST Vulnerability Threshold
<#elseif config.isOsaEnabled() && dependencyResult.resultReady && dependencyThresholdExceeded>
- Exceeded CxOSA Vulnerability Threshold
<#elseif config.isAstScaEnabled() && dependencyResult.resultReady && dependencyThresholdExceeded>
- Exceeded CxSCA Vulnerability Threshold
<#else>
- CxScan Failed
#if>
<#else>
Checkmarx Scan Passed
#if>
<#if config.isSastEnabled()>
CxSAST Vulnerabilities Status
<#if sast.sastResultsReady>
<#if sast.sastPDFLink??>
#if>
<#else>
#if>
<#if sast.sastResultsReady>
<#if sast.hasNewResults()>
Recurrent
New
#if>
<#if config.cxVersion.version?has_content>
<#assign versionComponents = config.cxVersion.version?split(".")>
<#assign currentVersion = versionComponents[0] + "." + versionComponents[1]>
<#assign currentVersionFloat = currentVersion?number>
<#if (currentVersionFloat?exists) && (currentVersionFloat >= 9.7)>
-
#if>
#if>
-
-
-
#if>
#if>
<#if config.isOsaEnabled()|| config.isAstScaEnabled() >
<#if dependencyResult.scannerType=="AST_SCA">
CxSCA Vulnerabilities & Libraries
<#else>
Cx${sast.encodeXSS(dependencyResult.scannerType)} Vulnerabilities & Libraries
#if>
<#if dependencyResult.resultReady>
<#if sca.scaPDFLink??>
#if>
<#else>
#if>
<#if dependencyResult.resultReady>
Libraries:
Vulnerable and Outdated Libraries
No Known Vulnerability Libraries
<#if sca.scaResultReady>
-
#if>
-
-
-
#if>
#if>
<#--<#if config.dependencyScannerType == "SCA">
SCA Vulnerabilities & Libraries
<#if sca.scaResultReady>
<#else>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy