[{"data":1,"prerenderedAt":832},["ShallowReactive",2],{"/en-us/blog/how-to-leverage-gitlab-duo-for-enhanced-security-reporting":3,"navigation-en-us":45,"banner-en-us":456,"footer-en-us":466,"blog-post-authors-en-us-Valentine Mairet|David O'Regan":707,"blog-related-posts-en-us-how-to-leverage-gitlab-duo-for-enhanced-security-reporting":734,"blog-promotions-en-us":771,"next-steps-en-us":822},{"id":4,"title":5,"authorSlugs":6,"authors":9,"body":12,"category":13,"categorySlug":13,"config":14,"content":18,"date":22,"description":19,"extension":29,"externalUrl":30,"featured":16,"heroImage":21,"isFeatured":16,"meta":31,"navigation":32,"path":33,"publishedDate":22,"rawbody":34,"seo":35,"slug":15,"stem":39,"tagSlugs":40,"tags":43,"template":17,"updatedDate":30,"__hash__":44},"blogPosts/en-us/blog/how-to-leverage-gitlab-duo-for-enhanced-security-reporting.yml","How to leverage GitLab Duo for enhanced security reporting",[7,8],"valentine-mairet","david-oregan",[10,11],"Valentine Mairet","David O'Regan","Good security reporting is crucial to maintain a good security posture because it provides detailed insights into incidents. With this information, organizations can better understand vulnerabilities, improve defenses, and prevent similar threats in the future. At GitLab, the [Security division](https://handbook.gitlab.com/handbook/security/#division-structure) has created use cases for GitLab Duo to improve reporting capabilities and enhance operational efficiency. \n\n## GitLab Duo’s security capabilities\n\nThe GitLab Security division uses GitLab’s built-in [incidents](https://docs.gitlab.com/operations/incident_management/incidents/) to manage and report on security incidents. Incidents are handled, documented, and resolved in GitLab, enabling the use of AI-driven [GitLab Duo](https://about.gitlab.com/gitlab-duo-agent-platform/) as an assistant when performing security operations like incident response. \n\nParticularly in incident analysis and reporting, GitLab Duo is highly efficient and accurate at creating proper documentation and is a great “pair programmer” when solving security incidents.\n\n## GitLab Duo features for security reporting\n\nGitLab Duo offers many features that enhance security reporting:\n\n- **Root Cause Analysis:** GitLab Duo can explain vulnerabilities and understand the context of an incident issue, making it an excellent assistant for performing root cause analyses of security incidents.\n- **Vulnerability Explanation:** Provides detailed insights into identified vulnerabilities, including potential exploitation methods and remediation steps. This feature aids developers and security analysts in understanding and addressing security issues effectively.\n- **Vulnerability Resolution:** Assists in fixing vulnerabilities by generating merge requests that address the identified issues, streamlining the remediation process.\n- **Code Explanation:** Helps users comprehend specific code segments by offering clear explanations, which is particularly useful when dealing with complex or unfamiliar codebases.\n- **Test Generation:** Facilitates early bug detection by generating tests for selected code, ensuring that security vulnerabilities are identified and addressed promptly.\n- **Refactor Code:** Suggests improvements or refactoring for selected code to enhance its quality and maintainability, contributing to a more secure codebase.\n- **Fix Code:** Identifies and rectifies quality issues such as bugs or typos in the selected code, helping maintain a robust and secure codebase.\n\n## Practical use cases\n\nFor the purpose of demonstrating practical use cases, the Security Incident Response Team created a dummy incident with following limited information:\n\n![Incident report](https://res.cloudinary.com/about-gitlab-com/image/upload/v1750098346/Blog/Content%20Images/Blog/Content%20Images/image6_aHR0cHM6_1750098346297.png)\n\nSeveral comments were added as the team would normally proceed:\n\n![Comments added to report](https://res.cloudinary.com/about-gitlab-com/image/upload/v1750098346/Blog/Content%20Images/Blog/Content%20Images/image1_aHR0cHM6_1750098346297.png)\n\n### Incident reporting\n\nGitLab Duo is able to comprehensively keep track of all information inside an incident issue, including the issue description, comments, and labels. When handling security incidents, information often is all over the place and can change over time. It can easily get lost or overlooked. GitLab Duo is excellent at finding relevant information again to create accurate incident reports. \n\nNavigate to your incident issue and open GitLab Duo Chat. You can engineer your prompt so that GitLab Duo takes your exact reporting requirements into account such as what sections you need and how they should be filled out. Here is an example of the prompt we use at GitLab Security:\n\n> Required sections:\n> - Executive Summary - bottom-line-up-front that is adequate for an audience like senior leadership and CISO\n> - Mitigations & Remediations\n> - Scope & Impact (Environments, customers, team members)\n> - Cause\n> - Detection Capabilities\n>\n> Based on the issue and the required section, write the security incident report. Flag any missing information. \n\nBelow is GitLab Duo’s output that we can use to create our extensive incident report:\n\n\u003Cimg src=\"https://res.cloudinary.com/about-gitlab-com/image/upload/v1752175975/Blog/zxiafech08ck9gqjubaz.png\" alt=\"root cause analysis output\" width=\"400\" height=\"1200\">\n\u003Cimg src=\"https://res.cloudinary.com/about-gitlab-com/image/upload/v1752175985/Blog/xjc9coah4oi7rz0daw2b.png\" alt=\"root cause analysis output\" width=\"400\" height=\"1200\">\n\n### Root Cause Analysis\n\nGitLab Duo is able to explain vulnerabilities and can understand the context of an incident issue. These capabilities make GitLab Duo an excellent assistant to perform root cause analyses of security incidents. \n\nAs seen above, GitLab Duo can write its own section on the cause of an incident based entirely on the issue contents. We can dig into this further with the assistance of GitLab Duo to identify several candidates for root cause(s).  \n\nOur prompt is built as such:\n\n> “The root cause of the incident was the exposure of a personal access token in CI job logs. The token was leaked in a project that was not included in the current list of projects for token detection, indicating a gap in the security monitoring process.”\n> Name a few potential root causes for a PAT finding itself in CI job logs.\n\nGitLab Duo’s response is the following:\n\n![GitLab Duo Root Cause Analysis response](https://res.cloudinary.com/about-gitlab-com/image/upload/v1750098346/Blog/Content%20Images/Blog/Content%20Images/image3_aHR0cHM6_1750098346298.png)\n\nGitLab Duo Root Cause Analysis can help security teams identify avenues worth investigating. It has a pretty good grasp on security concepts and how Root Cause Analysis is led in general, so it can be a great assistant for these situations where the exact root of the problem is unclear. \n\n> Learn more about [GitLab Duo Root Cause Analysis](https://about.gitlab.com/blog/developing-gitlab-duo-blending-ai-and-root-cause-analysis-to-fix-ci-cd/).\n\n### On-demand updates\n\nSecurity incidents move fast and can be confusing, and information is constantly changing and shifting around. Higher severity incidents require a certain degree of thoroughness when it comes to reporting to senior leadership, especially when the audience is at the Director+ level. Engineers who are in the midst of a security incident can find it difficlut to condense the information such that it is digestable for executives. \n\nWe saw above that GitLab Duo is capable of delivering a pretty good executive summary. When the incident is ongoing, we need to deliver regular updates to senior leadership on the incident status and next steps. GitLab Duo is a great help for that, as well. If information is scattered across the issue in the form of a description or comments, GitLab Duo can help reassemble this information into the “bottom-line-up-front,” or BLUF summary, we need for executive updates. \n\nWe’ve taken the same incident right before token revocation and asked GitLab Duo for a BLUF summary where the audience is the Director of Security Operations. \n\n![Executive Summary - GitLab Duo](https://res.cloudinary.com/about-gitlab-com/image/upload/v1750098346/Blog/Content%20Images/Blog/Content%20Images/image4_aHR0cHM6_1750098346299.png)\n\n## Getting started with GitLab Duo for security\n\nGitLab Security has automated several parts of the reporting process with the help of GitLab Duo. But to get started, all you need is access to GitLab Duo Chat. GitLab Duo Chat can be your well-informed assistant for many security reporting cases and post-mortem analyses.\n\n## What’s next for GitLab Duo?\n\nGitLab is committed to continuously enhancing GitLab Duo’s capabilities. Future developments aim to integrate AI-driven features more deeply into the security workflow, providing proactive detection and resolution of vulnerabilities, streamlined incident management, and comprehensive reporting tools. These advancements will further empower security teams to maintain robust security postures and respond effectively to emerging threats.\n\n> [Try GitLab Duo for free](https://about.gitlab.com/sales/)!\n","ai-ml",{"slug":15,"featured":16,"template":17},"how-to-leverage-gitlab-duo-for-enhanced-security-reporting",false,"BlogPost",{"title":5,"description":19,"authors":20,"heroImage":21,"date":22,"body":12,"category":13,"tags":23},"Learn how GitLab Duo enables efficient, real-world security reporting for development, operations, and security teams.",[10,11],"https://res.cloudinary.com/about-gitlab-com/image/upload/v1750098339/Blog/Hero%20Images/Blog/Hero%20Images/blog-image-template-1800x945%20%285%29_1iy516k40hwBDChKcUJ2zb_1750098339103.png","2024-12-03",[24,25,26,27,28],"AI/ML","tutorial","security","features","DevSecOps platform","yml",null,{},true,"/en-us/blog/how-to-leverage-gitlab-duo-for-enhanced-security-reporting","seo:\n  title: How to leverage GitLab Duo for enhanced security reporting\n  description: >-\n    Learn how GitLab Duo enables efficient, real-world security reporting for\n    development, operations, and security teams.\n  ogTitle: How to leverage GitLab Duo for enhanced security reporting\n  ogDescription: >-\n    Learn how GitLab Duo enables efficient, real-world security reporting for\n    development, operations, and security teams.\n  noIndex: false\n  ogImage: >-\n    https://res.cloudinary.com/about-gitlab-com/image/upload/v1750098339/Blog/Hero%20Images/Blog/Hero%20Images/blog-image-template-1800x945%20%285%29_1iy516k40hwBDChKcUJ2zb_1750098339103.png\n  ogUrl: >-\n    https://about.gitlab.com/blog/how-to-leverage-gitlab-duo-for-enhanced-security-reporting\n  ogSiteName: https://about.gitlab.com\n  ogType: article\n  canonicalUrls: >-\n    https://about.gitlab.com/blog/how-to-leverage-gitlab-duo-for-enhanced-security-reporting\n\ncontent:\n  title: How to leverage GitLab Duo for enhanced security reporting\n  description: >-\n    Learn how GitLab Duo enables efficient, real-world security reporting for\n    development, operations, and security teams.\n  authors:\n    - Valentine Mairet\n    - David O'Regan\n  heroImage: >-\n    https://res.cloudinary.com/about-gitlab-com/image/upload/v1750098339/Blog/Hero%20Images/Blog/Hero%20Images/blog-image-template-1800x945%20%285%29_1iy516k40hwBDChKcUJ2zb_1750098339103.png\n  date: '2024-12-03'\n  body: >\n    Good security reporting is crucial to maintain a good security posture\n    because it provides detailed insights into incidents. With this information,\n    organizations can better understand vulnerabilities, improve defenses, and\n    prevent similar threats in the future. At GitLab, the [Security\n    division](https://handbook.gitlab.com/handbook/security/#division-structure)\n    has created use cases for GitLab Duo to improve reporting capabilities and\n    enhance operational efficiency. \n\n\n    ## GitLab Duo’s security capabilities\n\n\n    The GitLab Security division uses GitLab’s built-in\n    [incidents](https://docs.gitlab.com/operations/incident_management/incidents/)\n    to manage and report on security incidents. Incidents are handled,\n    documented, and resolved in GitLab, enabling the use of AI-driven [GitLab\n    Duo](https://about.gitlab.com/gitlab-duo-agent-platform/) as an assistant when performing\n    security operations like incident response. \n\n\n    Particularly in incident analysis and reporting, GitLab Duo is highly\n    efficient and accurate at creating proper documentation and is a great “pair\n    programmer” when solving security incidents.\n\n\n    ## GitLab Duo features for security reporting\n\n\n    GitLab Duo offers many features that enhance security reporting:\n\n\n    - **Root Cause Analysis:** GitLab Duo can explain vulnerabilities and\n    understand the context of an incident issue, making it an excellent\n    assistant for performing root cause analyses of security incidents.\n\n    - **Vulnerability Explanation:** Provides detailed insights into identified\n    vulnerabilities, including potential exploitation methods and remediation\n    steps. This feature aids developers and security analysts in understanding\n    and addressing security issues effectively.\n\n    - **Vulnerability Resolution:** Assists in fixing vulnerabilities by\n    generating merge requests that address the identified issues, streamlining\n    the remediation process.\n\n    - **Code Explanation:** Helps users comprehend specific code segments by\n    offering clear explanations, which is particularly useful when dealing with\n    complex or unfamiliar codebases.\n\n    - **Test Generation:** Facilitates early bug detection by generating tests\n    for selected code, ensuring that security vulnerabilities are identified and\n    addressed promptly.\n\n    - **Refactor Code:** Suggests improvements or refactoring for selected code\n    to enhance its quality and maintainability, contributing to a more secure\n    codebase.\n\n    - **Fix Code:** Identifies and rectifies quality issues such as bugs or\n    typos in the selected code, helping maintain a robust and secure codebase.\n\n\n    ## Practical use cases\n\n\n    For the purpose of demonstrating practical use cases, the Security Incident\n    Response Team created a dummy incident with following limited information:\n\n\n    ![Incident\n    report](https://res.cloudinary.com/about-gitlab-com/image/upload/v1750098346/Blog/Content%20Images/Blog/Content%20Images/image6_aHR0cHM6_1750098346297.png)\n\n\n    Several comments were added as the team would normally proceed:\n\n\n    ![Comments added to\n    report](https://res.cloudinary.com/about-gitlab-com/image/upload/v1750098346/Blog/Content%20Images/Blog/Content%20Images/image1_aHR0cHM6_1750098346297.png)\n\n\n    ### Incident reporting\n\n\n    GitLab Duo is able to comprehensively keep track of all information inside\n    an incident issue, including the issue description, comments, and labels.\n    When handling security incidents, information often is all over the place\n    and can change over time. It can easily get lost or overlooked. GitLab Duo\n    is excellent at finding relevant information again to create accurate\n    incident reports. \n\n\n    Navigate to your incident issue and open GitLab Duo Chat. You can engineer\n    your prompt so that GitLab Duo takes your exact reporting requirements into\n    account such as what sections you need and how they should be filled out.\n    Here is an example of the prompt we use at GitLab Security:\n\n\n    > Required sections:\n\n    > - Executive Summary - bottom-line-up-front that is adequate for an\n    audience like senior leadership and CISO\n\n    > - Mitigations & Remediations\n\n    > - Scope & Impact (Environments, customers, team members)\n\n    > - Cause\n\n    > - Detection Capabilities\n\n    >\n\n    > Based on the issue and the required section, write the security incident\n    report. Flag any missing information. \n\n\n    Below is GitLab Duo’s output that we can use to create our extensive\n    incident report:\n\n\n    \u003Cimg\n    src=\"https://res.cloudinary.com/about-gitlab-com/image/upload/v1752175975/Blog/zxiafech08ck9gqjubaz.png\"\n    alt=\"root cause analysis output\" width=\"400\" height=\"1200\">\n\n    \u003Cimg\n    src=\"https://res.cloudinary.com/about-gitlab-com/image/upload/v1752175985/Blog/xjc9coah4oi7rz0daw2b.png\"\n    alt=\"root cause analysis output\" width=\"400\" height=\"1200\">\n\n\n    ### Root Cause Analysis\n\n\n    GitLab Duo is able to explain vulnerabilities and can understand the context\n    of an incident issue. These capabilities make GitLab Duo an excellent\n    assistant to perform root cause analyses of security incidents. \n\n\n    As seen above, GitLab Duo can write its own section on the cause of an\n    incident based entirely on the issue contents. We can dig into this further\n    with the assistance of GitLab Duo to identify several candidates for root\n    cause(s).  \n\n\n    Our prompt is built as such:\n\n\n    > “The root cause of the incident was the exposure of a personal access\n    token in CI job logs. The token was leaked in a project that was not\n    included in the current list of projects for token detection, indicating a\n    gap in the security monitoring process.”\n\n    > Name a few potential root causes for a PAT finding itself in CI job logs.\n\n\n    GitLab Duo’s response is the following:\n\n\n    ![GitLab Duo Root Cause Analysis\n    response](https://res.cloudinary.com/about-gitlab-com/image/upload/v1750098346/Blog/Content%20Images/Blog/Content%20Images/image3_aHR0cHM6_1750098346298.png)\n\n\n    GitLab Duo Root Cause Analysis can help security teams identify avenues\n    worth investigating. It has a pretty good grasp on security concepts and how\n    Root Cause Analysis is led in general, so it can be a great assistant for\n    these situations where the exact root of the problem is unclear. \n\n\n    > Learn more about [GitLab Duo Root Cause\n    Analysis](https://about.gitlab.com/blog/developing-gitlab-duo-blending-ai-and-root-cause-analysis-to-fix-ci-cd/).\n\n\n    ### On-demand updates\n\n\n    Security incidents move fast and can be confusing, and information is\n    constantly changing and shifting around. Higher severity incidents require a\n    certain degree of thoroughness when it comes to reporting to senior\n    leadership, especially when the audience is at the Director+ level.\n    Engineers who are in the midst of a security incident can find it difficlut\n    to condense the information such that it is digestable for executives. \n\n\n    We saw above that GitLab Duo is capable of delivering a pretty good\n    executive summary. When the incident is ongoing, we need to deliver regular\n    updates to senior leadership on the incident status and next steps. GitLab\n    Duo is a great help for that, as well. If information is scattered across\n    the issue in the form of a description or comments, GitLab Duo can help\n    reassemble this information into the “bottom-line-up-front,” or BLUF\n    summary, we need for executive updates. \n\n\n    We’ve taken the same incident right before token revocation and asked GitLab\n    Duo for a BLUF summary where the audience is the Director of Security\n    Operations. \n\n\n    ![Executive Summary - GitLab\n    Duo](https://res.cloudinary.com/about-gitlab-com/image/upload/v1750098346/Blog/Content%20Images/Blog/Content%20Images/image4_aHR0cHM6_1750098346299.png)\n\n\n    ## Getting started with GitLab Duo for security\n\n\n    GitLab Security has automated several parts of the reporting process with\n    the help of GitLab Duo. But to get started, all you need is access to GitLab\n    Duo Chat. GitLab Duo Chat can be your well-informed assistant for many\n    security reporting cases and post-mortem analyses.\n\n\n    ## What’s next for GitLab Duo?\n\n\n    GitLab is committed to continuously enhancing GitLab Duo’s capabilities.\n    Future developments aim to integrate AI-driven features more deeply into the\n    security workflow, providing proactive detection and resolution of\n    vulnerabilities, streamlined incident management, and comprehensive\n    reporting tools. These advancements will further empower security teams to\n    maintain robust security postures and respond effectively to emerging\n    threats.\n\n\n    > [Try GitLab Duo for\n    free](https://about.gitlab.com/sales/)!\n  category: ai-ml\n  tags:\n    - AI/ML\n    - tutorial\n    - security\n    - features\n    - DevSecOps platform\nconfig:\n  slug: how-to-leverage-gitlab-duo-for-enhanced-security-reporting\n  featured: false\n  template: BlogPost\n",{"title":5,"description":19,"ogTitle":5,"ogDescription":19,"noIndex":16,"ogImage":21,"ogUrl":36,"ogSiteName":37,"ogType":38,"canonicalUrls":36},"https://about.gitlab.com/blog/how-to-leverage-gitlab-duo-for-enhanced-security-reporting","https://about.gitlab.com","article","en-us/blog/how-to-leverage-gitlab-duo-for-enhanced-security-reporting",[41,25,26,27,42],"aiml","devsecops-platform",[24,25,26,27,28],"gS5vpM7HeduCSEH5D8DLm4418DLd9p3xyjBC1BcZe60",{"data":46},{"logo":47,"freeTrial":52,"sales":57,"login":62,"items":67,"search":376,"minimal":407,"duo":426,"switchNav":435,"pricingDeployment":446},{"config":48},{"href":49,"dataGaName":50,"dataGaLocation":51},"/","gitlab logo","header",{"text":53,"config":54},"Get free trial",{"href":55,"dataGaName":56,"dataGaLocation":51},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com&glm_content=default-saas-trial/","free trial",{"text":58,"config":59},"Talk to sales",{"href":60,"dataGaName":61,"dataGaLocation":51},"/sales/","sales",{"text":63,"config":64},"Sign in",{"href":65,"dataGaName":66,"dataGaLocation":51},"https://gitlab.com/users/sign_in/","sign in",[68,95,190,195,297,357],{"text":69,"config":70,"cards":72},"Platform",{"dataNavLevelOne":71},"platform",[73,79,87],{"title":69,"description":74,"link":75},"The intelligent orchestration platform for DevSecOps",{"text":76,"config":77},"Explore our Platform",{"href":78,"dataGaName":71,"dataGaLocation":51},"/platform/",{"title":80,"description":81,"link":82},"GitLab Duo Agent Platform","Agentic AI for the entire software lifecycle",{"text":83,"config":84},"Meet GitLab Duo",{"href":85,"dataGaName":86,"dataGaLocation":51},"/gitlab-duo-agent-platform/","gitlab duo agent platform",{"title":88,"description":89,"link":90},"Why GitLab","See the top reasons enterprises choose GitLab",{"text":91,"config":92},"Learn more",{"href":93,"dataGaName":94,"dataGaLocation":51},"/why-gitlab/","why gitlab",{"text":96,"left":32,"config":97,"link":99,"lists":103,"footer":172},"Product",{"dataNavLevelOne":98},"solutions",{"text":100,"config":101},"View all Solutions",{"href":102,"dataGaName":98,"dataGaLocation":51},"/solutions/",[104,128,151],{"title":105,"description":106,"link":107,"items":112},"Automation","CI/CD and automation to accelerate deployment",{"config":108},{"icon":109,"href":110,"dataGaName":111,"dataGaLocation":51},"AutomatedCodeAlt","/solutions/delivery-automation/","automated software delivery",[113,117,120,124],{"text":114,"config":115},"CI/CD",{"href":116,"dataGaLocation":51,"dataGaName":114},"/solutions/continuous-integration/",{"text":80,"config":118},{"href":85,"dataGaLocation":51,"dataGaName":119},"gitlab duo agent platform - product menu",{"text":121,"config":122},"Source Code Management",{"href":123,"dataGaLocation":51,"dataGaName":121},"/solutions/source-code-management/",{"text":125,"config":126},"Automated Software Delivery",{"href":110,"dataGaLocation":51,"dataGaName":127},"Automated software delivery",{"title":129,"description":130,"link":131,"items":136},"Security","Deliver code faster without compromising security",{"config":132},{"href":133,"dataGaName":134,"dataGaLocation":51,"icon":135},"/solutions/application-security-testing/","security and compliance","ShieldCheckLight",[137,141,146],{"text":138,"config":139},"Application Security Testing",{"href":133,"dataGaName":140,"dataGaLocation":51},"Application security testing",{"text":142,"config":143},"Software Supply Chain Security",{"href":144,"dataGaLocation":51,"dataGaName":145},"/solutions/supply-chain/","Software supply chain security",{"text":147,"config":148},"Software Compliance",{"href":149,"dataGaName":150,"dataGaLocation":51},"/solutions/software-compliance/","software compliance",{"title":152,"link":153,"items":158},"Measurement",{"config":154},{"icon":155,"href":156,"dataGaName":157,"dataGaLocation":51},"DigitalTransformation","/solutions/visibility-measurement/","visibility and measurement",[159,163,167],{"text":160,"config":161},"Visibility & Measurement",{"href":156,"dataGaLocation":51,"dataGaName":162},"Visibility and Measurement",{"text":164,"config":165},"Value Stream Management",{"href":166,"dataGaLocation":51,"dataGaName":164},"/solutions/value-stream-management/",{"text":168,"config":169},"Analytics & Insights",{"href":170,"dataGaLocation":51,"dataGaName":171},"/solutions/analytics-and-insights/","Analytics and insights",{"title":173,"items":174},"GitLab for",[175,180,185],{"text":176,"config":177},"Enterprise",{"href":178,"dataGaLocation":51,"dataGaName":179},"/enterprise/","enterprise",{"text":181,"config":182},"Small Business",{"href":183,"dataGaLocation":51,"dataGaName":184},"/small-business/","small business",{"text":186,"config":187},"Public Sector",{"href":188,"dataGaLocation":51,"dataGaName":189},"/solutions/public-sector/","public sector",{"text":191,"config":192},"Pricing",{"href":193,"dataGaName":194,"dataGaLocation":51,"dataNavLevelOne":194},"/pricing/","pricing",{"text":196,"config":197,"link":199,"lists":203,"feature":288},"Resources",{"dataNavLevelOne":198},"resources",{"text":200,"config":201},"View all resources",{"href":202,"dataGaName":198,"dataGaLocation":51},"/resources/",[204,237,260],{"title":205,"items":206},"Getting started",[207,212,217,222,227,232],{"text":208,"config":209},"Install",{"href":210,"dataGaName":211,"dataGaLocation":51},"/install/","install",{"text":213,"config":214},"Quick start guides",{"href":215,"dataGaName":216,"dataGaLocation":51},"/get-started/","quick setup checklists",{"text":218,"config":219},"Learn",{"href":220,"dataGaLocation":51,"dataGaName":221},"https://university.gitlab.com/","learn",{"text":223,"config":224},"Product documentation",{"href":225,"dataGaName":226,"dataGaLocation":51},"https://docs.gitlab.com/","product documentation",{"text":228,"config":229},"Best practice videos",{"href":230,"dataGaName":231,"dataGaLocation":51},"/getting-started-videos/","best practice videos",{"text":233,"config":234},"Integrations",{"href":235,"dataGaName":236,"dataGaLocation":51},"/integrations/","integrations",{"title":238,"items":239},"Discover",[240,245,250,255],{"text":241,"config":242},"Customer success stories",{"href":243,"dataGaName":244,"dataGaLocation":51},"/customers/","customer success stories",{"text":246,"config":247},"Blog",{"href":248,"dataGaName":249,"dataGaLocation":51},"/blog/","blog",{"text":251,"config":252},"The Source",{"href":253,"dataGaName":254,"dataGaLocation":51},"/the-source/","the source",{"text":256,"config":257},"Remote",{"href":258,"dataGaName":259,"dataGaLocation":51},"https://handbook.gitlab.com/handbook/company/culture/all-remote/","remote",{"title":261,"items":262},"Connect",[263,268,273,278,283],{"text":264,"config":265},"GitLab Services",{"href":266,"dataGaName":267,"dataGaLocation":51},"/services/","services",{"text":269,"config":270},"Community",{"href":271,"dataGaName":272,"dataGaLocation":51},"/community/","community",{"text":274,"config":275},"Forum",{"href":276,"dataGaName":277,"dataGaLocation":51},"https://forum.gitlab.com/","forum",{"text":279,"config":280},"Events",{"href":281,"dataGaName":282,"dataGaLocation":51},"/events/","events",{"text":284,"config":285},"Partners",{"href":286,"dataGaName":287,"dataGaLocation":51},"/partners/","partners",{"textColor":289,"title":290,"text":291,"link":292},"#000","What’s new in GitLab","Stay updated with our latest features and improvements.",{"text":293,"config":294},"Read the latest",{"href":295,"dataGaName":296,"dataGaLocation":51},"/releases/whats-new/","whats new",{"text":298,"config":299,"lists":301},"Company",{"dataNavLevelOne":300},"company",[302],{"items":303},[304,309,315,317,322,327,332,337,342,347,352],{"text":305,"config":306},"About",{"href":307,"dataGaName":308,"dataGaLocation":51},"/company/","about",{"text":310,"config":311,"footerGa":314},"Jobs",{"href":312,"dataGaName":313,"dataGaLocation":51},"/jobs/","jobs",{"dataGaName":313},{"text":279,"config":316},{"href":281,"dataGaName":282,"dataGaLocation":51},{"text":318,"config":319},"Leadership",{"href":320,"dataGaName":321,"dataGaLocation":51},"/company/team/e-group/","leadership",{"text":323,"config":324},"Team",{"href":325,"dataGaName":326,"dataGaLocation":51},"/company/team/","team",{"text":328,"config":329},"Handbook",{"href":330,"dataGaName":331,"dataGaLocation":51},"https://handbook.gitlab.com/","handbook",{"text":333,"config":334},"Investor relations",{"href":335,"dataGaName":336,"dataGaLocation":51},"https://ir.gitlab.com/","investor relations",{"text":338,"config":339},"Trust Center",{"href":340,"dataGaName":341,"dataGaLocation":51},"/security/","trust center",{"text":343,"config":344},"AI Transparency Center",{"href":345,"dataGaName":346,"dataGaLocation":51},"/ai-transparency-center/","ai transparency center",{"text":348,"config":349},"Newsletter",{"href":350,"dataGaName":351,"dataGaLocation":51},"/company/contact/#contact-forms","newsletter",{"text":353,"config":354},"Press",{"href":355,"dataGaName":356,"dataGaLocation":51},"/press/","press",{"text":358,"config":359,"lists":360},"Contact us",{"dataNavLevelOne":300},[361],{"items":362},[363,366,371],{"text":58,"config":364},{"href":60,"dataGaName":365,"dataGaLocation":51},"talk to sales",{"text":367,"config":368},"Support portal",{"href":369,"dataGaName":370,"dataGaLocation":51},"https://support.gitlab.com","support portal",{"text":372,"config":373},"Customer portal",{"href":374,"dataGaName":375,"dataGaLocation":51},"https://customers.gitlab.com/customers/sign_in/","customer portal",{"close":377,"login":378,"suggestions":385},"Close",{"text":379,"link":380},"To search repositories and projects, login to",{"text":381,"config":382},"gitlab.com",{"href":65,"dataGaName":383,"dataGaLocation":384},"search login","search",{"text":386,"default":387},"Suggestions",[388,390,394,396,400,404],{"text":80,"config":389},{"href":85,"dataGaName":80,"dataGaLocation":384},{"text":391,"config":392},"Code Suggestions (AI)",{"href":393,"dataGaName":391,"dataGaLocation":384},"/solutions/code-suggestions/",{"text":114,"config":395},{"href":116,"dataGaName":114,"dataGaLocation":384},{"text":397,"config":398},"GitLab on AWS",{"href":399,"dataGaName":397,"dataGaLocation":384},"/partners/technology-partners/aws/",{"text":401,"config":402},"GitLab on Google Cloud",{"href":403,"dataGaName":401,"dataGaLocation":384},"/partners/technology-partners/google-cloud-platform/",{"text":405,"config":406},"Why GitLab?",{"href":93,"dataGaName":405,"dataGaLocation":384},{"freeTrial":408,"mobileIcon":413,"desktopIcon":418,"secondaryButton":421},{"text":409,"config":410},"Start free trial",{"href":411,"dataGaName":56,"dataGaLocation":412},"https://gitlab.com/-/trials/new/","nav",{"altText":414,"config":415},"Gitlab Icon",{"src":416,"dataGaName":417,"dataGaLocation":412},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203874/jypbw1jx72aexsoohd7x.svg","gitlab icon",{"altText":414,"config":419},{"src":420,"dataGaName":417,"dataGaLocation":412},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203875/gs4c8p8opsgvflgkswz9.svg",{"text":422,"config":423},"Get Started",{"href":424,"dataGaName":425,"dataGaLocation":412},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com/get-started/","get started",{"freeTrial":427,"mobileIcon":431,"desktopIcon":433},{"text":428,"config":429},"Learn more about GitLab Duo",{"href":85,"dataGaName":430,"dataGaLocation":412},"gitlab duo",{"altText":414,"config":432},{"src":416,"dataGaName":417,"dataGaLocation":412},{"altText":414,"config":434},{"src":420,"dataGaName":417,"dataGaLocation":412},{"button":436,"mobileIcon":441,"desktopIcon":443},{"text":437,"config":438},"/switch",{"href":439,"dataGaName":440,"dataGaLocation":412},"#contact","switch",{"altText":414,"config":442},{"src":416,"dataGaName":417,"dataGaLocation":412},{"altText":414,"config":444},{"src":445,"dataGaName":417,"dataGaLocation":412},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1773335277/ohhpiuoxoldryzrnhfrh.png",{"freeTrial":447,"mobileIcon":452,"desktopIcon":454},{"text":448,"config":449},"Back to pricing",{"href":193,"dataGaName":450,"dataGaLocation":412,"icon":451},"back to pricing","GoBack",{"altText":414,"config":453},{"src":416,"dataGaName":417,"dataGaLocation":412},{"altText":414,"config":455},{"src":420,"dataGaName":417,"dataGaLocation":412},{"title":457,"button":458,"config":463},"See how agentic AI transforms software delivery",{"text":459,"config":460},"Watch GitLab Transcend now",{"href":461,"dataGaName":462,"dataGaLocation":51},"/events/transcend/virtual/","transcend event",{"layout":464,"icon":465,"disabled":32},"release","AiStar",{"data":467},{"text":468,"source":469,"edit":475,"contribute":480,"config":485,"items":490,"minimal":696},"Git is a trademark of Software Freedom Conservancy and our use of 'GitLab' is under license",{"text":470,"config":471},"View page source",{"href":472,"dataGaName":473,"dataGaLocation":474},"https://gitlab.com/gitlab-com/marketing/digital-experience/about-gitlab-com/","page source","footer",{"text":476,"config":477},"Edit this page",{"href":478,"dataGaName":479,"dataGaLocation":474},"https://gitlab.com/gitlab-com/marketing/digital-experience/about-gitlab-com/-/blob/main/content/","web ide",{"text":481,"config":482},"Please contribute",{"href":483,"dataGaName":484,"dataGaLocation":474},"https://gitlab.com/gitlab-com/marketing/digital-experience/about-gitlab-com/-/blob/main/CONTRIBUTING.md/","please contribute",{"twitter":486,"facebook":487,"youtube":488,"linkedin":489},"https://twitter.com/gitlab","https://www.facebook.com/gitlab","https://www.youtube.com/channel/UCnMGQ8QHMAnVIsI3xJrihhg","https://www.linkedin.com/company/gitlab-com",[491,538,591,635,662],{"title":191,"links":492,"subMenu":507},[493,497,502],{"text":494,"config":495},"View plans",{"href":193,"dataGaName":496,"dataGaLocation":474},"view plans",{"text":498,"config":499},"Why Premium?",{"href":500,"dataGaName":501,"dataGaLocation":474},"/pricing/premium/","why premium",{"text":503,"config":504},"Why Ultimate?",{"href":505,"dataGaName":506,"dataGaLocation":474},"/pricing/ultimate/","why ultimate",[508],{"title":509,"links":510},"Contact Us",[511,514,516,518,523,528,533],{"text":512,"config":513},"Contact sales",{"href":60,"dataGaName":61,"dataGaLocation":474},{"text":367,"config":515},{"href":369,"dataGaName":370,"dataGaLocation":474},{"text":372,"config":517},{"href":374,"dataGaName":375,"dataGaLocation":474},{"text":519,"config":520},"Status",{"href":521,"dataGaName":522,"dataGaLocation":474},"https://status.gitlab.com/","status",{"text":524,"config":525},"Terms of use",{"href":526,"dataGaName":527,"dataGaLocation":474},"/terms/","terms of use",{"text":529,"config":530},"Privacy statement",{"href":531,"dataGaName":532,"dataGaLocation":474},"/privacy/","privacy statement",{"text":534,"config":535},"Cookie preferences",{"dataGaName":536,"dataGaLocation":474,"id":537,"isOneTrustButton":32},"cookie preferences","ot-sdk-btn",{"title":96,"links":539,"subMenu":547},[540,543],{"text":28,"config":541},{"href":78,"dataGaName":542,"dataGaLocation":474},"devsecops platform",{"text":544,"config":545},"AI-Assisted Development",{"href":85,"dataGaName":546,"dataGaLocation":474},"ai-assisted development",[548],{"title":549,"links":550},"Topics",[551,556,561,566,571,576,581,586],{"text":552,"config":553},"CICD",{"href":554,"dataGaName":555,"dataGaLocation":474},"/topics/ci-cd/","cicd",{"text":557,"config":558},"GitOps",{"href":559,"dataGaName":560,"dataGaLocation":474},"/topics/gitops/","gitops",{"text":562,"config":563},"DevOps",{"href":564,"dataGaName":565,"dataGaLocation":474},"/topics/devops/","devops",{"text":567,"config":568},"Version Control",{"href":569,"dataGaName":570,"dataGaLocation":474},"/topics/version-control/","version control",{"text":572,"config":573},"DevSecOps",{"href":574,"dataGaName":575,"dataGaLocation":474},"/topics/devsecops/","devsecops",{"text":577,"config":578},"Cloud Native",{"href":579,"dataGaName":580,"dataGaLocation":474},"/topics/cloud-native/","cloud native",{"text":582,"config":583},"AI for Coding",{"href":584,"dataGaName":585,"dataGaLocation":474},"/topics/devops/ai-for-coding/","ai for coding",{"text":587,"config":588},"Agentic AI",{"href":589,"dataGaName":590,"dataGaLocation":474},"/topics/agentic-ai/","agentic ai",{"title":592,"links":593},"Solutions",[594,596,598,603,607,610,614,617,619,622,625,630],{"text":138,"config":595},{"href":133,"dataGaName":138,"dataGaLocation":474},{"text":127,"config":597},{"href":110,"dataGaName":111,"dataGaLocation":474},{"text":599,"config":600},"Agile development",{"href":601,"dataGaName":602,"dataGaLocation":474},"/solutions/agile-delivery/","agile delivery",{"text":604,"config":605},"SCM",{"href":123,"dataGaName":606,"dataGaLocation":474},"source code management",{"text":552,"config":608},{"href":116,"dataGaName":609,"dataGaLocation":474},"continuous integration & delivery",{"text":611,"config":612},"Value stream management",{"href":166,"dataGaName":613,"dataGaLocation":474},"value stream management",{"text":557,"config":615},{"href":616,"dataGaName":560,"dataGaLocation":474},"/solutions/gitops/",{"text":176,"config":618},{"href":178,"dataGaName":179,"dataGaLocation":474},{"text":620,"config":621},"Small business",{"href":183,"dataGaName":184,"dataGaLocation":474},{"text":623,"config":624},"Public sector",{"href":188,"dataGaName":189,"dataGaLocation":474},{"text":626,"config":627},"Education",{"href":628,"dataGaName":629,"dataGaLocation":474},"/solutions/education/","education",{"text":631,"config":632},"Financial services",{"href":633,"dataGaName":634,"dataGaLocation":474},"/solutions/finance/","financial services",{"title":196,"links":636},[637,639,641,643,646,648,650,652,654,656,658,660],{"text":208,"config":638},{"href":210,"dataGaName":211,"dataGaLocation":474},{"text":213,"config":640},{"href":215,"dataGaName":216,"dataGaLocation":474},{"text":218,"config":642},{"href":220,"dataGaName":221,"dataGaLocation":474},{"text":223,"config":644},{"href":225,"dataGaName":645,"dataGaLocation":474},"docs",{"text":246,"config":647},{"href":248,"dataGaName":249,"dataGaLocation":474},{"text":241,"config":649},{"href":243,"dataGaName":244,"dataGaLocation":474},{"text":256,"config":651},{"href":258,"dataGaName":259,"dataGaLocation":474},{"text":264,"config":653},{"href":266,"dataGaName":267,"dataGaLocation":474},{"text":269,"config":655},{"href":271,"dataGaName":272,"dataGaLocation":474},{"text":274,"config":657},{"href":276,"dataGaName":277,"dataGaLocation":474},{"text":279,"config":659},{"href":281,"dataGaName":282,"dataGaLocation":474},{"text":284,"config":661},{"href":286,"dataGaName":287,"dataGaLocation":474},{"title":298,"links":663},[664,666,668,670,672,674,676,680,685,687,689,691],{"text":305,"config":665},{"href":307,"dataGaName":300,"dataGaLocation":474},{"text":310,"config":667},{"href":312,"dataGaName":313,"dataGaLocation":474},{"text":318,"config":669},{"href":320,"dataGaName":321,"dataGaLocation":474},{"text":323,"config":671},{"href":325,"dataGaName":326,"dataGaLocation":474},{"text":328,"config":673},{"href":330,"dataGaName":331,"dataGaLocation":474},{"text":333,"config":675},{"href":335,"dataGaName":336,"dataGaLocation":474},{"text":677,"config":678},"Sustainability",{"href":679,"dataGaName":677,"dataGaLocation":474},"/sustainability/",{"text":681,"config":682},"Diversity, inclusion and belonging (DIB)",{"href":683,"dataGaName":684,"dataGaLocation":474},"/diversity-inclusion-belonging/","Diversity, inclusion and belonging",{"text":338,"config":686},{"href":340,"dataGaName":341,"dataGaLocation":474},{"text":348,"config":688},{"href":350,"dataGaName":351,"dataGaLocation":474},{"text":353,"config":690},{"href":355,"dataGaName":356,"dataGaLocation":474},{"text":692,"config":693},"Modern Slavery Transparency Statement",{"href":694,"dataGaName":695,"dataGaLocation":474},"https://handbook.gitlab.com/handbook/legal/modern-slavery-act-transparency-statement/","modern slavery transparency statement",{"items":697},[698,701,704],{"text":699,"config":700},"Terms",{"href":526,"dataGaName":527,"dataGaLocation":474},{"text":702,"config":703},"Cookies",{"dataGaName":536,"dataGaLocation":474,"id":537,"isOneTrustButton":32},{"text":705,"config":706},"Privacy",{"href":531,"dataGaName":532,"dataGaLocation":474},[708,721],{"id":709,"title":10,"body":30,"config":710,"content":712,"description":30,"extension":29,"meta":716,"navigation":32,"path":717,"seo":718,"stem":719,"__hash__":720},"blogAuthors/en-us/blog/authors/valentine-mairet.yml",{"template":711},"BlogAuthor",{"name":10,"config":713},{"headshot":714,"ctfId":715},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1749665455/Blog/Author%20Headshots/valentine_mairet_headshot.png","1AQjHTpq6sBauRMdCibxQX",{},"/en-us/blog/authors/valentine-mairet",{},"en-us/blog/authors/valentine-mairet","c-UZKhaZlcpZH5kQqU9bXV1DR9ifG_Q9Mz0zJSFVXwY",{"id":722,"title":723,"body":30,"config":724,"content":725,"description":30,"extension":29,"meta":729,"navigation":32,"path":730,"seo":731,"stem":732,"__hash__":733},"blogAuthors/en-us/blog/authors/david-oregan.yml","David Oregan",{"template":711},{"name":11,"config":726},{"headshot":727,"ctfId":728},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1749659853/Blog/Author%20Headshots/oregand-headshot.png","oregand",{},"/en-us/blog/authors/david-oregan",{},"en-us/blog/authors/david-oregan","CX5gLc3Gs5FrmvpMNVkBtC5zRi3vj8l3wJGnW0iSa6Y",[735,748,760],{"content":736,"config":746},{"title":737,"description":738,"authors":739,"heroImage":741,"date":742,"body":743,"category":13,"tags":744},"GitLab and Anthropic: Governed AI for enterprise development","GitLab deepens its Anthropic Claude integration, bringing governed AI, access to new models, and cloud flexibility to enterprise software development.",[740],"Stuart Moncada","https://res.cloudinary.com/about-gitlab-com/image/upload/v1776457632/llddiylsgwuze0u1rjks.png","2026-04-28","For enterprise and public sector leaders, the tension is familiar: Software teams need to move faster with AI, while security, compliance, and regulatory expectations only get more stringent. GitLab deepens its Anthropic Claude integration so organizations get access to newly released Claude models inside GitLab’s intelligent orchestration platform where governance, compliance, and auditability already run.\n\nClaude powers capabilities across GitLab Duo Agent Platform as the default model out of the box, across a variety of use cases from code generation and review to agentic chat and vulnerability resolution. If you've used GitLab Duo, you've already experienced how Duo agents automate workflows across the entire software development lifecycle (SDLC).\n\nThis accelerates the integration of Claude’s capabilities into GitLab, broadens how enterprises can deploy them, and reinforces what makes GitLab fundamentally different as a platform for software development and engineering: governance, compliance, and auditability built into every AI interaction.\n\n> \"GitLab Duo has accelerated how our teams plan, build, and ship software. The combination of Anthropic's Claude and GitLab's platform means we're getting more capable AI without changing how we work or how it is governed.\"\n>\n> – Mans Booijink, Operations Manager, Cube\n\n## The real differentiator: Governed AI\n\nWith GitLab, governance controls and auditing are built into the SDLC. When Claude suggests a code change through the GitLab Duo Agent Platform, that suggestion flows through the same merge request process, the same approval rules, the same security scanning, and the same audit trail as every other change. AI doesn't get a shortcut around your controls. It operates within them.\n\nAs GitLab moves deeper into agentic software development, where AI autonomously handles well-defined tasks, the governance layer becomes more important. An AI agent that can open a merge request, help resolve a vulnerability, or refactor a service needs to be auditable, attributable, and subject to the same policy enforcement as a human developer. That requirement is an architectural decision GitLab made from the start, and one that grows more consequential as AI agents take on broader responsibilities.\n\n## Enterprise deployment flexibility\n\nThis also expands how organizations access the latest Claude models through GitLab. Claude is available within GitLab through Google Cloud's Vertex AI and Amazon Bedrock, which means enterprises can route AI workloads through the hyperscaler commitments and cloud governance frameworks they already have in place. No separate vendor contract. No new data residency questions. Your existing Google Cloud or AWS relationship is the on-ramp. \n\nGitLab is now also available in the [Claude Marketplace](https://claude.com/platform/marketplace), allowing customers to purchase GitLab Credits and apply them toward existing Anthropic spending commitments – consolidating AI spend and simplifying how teams discover and procure GitLab alongside their Anthropic investments.\n\n## Advancing an agentic future\n\nGitLab's vision for agentic software development, where AI handles defined tasks autonomously across planning, coding, testing, securing, and deploying, requires models with strong reasoning, reliability, and safety characteristics. It also requires a platform where those autonomous actions are fully governed.\n\nAgentic workflows demand models with strong reasoning, reliability, and safety characteristics, criteria that guide how GitLab selects and integrates AI model partners. And GitLab's governance framework helps ensure that as AI agents assume more advanced development work, enterprises maintain full visibility and control over what those agents do, when they do it, and how changes are tracked.\n\n## What this means for GitLab customers\n\nIf you're already using GitLab Duo Agent Platform, you'll get access to Claude models and deeper AI assistance across your software development lifecycle, all within the governance framework you already rely on.\n\nIf you're evaluating AI-powered software development platforms, you shouldn't have to choose between advanced AI capabilities and enterprise control. This strategic integration is built to deliver both.\n\n> Want to learn more about GitLab Duo Agent Platform? [Get a demo or start a free trial today](https://about.gitlab.com/gitlab-duo-agent-platform/).",[24,745,287],"product",{"featured":32,"template":17,"slug":747},"gitlab-and-anthropic-governed-ai-for-enterprise-development",{"content":749,"config":758},{"title":750,"description":751,"authors":752,"heroImage":754,"date":755,"body":756,"category":13,"tags":757},"Give your AI agent direct, structured GitLab access with glab CLI","The GitLab CLI (glab) provides AI agents structured, reliable access to projects via the MCP, eliminating friction. This tutorial shows how you can speed up code review and issue triage.",[753],"Kai Armstrong","https://res.cloudinary.com/about-gitlab-com/image/upload/v1776347152/unw3mzatkd5xyfbzcnni.png","2026-04-27","\nWhen teams use GitLab Duo, Claude, Cursor, and other AI assistants, more of the development workflow runs through an AI agent acting on your behalf — reading issues, reviewing merge requests, running pipelines, and helping you ship faster. Most developers are already using the GitLab CLI (`glab`) from the terminal to interact with GitLab. Combining the two is a natural next step.\n\n\nThe problem is that without the right tools, AI agents are essentially guessing when it comes to your GitLab projects. They might hallucinate the details of an issue they've never seen, summarize a merge request based on stale training data rather than its actual state, or require you to manually copy context from a browser tab and paste it into a chat window just to get started. Every one of those workarounds is friction: it slows you down, introduces the possibility of error, and puts a hard ceiling on what your agent can actually do on your behalf. `glab` changes that by giving agents a direct, reliable interface to your projects.\n\n\nWith `glab`, your agent fetches what it needs directly from GitLab, acts on it, and reports back — so you spend less time relaying information and more time on the work that matters.\n\n\nIn this tutorial, you'll learn how to use `glab` to give AI agents structured, reliable access to your GitLab projects. You'll also discover how that unlocks a faster, more capable development workflow.\n\n\n## How to connect your AI agent to GitLab through MCP\n\n\nThe most direct way to supercharge your AI workflow is to give your AI agent native access to `glab` through Model Context Protocol ([MCP](https://about.gitlab.com/topics/ai/model-context-protocol/)).\n\n\n MCP is an open standard that lets AI tools discover and use external capabilities at runtime. Once connected, your AI assistant can read issues, comment on merge requests, check pipeline status, and write back to GitLab, all without copying anything from the UI or writing a single API call yourself.\n\n\n To get started, run:\n\n\n ```shell\n # Start the glab MCP server\n glab mcp serve\n ```\n\n\n Once your MCP client is configured, your AI can answer questions like *\"What's the status of my open MRs?\"* or *\"Are there any failing pipelines on main?\"* by querying GitLab directly, not scraping the web UI, not relying on stale training data. See the [full setup docs](https://docs.gitlab.com/cli/) for configuration steps for Claude Code, Cursor, and other editors.\n\n\n One detail worth knowing: `glab` automatically adds `--output json` when invoked through MCP, for any command that supports it. Your agent gets clean, structured data without you needing to think about output formats. And because `glab` uses the official MCP SDK, it stays compatible as the\n protocol evolves.\n\n\n We've also been deliberate about *which* commands are exposed through MCP. Commands that require interactive terminal input are intentionally\n excluded, so your agent never gets stuck waiting for input that will never come. What's exposed is what actually works reliably in an agent context.\n\n\n ## Let your AI participate in code review\n\n\n Most developers have a backlog of MRs waiting for review. It's one of the most time-consuming parts of the job and one of the best places to put\n AI to work. With `glab`, your agent doesn't just observe your review queue, it can work through it with you.\n\n\n ### See exactly what still needs addressing\n\n\n Start with this:\n\n\n ```shell\n glab mr view 2677 --comments --unresolved --output json\n ```\n\n\n This input returns the full MR: metadata, description, and every\n unresolved discussion, as a single structured JSON payload. Hand that to\n your AI and it has everything it needs: which threads are open, what the\n reviewer asked for, and in what context. No tab-switching, no copy-pasting\n individual comments.\n\n\n \n ```json\n {\n   \"id\": 2677,\n   \"title\": \"feat: add OAuth2 support\",\n   \"state\": \"opened\",\n   \"author\": { \"username\": \"jdwick\" },\n   \"labels\": [\"backend\", \"needs-review\"],\n   \"blocking_discussions_resolved\": false,\n   \"discussions\": [\n     {\n       \"id\": \"3107030349\",\n       \"resolved\": false,\n       \"notes\": [\n         {\n           \"author\": { \"username\": \"dmurphy\" },\n           \"body\": \"This error handling will swallow panics — consider wrapping with recover()\",\n           \"created_at\": \"2026-03-14T09:23:11.000Z\"\n         }\n       ]\n     },\n     {\n       \"id\": \"3107030412\",\n       \"resolved\": false,\n       \"notes\": [\n         {\n           \"author\": { \"username\": \"sreeves\" },\n           \"body\": \"Token refresh logic needs a test for the expired token case\",\n           \"created_at\": \"2026-03-14T10:05:44.000Z\"\n         }\n       ]\n     }\n   ]\n }\n ```\n\n\n Instead of reading through every thread yourself, you ask your agent  *\"what do I still need to fix in MR 2677?\"* and get back a prioritized summary with suggested changes. This all happens from a single command.\n\n\n ### Close the loop programmatically\n\n\n Once your AI has helped you address the feedback, it can resolve\n discussions:\n\n\n ```shell\n # List all discussions — structured, ready for the agent to process\n glab mr note list 456 --output json\n\n # Resolve a discussion once the feedback is addressed\n glab mr note resolve 456 3107030349\n\n # Reopen if something needs another look\n glab mr note reopen 456 3107030349\n ```\n\n\n\n ```json\n [\n   {\n     \"id\": 3107030349,\n     \"body\": \"This error handling will swallow panics — consider wrapping with recover()\",\n     \"author\": { \"username\": \"dmurphy\" },\n     \"resolved\": false,\n     \"resolvable\": true\n   },\n   {\n     \"id\": 3107030412,\n     \"body\": \"Token refresh logic needs a test for the expired token case\",\n     \"author\": { \"username\": \"sreeves\" },\n     \"resolved\": false,\n     \"resolvable\": true\n   }\n ]\n ```\n\n\n\n Note IDs are visible directly in the GitLab UI and API, no extra lookup needed. Your agent can work through the full list, verify each fix, and\n resolve as it goes.\n\n\n ## Talk to your AI about your code more effectively\n\n\n Even if you're not running an MCP server, there's a simpler shift that makes a huge difference: using `glab` to feed your AI better information.\n\n\n Think about the last time you asked an AI assistant to help triage issues or debug a failing pipeline. You probably copied some text from the GitLab UI and pasted it into the chat. Here's what your agent is actually\n working with when you do that:\n\n\n ```text\n open issues: 12 • milestone: 17.10 • label: bug, needs-triage ...\n ```\n\n\n Compare that to what it gets with `glab`:\n\n\n \n ```json\n [\n   {\n     \"iid\": 902,\n     \"title\": \"Pipeline fails on merge to main\",\n     \"labels\": [\"bug\", \"needs-triage\"],\n     \"milestone\": { \"title\": \"17.10\" },\n     \"assignees\": []\n   },\n   ...\n ]\n ```\n\n\n Structured, typed, complete; no ambiguity, no parsing guesswork. That's the difference between an agent that can act and one that has to ask\n follow-up questions.\n\n\n If you're using the MCP server, you get this automatically: `glab` adds `--output json` for any command that supports it. If you're working directly\n from the terminal, just add the flag yourself:\n\n\n ```shell\n # Pull open issues for triage\n glab issue list --label \"needs-triage\" --output json\n\n # Check pipeline status\n glab ci status --output json\n\n # Get full MR details\n glab mr view 456 --output json\n ```\n\n\n We've significantly expanded JSON output support in recent releases. It now covers CI status, milestones, labels, releases, schedules, cluster agents, work items, MR approvers, repo contributors, and more. If `glab` can\n retrieve it, your AI can consume it cleanly.\n\n\n ### A real workflow\n\n\n ```shell\n $ glab issue list --label \"needs-triage\" --milestone \"17.10\"\n --output json\n ```\n\n\n ```text\n Agent: I found 2 unassigned bugs in the 17.10 milestone that need triage:\n 1. #902 — Pipeline fails on merge to main (opened 5 days ago)\n 2. #903 — Auth token not refreshing on expiry (opened 4 days ago)\n Both are unassigned. Want me to draft triage notes and suggest assignees based on recent commit history?\n ```\n\n\n ## Your agent is never limited to built-in commands\n\n\n `glab`'s first-class commands cover the most common workflows, but your agent is never limited to them. Through `glab api`, it has authenticated access to the full GitLab REST and GraphQL API surface, using the same session, with no extra credentials or configuration required.\n\n\n This is a meaningful differentiator. Most CLI tools stop at what their commands expose. With `glab`, if GitLab's API supports it, your agent can do it. It's always working from a trusted, authenticated context.\n\n\n A practical example: fetching just the list of changed files in an MR before deciding which diffs to pull in full:\n\n\n ```shell\n # Get changed file paths — lightweight, no diff content yet\n glab api \"/projects/$CI_PROJECT_ID/merge_requests/$CI_MERGE_REQUEST_IID/diffs?per_page=100\" \\\n | jq '.[].new_path'\n\n# Then fetch only the specific file your agent needs\nglab api \"/projects/$CI_PROJECT_ID/merge_requests/$CI_MERGE_REQUEST_IID/diffs?per_page=100\" \\\n| jq '.[] | select(.new_path == \"path/to/file.go\")'\n ```\n\n\n ```text\n \"internal/auth/token.go\"\n \"internal/auth/token_test.go\"\n \"internal/oauth/refresh.go\"\n ```\n\n\n For anything the REST API doesn't cover (epics, certain work item queries, complex cross-project data),  `glab api graphql` gives you the full\n GraphQL interface:\n\n\n ```shell\n   glab api graphql -f query='\n {\n   project(fullPath: \"gitlab-org/gitlab\") {\n     mergeRequest(iid: \"12345\") {\n       title\n       reviewers { nodes { username } }\n     }\n   }\n }'\n ```\n\n ```json\n{\n   \"data\": {\n     \"project\": {\n       \"mergeRequest\": {\n         \"title\": \"feat: add OAuth2 support\",\n         \"reviewers\": {\n           \"nodes\": [\n             { \"username\": \"dmurphy\" },\n             { \"username\": \"sreeves\" }\n           ]\n         }\n       }\n     }\n   }\n }\n\n ```\n\n\n Your agent has a single, authenticated entry point to everything GitLab exposes without the token juggling, separate API clients, or configuration\n overhead.\n\n\n ## What's coming and your feedback\n\n\n Two improvements we're actively working on will make `glab` even more useful for agent workflows:\n\n\n **Agent-aware help text.** Today, `--help` output is written for humansvat a terminal. We're updating it to surface the non-interactive alternative\n for every interactive command, flag which commands support `--output json`, and generally make help a useful resource for agents discovering\n capabilities at runtime — not just humans.\n\n\n **Better machine-readable errors.** When something goes wrong today, agents get the same human-readable error messages as terminal users. We're\n changing that so errors in JSON mode return structured output, giving your agent the information it needs to handle failures gracefully, retry intelligently, or surface the right context back to you.\n\n\n Both of these are in active development. If you're already using `glab` with an AI tool, you're exactly the audience we want feedback from.\n\n\n * **What friction are you hitting?** Commands that don't behave well in agent contexts, error messages that aren't actionable, gaps in JSON output\n coverage. We want to know.\n\n * **What workflows have you unlocked?** Real usage patterns help us prioritize what to build next.\n\n\n Join the discussion in [our feedback issue](https://gitlab.com/gitlab-org/cli/-/issues/8177) — that's where we're shaping the roadmap for agent-friendliness, and where your input will have the most direct impact. If you've found a specific gap, [open an issue](https://gitlab.com/gitlab-org/cli/-/issues/new). If you've got a fix in mind, contributions are welcome. Visit [CONTRIBUTING.md](https://gitlab.com/gitlab-org/cli/-/blob/main/CONTRIBUTING.md) to get started.\n\n\n The GitLab CLI has always been about giving developers more control over their workflow. As AI becomes a bigger part of how we all work, that means making `glab` the best possible interface between your AI tools and your GitLab projects. We're just getting started and we'd love to build the next part with you.\n",[24,745,25],{"featured":32,"template":17,"slug":759},"give-your-ai-agent-direct-structured-gitlab-access-with-glab-cli",{"content":761,"config":769},{"title":762,"description":763,"authors":764,"heroImage":754,"date":766,"body":767,"category":13,"tags":768},"GitHub Copilot's new policy for AI training is a governance wake-up call","Learn what GitHub's Copilot policy change means for regulated industries, and why GitLab's commitment to customer data privacy matters.",[765],"Allie Holland","2026-04-20","GitHub recently [announced](https://github.blog/news-insights/company-news/updates-to-github-copilot-interaction-data-usage-policy/) a significant change to how it handles data from Copilot users. Starting April 24, 2026, interaction data from Copilot Free, Pro, and Pro+ users, including inputs, outputs, code snippets, and associated context, will be used to train AI models by default, unless users actively opt out. Copilot Business and Enterprise customers are exempt under existing contract terms.\n\nFor organizations in regulated industries, including finance, healthcare, defense, and public sector, the policy shift raises questions that go beyond individual developer preferences. It forces a harder look at a question that engineering and security leaders should be asking every AI vendor in their stack: Do you train on our code? \n\nGitLab's answer is no. GitLab does not train AI models on customer code at any tier, and AI vendors are contractually prohibited from using customer inputs or outputs for their own purposes. The [GitLab AI Transparency Center](https://about.gitlab.com/ai-transparency-center/) makes that commitment auditable: a single location documenting which models power which features, how data is handled, subprocessor relationships, and data retention periods. The GitLab AI Transparency Center also lists the compliance status of each feature, including confirmation that GitLab's current AI features do not qualify as high-risk systems under the EU AI Act. It's a standard GitLab CEO Bill Staples has consistently [reiterated](https://www.linkedin.com/posts/williamstaples_gitlab-1810-agentic-ai-now-open-to-even-activity-7443280763715985408-aHxf?utm_source=share&utm_medium=member_desktop&rcm=ACoAABsu7EUBcb_a1-JHKS9RC0B5rf8Ye-5XM60) and one reflected in GitLab's mission and [Trust Center](https://trust.gitlab.com/).\n\n## What the policy change actually means\n\nGitHub's announcement also specifies that the data may be shared with GitHub affiliates, including Microsoft, for AI development purposes.\n\nA policy change of this nature forces organizations to re-examine their AI governance posture, audit their Copilot license tiers, and confirm that the right controls are configured across their teams.\n\n## Why AI governance matters in regulated environments\n\nSource code is often among an organization's most sensitive intellectual property. It may contain references to internal systems, reflect proprietary business logic, or touch data flows governed by strict retention and access policies. When that code passes through an AI assistant, questions about training data usage, model vendor relationships, and data residency become compliance concerns.\n\nThe exposure is particularly acute for financial services firms that have invested in proprietary algorithms, fraud detection logic, credit risk models, underwriting rules, trading strategies. When AI tooling processes that code and uses it to train models serving competitors, vendor data practices become an IP concern.\n\nFinancial institutions operating under [the Federal Reserve's Supervisory Guidance on Model Risk Management (SR 11-7) and the](https://www.federalreserve.gov/supervisionreg/srletters/sr1107.htm) [Digital Operational Resilience Act (DORA)](https://eur-lex.europa.eu/eli/reg/2022/2554/oj/eng) are required to maintain documented, auditable oversight of third-party technology providers, including understanding how those providers handle data. Third-party AI tools used in development workflows increasingly fall within the scope of model risk oversight, and material changes to vendor data practices require updated documentation. \n\nIn the public sector, [the National Institute of Standards and Technology Special Publication 800-53 (NIST 800-53)](https://csrc.nist.gov/publications/detail/sp/800-53/rev-5/final) and the [Federal Information Security Modernization Act (FISMA)](https://www.cisa.gov/topics/cyber-threats-and-advisories/federal-information-security-modernization-act) establish that sensitive or classified code must never leave a controlled boundary. For U.S. Department of Defense and intelligence community environments in particular, a vendor's default data posture is an operational concern. In healthcare, [the Health Insurance Portability and Accountability Act (HIPAA)](https://www.hhs.gov/hipaa/index.html) governs how patient-adjacent data is handled by third parties, and development environments that touch clinical systems increasingly fall within that scope.\n\nAcross all of these contexts, the common thread is the same: A vendor policy that changes data usage defaults, requires individual opt-out, and offers different protections depending on account tier introduces exactly the kind of uncontrolled variable that compliance teams cannot afford.\n\n## What regulated industries actually need from AI vendors\n\nRegulated organizations have largely moved past debating whether to adopt AI in development workflows. The focus now is on doing so in a way they can defend to regulators, boards, and customers. That shift has surfaced a consistent set of requirements regardless of sector.\n\n**Contractual certainty.** Regulated firms need to know, with specificity, what happens to their data. A clear, documented, unconditional commitment is what's required, not something that varies by plan or requires action before a deadline.\n\n**Auditability.** Model risk management frameworks require organizations to understand and validate the AI systems they deploy, including the training data behind those models and the third parties involved in their development. Vendors who cannot answer these questions create documentation risk for the organizations relying on them.\n\n**Separation from vendor incentives.** When an AI vendor trains models on customer usage data, code and workflows become inputs to a system that also serves competitors. For institutions with proprietary trading logic, underwriting models, or fraud detection systems, that's a genuine IP exposure.\n\n## GitLab's position on AI data governance\n\nGitLab does not use customer code to train AI models. This commitment applies at every tier, and AI vendors are contractually prohibited from using inputs or outputs associated with GitLab customers for their own purposes.\n\nThis is a deliberate architectural and policy choice, not a feature of a particular pricing tier. As GitLab's [post on enterprise independence](https://about.gitlab.com/blog/why-enterprise-independence-matters-more-than-ever-in-devsecops/) notes, data governance has become \"an increasingly critical factor in enterprise technology decisions, driven by a complex web of national and regional data protection laws and growing concern about control over sensitive intellectual property.\"\n\nGitLab is also cloud-neutral and model-neutral while supporting self-hosted deployments, not commercially tied to any single cloud provider or large language model (LLM). That i[ndependence matters](https://about.gitlab.com/blog/why-enterprise-independence-matters-more-than-ever-in-devsecops/) for regulated organizations evaluating vendor concentration risk. The [AI Continuity Plan](https://handbook.gitlab.com/handbook/product/ai/continuity-plan/) documents how vendor changes are managed, including material changes to how AI vendors treat customer data, a direct response to the governance requirements under frameworks like [DORA](https://handbook.gitlab.com/handbook/legal/dora/). \n\n## The governance gap AI teams need to close\n\nGitHub's policy update is a reminder that for organizations in regulated industries, understanding exactly how an AI tool handles data is a prerequisite for using it at all. That means asking vendors for clear, documented answers: Is our data used for model training? Who are your AI model subprocessors? What happens if a vendor changes its data practices? Can we deploy in a way that keeps all AI processing within our own infrastructure? What indemnification do you offer for AI-generated output?\n\nVendors who can answer those questions clearly, and document those answers in an auditable form, are vendors you can build on. **Those who cannot will create compliance debt every time they ship a policy update.** And when a vendor can change its data practices with 30 days notice, that's not a partnership built for regulated industries. That's a liability.\n\n> Learn more about GitLab's approach to AI governance at the [GitLab AI Transparency Center](https://about.gitlab.com/ai-transparency-center/).",[24,745],{"featured":16,"template":17,"slug":770},"github-copilots-new-policy-for-ai-training-is-a-governance-wake-up-call",{"promotions":772},[773,786,797,808],{"id":774,"categories":775,"header":776,"text":777,"button":778,"image":783},"ai-modernization",[13],"Is AI achieving its promise at scale?","Quiz will take 5 minutes or less",{"text":779,"config":780},"Get your AI maturity score",{"href":781,"dataGaName":782,"dataGaLocation":249},"/assessments/ai-modernization-assessment/","modernization assessment",{"config":784},{"src":785},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1772138786/qix0m7kwnd8x2fh1zq49.png",{"id":787,"categories":788,"header":789,"text":777,"button":790,"image":794},"devops-modernization",[745,575],"Are you just managing tools or shipping innovation?",{"text":791,"config":792},"Get your DevOps maturity score",{"href":793,"dataGaName":782,"dataGaLocation":249},"/assessments/devops-modernization-assessment/",{"config":795},{"src":796},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1772138785/eg818fmakweyuznttgid.png",{"id":798,"categories":799,"header":800,"text":777,"button":801,"image":805},"security-modernization",[26],"Are you trading speed for security?",{"text":802,"config":803},"Get your security maturity score",{"href":804,"dataGaName":782,"dataGaLocation":249},"/assessments/security-modernization-assessment/",{"config":806},{"src":807},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1772138786/p4pbqd9nnjejg5ds6mdk.png",{"id":809,"paths":810,"header":813,"text":814,"button":815,"image":820},"github-azure-migration",[811,812],"migration-from-azure-devops-to-gitlab","integrating-azure-devops-scm-and-gitlab","Is your team ready for GitHub's Azure move?","GitHub is already rebuilding around Azure. Find out what it means for you.",{"text":816,"config":817},"See how GitLab compares to GitHub",{"href":818,"dataGaName":819,"dataGaLocation":249},"/compare/gitlab-vs-github/github-azure-migration/","github azure migration",{"config":821},{"src":796},{"header":823,"blurb":824,"button":825,"secondaryButton":830},"Start building faster today","See what your team can do with the intelligent orchestration platform for DevSecOps.\n",{"text":826,"config":827},"Get your free trial",{"href":828,"dataGaName":56,"dataGaLocation":829},"https://gitlab.com/-/trial_registrations/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/","feature",{"text":512,"config":831},{"href":60,"dataGaName":61,"dataGaLocation":829},1777493576677]