Search in sources :

Example 1 with WebScanNetworkLocationProvider

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);
}
Also used : SecHubConfiguration(com.mercedesbenz.sechub.sharedkernel.configuration.SecHubConfiguration) WebScanNetworkLocationProvider(com.mercedesbenz.sechub.domain.scan.WebScanNetworkLocationProvider)

Example 2 with WebScanNetworkLocationProvider

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);
}
Also used : SecHubConfiguration(com.mercedesbenz.sechub.sharedkernel.configuration.SecHubConfiguration) ProductExecutorContext(com.mercedesbenz.sechub.domain.scan.product.ProductExecutorContext) WebScanNetworkLocationProvider(com.mercedesbenz.sechub.domain.scan.WebScanNetworkLocationProvider)

Aggregations

WebScanNetworkLocationProvider (com.mercedesbenz.sechub.domain.scan.WebScanNetworkLocationProvider)2 SecHubConfiguration (com.mercedesbenz.sechub.sharedkernel.configuration.SecHubConfiguration)2 ProductExecutorContext (com.mercedesbenz.sechub.domain.scan.product.ProductExecutorContext)1