summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/vue_shared/security_reports/queries/security_report_download_paths.query.graphql
blob: 310d8d8890491942ad9873aa6cd55a1f1a971f14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
query securityReportDownloadPaths(
  $projectPath: ID!
  $iid: String!
  $reportTypes: [SecurityReportTypeEnum!]
) {
  project(fullPath: $projectPath) {
    mergeRequest(iid: $iid) {
      headPipeline {
        jobs(securityReportTypes: $reportTypes) {
          nodes {
            name
            artifacts {
              nodes {
                downloadPath
                fileType
              }
            }
          }
        }
      }
    }
  }
}