Set GitLab Base Directories for a Pipeline Scan

Pipeline Scan

Publication
Pipeline Scan
Edition date
2023-01-27
Last publication
2023-01-27T02:46:34.617789

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 complete this task:

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