Skip to main content

VSCode Tutorial - Login via User Credentials

Individual login is available only, if it is selected in the Extension settings.

6447039352.png

Goal

This tutorial is designed to teach how to log in individually via user name and password.

Prerequisites

  • VSCode 1.44 or later

  • CxSAST 9.0 or higher with known user credentials

  • Source code available

  • Checkmarx VSCode extension installed and enabled.

Procedure

1. Click <+> to add a new CX PORTAL.

2083783221.png

2. Enter the CxSAST Server URL.

2083488323.png

3. Enter the CxSAST Server alias.

2084176195.png

4. Click the Lock icon. You are asked to select the login method.

2083783232.png

5. Select Credentials as the login method.

6447988924.png

6. Enter the CxSAST Username.

2084176219.png

7. Enter the CxSAST Password.

2083783281.png

8. Check the settings.json file to make sure that the username and password are stored. The password is hashed.

2274754645.png

9. Scan a new project and make sure that the scan is completed successfully and the results are retrieved.