Iteration 1: [Backend Issue] Open more info drawer from CodeQuality Inline-diff indicator
Provide Data to be able to display drawer in: #415112[Overview_-_click_SAST_finding.png]
SAST MR Widget Example Link: jannik_lehmann/sast-inline-findings-example!1 (merged)
A GraphQl query to display SAST-finding detail Information already exists. SAST Query:
query pipelineFinding($fullPath: ID!, $pipelineId: ID!, $uuid: String!) {
project(fullPath: $fullPath) {
id
pipeline(iid: $pipelineId) {
id
securityReportFinding(uuid: $uuid) {
id: uuid
stateComment
dismissedAt
dismissedBy {
id
name
username
webUrl
__typename
}
mergeRequest {
id
iid
webUrl
createdAt
author {
id
name
username
webUrl
__typename
}
__typename
}
issueLinks {
nodes {
id
linkType
issue {
id
iid
webUrl
createdAt
author {
id
name
username
webUrl
__typename
}
__typename
}
__typename
}
__typename
}
vulnerability {
id
stateTransitions(last: 1) {
nodes {
author {
id
name
username
webUrl
__typename
}
createdAt
comment
toState
__typename
}
__typename
}
__typename
}
__typename
}
__typename
}
__typename
}
}
To enable the same feature for CodeQuality the above query needs to be enhanced to do the same thing for CodeQuality findings.
Edited by Jannik Lehmann