Skip to content

GitLab Next

    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Menu
    Projects Groups Snippets
  • Get a free trial
  • Sign up
  • Login
  • 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
  • #33915
Closed
Open
Created Oct 11, 2019 by Cameron Swords@cam_swordsDeveloper2 of 2 tasks completed2/2 tasks

Remove DAST report legacy ZAProxy fields

Context

The DAST tool is migrating from a custom ZAProxy format to use the Common Report Format. This will enable the Secure team to reuse key parts of our codebase.

The migration has three stages:

  1. DAST will create a gl-dast-report.json report containing the legacy ZAProxy fields and the Common Report Fields. #14053 (closed)
  2. The GitLab Rails codebase will use the Common Report Format for DAST instead of the ZAProxy fields. #33913 (closed)
  3. DAST will remove the legacy ZAProxy fields from the report. #33915 (closed)

This issue represents step 3. of the migration.

Prerequisites to removing fields:

  • DAST diffs must not be performed on the front end. This logic has been moved to the backend, but please make sure the front end code has been removed.
  • Some fields (e.g. urlsInScope) have not yet been included in the Common Report Format. This issue can only progress once all ZAP fields have been deprecated. This field will not be included in the Secure Report Format.

Technical Details

Use config.dast_major_version >=2 to ensure that the fields @generated, @version, site and spider are not present in reports generated by DAST 2.x

Edited Jan 25, 2021 by Avielle Wolfe
Assignee
Assign to
Time tracking