use of com.checkmarx.flow.dto.report.ScanReport in project cx-flow by checkmarx-ltd.
the class SCARemoteRepoScanSteps method validateLogger.
@And("SCA scan report entry is created in Json Logger")
public void validateLogger() {
try {
ScanReport report = getReportObject();
assertEquals(AnalyticsReport.SCA, report.getScanInitiator());
assertEquals(scaResults.getScanId(), report.getScanId());
assertEquals(OperationStatus.SUCCESS, report.getScanResult().getStatus());
} catch (CheckmarxException | JsonProcessingException e) {
fail(e.getMessage());
}
}
Aggregations