Skip to content

DAST URL CSV Download - Backend

Summary

this is the main backend issue for #220407 (closed)

Implementation Plan

  • Add null implementation of scannedResourcesCsvPath to allow frontend to merge
  • Add endpoint that returns a CSV representation of the scanned resources
  • Ensure it has view pipeline permissions
  • Benchmark how long it takes to generate different sizes or report note_367793104
  • add csv report path to securityReportSummary [1]

[1]

query{
  project(fullPath: "root/rails-goat"){
    pipeline(iid: 2){
      securityReportSummary{
        dast{
          scannedResourcesCsvPath
          scannedResourcesCount
          scannedResources(limit: 20){
            nodes{
              method
              url
            }
          }
        }
      }
    }
  }
}

/cc @craigmsmith

Edited by Craig Smith