Class RunZapAttackStep

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

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

      • RunZapAttackStep

        public RunZapAttackStep​(String scanPolicyName,
                                int userId,
                                int contextId,
                                boolean recurse,
                                boolean inScopeOnly,
                                String method,
                                String postData)
        For zapAttack() function in Jenkinsfile
        scanPolicyName - The scan policy name to use when attacking (optional). Make sure to load the policy from a file first using loadScanPolicy()
        userId - The ZAP user ID to run the attack with, loaded from the context (optional)
        contextId - The ZAP context ID to run the attack with (optional)
        recurse - Scans URLS under those captured by the proxy (optional).
        inScopeOnly - Used to constrain the scan to URLs that are in scope (ignored if a Context or User is specified) (optional).
        method - Restrict the scan to the provided method (optional).
        postData - Restrict the scan to the provided postData (optional).