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