This add-on facilitates the recording and scanning sequences of requests. In some web applications it is necessary for particular events or pages to be accessed or completed in a certain order. By recording a sequence and then scanning it, it is possible to ensure such flows happen in an expected manner.
The sequence active scanner will replay the sequence it is attacking. If a sequence is selected in the “Scripts” tab then the result of running the script will be shown in the “Zest Results” tab. If the sequence includes Zest assertions then these should give you a good indication of whether or not the sequence is running in the same way as when it was recorded.
The active scanner will be run on each step of sequence, and each scan will complete before the next step is performed. If you are using the desktop then you will be able to see the scans for each step in the “Active Scan” tab - they will be labelled as “<sequence name>/Step <id>”.
Replaying each step, and attacking it before progressing to the next step, significantly increases the chances of the active scan successfully attacking the sequence. However you should check that the sequence did complete successfully and that the active scan requests were not automatically rejected. The reports that support sequences will include information that can help you determine this.
This add-on supports the Automation Framework.
One sequence script should be created for each multi-step operation in the application/site being tested. There are several options for creating sequences:
When importing the sequences it is possible to choose to create assertions for each HTTP message of the sequence:
You can active scan sequences via:
This dialog is accessible via the “Tools” menu, and allows you to actively scan sequences.
The name of the scan policy to use for active scanning. The “Sequence” policy included with this add-on is the recommented one to use.
The sequences to active scan. You must select at least one sequence. Selected sequences will be actively scanned in order.
The following reports can include sequence scanning results:
ZAP Multi-step Blog - note that this blog is for an earlier version of this add-on and is somewhat out of date.