- Checkmarx Documentation
- Checkmarx SAST
- SAST User Guide
- Creating and Managing Projects
- Managing Queries
- Managing Query Presets
Managing Query Presets
Presets are sets of queries that you can select when Creating and Configuring a CxSAST Project to be used when scanning. Predefined presets are provided, and you can configure your own. You can also import and export presets.
To create a new Preset:
1. Go to Settings > Scan Settings > Preset Manager, and click <Create New Preset>.
2. Type a preset Name and click <OK>.
3. Select a code language.
4. Select queries to be included in the preset.
5. Click <Save>.
To export a preset:
1. Go to Settings > Scan Settings, and select the preset to be exported.
2. Click Export Preset.
3. Save the exported XML file.
To import a preset:
1. Go to Settings > Scan Settings, and click Import Preset.
2. Choose the preset XML file to be imported.
Danger
If the imported preset includes a query that has the same name as an existing one, the existing query will be overridden.