Set GitLab Base Directories for a Pipeline Scan

Pipeline Scan

You can set environment variables for GitLab base directories to enable a Pipeline Scan to generate GitLab issues of discovered flaws when scanning Java applications.

You must complete this task before you can use the --gl_issue_generation parameter when scanning Java applications.

To configure GitLab base directories for Java applications:

  1. Select Settings > CI/CD > Variables.
  2. Set these environment variables:
    • SRC_ROOT: the filepath typically is /src/main/java/.
    • JSP_ROOT: the filepath typically is /src/main/webapp/.