The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.

For a list of other such plugins, see the Pipeline Steps Reference page.

ZAP Pipeline Plugin

archiveZap: Create & Archive ZAP report

  • failAllAlerts : int
  • failHighAlerts : int
  • failMediumAlerts : int
  • failLowAlerts : int
  • falsePositivesFilePath : String
  • keepAlive : boolean

configurePassiveRules: Configures the list of passive rules to apply / avoid (https://www.zaproxy.org/docs/alerts/)

  • action : String
  • ids : Array / List of int

    importZapScanPolicy: Import a ZAP scan policy from the specified path

    • policyPath : String

    importZapUrls: Load a list of URLs for ZAP to use from the specified path

    • path : String

    runZapAttack: Run ZAP attack by changing to attack mode and starting the attack

    • scanPolicyName : String
    • userId : int
    • contextId : int
    • recurse : boolean
    • inScopeOnly : boolean
    • method : String
    • postData : String

    runZapCrawler: Run ZAP crawler on a specified host

    • host : String
    • maxChildren : int
    • contextName : String
    • contextId : int
    • subtreeOnly : boolean
    • recurse : boolean
    • userId : int

    startZap: Start ZAP process

    • host : String
    • port : int
    • timeout : int
    • zapHome : String
    • allowedHosts : Array / List of String
      • sessionPath : String
      • externalZap : boolean
      • rootCaFile : String
      • additionalConfigurations : Array / List of String

        stopZap: Stop the ZAP instance.


          Was this page helpful?

          Please submit your feedback about this page through this quick form.

          Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?

              


          See existing feedback here.