Package org.jenkinsci.plugins.fodupload
Class FortifyDastFreeStyleBuildStep
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Publisher
-
- hudson.tasks.Recorder
-
- org.jenkinsci.plugins.fodupload.FortifyDastFreeStyleBuildStep
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<Publisher>
,BuildStep
,SimpleBuildStep
public class FortifyDastFreeStyleBuildStep extends Recorder implements SimpleBuildStep
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FortifyDastFreeStyleBuildStep.FortifyDastFreeStyleBuilderDescriptor
-
Nested classes/interfaces inherited from class hudson.tasks.Publisher
Publisher.DescriptorExtensionListImpl
-
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Nested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
-
-
Field Summary
-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Constructor Summary
Constructors Constructor Description FortifyDastFreeStyleBuildStep(boolean overrideGlobalConfig, String username, String personalAccessToken, String tenantId, String webSiteUrl, String dastEnv, String scanTimeBox, String excludedUrls, String scanPolicy, boolean scanScope, String selectedScanType, String selectedDynamicTimeZone, boolean webSiteNetworkAuthSettingEnabled, boolean enableRedundantPageDetection, String networkAuthUserName, String loginMacroId, String workflowMacroId, String workflowMacroHosts, String networkAuthPassword, String userSelectedApplication, String userSelectedRelease, String assessmentTypeId, String entitlementId, String entitlementFrequencyType, String userSelectedEntitlement, String selectedNetworkAuthType, boolean timeBoxChecked, String selectedApiType, String openApiRadioSource, String openApiFileId, String openApiUrl, String openApiKey, String postmanFileId, String graphQlRadioSource, String graphQLFileId, String graphQLUrl, String graphQLSchemeType, String graphQlApiHost, String graphQlApiServicePath, String grpcFileId, String grpcSchemeType, String grpcApiHost, String grpcApiServicePath, String openApiFilePath, String postmanFilePath, String graphQlFilePath, String grpcFilePath, boolean requestLoginMacroFileCreation, String loginMacroPrimaryUserName, String loginMacroPrimaryPassword, String loginMacroSecondaryUsername, String loginMacroSecondaryPassword, boolean requestFalsePositiveRemoval)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FortifyDastFreeStyleBuildStep.FortifyDastFreeStyleBuilderDescriptor
getDescriptor()
boolean
getOverrideGlobalConfig()
String
getPersonalAccessToken()
String
getReleaseId()
String
getSelectedReleaseType()
String
getTenantId()
String
getUsername()
String
getUserSelectedApplication()
String
getUserSelectedRelease()
String
getUseSelectedApiType()
void
perform(Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener)
boolean
prebuild(AbstractBuild<?,?> build, BuildListener listener)
-
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, perform
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, getRequiredMonitorService, perform
-
Methods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
-
-
-
Constructor Detail
-
FortifyDastFreeStyleBuildStep
@DataBoundConstructor public FortifyDastFreeStyleBuildStep(boolean overrideGlobalConfig, String username, String personalAccessToken, String tenantId, String webSiteUrl, String dastEnv, String scanTimeBox, String excludedUrls, String scanPolicy, boolean scanScope, String selectedScanType, String selectedDynamicTimeZone, boolean webSiteNetworkAuthSettingEnabled, boolean enableRedundantPageDetection, String networkAuthUserName, String loginMacroId, String workflowMacroId, String workflowMacroHosts, String networkAuthPassword, String userSelectedApplication, String userSelectedRelease, String assessmentTypeId, String entitlementId, String entitlementFrequencyType, String userSelectedEntitlement, String selectedNetworkAuthType, boolean timeBoxChecked, String selectedApiType, String openApiRadioSource, String openApiFileId, String openApiUrl, String openApiKey, String postmanFileId, String graphQlRadioSource, String graphQLFileId, String graphQLUrl, String graphQLSchemeType, String graphQlApiHost, String graphQlApiServicePath, String grpcFileId, String grpcSchemeType, String grpcApiHost, String grpcApiServicePath, String openApiFilePath, String postmanFilePath, String graphQlFilePath, String grpcFilePath, boolean requestLoginMacroFileCreation, String loginMacroPrimaryUserName, String loginMacroPrimaryPassword, String loginMacroSecondaryUsername, String loginMacroSecondaryPassword, boolean requestFalsePositiveRemoval) throws Exception
- Throws:
Exception
-
-
Method Detail
-
prebuild
public boolean prebuild(AbstractBuild<?,?> build, BuildListener listener)
- Specified by:
prebuild
in interfaceBuildStep
- Overrides:
prebuild
in classBuildStepCompatibilityLayer
-
perform
public void perform(@Nonnull Run<?,?> build, @Nonnull FilePath workspace, @Nonnull Launcher launcher, @Nonnull TaskListener listener)
- Specified by:
perform
in interfaceSimpleBuildStep
-
getSelectedReleaseType
@JavaScriptMethod public String getSelectedReleaseType()
-
getReleaseId
@JavaScriptMethod public String getReleaseId()
-
getUsername
public String getUsername()
-
getPersonalAccessToken
public String getPersonalAccessToken()
-
getTenantId
public String getTenantId()
-
getOverrideGlobalConfig
public boolean getOverrideGlobalConfig()
-
getUserSelectedRelease
@JavaScriptMethod public String getUserSelectedRelease()
-
getUseSelectedApiType
@JavaScriptMethod public String getUseSelectedApiType()
-
getUserSelectedApplication
@JavaScriptMethod public String getUserSelectedApplication()
-
getDescriptor
public FortifyDastFreeStyleBuildStep.FortifyDastFreeStyleBuilderDescriptor getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<Publisher>
- Overrides:
getDescriptor
in classRecorder
-
-