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
              }
            }
          }
        }
      }
    }
  }
}
