Add enabling container-scanning for project with GraphQL
What does this MR do and why?
We want to help users configure their pipeline configuration to enable jobs related to Container Scanning analyzer. With this change we are introducing backend changes that allows them to do it with single GraphQL mutation.
How to set up and validate locally
- Create new project
- Go to GraphQL Explorer
- Trigger a mutation:
mutation {
configureContainerScanning(input: { projectPath: "root/ds-test-2"}) {
branch
errors
successPath
}
}
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #349902 (closed)
Edited by Alan (Maciej) Paruszewski