[{"data":1,"prerenderedAt":1170},["ShallowReactive",2],{"/blog/enable-secure-sudo-access-for-gitlab-remote-development-workspaces":3,"navigation-en-us":417,"banner-en-us":855,"footer-en-us":863,"blog-post-authors-en-us-Vishal Tak":1110,"blog-related-posts-en-us-enable-secure-sudo-access-for-gitlab-remote-development-workspaces":1125,"blog-share-wrapper-en-us":1150,"next-steps-en-us":1160},{"id":4,"title":5,"authors":6,"body":8,"category":394,"date":395,"description":396,"extension":397,"externalUrl":398,"faq":398,"featured":399,"heroImage":400,"hidePromo":401,"meta":402,"navigation":399,"path":403,"seo":404,"slug":408,"stem":409,"tags":410,"template":415,"updatedDate":398,"__hash__":416},"blogPosts/en-us/blog/enable-secure-sudo-access-for-gitlab-remote-development-workspaces.md","Enable secure sudo access for GitLab Remote Development workspaces",[7],"Vishal Tak",{"type":9,"value":10,"toc":384},"minimark",[11,22,27,30,41,56,63,69,78,84,120,123,129,135,141,145,154,157,164,167,172,179,182,196,202,220,224,231,234,244,250,260,264,271,274,283,289,299,310,314,320,330,345,347,353,357,369,380],[12,13,14,15,21],"p",{},"A development environment often requires sudo permissions to install, configure, and use dependencies during runtime. GitLab now allows secure sudo access for ",[16,17,20],"a",{"href":18,"rel":19},"https://about.gitlab.com/blog/quick-start-guide-for-gitlab-workspaces/",[],"GitLab Remote Development workspaces",". This tutorial shows you how to enable GitLab workspace users to securely use sudo commands to perform common tasks.",[23,24,26],"h2",{"id":25},"the-challenge","The challenge",[12,28,29],{},"For the sake of this article, say your project is as simple as the below code.",[31,32,38],"pre",{"className":33,"code":35,"language":36,"meta":37},[34],"language-text","package main\n\nimport (\n    \"encoding/json\"\n    \"log/slog\"\n    \"net/http\"\n    \"os\"\n)\n\nfunc main() {\n    // Set up JSON logger\n    logFile, err := os.OpenFile(\"server.log\", os.O_CREATE|os.O_WRONLY|os.O_APPEND, 0666)\n    if err != nil {\n        panic(err)\n    }\n    defer logFile.Close()\n\n    jsonHandler := slog.NewJSONHandler(logFile, nil)\n    logger := slog.New(jsonHandler)\n    slog.SetDefault(logger)\n\n    // Define handlers\n    http.HandleFunc(\"/path1\", handleRequest)\n    http.HandleFunc(\"/path2\", handleRequest)\n\n    // Start server\n    slog.Info(\"Starting server on :3000\")\n    err = http.ListenAndServe(\":3000\", nil)\n    if err != nil {\n        slog.Error(\"Server failed to start\", \"error\", err)\n    }\n}\n\nfunc handleRequest(w http.ResponseWriter, r *http.Request) {\n    data := make(map[string]interface{})\n    for k, v := range r.Header {\n        data[k] = v\n    }\n\n    data[\"method\"] = r.Method\n    data[\"url\"] = r.URL.String()\n    data[\"remote_addr\"] = r.RemoteAddr\n\n    response, err := json.MarshalIndent(data, \"\", \"  \")\n    if err != nil {\n        slog.Error(\"Failed to marshal metadata\", \"error\", err)\n        http.Error(w, \"Internal Server Error\", http.StatusInternalServerError)\n        return\n    }\n\n    // Log the metadata\n    slog.Info(\"Request received\",\n        \"path\", r.URL.Path,\n        \"response\", string(response),\n    )\n\n    // Write response\n    w.Header().Set(\"Content-Type\", \"application/json\")\n    w.Write(response)\n}\n","text","",[39,40,35],"code",{"__ignoreMap":37},[12,42,43,44,47,48,51,52,55],{},"This code starts an HTTP server on port 3000, exposes two paths: ",[39,45,46],{},"path1"," and ",[39,49,50],{},"path2",". Each HTTP request received is logged to a file ",[39,53,54],{},"server.log",".",[12,57,58,59,62],{},"Let's run this code with ",[39,60,61],{},"go run main.go"," and generate some requests.",[31,64,67],{"className":65,"code":66,"language":36,"meta":37},[34],"i=1\nwhile [ \"$i\" -le 100 ]; do\n  echo \"Iteration $i\"\n\n  if [ $((random_number % 2)) -eq 0 ]; then\n    curl \"localhost:3000/path1\"\n  else\n    curl \"localhost:3000/path2\"\n  fi\n\n  i=$((i + 1))\ndone\n",[39,68,66],{"__ignoreMap":37},[12,70,71,72,77],{},"As you work on this application, you realize the need to analyze the logs to debug an issue. You look at the log file and it is long to parse with a simple glance. You remember there is a handy tool, ",[16,73,76],{"href":74,"rel":75},"https://jqlang.github.io/jq/",[],"jq",", which parses JSON data. But your workspace does not have it installed.",[12,79,80,81,83],{},"You want to install ",[39,82,76],{}," through the package manager for this workspace only.",[31,85,89],{"className":86,"code":87,"language":88,"meta":37,"style":37},"language-shell shiki shiki-themes github-light","sudo apt update\nsudo apt install jq\n","shell",[39,90,91,107],{"__ignoreMap":37},[92,93,96,100,104],"span",{"class":94,"line":95},"line",1,[92,97,99],{"class":98},"s7eDp","sudo",[92,101,103],{"class":102},"sYBdl"," apt",[92,105,106],{"class":102}," update\n",[92,108,110,112,114,117],{"class":94,"line":109},2,[92,111,99],{"class":98},[92,113,103],{"class":102},[92,115,116],{"class":102}," install",[92,118,119],{"class":102}," jq\n",[12,121,122],{},"The output is:",[31,124,127],{"className":125,"code":126,"language":36,"meta":37},[34],"sudo: The \"no new privileges\" flag is set, which prevents sudo from running as root.\nsudo: If sudo is running in a container, you may need to adjust the container configuration to disable the flag.\n",[39,128,126],{"__ignoreMap":37},[12,130,131,132,134],{},"This happens because GitLab workspaces explicitly disallows ",[39,133,99],{}," access to prevent privilege escalation on the Kubernetes host.",[12,136,137,138,140],{},"Now, there is a more secure way to run ",[39,139,99],{}," commands in a workspace.",[23,142,144],{"id":143},"how-sudo-access-works","How sudo access works",[12,146,147,148,153],{},"That is exactly what we have ",[16,149,152],{"href":150,"rel":151},"https://docs.gitlab.com/user/workspace/configuration/#configure-sudo-access-for-a-workspace",[],"unlocked"," in the 17.4 release of GitLab.",[12,155,156],{},"You can configure secure sudo access for workspaces using any of the following options:",[158,159,160],"ul",{},[161,162,163],"li",{},"Sysbox  - Kata Containers  - User namespaces",[12,165,166],{},"We will set up three GitLab agents for workspaces to demonstrate each option.",[168,169,171],"h3",{"id":170},"sysbox","Sysbox",[12,173,174,178],{},[16,175,171],{"href":176,"rel":177},"https://github.com/nestybox/sysbox",[]," is a container runtime that improves container isolation and enables containers to run the same workloads as virtual machines.",[12,180,181],{},"To configure sudo access for a workspace with Sysbox:",[183,184,185,193],"ol",{},[161,186,187,188,55],{},"In the Kubernetes cluster, ",[16,189,192],{"href":190,"rel":191},"https://github.com/nestybox/sysbox#installation",[],"install Sysbox",[161,194,195],{},"In the GitLab agent for workspaces, set the following config:",[31,197,200],{"className":198,"code":199,"language":36,"meta":37},[34],"remote_development:\n  enabled: true\n  dns_zone: \"sysbox-update.me.com\"\n  default_runtime_class: \"sysbox-runc\"\n  allow_privilege_escalation: true\n  annotations:\n    \"io.kubernetes.cri-o.userns-mode\": \"auto:size=65536\"\n",[39,201,199],{"__ignoreMap":37},[183,203,205],{"start":204},3,[161,206,207,208,213,214,219],{},"Add other settings in the agent config as per your requirements. ",[16,209,212],{"href":210,"rel":211},"https://docs.gitlab.com/user/workspace/gitlab_agent_configuration/#workspace-settings",[],"GitLab agent for workspaces settings"," for more information about individual settings.  4. Allow the agent to be used for workspaces in a group. See the ",[16,215,218],{"href":216,"rel":217},"https://docs.gitlab.com/user/workspace/gitlab_agent_configuration/#allow-a-cluster-agent-for-workspaces-in-a-group",[],"documentation"," for more information.  5. Update GitLab Workspaces Proxy to serve traffic for the domain used in the above agent configuration. See Tutorial: Set up the GitLab workspaces proxy for more information.",[168,221,223],{"id":222},"kata-containers","Kata Containers",[12,225,226,230],{},[16,227,223],{"href":228,"rel":229},"https://github.com/kata-containers/kata-containers",[]," is a standard implementation of lightweight virtual machines that perform like containers but provide the workload isolation and security of virtual machines.",[12,232,233],{},"To configure sudo access for a workspace with Kata Containers:",[183,235,236],{},[161,237,187,238,243],{},[16,239,242],{"href":240,"rel":241},"https://github.com/kata-containers/kata-containers/tree/main/docs/install",[],"install Kata Containers",".  2. In the GitLab agent for workspaces, set the following config:",[31,245,248],{"className":246,"code":247,"language":36,"meta":37},[34],"remote_development:\n  enabled: true\n  dns_zone: \"kata-update.me.com\"\n  default_runtime_class: \"kata-qemu\"\n  allow_privilege_escalation: true\n",[39,249,247],{"__ignoreMap":37},[183,251,252],{"start":204},[161,253,207,254,213,257,219],{},[16,255,212],{"href":210,"rel":256},[],[16,258,218],{"href":216,"rel":259},[],[168,261,263],{"id":262},"user-namespaces","User namespaces",[12,265,266,270],{},[16,267,263],{"href":268,"rel":269},"https://kubernetes.io/docs/concepts/workloads/pods/user-namespaces/",[]," isolate the user running inside the container from the user on the host.",[12,272,273],{},"To configure sudo access for a workspace with user namespaces:",[183,275,276],{},[161,277,187,278,243],{},[16,279,282],{"href":280,"rel":281},"https://kubernetes.io/blog/userns-beta/",[],"configure user namespaces",[31,284,287],{"className":285,"code":286,"language":36,"meta":37},[34],"remote_development:\n  enabled: true\n  dns_zone: \"userns-update.me.com\"\n  use_kubernetes_user_namespaces: true\n  allow_privilege_escalation: true\n",[39,288,286],{"__ignoreMap":37},[183,290,291],{"start":204},[161,292,207,293,213,296,219],{},[16,294,212],{"href":210,"rel":295},[],[16,297,218],{"href":216,"rel":298},[],[12,300,301,302,55],{},"Setting up a Kubernetes cluster with user namespaces configured is challenging since it is behind a beta feature gate in Kubernetes Version 1.31.0. This means it is not yet possible to configure such a cluster on the major cloud providers because they don't provide a mechanism to enable feature gates in their managed Kubernetes offering. Here is an example of ",[16,303,306,307],{"href":304,"rel":305},"https://gitlab.com/gitlab-org/gitlab/-/issues/468290#note_1959300036",[],"configuring a simple Kuberenetes cluster using ",[39,308,309],{},"kubeadm",[168,311,313],{"id":312},"create-a-workspace","Create a workspace",[12,315,316,317,319],{},"If you now create a workspace with these agents and try installing ",[39,318,76],{}," through a package manager, it should succeed!",[12,321,322,323,325,326,329],{},"You can analyze the logs using ",[39,324,76],{},". Say you wanted to inspect the log entries where the path is ",[39,327,328],{},"/path1",", you can run:",[31,331,333],{"className":86,"code":332,"language":88,"meta":37,"style":37},"jq 'select(.path == \"/path1\")' server.log\n",[39,334,335],{"__ignoreMap":37},[92,336,337,339,342],{"class":94,"line":95},[92,338,76],{"class":98},[92,340,341],{"class":102}," 'select(.path == \"/path1\")'",[92,343,344],{"class":102}," server.log\n",[12,346,122],{},[31,348,351],{"className":349,"code":350,"language":36,"meta":37},[34],"{\n  \"time\": \"2024-10-31T12:04:38.474806+05:30\",\n  \"level\": \"INFO\",\n  \"msg\": \"Request received\",\n  \"path\": \"/path1\",\n  \"response\": \"{\\n  \\\"Accept\\\": [\\n    \\\"*/*\\\"\\n  ],\\n  \\\"User-Agent\\\": [\\n    \\\"curl/8.7.1\\\"\\n  ],\\n  \\\"method\\\": \\\"GET\\\",\\n  \\\"remote_addr\\\": \\\"[::1]:61246\\\",\\n  \\\"url\\\": \\\"/path1\\\"\\n}\"\n}\n{\n  \"time\": \"2024-10-31T12:06:22.397453+05:30\",\n  \"level\": \"INFO\",\n  \"msg\": \"Request received\",\n  \"path\": \"/path1\",\n  \"response\": \"{\\n  \\\"Accept\\\": [\\n    \\\"*/*\\\"\\n  ],\\n  \\\"User-Agent\\\": [\\n    \\\"curl/8.7.1\\\"\\n  ],\\n  \\\"method\\\": \\\"GET\\\",\\n  \\\"remote_addr\\\": \\\"[::1]:61311\\\",\\n  \\\"url\\\": \\\"/path1\\\"\\n}\"\n}\n{\n  \"time\": \"2024-10-31T12:19:34.974354+05:30\",\n  \"level\": \"INFO\",\n  \"msg\": \"Request received\",\n  \"path\": \"/path1\",\n  \"response\": \"{\\n  \\\"Accept\\\": [\\n    \\\"*/*\\\"\\n  ],\\n  \\\"User-Agent\\\": [\\n    \\\"curl/8.7.1\\\"\\n  ],\\n  \\\"method\\\": \\\"GET\\\",\\n  \\\"remote_addr\\\": \\\"[::1]:61801\\\",\\n  \\\"url\\\": \\\"/path1\\\"\\n}\"\n}\n",[39,352,350],{"__ignoreMap":37},[23,354,356],{"id":355},"get-started-today","Get started today",[12,358,359,360,364,365,368],{},"Learn even more with our ",[16,361,363],{"href":150,"rel":362},[],"Configure sudo access for a workspace documentation",". See ",[16,366,212],{"href":210,"rel":367},[]," for details on individual settings.",[370,371,372],"blockquote",{},[12,373,374,375,379],{},"New to GitLab Remote Development? Here is a ",[16,376,378],{"href":18,"rel":377},[],"quickstart guide"," to get you up to speed.",[381,382,383],"style",{},"html pre.shiki code .s7eDp, html code.shiki .s7eDp{--shiki-default:#6F42C1}html pre.shiki code .sYBdl, html code.shiki .sYBdl{--shiki-default:#032F62}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":37,"searchDepth":109,"depth":109,"links":385},[386,387,393],{"id":25,"depth":109,"text":26},{"id":143,"depth":109,"text":144,"children":388},[389,390,391,392],{"id":170,"depth":204,"text":171},{"id":222,"depth":204,"text":223},{"id":262,"depth":204,"text":263},{"id":312,"depth":204,"text":313},{"id":355,"depth":109,"text":356},"security","2024-11-20","Learn how to allow support for sudo commands using Sysbox, Kata Containers, and user namespaces in this easy-to-follow tutorial.","md",null,true,"https://res.cloudinary.com/about-gitlab-com/image/upload/v1749675033/Blog/Hero%20Images/blog-image-template-1800x945.png",false,{},"/en-us/blog/enable-secure-sudo-access-for-gitlab-remote-development-workspaces",{"title":5,"description":396,"ogTitle":5,"ogDescription":396,"noIndex":401,"ogImage":400,"ogUrl":405,"ogSiteName":406,"ogType":407,"canonicalUrls":405},"https://about.gitlab.com/blog/enable-secure-sudo-access-for-gitlab-remote-development-workspaces","https://about.gitlab.com","article","enable-secure-sudo-access-for-gitlab-remote-development-workspaces","en-us/blog/enable-secure-sudo-access-for-gitlab-remote-development-workspaces",[394,411,412,413,414],"tutorial","remote work","DevSecOps platform","collaboration","BlogPost","yKnwIHNEvsHdKczMyi4wbRXakKm-cXlyyn6CizeWbWc",{"logo":418,"freeTrial":423,"sales":428,"login":433,"items":438,"search":774,"minimal":806,"duo":825,"switchNav":834,"pricingDeployment":845},{"config":419},{"href":420,"dataGaName":421,"dataGaLocation":422},"/","gitlab logo","header",{"text":424,"config":425},"Get free trial",{"href":426,"dataGaName":427,"dataGaLocation":422},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com&glm_content=default-saas-trial/","free trial",{"text":429,"config":430},"Request a demo",{"href":431,"dataGaName":432,"dataGaLocation":422},"/request-a-demo/","sales",{"text":434,"config":435},"Sign in",{"href":436,"dataGaName":437,"dataGaLocation":422},"https://gitlab.com/users/sign_in/","sign in",[439,525,613,618,698,752],{"text":440,"left":399,"config":441,"menu":443},"Platform",{"dataNavLevelOne":442},"platform",{"type":444,"link":445,"columns":449,"feature":514},"lists",{"text":446,"config":447},"Explore the Platform",{"href":448,"dataGaName":442,"dataGaLocation":422},"/platform/",[450,473,496],{"title":451,"items":452},"DevOps",[453,458,463,468],{"text":454,"config":455},"CI/CD",{"href":456,"dataGaLocation":422,"dataGaName":457},"/solutions/continuous-integration/","ci/cd",{"text":459,"config":460},"Source Code Management",{"href":461,"dataGaLocation":422,"dataGaName":462},"/solutions/source-code-management/","source code management",{"text":464,"config":465},"Agile Delivery",{"href":466,"dataGaLocation":422,"dataGaName":467},"/solutions/agile-delivery/","agile delivery",{"text":469,"config":470},"Artifact Management",{"href":471,"dataGaLocation":422,"dataGaName":472},"/artifact-central/","artifact management",{"title":474,"items":475},"Security & Governance",[476,481,486,491],{"text":477,"config":478},"Application Security Testing",{"href":479,"dataGaLocation":422,"dataGaName":480},"/solutions/application-security-testing/","application security testing",{"text":482,"config":483},"Governance & Compliance",{"href":484,"dataGaLocation":422,"dataGaName":485},"/solutions/software-compliance/","governance and compliance",{"text":487,"config":488},"Secrets Management",{"href":489,"dataGaLocation":422,"dataGaName":490},"/gitlab-secrets-manager/","secrets management",{"text":492,"config":493},"Supply Chain Security",{"href":494,"dataGaLocation":422,"dataGaName":495},"/solutions/supply-chain/","supply chain security",{"title":497,"items":498},"Agentic AI & Context",[499,504,509],{"text":500,"config":501},"Duo Agent Platform",{"href":502,"dataGaLocation":422,"dataGaName":503},"/gitlab-duo-agent-platform/","duo agent platform",{"text":505,"config":506},"Orbit Context Graph",{"href":507,"dataGaLocation":422,"dataGaName":508},"/gitlab-orbit/","orbit",{"text":510,"config":511},"Visibility & Measurement",{"href":512,"dataGaLocation":422,"dataGaName":513},"/solutions/visibility-measurement/","visibility and measurement",{"config":515,"title":518,"text":519,"link":520},{"background":516,"textColor":517},"url('https://res.cloudinary.com/about-gitlab-com/image/upload/v1790185102/o7dn32anqcb6z8dgd3as.jpg')","#000","GitLab Orbit is generally available","Higher agent accuracy, lower token cost",{"text":521,"config":522},"Read the announcement",{"href":523,"dataGaName":524,"dataGaLocation":422},"/blog/gitlab-orbit-ga/","orbit ga announcement",{"text":526,"left":399,"config":527,"menu":529},"Solutions",{"dataNavLevelOne":528},"solutions",{"type":444,"link":530,"columns":534,"feature":604},{"text":531,"config":532},"View all Solutions",{"href":533,"dataGaName":528,"dataGaLocation":422},"/solutions/",[535,553,571],{"title":536,"items":537},"Outcomes",[538,543,548],{"text":539,"config":540},"DevOps Modernization",{"href":541,"dataGaLocation":422,"dataGaName":542},"/assessments/devops-modernization-assessment/","devops modernization",{"text":544,"config":545},"Security Modernization",{"href":546,"dataGaLocation":422,"dataGaName":547},"/assessments/security-modernization-assessment/","security modernization",{"text":549,"config":550},"AI Modernization",{"href":551,"dataGaLocation":422,"dataGaName":552},"/assessments/ai-modernization-assessment/","ai modernization",{"title":554,"items":555},"By size",[556,561,566],{"text":557,"config":558},"Enterprise",{"href":559,"dataGaLocation":422,"dataGaName":560},"/enterprise/","enterprise",{"text":562,"config":563},"Small Business",{"href":564,"dataGaLocation":422,"dataGaName":565},"/small-business/","small business",{"text":567,"config":568},"Startups",{"href":569,"dataGaLocation":422,"dataGaName":570},"/solutions/startups/","startups",{"title":572,"items":573},"Industries",[574,579,584,589,594,599],{"text":575,"config":576},"Financial Services",{"href":577,"dataGaLocation":422,"dataGaName":578},"/solutions/finance/","financial services",{"text":580,"config":581},"Public Sector",{"href":582,"dataGaLocation":422,"dataGaName":583},"/solutions/public-sector/","public sector",{"text":585,"config":586},"Telecommunications",{"href":587,"dataGaLocation":422,"dataGaName":588},"/solutions/telecommunications/","telecommunications",{"text":590,"config":591},"Automotive",{"href":592,"dataGaLocation":422,"dataGaName":593},"/solutions/automotive/","automotive",{"text":595,"config":596},"Education",{"href":597,"dataGaLocation":422,"dataGaName":598},"/solutions/education/","education",{"text":600,"config":601},"Aerospace",{"href":602,"dataGaLocation":422,"dataGaName":603},"/solutions/aerospace/","aerospace",{"config":605,"title":606,"text":607,"link":608},{"background":516,"textColor":517},"GitLab Security Standard","Learn how to harden your software factory and let AI agents earn autonomy, without trading away security.",{"text":609,"config":610},"Explore the standard",{"href":611,"dataGaName":612,"dataGaLocation":422},"/gitlab-security-standard/","gitlab security standard",{"text":614,"config":615},"Pricing",{"href":616,"dataGaName":617,"dataGaLocation":422,"dataNavLevelOne":617},"/pricing/","pricing",{"text":619,"config":620,"menu":622},"Resources",{"dataNavLevelOne":621},"resources",{"type":444,"link":623,"columns":627,"feature":689},{"text":624,"config":625},"View all resources",{"href":626,"dataGaName":621,"dataGaLocation":422},"/resources/",[628,661],{"title":629,"items":630},"Discover",[631,636,641,646,651,656],{"text":632,"config":633},"Docs",{"href":634,"dataGaName":635,"dataGaLocation":422},"https://docs.gitlab.com/","docs",{"text":637,"config":638},"University",{"href":639,"dataGaName":640,"dataGaLocation":422},"https://university.gitlab.com/","university",{"text":642,"config":643},"Demo Series",{"href":644,"dataGaName":645,"dataGaLocation":422},"/gitlab-technical-demo-series/","demo series",{"text":647,"config":648},"Demo Hub",{"href":649,"dataGaName":650,"dataGaLocation":422},"/demo-hub/","demo hub",{"text":652,"config":653},"Services",{"href":654,"dataGaName":655,"dataGaLocation":422},"/services/","services",{"text":657,"config":658},"Well Architected",{"href":659,"dataGaName":660,"dataGaLocation":422},"/resources/well-architected/","well architected",{"title":662,"items":663},"Connect",[664,669,674,679,684],{"text":665,"config":666},"Blog",{"href":667,"dataGaName":668,"dataGaLocation":422},"/blog/","blog",{"text":670,"config":671},"Community",{"href":672,"dataGaName":673,"dataGaLocation":422},"/community/","community",{"text":675,"config":676},"Customers",{"href":677,"dataGaName":678,"dataGaLocation":422},"/customers/","customers",{"text":680,"config":681},"Partners",{"href":682,"dataGaName":683,"dataGaLocation":422},"/partners/","partners",{"text":685,"config":686},"Events",{"href":687,"dataGaName":688,"dataGaLocation":422},"/events/","events",{"config":690,"title":691,"text":692,"link":693},{"background":516,"textColor":517},"What’s new in GitLab","Stay updated with our latest features and improvements.",{"text":694,"config":695},"Read the latest",{"href":696,"dataGaName":697,"dataGaLocation":422},"/whats-new/","whats new",{"text":699,"config":700,"menu":702},"Company",{"dataNavLevelOne":701},"company",{"type":444,"columns":703},[704],{"items":705},[706,711,717,722,727,732,737,742,747],{"text":707,"config":708},"About",{"href":709,"dataGaName":710,"dataGaLocation":422},"/company/","about",{"text":712,"config":713,"footerGa":716},"Jobs",{"href":714,"dataGaName":715,"dataGaLocation":422},"/jobs/","jobs",{"dataGaName":715},{"text":718,"config":719},"Press",{"href":720,"dataGaName":721,"dataGaLocation":422},"/press/","press",{"text":723,"config":724},"Handbook",{"href":725,"dataGaName":726,"dataGaLocation":422},"https://handbook.gitlab.com/","handbook",{"text":728,"config":729},"Leadership",{"href":730,"dataGaName":731,"dataGaLocation":422},"/company/team/e-group/","leadership",{"text":733,"config":734},"Investor relations",{"href":735,"dataGaName":736,"dataGaLocation":422},"https://ir.gitlab.com/overview/default.aspx","investor relations",{"text":738,"config":739},"Trust Center",{"href":740,"dataGaName":741,"dataGaLocation":422},"/security/","trust center",{"text":743,"config":744},"AI Transparency Center",{"href":745,"dataGaName":746,"dataGaLocation":422},"/ai-transparency-center/","ai transparency center",{"text":748,"config":749},"Newsletter",{"href":750,"dataGaName":751,"dataGaLocation":422},"/company/contact/#contact-forms","newsletter",{"text":753,"config":754,"menu":755},"Contact us",{"dataNavLevelOne":701},{"type":444,"columns":756},[757],{"items":758},[759,764,769],{"text":760,"config":761},"Talk to sales",{"href":762,"dataGaName":763,"dataGaLocation":422},"/sales/","talk to sales",{"text":765,"config":766},"Support portal",{"href":767,"dataGaName":768,"dataGaLocation":422},"https://support.gitlab.com/hc/en-us","support portal",{"text":770,"config":771},"Customer portal",{"href":772,"dataGaName":773,"dataGaLocation":422},"https://customers.gitlab.com/customers/sign_in/","customer portal",{"close":775,"login":776,"suggestions":783},"Close",{"text":777,"link":778},"To search repositories and projects, login to",{"text":779,"config":780},"gitlab.com",{"href":436,"dataGaName":781,"dataGaLocation":782},"search login","search",{"text":784,"default":785},"Suggestions",[786,789,792,794,798,802],{"text":787,"config":788},"GitLab Duo Agent Platform",{"href":502,"dataGaName":787,"dataGaLocation":782},{"text":790,"config":791},"Code Suggestions (AI)",{"href":502,"dataGaName":790,"dataGaLocation":782},{"text":454,"config":793},{"href":456,"dataGaName":454,"dataGaLocation":782},{"text":795,"config":796},"GitLab on AWS",{"href":797,"dataGaName":795,"dataGaLocation":782},"/partners/technology-partners/aws/",{"text":799,"config":800},"GitLab on Google Cloud",{"href":801,"dataGaName":799,"dataGaLocation":782},"/partners/technology-partners/google-cloud-platform/",{"text":803,"config":804},"Why GitLab?",{"href":805,"dataGaName":803,"dataGaLocation":782},"/why-gitlab/",{"freeTrial":807,"mobileIcon":812,"desktopIcon":817,"secondaryButton":820},{"text":808,"config":809},"Start free trial",{"href":810,"dataGaName":427,"dataGaLocation":811},"https://gitlab.com/-/trials/new/","nav",{"altText":813,"config":814},"Gitlab Icon",{"src":815,"dataGaName":816,"dataGaLocation":811},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203874/jypbw1jx72aexsoohd7x.svg","gitlab icon",{"altText":813,"config":818},{"src":819,"dataGaName":816,"dataGaLocation":811},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203875/gs4c8p8opsgvflgkswz9.svg",{"text":821,"config":822},"Get Started",{"href":823,"dataGaName":824,"dataGaLocation":811},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com/get-started/","get started",{"freeTrial":826,"mobileIcon":830,"desktopIcon":832},{"text":827,"config":828},"Learn more about GitLab Duo",{"href":502,"dataGaName":829,"dataGaLocation":811},"gitlab duo",{"altText":813,"config":831},{"src":815,"dataGaName":816,"dataGaLocation":811},{"altText":813,"config":833},{"src":819,"dataGaName":816,"dataGaLocation":811},{"button":835,"mobileIcon":840,"desktopIcon":842},{"text":836,"config":837},"/switch",{"href":838,"dataGaName":839,"dataGaLocation":811},"#contact","switch",{"altText":813,"config":841},{"src":815,"dataGaName":816,"dataGaLocation":811},{"altText":813,"config":843},{"src":844,"dataGaName":816,"dataGaLocation":811},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1773335277/ohhpiuoxoldryzrnhfrh.png",{"freeTrial":846,"mobileIcon":851,"desktopIcon":853},{"text":847,"config":848},"Back to pricing",{"href":616,"dataGaName":849,"dataGaLocation":811,"icon":850},"back to pricing","GoBack",{"altText":813,"config":852},{"src":815,"dataGaName":816,"dataGaLocation":811},{"altText":813,"config":854},{"src":819,"dataGaName":816,"dataGaLocation":811},{"title":856,"button":857,"config":861},"GitLab Orbit is generally available. Increase agent accuracy and lower token cost",{"text":521,"config":858},{"href":523,"dataGaName":859,"dataGaLocation":860},"orbit-ga-banner","global-banner",{"layout":862,"disabled":401},"release",{"data":864},{"text":865,"config":866,"items":871,"minimal":1099},"Git is a trademark of Software Freedom Conservancy and our use of 'GitLab' is under license",{"twitter":867,"facebook":868,"youtube":869,"linkedin":870},"https://twitter.com/gitlab","https://www.facebook.com/gitlab","https://www.youtube.com/channel/UCnMGQ8QHMAnVIsI3xJrihhg","https://www.linkedin.com/company/gitlab-com",[872,920,979,1026,1067],{"title":614,"links":873,"subMenu":889},[874,879,884],{"text":875,"config":876},"View plans",{"href":616,"dataGaName":877,"dataGaLocation":878},"view plans","footer",{"text":880,"config":881},"Why Premium?",{"href":882,"dataGaName":883,"dataGaLocation":878},"/pricing/premium/","why premium",{"text":885,"config":886},"Why Ultimate?",{"href":887,"dataGaName":888,"dataGaLocation":878},"/pricing/ultimate/","why ultimate",[890],{"title":891,"links":892},"Contact Us",[893,896,898,900,905,910,915],{"text":894,"config":895},"Contact sales",{"href":762,"dataGaName":432,"dataGaLocation":878},{"text":765,"config":897},{"href":767,"dataGaName":768,"dataGaLocation":878},{"text":770,"config":899},{"href":772,"dataGaName":773,"dataGaLocation":878},{"text":901,"config":902},"Status",{"href":903,"dataGaName":904,"dataGaLocation":878},"https://status.gitlab.com/","status",{"text":906,"config":907},"Terms of use",{"href":908,"dataGaName":909,"dataGaLocation":878},"/terms/","terms of use",{"text":911,"config":912},"Privacy statement",{"href":913,"dataGaName":914,"dataGaLocation":878},"/privacy/","privacy statement",{"text":916,"config":917},"Cookie preferences",{"dataGaName":918,"dataGaLocation":878,"id":919,"isOneTrustButton":399},"cookie preferences","ot-sdk-btn",{"title":440,"links":921,"subMenu":937},[922,925,927,929,931,933],{"text":923,"config":924},"Explore the platform",{"href":448,"dataGaName":442,"dataGaLocation":878},{"text":500,"config":926},{"href":502,"dataGaName":503,"dataGaLocation":878},{"text":454,"config":928},{"href":456,"dataGaName":457,"dataGaLocation":878},{"text":505,"config":930},{"href":507,"dataGaName":508,"dataGaLocation":878},{"text":487,"config":932},{"href":489,"dataGaName":490,"dataGaLocation":878},{"text":934,"config":935},"Why GitLab",{"href":805,"dataGaName":936,"dataGaLocation":878},"why gitlab",[938],{"title":939,"links":940},"Topics",[941,945,950,954,959,964,969,974],{"text":454,"config":942},{"href":943,"dataGaName":944,"dataGaLocation":878},"/topics/ci-cd/","cicd",{"text":946,"config":947},"GitOps",{"href":948,"dataGaName":949,"dataGaLocation":878},"/topics/gitops/","gitops",{"text":451,"config":951},{"href":952,"dataGaName":953,"dataGaLocation":878},"/topics/devops/","devops",{"text":955,"config":956},"Version Control",{"href":957,"dataGaName":958,"dataGaLocation":878},"/topics/version-control/","version control",{"text":960,"config":961},"DevSecOps",{"href":962,"dataGaName":963,"dataGaLocation":878},"/topics/devsecops/","devsecops",{"text":965,"config":966},"Cloud Native",{"href":967,"dataGaName":968,"dataGaLocation":878},"/topics/cloud-native/","cloud native",{"text":970,"config":971},"AI for Coding",{"href":972,"dataGaName":973,"dataGaLocation":878},"/topics/devops/ai-for-coding/","ai for coding",{"text":975,"config":976},"Agentic AI",{"href":977,"dataGaName":978,"dataGaLocation":878},"/topics/agentic-ai/","agentic ai",{"title":526,"links":980},[981,984,987,990,993,996,998,1000,1002,1004,1006,1009,1011,1014,1018,1022],{"text":982,"config":983},"DevOps modernization",{"href":541,"dataGaName":542,"dataGaLocation":878},{"text":985,"config":986},"Security modernization",{"href":546,"dataGaName":547,"dataGaLocation":878},{"text":988,"config":989},"AI modernization",{"href":551,"dataGaName":552,"dataGaLocation":878},{"text":991,"config":992},"Financial services",{"href":577,"dataGaName":578,"dataGaLocation":878},{"text":994,"config":995},"Public sector",{"href":582,"dataGaName":583,"dataGaLocation":878},{"text":585,"config":997},{"href":587,"dataGaName":588,"dataGaLocation":878},{"text":590,"config":999},{"href":592,"dataGaName":593,"dataGaLocation":878},{"text":595,"config":1001},{"href":597,"dataGaName":598,"dataGaLocation":878},{"text":600,"config":1003},{"href":602,"dataGaName":603,"dataGaLocation":878},{"text":557,"config":1005},{"href":559,"dataGaName":560,"dataGaLocation":878},{"text":1007,"config":1008},"Small business",{"href":564,"dataGaName":565,"dataGaLocation":878},{"text":567,"config":1010},{"href":569,"dataGaName":570,"dataGaLocation":878},{"text":946,"config":1012},{"href":1013,"dataGaName":949,"dataGaLocation":878},"/solutions/gitops/",{"text":1015,"config":1016},"Software composition analysis",{"href":494,"dataGaName":1017,"dataGaLocation":878},"software composition analysis",{"text":1019,"config":1020},"Value stream management",{"href":512,"dataGaName":1021,"dataGaLocation":878},"value stream management",{"text":1023,"config":1024},"All solutions",{"href":533,"dataGaName":1025,"dataGaLocation":878},"all solutions",{"title":619,"links":1027},[1028,1033,1038,1040,1042,1044,1046,1048,1050,1052,1054,1056,1058,1060,1063],{"text":1029,"config":1030},"Install",{"href":1031,"dataGaName":1032,"dataGaLocation":878},"/install/","install",{"text":1034,"config":1035},"Quick start guides",{"href":1036,"dataGaName":1037,"dataGaLocation":878},"/get-started/","quick setup checklists",{"text":632,"config":1039},{"href":634,"dataGaName":635,"dataGaLocation":878},{"text":637,"config":1041},{"href":639,"dataGaName":640,"dataGaLocation":878},{"text":642,"config":1043},{"href":644,"dataGaName":645,"dataGaLocation":878},{"text":647,"config":1045},{"href":649,"dataGaName":650,"dataGaLocation":878},{"text":652,"config":1047},{"href":654,"dataGaName":655,"dataGaLocation":878},{"text":665,"config":1049},{"href":667,"dataGaName":668,"dataGaLocation":878},{"text":670,"config":1051},{"href":672,"dataGaName":673,"dataGaLocation":878},{"text":675,"config":1053},{"href":677,"dataGaName":678,"dataGaLocation":878},{"text":680,"config":1055},{"href":682,"dataGaName":683,"dataGaLocation":878},{"text":685,"config":1057},{"href":687,"dataGaName":688,"dataGaLocation":878},{"text":748,"config":1059},{"href":750,"dataGaName":751,"dataGaLocation":878},{"text":1061,"config":1062},"What's new",{"href":696,"dataGaName":697,"dataGaLocation":878},{"text":1064,"config":1065},"All resources",{"href":626,"dataGaName":1066,"dataGaLocation":878},"all resources",{"title":699,"links":1068},[1069,1071,1073,1075,1077,1079,1081,1083,1085,1089,1094],{"text":707,"config":1070},{"href":709,"dataGaName":701,"dataGaLocation":878},{"text":712,"config":1072},{"href":714,"dataGaName":715,"dataGaLocation":878},{"text":718,"config":1074},{"href":720,"dataGaName":721,"dataGaLocation":878},{"text":723,"config":1076},{"href":725,"dataGaName":726,"dataGaLocation":878},{"text":728,"config":1078},{"href":730,"dataGaName":731,"dataGaLocation":878},{"text":733,"config":1080},{"href":735,"dataGaName":736,"dataGaLocation":878},{"text":738,"config":1082},{"href":740,"dataGaName":741,"dataGaLocation":878},{"text":743,"config":1084},{"href":745,"dataGaName":746,"dataGaLocation":878},{"text":1086,"config":1087},"Sustainability",{"href":1088,"dataGaName":1086,"dataGaLocation":878},"/sustainability/",{"text":1090,"config":1091},"Diversity, inclusion and belonging (DIB)",{"href":1092,"dataGaName":1093,"dataGaLocation":878},"/diversity-inclusion-belonging/","Diversity, inclusion and belonging",{"text":1095,"config":1096},"Modern Slavery Transparency Statement",{"href":1097,"dataGaName":1098,"dataGaLocation":878},"https://handbook.gitlab.com/handbook/legal/modern-slavery-act-transparency-statement/","modern slavery transparency statement",{"items":1100},[1101,1104,1107],{"text":1102,"config":1103},"Terms",{"href":908,"dataGaName":909,"dataGaLocation":878},{"text":1105,"config":1106},"Cookies",{"dataGaName":918,"dataGaLocation":878,"id":919,"isOneTrustButton":399},{"text":1108,"config":1109},"Privacy",{"href":913,"dataGaName":914,"dataGaLocation":878},[1111],{"id":1112,"title":7,"body":398,"config":1113,"content":1115,"description":398,"extension":1119,"meta":1120,"navigation":399,"path":1121,"seo":1122,"stem":1123,"__hash__":1124},"blogAuthors/en-us/blog/authors/vishal-tak.yml",{"template":1114},"BlogAuthor",{"name":7,"config":1116},{"headshot":1117,"ctfId":1118},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1749663854/Blog/Author%20Headshots/vishal_tak_headshot.png","6BalO1YQUIuDdhUP80bFra","yml",{},"/en-us/blog/authors/vishal-tak",{},"en-us/blog/authors/vishal-tak","WQVjyh5oeihTVp9uFThfEtK2F54wNmeVU5OzhSx42vc",[1126,1134,1142],{"title":1127,"description":1128,"heroImage":1129,"category":394,"date":1130,"authors":1131,"slug":1133,"externalUrl":398},"GitLab Orbit: Find vulnerability blast radius without the manual hunt","Exploitation happens at machine speed now. Map every project, owner, and pipeline a critical CVE touches so remediation can keep up.","https://res.cloudinary.com/about-gitlab-com/image/upload/v1780996524/sd1vpl8empy26wizarqj.png","2026-10-29",[1132],"Rebecca Carter","find-vulnerability-blast-radius-with-gitlab-orbit",{"title":1135,"description":1136,"heroImage":1137,"category":394,"date":1138,"authors":1139,"slug":1141,"externalUrl":398},"What happens when vulnerabilities are discovered faster than you can fix them?","Frontier AI is changing how quickly vulnerabilities can be discovered and exploited. The next challenge is bringing that same speed to remediation and prevention, inside the software factory.","https://res.cloudinary.com/about-gitlab-com/image/upload/v1772195014/ooezwusxjl1f7ijfmbvj.png","2026-10-28",[1140],"Bill Staples","security-at-machine-speed",{"title":1143,"description":1144,"heroImage":1145,"category":394,"date":1146,"authors":1147,"slug":1149,"externalUrl":398},"Uncover the business logic vulnerabilities SAST scanners miss","Now in early access, Business Logic Security Analyzer reads your repository, infers what each endpoint should enforce, and flags the gaps.","https://res.cloudinary.com/about-gitlab-com/image/upload/v1756122536/akivvcnafog9c4dhhzkp.png","2026-10-20",[1148],"Chris Widstrom","gitlab-business-logic-security-analyzer",{"header":1151,"text":1152,"button":1156,"disclaimer":1159},"Start your free\n\n30-day GitLab trial\n",[1153,1154,1155],"GitLab Duo Agent Platform access","Try our most advanced features","Automate complex tasks with AI",{"text":424,"config":1157},{"href":1158,"dataGaName":427,"dataGaLocation":668},"https://gitlab.com/-/trials/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/blog/","No credit card required.",{"header":1161,"blurb":1162,"button":1163,"secondaryButton":1168},"Start building faster today","See what your team can do with the intelligent orchestration platform for DevSecOps.\n",{"text":1164,"config":1165},"Get your free trial",{"href":1166,"dataGaName":427,"dataGaLocation":1167},"https://gitlab.com/-/trial_registrations/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/","feature",{"text":894,"config":1169},{"href":762,"dataGaName":432,"dataGaLocation":1167},1794911783737]