Skip to content

GitLab Next

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 43,122
    • Issues 43,122
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,377
    • Merge requests 1,377
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.org
  • GitLabGitLab
  • Issues
  • #273141
Closed
Open
Created Oct 27, 2020 by Craig Smith@craigmsmith🌴Developer

Allow DAST_PATHS_FILE to be an artifact

Release notes

Problem to solve

DAST_PATHS_FILE is only accessible from the /zap/wrk directory. This means the list of URLs to scan must be generated and committed to the project repository. However, it's not always possible to generate this list beforehand and so it's necessary to allow users to generate the file as an artifact and then reference that artifact using DAST_PATHS_FILE.

See 45114#note_433171269 for the full conversation.

Intended users

  • Sasha (Software Developer)
  • Devon (DevOps Engineer)
  • Sidney (Systems Administrator)
  • Sam (Security Analyst)
  • Alex (Security Operations Engineer)
  • Simone (Software Engineer in Test)
  • Allison (Application Ops)
  • Priyanka (Platform Engineer)

Proposal

DAST_PATHS_FILE should look in both the /builds directory and /zap/wrk directory.

If DAST_PATHS_FILE is set to urls_to_scan.txt, DAST would look for the file /build/urls_to_scan.txt then if that file doesn't exist, look in /zap/wrk/urls_to_scan.txt

Documentation

The DAST docs should be updated to mention that DAST_PATHS_FILE will look in the /builds directory

Edited Mar 03, 2021 by Avielle Wolfe
Assignee
Assign to
Time tracking