use of com.mercedesbenz.sechub.domain.scan.WebScanNetworkLocationProvider in project sechub by mercedes-benz.
the class NetsparkerProductExecutor method customize.
@Override
protected void customize(ProductExecutorData data) {
SecHubConfiguration sechubConfiguration = data.getSechubExecutionContext().getConfiguration();
data.setNetworkLocationProvider(new WebScanNetworkLocationProvider(sechubConfiguration));
data.setNetworkTargetDataProvider(installSetup);
}
use of com.mercedesbenz.sechub.domain.scan.WebScanNetworkLocationProvider in project sechub by mercedes-benz.
the class PDSWebScanProductExecutor method customize.
@Override
protected void customize(ProductExecutorData data) {
SecHubConfiguration secHubConfiguration = data.getSechubExecutionContext().getConfiguration();
data.setNetworkLocationProvider(new WebScanNetworkLocationProvider(secHubConfiguration));
ProductExecutorContext executorContext = data.getProductExecutorContext();
PDSExecutorConfigSuppport configSupport = PDSExecutorConfigSuppport.createSupportAndAssertConfigValid(executorContext.getExecutorConfig(), systemEnvironment);
data.setNetworkTargetDataProvider(configSupport);
}
Aggregations