The Query Viewer displays all Checkmarx default queries and custom queries, with their descriptions and source code. You can import and export custom queries as XML files.
To export queries:
Go to Management > Scan Settings > Query Viewer:
To keep track of changes to query sets, you can select a language (or one of its child items) and view the Hash and Change Date of the last changes to the language's query set.
To view a query's Description and Source code, select the query.
Select organizational custom queries to be exported
Click Export Queries.
Save the exported XML file.
To import queries:
Click Import Queries.
Select the XML file to be imported.
If the imported query has the same name as an existing one, the existing query will be overridden.