Class RunZapCrawlerStep

  • All Implemented Interfaces:
    ExtensionPoint, Describable<org.jenkinsci.plugins.workflow.steps.Step>

    public class RunZapCrawlerStep
    extends org.jenkinsci.plugins.workflow.steps.Step
    • Constructor Detail

      • RunZapCrawlerStep

        @DataBoundConstructor
        public RunZapCrawlerStep​(@CheckForNull
                                 String host,
                                 int maxChildren,
                                 String contextName,
                                 int contextId,
                                 boolean subtreeOnly,
                                 boolean recurse,
                                 int userId)
        For zapCrawler() function in Jenkinsfile
        Parameters:
        host - The host url to scan.
        maxChildren - Set a limit to the number of children scanned (optional).
        contextName - The ZAP context name to run the attack with when running without a user (optional).
        contextId - The ZAP context ID to run the attack with when running with a user (optional).
        subtreeOnly - Restricts the spider to the host url subtree (optional).
        recurse - Prevents the spider from seeding recursively (optional).
        userId - The ZAP user ID to run the crawl with, loaded from the context (optional).