Skip to content

GitLab Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
GitLab
GitLab
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 34,892
    • Issues 34,892
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 1,217
    • Merge Requests 1,217
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Metrics
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GitLab.org
  • GitLabGitLab
  • Issues
  • #11137

Closed
Open
Opened Apr 12, 2019 by Cody West@codyDeveloper

Make SAST (with DinD) compatible with Maven private dependencies

Problem to solve

Some projects have dependencies that are hosted in a private repo. We don't currently have a way, or at least a documented way, of propagating authentication into the SAST container and to make them used by the analyzing command.

Intended users

Persona: Software developer Persona: DevOps Engineer

Proposal

Generate a .env file with the full list of environment variables from the outer Docker container before launching the inner container for analysis, and ensure that docker run loads that file. (It should do this automatically.) This will allow users to propagate credentials for private repositories into the analysis container.

This will also let us remove the long list of environment variables we are currently passing into the inner container manually.

Documentation

Add a note to our documentation on SAST environment variables.

What does success look like, and how can we measure that?

  • all or most supported languages have a way to support private dependencies

What is the type of buyer?

GitLab Ultimate

Links / references

Here's another issue where we're trying to support private Maven dependencies in SAST: https://gitlab.com/gitlab-org/gitlab-ee/issues/6711

Edited Jan 09, 2020 by Nicole Schwartz
Assignee
Assign to
12.6
Milestone
12.6 (Past due)
Assign milestone
Time tracking
None
Due date
None
Reference: gitlab-org/gitlab#11137