Use sequence recorder
How to use the sequence recorder for Snyk API and Web web targets
Record login and navigation sequences with the Snyk API & Web Sequence Recorder browser plugin to help the scanner test authenticated and complex areas of your web application.
About the sequence recorder
The Snyk API & Web Sequence Recorder is a browser plugin that records sequences to be replayed during target scans.
A sequence is a set of actions and values that the scanner follows to access specific areas of your application. Use sequences for:
Login sequences: record authentication flows, including complex multi-step logins or two-factor authentication
Navigation sequences: record workflows to reach specific application states or sections that require user interactions
Install the sequence recorder
The Snyk API & Web Sequence Recorder is available for Chrome, Firefox, and Edge browsers.
Chrome: install the plugin from the Chrome Web Store.
Firefox: install the plugin from the Firefox Add-ons store.
Edge: install the plugin from the Edge Add-ons store.
Record a sequence
After installing the Snyk API & Web Sequence Recorder plugin, follow these steps to record a sequence:
Open your browser in incognito mode to ensure a clean session without cached data or existing authentication.
Click the plugin icon in your browser toolbar. A pop-up window appears.
Enter your target URL and click Start recording.
Note the following before recording:
If you are recording a login sequence, ensure you are logged out of your target before starting.
If you are recording a navigation sequence that requires authentication, ensure you are logged in to your target before starting.
Perform the necessary steps for your sequence. Click links and buttons using your mouse cursor, simulating how a user would interact with your application.
Avoid adding unnecessary steps that are not part of the workflow you want to record. The plugin registers each action you make in the page.
Stop the recording after you complete all steps. Click the plugin icon again and select Stop recording.
Review and edit your sequence on the Review page. The plugin provides advanced features to modify your sequence if needed.
Copy or download your sequence for later use. You can copy the sequence to your clipboard or download it as a file.
Use the recorded sequence
After recording a sequence, import it into Snyk API & Web:
For login sequences: navigate to your target's Authentication settings and configure the login sequence. Visit Configure login sequence authentication for detailed instructions.
For navigation sequences: navigate to your target's Scanner settings and add the navigation sequence. Visit Use navigation sequences for detailed instructions.
Source code
The Snyk API & Web Sequence Recorder is open source. Visit the GitHub repository to view the plugin source code.
Last updated
Was this helpful?

