Constructor and Description |
---|
ConfigBuilder(String apiUrl,
String user,
String password,
boolean disableTLSCertVerification,
String serverCertificate) |
public ConfigBuilder(String apiUrl, String user, String password, boolean disableTLSCertVerification, String serverCertificate) throws URISyntaxException
URISyntaxException
public Config build()
public Config.ConfigBuilder scanMeta(ScanMeta scanMeta)
public Config.ConfigBuilder timeout(int timeout)
public Config.ConfigBuilder standaloneScanner(boolean standaloneScanner)
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.