- Checkmarx Documentation
- Checkmarx One
- Checkmarx One User Guide
- DAST (Dynamic Application Software Testing)
- Configuration File
- Generate a ZAP Configuration File
Generate a ZAP Configuration File
In this section, we explain how a ZAP configuration file can be generated.
Install ZAP on your local machine. Download ZAP from the following link: https://www.zaproxy.org/download/
Open ZAP.
In the hierarchy under Contexts, double-click Default Context.
Define the URL to do the test. Select the Include in Context option, click Add, enter the URL, and click Add.
Select Authentication and define the type of authentication you want to use and then click OK.
Create the user(s) you want to use on the scans.
Click the + button at the bottom of the window and then click Automation.
Click the New Plan button.
Select one of the following profiles:
For a web scan, select the Full Scan profile.
For an API scan select the OpenAPI profile.
Notice
The type of jobs presented will depend on the add-ons installed. If some of the intended jobs don't appear go to the manage add-on option and install them.
Click Save.
Double-click on each job if you want to change the context associate or in some cases (Spider Ajax for example) to determine the user to use in the job.
To save the plan, click the Save As button and then choose the folder.
Here are two examples of configuration files. One for a web scan and the second for an API scan. They are viewable in a text editor like Notepad.