All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.cx.report.report.ftl Maven / Gradle / Ivy

The newest version!









<#macro thresholdTooltip threshold count>
    <#if count gt threshold>
    
${threshold}
Checkmarx Report
<#if buildFailed>
error Created with Sketch.

Checkmarx scan found the following issues:

    <#if config.isSastEnabled() && !sast.sastResultsReady>
  • SAST Scan Failed
  • <#if config.isOsaEnabled() && !dependencyResult.resultReady>
  • OSA Scan Failed
  • <#if config.isAstScaEnabled() && !dependencyResult.resultReady>
  • SCA Scan Failed
  • <#if policyViolated>
  • ${policyViolatedCount} ${sast.encodeXSS(policyLabel)} Violated
  • <#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
<#else>
OK Created with Sketch.

Checkmarx Scan Passed

<#if config.isSastEnabled()>
CxSAST Vulnerabilities Status
<#if sast.sastResultsReady> <#else>
*/ scan_failed Created with Sketch.
SAST scan failed
<#if sast.sastResultsReady>
<#if sast.hasNewResults()>
Recurrent
New
    <#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 config.sastThresholdsEnabled && config.sastCriticalThreshold??> <@thresholdTooltip threshold=config.sastCriticalThreshold count=sast.critical/>
    Med Created with Sketch.
    Critical -
    ${sast.critical}
    <#if sast.hasNewResults()>
    ${sast.newCritical} New
  • <#if config.sastThresholdsEnabled && config.sastHighThreshold??> <@thresholdTooltip threshold=config.sastHighThreshold count=sast.high/>
    Med Created with Sketch.
    High -
    ${sast.high}
    <#if sast.hasNewResults()>
    ${sast.newHigh} New
  • <#if config.sastThresholdsEnabled && config.sastMediumThreshold??> <@thresholdTooltip threshold=config.sastMediumThreshold count=sast.medium/>
    Low
    Medium -
    ${sast.medium}
    <#if sast.hasNewResults()>
    ${sast.newMedium} New
  • <#if config.sastThresholdsEnabled && config.sastLowThreshold??> <@thresholdTooltip threshold=config.sastLowThreshold count=sast.low/>
    Low
    Low -
    ${sast.low}
    <#if sast.hasNewResults()>
    ${sast.newLow} New
<#if config.isOsaEnabled()|| config.isAstScaEnabled() >
<#if dependencyResult.scannerType=="AST_SCA">
CxSCA Vulnerabilities & Libraries
<#else>
Cx${sast.encodeXSS(dependencyResult.scannerType)} Vulnerabilities & Libraries
<#if dependencyResult.resultReady> <#else>
*/ scan_failed Created with Sketch.
OSA scan failed
<#if dependencyResult.resultReady>
Libraries:
${dependencyResult.vulnerableAndOutdated}
Vulnerable and Outdated Libraries
${dependencyResult.nonVulnerableLibraries}
No Known Vulnerability Libraries
    <#if sca.scaResultReady>
  • <#if config.osaThresholdsEnabled && config.osaCriticalThreshold??> <@thresholdTooltip threshold=config.osaCriticalThreshold count=dependencyResult.criticalVulnerability!0/>
    Med Created with Sketch.
    Critical -
    ${dependencyResult.criticalVulnerability}
  • <#if config.osaThresholdsEnabled && config.osaHighThreshold??> <@thresholdTooltip threshold=config.osaHighThreshold count=dependencyResult.highVulnerability/>
    Med Created with Sketch.
    High -
    ${dependencyResult.highVulnerability}
  • <#if config.osaThresholdsEnabled && config.osaMediumThreshold??> <@thresholdTooltip threshold=config.osaMediumThreshold count=dependencyResult.mediumVulnerability/>
    Med
    Medium -
    ${dependencyResult.mediumVulnerability}
  • <#if config.osaThresholdsEnabled && config.osaLowThreshold??> <@thresholdTooltip threshold=config.osaLowThreshold count=dependencyResult.lowVulnerability/>
    Low
    Low -
    ${dependencyResult.lowVulnerability}
<#--<#if config.dependencyScannerType == "SCA">
SCA Vulnerabilities & Libraries
<#if sca.scaResultReady> <#else>
<#if config.isSastEnabled() && config.generateXmlReport &&sast.sastResultsReady> <#if sast.critical gt 0 || sast.high gt 0 || sast.medium gt 0 || sast.low gt 0>
CxSAST
Full Report
Icon Created with Sketch.
Start:
${sast.encodeXSS(sast.scanStartTime)}
Icon Created with Sketch.
End:
${sast.encodeXSS(sast.scanEndTime)}
file Created with Sketch.
Files:
${sast.encodeXSS(sast.filesScanned)}
Icon Created with Avocode.
Code Lines:
${sast.encodeXSS(sast.LOC)}
<#if sast.critical gt 0>
Critical
Critical
${sast.critical}
<#list sast.queryList as query> <#if query.severity == sast.languageMap["Critical"]>
Vulnerability Issues Found
${sast.encodeXSS(query.name)} ${query.result?size}
<#if sast.high gt 0>
High
High
${sast.high}
<#list sast.queryList as query> <#if query.severity == sast.languageMap["High"]>
Vulnerability Issues Found
${sast.encodeXSS(query.name)} ${query.result?size}
<#if sast.medium gt 0>
Med
Medium
${sast.medium}
<#list sast.queryList as query> <#if query.severity == sast.languageMap["Medium"]>
Vulnerability Issues Found
${sast.encodeXSS(query.name)} ${query.result?size}
<#if sast.low gt 0>
Low
Low
${sast.low}
<#list sast.queryList as query> <#if query.severity == sast.languageMap["Low"]>
Vulnerability Issues Found
${sast.encodeXSS(query.name)} ${query.result?size}
<#if ( config.isOsaEnabled() || config.isAstScaEnabled()) && dependencyResult.resultReady> <#if dependencyResult.dependencyCriticalCVEReportTable?size gt 0 ||dependencyResult.dependencyHighCVEReportTable?size gt 0 || dependencyResult.dependencyMediumCVEReportTable?size gt 0 || dependencyResult.dependencyLowCVEReportTable?size gt 0>
<#if dependencyResult.scannerType=="AST_SCA">
CxSCA
<#else>
Cx${sast.encodeXSS(dependencyResult.scannerType)}
Full Report
Icon Created with Sketch.
Start:
${sast.encodeXSS(dependencyResult.scanStartTime)}
Icon Created with Sketch.
End:
-
Combined Shape Created with Avocode.
Libraries:
${dependencyResult.totalLibraries}
<#if sca.scaResultReady> <#if dependencyResult.dependencyCriticalCVEReportTable?size gt 0>
Critical
Critical
${dependencyResult.criticalVulnerability}
<#list dependencyResult.dependencyCriticalCVEReportTable as cve> <#if cve.state =="NOT_EXPLOITABLE"> <#else>
Vulnerability Publish Date Library
${sast.encodeXSS(cve.name)} ${sast.encodeXSS(cve.publishDate)} ${sast.encodeXSS(cve.libraryName)}
<#if dependencyResult.dependencyHighCVEReportTable?size gt 0>
High
High
${dependencyResult.highVulnerability}
<#list dependencyResult.dependencyHighCVEReportTable as cve> <#if cve.state =="NOT_EXPLOITABLE"> <#else>
Vulnerability Publish Date Library
${sast.encodeXSS(cve.name)} ${sast.encodeXSS(cve.publishDate)} ${sast.encodeXSS(cve.libraryName)}
<#if dependencyResult.dependencyMediumCVEReportTable?size gt 0>
Med
Medium
${dependencyResult.mediumVulnerability}
<#list dependencyResult.dependencyMediumCVEReportTable as cve> <#if cve.state =="NOT_EXPLOITABLE"> <#else>
Vulnerability Publish Date Library
${sast.encodeXSS(cve.name)} ${sast.encodeXSS(cve.publishDate)} ${sast.encodeXSS(cve.libraryName)}
<#if dependencyResult.dependencyLowCVEReportTable?size gt 0>
Low
Low
${dependencyResult.lowVulnerability}
<#list dependencyResult.dependencyLowCVEReportTable as cve> <#if cve.state =="NOT_EXPLOITABLE"> <#else>
Vulnerability Publish Date Library
${sast.encodeXSS(cve.name)} ${sast.encodeXSS(cve.publishDate)} ${sast.encodeXSS(cve.libraryName)}
<#if (config.isOsaEnabled() || config.isAstScaEnabled()|| config.isSastEnabled()) && policyViolated> <#if policyViolatedCount gt 0>
Policy
Management
Policy violation Created with Sketch.
Violated ${sast.encodeXSS(policyLabel)}
${policyViolatedCount}
<#if sast.sastPolicies?size gt 0> <#list sast.sastPolicies as sastPoliciy> <#if osa.osaPolicies?size gt 0> <#list osa.osaPolicies as osaPolicy> <#if (sca.policyEvaluations)??> <#if sca.policyEvaluations?size gt 0> <#list sca.policyEvaluations as scaPolicy> <#if scaPolicy.isViolated>
Policy Rule Type # of Rule Violations First Detection Date
${sast.encodeXSS(sastPoliciy.policyName)} ${sast.encodeXSS(sastPoliciy.ruleName)} SAST ${sastPoliciy.violations?size} ${sast.encodeXSS(sastPoliciy.firstDetectionDate)}
${sast.encodeXSS(osaPolicy.policyName)} ${sast.encodeXSS(osaPolicy.ruleName)} OSA ${osaPolicy.violations?size} ${sast.encodeXSS(osaPolicy.firstDetectionDate)}
${sast.encodeXSS(scaPolicy.name)} <#list scaPolicy.rules as rule>${sast.encodeXSS(rule.name)}<#sep>, SCA ${scaPolicy.rules?size} -




© 2015 - 2024 Weber Informatics LLC | Privacy Policy