public class CarbonetesAPI extends AbstractAPIWorker
configuration, context, httpclient, httpPost, listener, message, response, responseBody, statusCode
Constructor and Description |
---|
CarbonetesAPI(TaskListener listener,
Configuration configuration) |
Modifier and Type | Method and Description |
---|---|
String |
getBillOfMaterialsResult() |
String |
getBundleName() |
com.fasterxml.jackson.databind.JsonNode |
getCompleteAnalysisResponse() |
String |
getDefaultBundleUUID() |
Action |
getFinalAction() |
String |
getFullTag() |
String |
getGateAction() |
String |
getLicenseFinderResult() |
String |
getMalwareResult() |
String |
getPolicyEvaluationResult() |
Action |
getPolicyResult() |
String |
getSCAResult() |
String |
getSecretsAnalysisResult() |
String |
getVulnerabilitiesResult() |
void |
initialize() |
boolean |
isResultLoaded() |
void |
performComprehensiveAnalysis()
Performs Comprehensive Analysis
|
initializeAPICall, setErrorMessageFromResponse
public CarbonetesAPI(TaskListener listener, Configuration configuration)
public String getBundleName()
public String getDefaultBundleUUID()
public Action getFinalAction()
public Action getPolicyResult()
public String getFullTag()
public com.fasterxml.jackson.databind.JsonNode getCompleteAnalysisResponse()
public String getPolicyEvaluationResult()
public String getVulnerabilitiesResult()
public String getSCAResult()
public String getMalwareResult()
public String getLicenseFinderResult()
public String getSecretsAnalysisResult()
public String getBillOfMaterialsResult()
public String getGateAction()
public boolean isResultLoaded()
public void initialize()
public void performComprehensiveAnalysis() throws IOException, AbortException
IOException
- when the API call encounters problem or the connection was aborted.AbortException
- to mark the build as failed based on the configuration.Copyright © 2016–2021. All rights reserved.