Skip to main content

VSCode Tutorial - Login via User Credentials

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

VS_32.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.

    VS_33.png
  2. Enter the CxSAST Server URL.

    VS_34.png
  3. Enter the CxSAST Server alias.

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

    VS_36.png
  5. Select Credentials as the login method.

    VS_37.png
  6. Enter the CxSAST username.

    VS_38.png
  7. Enter the CxSAST password.

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

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