Running a Scan from Visual Studio

You can manually run a scan from Visual Studio for bound or unbound solutions and projects, for the whole project or for an individual folder or file.

The user running the Visual Studio plugin scan must have both 'Scanner' and 'Reviewer' role permissions.

To manually run a code scan from Visual Studio, do one of the following:

  • To run a full scan of the whole project, or of the selected folder or file: In Visual Studio, right-click the project, folder, or file, and select CxViewer > Scan.
  • To run an incremental scan of only the new and modified files within a project or folder that was previously scanned: In Visual Studio, right-click the project or folder and select CxViewer > Incremental Scan.

If the project is unbound, configure the new CxSAST project to be created:

Click OK.

The project is uploaded to the CxSAST server and scanned. It appears in the web interface queue, and when complete, appears as a scan of a new project.

Have a question?  Want to report an issue?  Contact Checkmarx support