Bug Triage and Reporting
Using the GitLab GraphQL API for vulnerability reporting

Using the GitLab GraphQL API for vulnerability reporting

2/2/2022 · Fernando Diaz

What this post added

This post details how to use the GitLab GraphQL API, specifically the `vulnerabilityCreate` mutation, to programmatically create vulnerabilities. It provides a step-by-step guide with `curl` commands, including obtaining a personal access token and project ID. Additionally, it outlines the process of building a custom vulnerability reporting application using GoLang and deploying it to Kubernetes via the GitLab Kubernetes Agent, demonstrating end-to-end integration of API capabilities.

Read the original post ↗