Constructor and Description |
---|
ConfigBuilder(ControllerEndpointUrl controllerEndpointUrl) |
ConfigBuilder(String nickname,
String controllerEndpointUrl,
String user,
hudson.util.Secret password,
Boolean disableTLSCertVerification,
String serverCertificate,
int timeout) |
public ConfigBuilder(String nickname, String controllerEndpointUrl, String user, hudson.util.Secret password, Boolean disableTLSCertVerification, String serverCertificate, int timeout) throws URISyntaxException
URISyntaxException
public ConfigBuilder(ControllerEndpointUrl controllerEndpointUrl) throws URISyntaxException
URISyntaxException
public Config build()
public Config.ConfigBuilder scanMeta(ScanMeta scanMeta)
public Config.ConfigBuilder standaloneScanner(boolean standaloneScanner)
public Config.ConfigBuilder sendReportToController(boolean sendReportToController)
public Config.ConfigBuilder isLocal(boolean isLocal)
public Config.ConfigBuilder scannerRegistryURL(String scannerRegistryURL)
public Config.ConfigBuilder scannerImage(String scannerImage)
public Config.ConfigBuilder scannerRegistryUser(String scannerRegistryUser)
public Config.ConfigBuilder scannerRegistryPassword(hudson.util.Secret scannerRegistryPassword)
public Config.ConfigBuilder customizedRatingScale(boolean value)
public Config.ConfigBuilder highSeverityThreshold(Double value)
public Config.ConfigBuilder mediumSeverityThreshold(Double value)
public Config.ConfigBuilder registry(Registry registry)
public Config.ConfigBuilder repository(String repository)
public Config.ConfigBuilder tag(String tag)
public Config.ConfigBuilder scanLayers(boolean scanLayers)
public Config.ConfigBuilder scanTimeout(Integer scanTimeout)
public Config.ConfigBuilder numberOfHighSeverityToFail(String numberOfHighSeverityToFail)
public Config.ConfigBuilder numberOfMediumSeverityToFail(String numberOfMediumSeverityToFail)
public Config.ConfigBuilder nameOfVulnerabilityToFailOne(String nameOfVulnerabilityToFailOne)
public Config.ConfigBuilder nameOfVulnerabilityToFailTwo(String nameOfVulnerabilityToFailTwo)
public Config.ConfigBuilder nameOfVulnerabilityToFailThree(String nameOfVulnerabilityToFailThree)
public Config.ConfigBuilder nameOfVulnerabilityToFailFour(String nameOfVulnerabilityToFailFour)
public Config.ConfigBuilder nameOfVulnerabilityToExemptOne(String nameOfVulnerabilityToExemptOne)
public Config.ConfigBuilder nameOfVulnerabilityToExemptTwo(String nameOfVulnerabilityToExemptTwo)
public Config.ConfigBuilder nameOfVulnerabilityToExemptThree(String nameOfVulnerabilityToExemptThree)
public Config.ConfigBuilder nameOfVulnerabilityToExemptFour(String nameOfVulnerabilityToExemptFour)
Copyright © 2016–2024. All rights reserved.