(added scanQueuing and scanQueuingTimeout  size/M)  PR changes were overridden by
(Add scanResubmit property to config-as-code)
@@ -73,6 +73,7 @@ public abstract class AbstractVulnerabilityScanner implements VulnerabilityScann
String scanComment = getScanComment(scanRequest);
if (existingScanId != UNKNOWN_INT) {
+ if(!getCxPropertiesBase().getScanQueuing()) {
Boolean scanResubmit = false;
if (scanRequest.getScanResubmit() != null) {
scanResubmit = Boolean.parseBoolean(scanRequest.getScanResubmit());
@@ -93,6 +94,9 @@ public abstract class AbstractVulnerabilityScanner implements VulnerabilityScann
}else {
scanId = getScannerClient().createScan(cxScanParams, scanComment);
}
+ } else {
+ scanId = getScannerClient().createScan(cxScanParams, scanComment);
+ }
return getScanResults(scanRequest, projectId, scanId);
