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