Package io.jenkins.plugins.cyberchief
Class CyberChiefScanAction
- java.lang.Object
-
- io.jenkins.plugins.cyberchief.CyberChiefScanAction
-
- All Implemented Interfaces:
Action
,ModelObject
public class CyberChiefScanAction extends Object implements Action
-
-
Constructor Summary
Constructors Constructor Description CyberChiefScanAction(Secret token, String scope)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
extractStatusUrl()
String
getApiResponse()
String
getDisplayName()
String
getIconFileName()
String
getScope()
Secret
getToken()
String
getUrlName()
void
makeApiScanRequest(String apiUrl, Secret authToken, String apiName, TaskListener listener)
void
makeRaiderScanRequest(String apiUrl, Secret authToken, String raiderName, String[] regionsList, String[] frameworksList, String[] servicesList, TaskListener listener)
void
makeWebAppScanRequest(String apiUrl, Secret authToken, String scope, TaskListener listener)
void
pollStatusUrl(String statusUrl, Secret authToken, boolean requestComplete, boolean failOnHighVulns, boolean failOnHighMediumVulns, TaskListener listener)
-
-
-
Method Detail
-
getToken
public Secret getToken()
-
getScope
public String getScope()
-
getApiResponse
public String getApiResponse()
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
-
makeWebAppScanRequest
public void makeWebAppScanRequest(String apiUrl, Secret authToken, String scope, TaskListener listener)
-
makeApiScanRequest
public void makeApiScanRequest(String apiUrl, Secret authToken, String apiName, TaskListener listener)
-
makeRaiderScanRequest
public void makeRaiderScanRequest(String apiUrl, Secret authToken, String raiderName, String[] regionsList, String[] frameworksList, String[] servicesList, TaskListener listener)
-
extractStatusUrl
public String extractStatusUrl()
-
pollStatusUrl
public void pollStatusUrl(String statusUrl, Secret authToken, boolean requestComplete, boolean failOnHighVulns, boolean failOnHighMediumVulns, TaskListener listener)
-
-