@Extension public class VMScanNotifier extends Notifier implements SimpleBuildStep
Modifier and Type | Class and Description |
---|---|
static class |
VMScanNotifier.DescriptorImpl |
Publisher.DescriptorExtensionListImpl
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
BuildStep.PublisherList
ExtensionPoint.LegacyInstancesAreScopedToHudson
BUILDERS, PUBLISHERS
Constructor and Description |
---|
VMScanNotifier() |
VMScanNotifier(String apiServer,
String credsId,
String hostIp,
String ec2ConnDetails,
String ec2Id,
String scannerName,
String scanName,
String optionProfile,
String network,
String proxyServer,
int proxyPort,
String proxyCredentialsId,
boolean useProxy,
boolean useHost,
boolean useEc2,
String pollingInterval,
String vulnsTimeout,
int bySev,
boolean failBySev,
boolean failByQids,
boolean failByCves,
String qidList,
String cveList,
boolean failByCvss,
String byCvss,
String cvssBase,
boolean doExclude,
String excludeBy,
String excludeList,
boolean evaluatePotentialVulns,
boolean failByPci,
String webhookUrl,
boolean runConnector) |
getDescriptor
all, getProjectAction, needsToRunAfterFinalized, prebuild
getProjectAction, getProjectActions, perform, perform, prebuild
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
perform, perform, requiresWorkspace
getProjectAction, getProjectActions, perform, prebuild
public VMScanNotifier()
@DataBoundConstructor public VMScanNotifier(String apiServer, String credsId, String hostIp, String ec2ConnDetails, String ec2Id, String scannerName, String scanName, String optionProfile, String network, String proxyServer, int proxyPort, String proxyCredentialsId, boolean useProxy, boolean useHost, boolean useEc2, String pollingInterval, String vulnsTimeout, int bySev, boolean failBySev, boolean failByQids, boolean failByCves, String qidList, String cveList, boolean failByCvss, String byCvss, String cvssBase, boolean doExclude, String excludeBy, String excludeList, boolean evaluatePotentialVulns, boolean failByPci, String webhookUrl, boolean runConnector)
public String getPlatform()
@DataBoundSetter public void setPlatform(String platform)
public String getPollingInterval()
@DataBoundSetter public void setPollingInterval(String pollingInterval)
public String getVulnsTimeout()
@DataBoundSetter public void setVulnsTimeout(String vulnsTimeout)
public String getApiServer()
@DataBoundSetter public void setApiServer(String apiServer)
public boolean getFailByQids()
@DataBoundSetter public void setFailByQids(boolean failByQids)
public boolean getFailByCves()
@DataBoundSetter public void setFailByCves(boolean failByCves)
public boolean getFailByCvss()
@DataBoundSetter public void setFailByCvss(boolean failByCvss)
public String getByCvss()
@DataBoundSetter public void setByCvss(String byCvss)
public String getCvssBase()
@DataBoundSetter public void setCvssBase(String cvssBase)
public String getQidList()
@DataBoundSetter public void setQidList(String qidList)
public String getCveList()
@DataBoundSetter public void setCveList(String cveList)
public int getBySev()
@DataBoundSetter public void setBySev(int bySev)
public boolean getFailBySev()
@DataBoundSetter public void setFailBySev(boolean failBySev)
public String getCredsId()
@DataBoundSetter public void setCredsId(String cred)
public String getHostIp()
@DataBoundSetter public void setHostIp(String hostIp)
public String getEc2Id()
@DataBoundSetter public void setEc2Id(String ec2Id)
public String getEc2ConnDetails()
@DataBoundSetter public void setEc2ConnDetails(String ec2ConnDetails)
public String getEc2ConnName()
@DataBoundSetter public void setEc2ConnName(String ec2ConnName)
public String getEc2ConnAccountId()
@DataBoundSetter public void setEc2ConnAccountId(String ec2ConnAccountId)
public String getEc2ConnId()
@DataBoundSetter public void setEc2ConnId(String ec2ConnId)
public boolean getRunConnector()
@DataBoundSetter public void setRunConnector(boolean runConnector)
public String getScannerName()
@DataBoundSetter public void setScannerName(String scannerName)
public String getScanName()
@DataBoundSetter public void setScanName(String scanName)
public String getOptionProfile()
@DataBoundSetter public void setOptionProfile(String optionProfile)
public String getNetwork()
@DataBoundSetter public void setNetwork(String network)
public String getProxyServer()
@DataBoundSetter public void setProxyServer(String proxyServer)
public int getProxyPort()
@DataBoundSetter public void setProxyPort(int proxyPort)
public String getProxyCredentialsId()
@DataBoundSetter public void setProxyCredentialsId(String proxyCredentialsId)
public boolean getUseProxy()
@DataBoundSetter public void setUseProxy(boolean useProxy)
public boolean getUseHost()
@DataBoundSetter public void setUseHost(boolean useHost)
public boolean getUseEc2()
@DataBoundSetter public void setUseEc2(boolean useEc2)
public boolean getDoExclude()
@DataBoundSetter public void setDoExclude(boolean doExclude)
public String getExcludeBy()
@DataBoundSetter public void setExcludeBy(String excludeBy)
public String getExcludeList()
@DataBoundSetter public void setExcludeList(String excludeList)
public boolean getEvaluatePotentialVulns()
@DataBoundSetter public void setEvaluatePotentialVulns(boolean evaluatePotentialVulns)
public boolean getFailByPci()
@DataBoundSetter public void setFailByPci(boolean failByPci)
public String getWebhookUrl()
@DataBoundSetter public void setWebhookUrl(String webhookUrl)
public com.google.gson.JsonObject getCriteriaAsJsonObject()
public BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService
in interface BuildStep
public String getPluginVersion()
public void perform(@Nonnull Run<?,?> run, @Nonnull FilePath filePath, @Nonnull Launcher launcher, @Nonnull TaskListener taskListener) throws InterruptedException, IOException
perform
in interface SimpleBuildStep
InterruptedException
IOException
public void launchHostScan(Run<?,?> run, TaskListener listener, Item project) throws Exception
Exception
public boolean runCtorDecision(String ec2ConnState, TaskListener listener) throws Exception
Exception
Copyright © 2016–2022 Qualys Inc.. All rights reserved.