Agentic SAST Vulnerability Resolution is now generally available in GitLab 18.11 through the GitLab Duo Agent Platform. It autonomously analyzes critical and high-severity SAST findings, proposes code fixes, and creates ready-to-review merge requests. The feature is designed to accelerate remediation while giving reviewers confidence assessments and the option to apply fixes directly from vulnerability details.
## Availability and Integration
- Available with GitLab Ultimate.
- Supported on GitLab.com, GitLab Self-Managed, and GitLab Dedicated.
- Runs:
- As part of a SAST scan
- After SAST false-positive detection
- Manually for individual SAST vulnerabilities
## Automated Vulnerability Analysis
- Examines each finding and reasons through the surrounding code context.
- Generates proposed fixes for critical and high-severity SAST vulnerabilities.
- Automatically opens a merge request containing the remediation for review.
## Review and Remediation Workflow
- Provides quality assessments to help reviewers evaluate the likely reliability of each proposed fix.
- Lets users apply resolutions directly from vulnerability details pages.
- Feedback is welcomed through GitLab issue 585626.
## Practical Recommendation
Teams using GitLab Ultimate can enable the feature to streamline SAST remediation, while still reviewing agent-generated merge requests before merging changes.
GitLab 18.11 introduces spending controls for GitLab Credits used by the Duo Agent Platform. Organizations can set subscription-wide monthly caps, limit individual users, and monitor enforcement, making AI costs more predictable as adoption grows. The goal is to combine usage-based pricing with the budget certainty traditionally associated with seat-based licensing.
## Subscription-Level Spending Caps
- Billing account managers can set a hard monthly ceiling in the Customers Portal.
- When usage reaches the cap, Duo Agent Platform access pauses for all users until the next billing period.
- Managers can raise or disable the cap mid-month to restore access.
- Caps reset monthly and remain in effect until changed.
- Because usage data is synchronized periodically, limited usage may occur after the cap is technically reached.
## Per-User Credit Limits
- A flat per-user limit can be applied uniformly through the GitLab GraphQL API.
- Custom overrides allow organizations to give higher allocations to selected users, such as staff engineers.
- Limits apply to a user’s total consumption across all credit sources.
- Reaching an individual limit pauses only that user’s Duo Agent Platform usage; their GitLab access remains intact.
- Other users continue working until they reach their own limits or the subscription cap.
## Visibility and Notifications
- Billing account managers receive email notifications when the subscription cap is reached.
- Group owners on GitLab.com and instance administrators on Self-Managed installations can see users blocked by per-user caps.
- Administrators can restore access by changing limits through the GraphQL API.
- Per-user usage data supports monitoring, chargeback, and future budget planning.
## Benefits for Scaling AI Adoption
- Hard caps make AI spending easier to forecast, approve, and include in quarterly budgets.
- Per-user limits help distribute credits fairly across teams and cost centers.
- Organizations can expand from small pilots to hundreds or thousands of developers without risking uncontrolled invoices.
- Usage data helps platform teams understand consumption patterns and adjust allocations.
## Usage-Based Pricing with Guardrails
GitLab contrasts its approach with seat-based AI tools, where organizations pay a fixed amount per user regardless of usage. GitLab Credits instead charge based on actual consumption while adding enforced spending limits, combining flexibility with predictable budgeting.
## Example Deployments
- A 200-person engineering organization can set a subscription cap matching its approved monthly budget.
- If usage approaches the limit, finance or billing managers can either increase the cap or wait for the next period.
- A 2,000-person enterprise can apply standard limits to most developers while allocating higher caps to engineers handling complex work.
## Availability and Setup
- The controls are available for GitLab.com and Self-Managed customers running GitLab 18.11.
- Subscription-level caps are configured by billing account managers in the Customers Portal.
- Flat and custom per-user caps are configured through the GitLab GraphQL API by namespace owners or instance administrators.
Organizations adopting GitLab Duo Agent Platform should establish a subscription cap, define fair per-user allocations, and monitor usage regularly. These controls provide a safer foundation for expanding AI usage without sacrificing financial oversight.
GitLab 18.11 introduces two Duo Agent Platform agents aimed at development gaps left by faster AI-generated coding. CI Expert Agent helps teams create working pipelines, while Data Analyst Agent answers software delivery questions using GitLab data. Both benefit from being embedded in GitLab, where they can use current repository, pipeline, issue, and merge request context.
## CI Expert Agent: Faster Pipeline Setup
- Now available in beta.
- Inspects a repository to identify its language, framework, and testing setup.
- Generates runnable build and test configurations without requiring developers to write YAML manually.
- Explains each pipeline step in plain language through Agentic Chat.
- Uses native GitLab CI semantics.
- Addresses the common problem of delaying CI because `.gitlab-ci.yml` is difficult to create or validate.
- Helps reduce regressions, oversized changes, and dependence on undocumented team knowledge.
- Available on GitLab.com, Self-Managed, and Dedicated across Free, Premium, and Ultimate editions with Duo Agent Platform enabled.
## Data Analyst Agent: Natural-Language SDLC Queries
- Generally available in GitLab 18.11.
- Lets users ask questions about development performance in plain language and receive visualizations in Agentic Chat.
- Covers merge requests, issues, projects, pipelines, and jobs.
- Supports questions about:
- MR cycle time and review bottlenecks
- Project throughput and contribution patterns
- Flaky tests and pipeline performance
- Runner utilization and deployment frequency
- Cross-portfolio lead times and project health
- Eliminates the need to learn GitLab Query Language, request custom dashboards, or rely on separate analytics tools.
- Generated GLQL queries can be copied into GitLab Flavored Markdown.
- Exporting results to work items and dashboards is planned.
- Available across GitLab.com, Self-Managed, and Dedicated Free, Premium, and Ultimate editions with Duo Agent Platform enabled.
## The Advantage of Platform-Native Context
- Both agents operate within GitLab and can access existing code, pipelines, issues, and merge requests.
- Their recommendations and answers are based on current operational data rather than generic examples or disconnected tools.
- The agents are designed to support the full lifecycle: understanding code, configuring CI, shipping changes, and evaluating delivery performance.
Together, these agents make GitLab Duo more useful beyond code generation. Teams should consider trying CI Expert Agent for faster initial pipeline setup and Data Analyst Agent for immediate, self-service insight into delivery performance.
GitLab 19.0 is expected to introduce 15 breaking changes, primarily by removing deprecated components and outdated platform support. The most significant effects involve Helm chart networking and bundled services, OAuth authentication, PostgreSQL, Redis, and supported operating systems. Administrators should audit their deployments and complete migrations before upgrading.
## Release and Deployment Windows
- **GitLab.com:** Primary breaking-change window is May 4–6, 2026, with a fallback window on May 11–13.
- **GitLab Self-Managed:** GitLab 19.0 becomes available May 21, 2026.
- **GitLab Dedicated:** Upgrades occur during assigned maintenance windows, with GitLab 19.0 scheduled for the week of June 22, 2026.
- Additional changes may roll out outside these windows in exceptional circumstances.
## High-Impact Changes
### NGINX Ingress Replaced by Gateway API
- The GitLab Helm chart will use **Gateway API with Envoy Gateway** as its default networking configuration.
- Bundled NGINX Ingress reached end-of-life in March 2026.
- Existing deployments can explicitly continue using bundled NGINX Ingress until its planned removal in GitLab 20.0.
- The change does not affect:
- NGINX used by the Linux package.
- Deployments using externally managed Ingress or Gateway API controllers.
- Administrators should plan migration to Envoy Gateway or another externally managed controller.
### Bundled PostgreSQL, Redis, and MinIO Removed
- The GitLab Helm chart and GitLab Operator will no longer bundle Bitnami PostgreSQL, Bitnami Redis, or the forked MinIO chart.
- These components were intended for proof-of-concept and test environments, not production.
- Deployments using them must migrate to external services before upgrading.
- PostgreSQL and Redis bundled with the Linux package are unaffected.
### OAuth ROPC Grant Removed
- The Resource Owner Password Credentials OAuth flow will be removed across GitLab.com, Self-Managed, and Dedicated.
- ROPC is being eliminated because of security limitations and its removal from OAuth 2.1.
- Applications using ROPC must migrate to a supported flow, such as Authorization Code.
- After upgrading, ROPC will not work even when client credentials are provided.
### PostgreSQL 17 Becomes Required
- PostgreSQL 16 will no longer be supported; PostgreSQL 17 becomes the minimum version.
- Single PostgreSQL instances installed through the Linux package may be upgraded automatically during GitLab 18.11.
- Cluster deployments and installations that opt out of automatic upgrades require a manual migration.
- Administrators should verify sufficient disk space and complete the upgrade before GitLab 19.0.
## Medium-Impact Changes
### Ubuntu 20.04 Packages Discontinued
- GitLab will stop publishing Linux packages for Ubuntu 20.04.
- GitLab 18.11 is the final release supporting that distribution.
- Affected installations must upgrade to Ubuntu 22.04 or another supported operating system first.
### Redis 6 Support Removed
- External Redis 6 deployments must migrate to Redis 7.2 or Valkey 7.2.
- The Linux package’s bundled Redis is unaffected because it has used Redis 7 since GitLab 16.2.
- Migration options vary by provider:
- AWS ElastiCache and GCP Memorystore: Redis 7.2 or Valkey 7.2.
- Azure: self-host Redis or Valkey on VMs or AKS until managed support is available.
- Self-hosted installations: upgrade directly to Redis 7.2 or Valkey 7.2.
### Auto DevOps Builder Image Updated
- The CNB builder image used by Auto DevOps changes from `heroku/builder:22` to `heroku/builder:24`.
- Pipelines relying on the older image may need testing or configuration updates.
GitLab administrators should review the deprecations and upgrade documentation, identify whether their deployment uses any affected components, and complete required migrations before GitLab 19.0.
GitLab is partnering with Google Cloud to combine the GitLab Duo Agent Platform’s lifecycle-wide orchestration with Vertex AI’s managed foundation models and enterprise controls. The integration gives development teams context-aware agents for planning, coding, security, and delivery while keeping workflows within GitLab’s governed system of record. Customers gain model flexibility, stronger governance, and reduced complexity compared with managing disconnected AI tools.
## Agents Across the Software Development Lifecycle
- GitLab Duo Agent Platform coordinates specialized agents across planning, development, code review, security, and delivery.
- Unlike standalone coding assistants, GitLab agents can access issues, merge requests, pipelines, vulnerabilities, and codebases.
- GitLab Duo Planner Agent can analyze backlogs, divide epics into tasks, and support prioritization.
- Security Analyst Agent can triage vulnerabilities, explain risks, and recommend remediation priorities.
- Built-in flows connect agents into end-to-end processes, reducing manual handoffs.
- Agentic Chat provides natural-language access to project context and multi-step reasoning within GitLab.
## Vertex AI as the Model and Infrastructure Layer
- Vertex AI supplies the foundation models and related services used by GitLab agents.
- Newer models improve reasoning, tool use, and long-context understanding, supporting workloads such as backlog analysis and monorepo security reviews.
- Vertex AI Model Garden offers Gemini, third-party, and open-source models, allowing customers to balance performance, cost, and regulatory requirements.
- GitLab supports Bring Your Own Model configurations, enabling organizations to use approved providers and gateways.
- Vertex AI abstracts LLM hosting, including infrastructure management, security, governance, and model-version delivery.
## Enterprise Governance and Operational Benefits
- GitLab’s AI Gateway mediates model access, helping administrators track connections and maintain governance.
- Developers remain in GitLab while inference follows existing Google Cloud security and policy controls.
- Platform teams can standardize which models support recommendations, analysis, and remediation.
- Security teams can manage findings and proposed fixes in the same environment, reducing context switching and unmanaged workflows.
- Using Vertex AI through GitLab can align AI usage with existing Google Cloud contracts, controls, and procurement policies.
- The approach helps reduce duplicate spending and fragmented “shadow AI” toolchains.
## Practical Outcome for Google Cloud Customers
The integration is intended to increase developer productivity without requiring teams to evaluate, host, or manage individual language models. GitLab provides the governed DevSecOps control plane, while Vertex AI supplies scalable, flexible model infrastructure, enabling organizations to adopt more capable agentic workflows while maintaining enterprise security and control.
GitLab was named a Leader in Omdia’s 2026 Universe for AI-assisted Software Development, IDE-based Tools, ranking among 19 vendors. Its strongest results came from covering the entire software lifecycle—not just code generation—including planning, security, testing, deployment, and operations. The report suggests that AI delivers the greatest productivity gains when automation extends beyond coding into coordinated, governed delivery.
## Omdia’s Broader Evaluation
- Omdia expanded its criteria to assess full software lifecycle capabilities.
- The report emphasized that faster coding alone can create downstream bottlenecks in:
- Code review
- Security remediation
- Testing
- Deployment coordination
- Agentic AI was evaluated as a current capability, including:
- Autonomous task coordination
- Handoffs between specialized agents
- Support for teams at different stages of AI adoption
- Omdia categorizes vendors as Leaders, Challengers, or Prospects based on capability and strategy/execution.
## GitLab’s Top Scores
- **Solution Breadth: 100%**
- Covers planning, requirements, development, security, deployment, and issue management in one platform.
- Planner Agent and Security Analyst Agent extend AI into sprint planning, vulnerability triage, and remediation guidance.
- **Strategy and Innovation: 88%**
- Uses end-to-end orchestration and a privacy-first architecture that does not train on private customer data.
- Supports multiple models through partnerships with Anthropic, Google, and AWS.
- Provides shared context across issues, merge requests, pipelines, and security findings.
- **Core Features: 82%**
- Offers context-aware code generation, unit and integration testing, security testing, and review prioritization.
- Automates CI/CD, GitOps, and pipeline-failure root cause analysis.
- The AI Impact Dashboard tracks cycle time, deployment frequency, and productivity effects.
- GitLab also received top-tier scores for Extended Features (80%) and Vendor Execution (88%).
## Developers and AI Agents
- Teams are increasingly structured around engineers supervising AI agents.
- Human responsibilities are shifting toward:
- Defining requirements and guardrails
- Supervising quality and security
- Designing autonomous production pipelines
- Connecting business objectives with agentic systems
- Automating only code generation provides limited benefit if review, testing, and deployment remain manual.
## Enterprise Readiness
- Omdia treated compliance, privacy, and deployment flexibility as baseline requirements for Leader-tier platforms.
- GitLab highlights:
- SOC 2 and ISO 27001 certification
- No training on private customer data for agentic AI
- Self-managed, cloud, on-premises, and air-gapped deployment
- Support for self-hosted AI models
- GitLab Dedicated, including FedRAMP Moderate authorization for government
- These capabilities target regulated industries requiring strong data residency, auditability, and governance.
GitLab’s central argument is that AI coding speed matters only when the rest of the software delivery lifecycle can keep pace. Engineering teams should evaluate AI platforms by their ability to deliver secure, governed, production-ready software—not merely by how much code they can generate.
GitLab’s pipeline model addresses complex CI/CD needs by combining composable features rather than relying on a single linear workflow. Parent-child pipelines, DAG execution, and multi-project triggers help teams scale monorepos and coordinate services across repositories while preserving clear ownership and failure visibility. The article argues that these patterns make pipelines both faster and easier to maintain.
## Monorepos: Parent-child pipelines and DAG execution
- A monorepo containing frontend, backend, and documentation projects should not rebuild everything for every change.
- Parent pipelines can trigger child pipelines for individual services using `trigger: include`.
- Multiple included files are merged into one child pipeline, allowing jobs across files to share context and reference one another with `needs:`.
- `strategy: depend` makes the parent wait for child pipelines and report one overall success or failure while retaining detailed drill-down.
- Each service can own its pipeline configuration, reducing the risk that changes in one service break another.
- DAG execution with `needs:` allows dependent jobs to start as soon as their prerequisites finish instead of waiting for an entire stage.
- For example, API tests can begin immediately after the API build completes, without waiting for unrelated jobs.
## Microservices: Cross-repository pipelines
- When frontend and backend services live in separate repositories, independent pipelines may miss integration failures.
- GitLab multi-project pipelines allow one repository to trigger and await a pipeline in another project.
- The frontend can generate an API contract artifact, publish it, and trigger the backend pipeline with `strategy: depend`.
- The backend downloads the artifact through the GitLab Jobs API using `CI_JOB_TOKEN`.
- An integration test can reject breaking API changes and propagate the failure back to the frontend pipeline.
- The backend job uses `CI_PIPELINE_SOURCE == "pipeline"` so the contract validation runs only when initiated by the frontend, not during ordinary backend pushes.
- The frontend project identifier is supplied through a CI/CD variable such as `FRONTEND_PROJECT_ID`.
These patterns let teams reduce unnecessary work, preserve service-level ownership, and make cross-service compatibility checks part of the delivery process.
GitLab released patch versions 18.10.3, 18.9.5, and 18.8.9 on April 8, 2026, addressing important security and bug fixes. Self-managed CE and EE installations should upgrade immediately, while GitLab.com is already patched and GitLab Dedicated customers need no action. The fixes cover unauthorized access, denial-of-service vulnerabilities, code injection, XSS, and information disclosure.
## Release Scope and Upgrade Guidance
- The patches apply to GitLab Community Edition and Enterprise Edition.
- Administrators should upgrade installations affected by the listed vulnerabilities to the latest supported patch release.
- GitLab issues describing security vulnerabilities will become public 30 days after the release in which they were fixed.
- Patch releases are generally issued on the second and fourth Wednesdays, with urgent ad-hoc releases for critical vulnerabilities.
## Authentication and Authorization Fixes
- **CVE-2026-5173 (CVSS 8.5):** Authenticated users could invoke unintended server-side methods through WebSocket connections.
- **CVE-2026-2619 (CVSS 4.3):** Auditor users could modify vulnerability flag data in private projects through the AI detection API.
- **CVE-2026-1752 (CVSS 4.3):** Developers could modify protected environment settings through authorization flaws in the Environments API.
- **CVE-2026-2104:** CSV exports could expose confidential issues assigned to other users because of insufficient authorization checks.
## Denial-of-Service Vulnerabilities
- **CVE-2026-1092 (CVSS 7.5):** Unauthenticated attackers could crash or disrupt services through malformed JSON sent to the Terraform state lock API.
- **CVE-2025-12664 (CVSS 7.5):** Repeated unauthenticated GraphQL queries could cause denial of service.
- **CVE-2026-1403 (CVSS 6.5):** Authenticated users could disrupt Sidekiq workers by importing malformed CSV files.
- **CVE-2026-1101 (CVSS 6.5):** Authenticated users could overload GitLab through improperly validated GraphQL SBOM queries.
## Code Execution and Cross-Site Scripting
- **CVE-2026-1516 (CVSS 5.7):** Crafted Code Quality report content could leak the IP addresses of users viewing the report.
- **CVE-2026-4332 (CVSS 5.4):** Authenticated users could execute arbitrary JavaScript in other users’ browsers through customizable analytics dashboards.
## Information Disclosure
- **CVE-2025-9484 (CVSS 4.3):** Certain GraphQL queries could reveal other users’ email addresses to authenticated users.
- The release also fixes CSV export authorization issues that could expose confidential issue data.
Administrators of self-managed GitLab CE or EE instances should apply 18.10.3, 18.9.5, or 18.8.9 as soon as possible, depending on their supported release branch.
Between March 19 and 31, 2026, attacks on Trivy, KICS, LiteLLM, and axios demonstrated that CI/CD pipelines are valuable supply-chain targets. The incidents exploited trusted tools, stolen credentials, packaging mistakes, and malicious dependencies to steal secrets or leak proprietary code. The article argues that centralized, mandatory pipeline policies can detect and block these patterns before they reach production.
## Recent Supply-Chain Incidents
- **Trivy:** Attackers compromised GitHub Action tags and distributed a trojanized binary that harvested environment variables, cloud tokens, SSH keys, and CI/CD secrets.
- **Checkmarx KICS:** Malicious versions of KICS GitHub Actions exfiltrated API keys, database passwords, cloud credentials, and service-account secrets.
- **LiteLLM:** Backdoored PyPI releases executed payloads during installation or Python startup, stealing sensitive files and credentials.
- **AI coding assistant package:** A 59.8 MB source map unintentionally exposed more than 1,900 TypeScript files, internal feature flags, model codenames, and a system prompt.
- **axios:** Compromised maintainer credentials enabled malicious releases containing a cross-platform Remote Access Trojan through a poisoned dependency.
## Three Attack Patterns
### Poisoned Tools and Actions
- Pipelines often implicitly trust security scanners, GitHub Actions, package versions, and container images.
- Mutable tags can be changed after approval, causing future pipeline runs to execute malicious code.
- Recommended controls:
- Pin actions and tools to commit SHAs or image digests.
- Verify checksums or signatures.
- Block execution when integrity checks fail.
### Packaging Errors That Expose Intellectual Property
- Incorrect `.npmignore` files or `files` settings can include source maps, internal configuration, and other debugging artifacts in published packages.
- Pre-publish validation should compare package contents against an allowlist.
- Builds should flag unexpected source maps, `.env` files, and internal files, then block publication when violations occur.
### Malicious Transitive Dependencies
- A compromised dependency can affect users who never directly selected it.
- Unexpected lockfile changes or newly introduced packages can spread attacks across an organization.
- Recommended controls:
- Compare dependency checksums with known-good lockfile state.
- Detect unexpected dependency or version changes.
- Reject unverified packages during builds.
## GitLab Pipeline Execution Policies
- GitLab Pipeline Execution Policies inject mandatory CI/CD jobs into pipelines across an organization.
- Policy-defined jobs cannot be bypassed through `[skip ci]` or `[no_pipeline]`.
- Jobs can run in reserved pre- and post-pipeline stages, surrounding developer-defined jobs.
- GitLab’s open-source Supply Chain Policies project provides independently deployable policies and sample violations for testing the three attack patterns.
The practical recommendation is to make supply-chain validation mandatory and centralized: pin trusted inputs, inspect published artifacts, verify dependency changes, and block builds or releases when policy checks fail.
The SmartBear QMetry GitLab Component automates the transfer of test results from GitLab CI/CD pipelines into QMetry Test Management Enterprise. By publishing JUnit, TestNG, and other supported results automatically, it removes manual uploads and provides a centralized, traceable view of testing. The integration helps teams accelerate release decisions while supporting compliance and audit requirements.
## Why Integrate GitLab with QMetry?
- **Eliminate manual uploads:** Test results are transferred automatically after pipeline execution, reducing effort and preventing outdated or inconsistent records.
- **Improve traceability:** Teams can connect requirements, test cases, executions, commits, builds, and pipelines in a single audit trail.
- **Accelerate feedback:** QA teams, product managers, and stakeholders gain access to results immediately after tests finish.
- **Support regulated development:** Centralized, versioned test records help organizations in aerospace, financial services, automotive, and medical-device industries demonstrate test coverage and compliance.
- **Enable AI-driven insights:** QMetry can analyze execution history to identify flaky tests, predict failures, and suggest optimization opportunities.
## GitLab–SmartBear Integration
- The component is part of a broader partnership connecting GitLab’s CI/CD and DevSecOps capabilities with SmartBear’s testing and quality-management tools.
- The integration is intended for organizations that need centralized visibility across complex or regulated software-development lifecycles.
- QMetry acts as the system of record for test planning, execution, tracking, and reporting.
## Requirements and Test Result Flow
Before configuring the integration, teams need:
- A GitLab project with automated tests that generate JUnit XML, TestNG XML, or another supported format.
- A QMetry Test Management Enterprise account with API access enabled.
- A QMetry API key with permission to upload test results.
- An existing QMetry project.
- Basic knowledge of GitLab CI/CD and `.gitlab-ci.yml`.
- Optionally, a configured QMetry test suite for better organization.
The automated flow is:
- GitLab runs unit, integration, end-to-end, or other automated tests.
- The tests generate result files.
- The QMetry component runs as a pipeline job.
- It reads the result files and uploads them to QMetry through the API.
- QMetry processes the results for reporting and analysis.
## Obtaining QMetry API Credentials
- Log in to QMetry Test Management Enterprise.
- Open the user profile and navigate to **Settings** or **API Access**.
- Generate a named API key, such as `GitLab CI/CD Integration`.
- Grant the key write access for test-result uploads.
- Copy the key immediately because it is displayed only once.
- Record the QMetry instance URL, typically in the form `https://your-company.qmetry.com`.
The API key should be treated like a password. It should not be committed to `.gitlab-ci.yml` or stored in plain text; GitLab CI/CD variables should be used to protect it.
The component provides a practical way to make QMetry the centralized source of truth for pipeline testing. Organizations should secure the API credentials, configure the component in their GitLab pipeline, and continuously publish results so teams can improve visibility, traceability, and release confidence.
GitLab Duo CLI brings GitLab’s agentic AI capabilities into the terminal, extending AI assistance beyond interactive coding in an IDE. Its public beta supports both human-guided sessions and unattended automation across the software development lifecycle, including coding, CI/CD, testing, and troubleshooting. GitLab emphasizes security through approvals, prompt-injection detection, auditing, and configurable permissions.
## Terminal-Based Agentic Development
- The CLI is designed for work outside the IDE and GitLab UI.
- Terminals are well suited to:
- Automation and scripting
- Piping and chaining commands
- Portable workflows
- Reproducible debugging
- IDEs remain better for interactive, context-rich development, while Duo CLI targets automation and machine-driven workflows.
## Installation
- Users with GitLab’s `glab` CLI can start Duo CLI with:
```bash
glab duo cli
```
- GitLab Duo CLI can also be installed as a standalone tool.
## Capabilities and Operating Modes
- Duo CLI can build, modify, refactor, and modernize code.
- It can access agents and flows defined in GitLab Duo Agent Platform.
- Potential uses include:
- Creating and optimizing CI/CD configurations
- Running multi-step development tasks
- Debugging failed pipelines
- Integrating AI into unattended workflows
### Interactive Mode
- Provides editor-independent terminal chat.
- Keeps a human in the loop by requiring approval before actions.
- Supports codebase exploration, code creation, error fixing, and pipeline troubleshooting.
### Headless Mode
- Runs without user interaction.
- Designed for CI/CD runners, scripts, and automated workflows.
- Enables agents to operate in environments where no developer is present.
## Security and Governance
- Interactive actions require human approval by default.
- Prompt-injection detection is built into the Duo Agent Platform.
- Composite identity controls agent access and makes AI-driven actions auditable.
- Instruction files such as `chat-rules.md`, `AGENTS.md`, and `SKILL.md` define permitted tasks, resources, context, and actions.
- These controls apply least-privilege principles to AI agents.
## Availability
- Duo CLI is available through a free trial of GitLab Duo Agent Platform.
- Free-tier GitLab users can sign up for the platform.
- GitLab Premium and Ultimate subscribers can enable Duo Agent Platform and use included GitLab Credits.
GitLab Duo CLI is best suited to teams that want AI assistance across the full development lifecycle rather than only inside an editor. Its combination of interactive approvals, headless execution, and platform-level security makes it useful for both developer support and automated DevSecOps workflows.
GitLab is migrating `packages.gitlab.com` to a new package hosting system while keeping the base domain unchanged. Existing configurations will continue working through rewrite rules until September 30, 2026, but old URL formats, GPG key locations, network requirements, and download paths must be updated before then. New installations already use the updated formats.
## Timeline and Required Updates
- The legacy PackageCloud system and UI shut down on March 31, 2026.
- Backward-compatible URL rewrites will be removed by the end of September 2026.
- Existing users should:
- Re-run the latest DEB or RPM installation script, or update repository configuration manually.
- Change the GPG key URL to `https://packages.gitlab.com/gpgkey/gpg.key`.
- Allow `https://storage.googleapis.com/packages-ops` through firewalls and proxies.
- Update repository mirrors and direct-download automation.
- Change GitLab Runner RPM references from `noarch` to `x86_64`.
## DEB Repository URL Changes
- `gitlab/*` repositories such as `gitlab-ee` and `gitlab-ce` now include the distribution codename in the URL path.
- Example:
- Old: `.../ubuntu/`
- New: `.../ubuntu/jammy`
- This produces standard Debian paths containing `dists/jammy` and `pool`.
- Re-running the installation script is the simplest migration method:
- DEB: `script.deb.sh`
- RPM: `script.rpm.sh`
- `runner/*` DEB repositories, including `runner/gitlab-runner`, are unchanged.
## GPG Keys and Installation Scripts
- Replace:
- `https://packages.gitlab.com/gpg.key`
- With:
- `https://packages.gitlab.com/gpgkey/gpg.key`
- Previously saved installation scripts should not be reused; download current versions from GitLab.
## Direct Package Downloads
- The old PackageCloud UI used URLs ending in `download.deb` or `download.rpm`.
- The new UI links directly to the actual package paths.
- Automation that scrapes the old UI or constructs these legacy URLs must be changed to use the new paths or standard package-manager repositories.
## GitLab Runner RPM Packages
- Runner RPM packages that were previously under a `noarch` path have moved to `x86_64`.
- This affects RPM-based systems such as EL8 and EL9.
- Debian-based Runner packages are unaffected.
- Update scripts or configurations that reference the old `noarch/Packages` paths.
## Firewall and Network Requirements
- Package downloads now redirect to Google Cloud Storage instead of AWS CloudFront.
- Permit both `packages.gitlab.com` and `storage.googleapis.com/packages-ops`.
- Missing allowlist entries can cause HTTP 503 errors or connection timeouts.
Existing installations should be migrated well before September 30, 2026. For new setups, following GitLab’s current installation documentation handles the changes automatically.
GitLab feature flags let teams deploy code without immediately exposing it to users, reducing the risk of production failures and eliminating redeployments for rollbacks. Using the Unleash Python SDK, a Flask application can retrieve flag definitions from GitLab, cache them locally, and evaluate them quickly without a network request on every check. The tutorial demonstrates a practical setup using configurable rollout strategies such as user targeting, percentage rollouts, and all-user releases.
## Requirements and Project Setup
- A GitLab project with Feature Flags enabled under **Settings > General > Visibility, project features, permissions**.
- A fork or clone of the demo repository:
- `app.py` contains the Flask and Unleash integration.
- `requirements.txt` lists dependencies.
- `.env.example` documents required configuration.
- `templates/index.html` and `static/styles.css` provide the demo interface.
- The example repository is available at `gitlab.com/omid-blogs/gitlab-feature-flags-demo`.
## How the Unleash Integration Works
- GitLab provides an Unleash-compatible API for each project, so no separate Unleash server is required.
- The SDK downloads flag definitions when the application starts.
- It refreshes the cached configuration periodically; the demo uses a 15-second interval.
- Calls to `is_enabled()` evaluate flags locally, avoiding a network request for each check.
- Local evaluation makes flag checks fast and more resilient to temporary connectivity problems.
## Creating Feature Flags
The tutorial creates four active flags, initially using the **All users** strategy:
- `dark_mode` enables a dark color scheme.
- `holiday_banner` displays a festive banner.
- `new_layout` changes the card grid to a single-column layout.
- `fun_fonts` applies a playful handwritten font.
A flag must be both **Active** and assigned at least one strategy. An active flag without a strategy is evaluated as disabled.
## Choosing Rollout Strategies
GitLab supports several built-in strategies:
- **Percent rollout:** Gradually enables a feature based on user ID, session ID, or random assignment.
- **Percent of users:** Targets a percentage of authenticated users.
- **User IDs:** Limits access to explicitly named users, useful for QA.
- **User list:** Enables a feature for a predefined user group.
- **All users:** Enables the feature for everyone.
A typical release process is to begin with QA users, move to a 10% rollout, and eventually enable the feature for all users entirely through GitLab’s UI.
## Configuring Unleash Credentials
From the project’s Feature Flags page, the **Configure** panel provides:
- `UNLEASH_URL`, such as `https://gitlab.com/api/v4/feature_flags/unleash/<your-project-id>`
- `UNLEASH_INSTANCE_ID`, a project-scoped read-only token
- `UNLEASH_APP_NAME`, used to identify the application, for example `production`
The Instance ID can read flag state but cannot modify flags. It should still be treated as a secret because it can expose project flag information.
## Running the Application Locally
- Install dependencies with:
```bash
pip install -r requirements.txt
```
- Copy `.env.example` to `.env` and replace the placeholders with the GitLab credentials.
- Export the variables from the `.env` file or define them directly in the terminal.
- The three environment variables driving the integration are:
- `UNLEASH_URL`
- `UNLEASH_INSTANCE_ID`
- `UNLEASH_APP_NAME`
- Never commit `.env`; the repository’s `.gitignore` excludes it because the Instance ID is sensitive.
The recommended approach is to use the `UnleashClient` Python SDK to handle polling, caching, and local feature-flag evaluation, while GitLab remains the control center for changing rollout behavior.
GitLab’s auto-dismiss vulnerability policies reduce scanner noise by automatically dismissing findings that teams have already determined are irrelevant, non-actionable, or mitigated. Policies match vulnerabilities by file path, directory, or identifier such as a CVE or CWE, while preserving dismissed findings and their audit history. This lets security teams focus on genuine risks without repeatedly performing the same manual triage.
## Why Auto-Dismiss Policies Matter
- Security scanners often flag:
- Test code and fixtures
- Vendored or third-party dependencies
- Generated files
- Known false positives
- Vulnerabilities addressed by existing controls
- Manual dismissal creates:
- Slower triage
- Alert fatigue
- Developer friction
- Repeated work across projects and pipelines
- Auto-dismiss policies allow teams to:
- Apply triage decisions consistently at scale
- Record a specific dismissal reason
- Link findings back to the policy that dismissed them
- Keep dismissed vulnerabilities visible for future review
## How Policies Work
- Policies are defined in a vulnerability management policy YAML file.
- Rules can match:
- File paths
- Directories
- Vulnerability identifiers, including CVEs and CWEs
- Teams create the policy through **Secure > Policies > New policy > Vulnerability management policy**.
- After the merge request is merged, matching findings on default-branch pipelines are automatically marked **Dismissed**.
- GitLab processes up to 1,000 vulnerabilities per pipeline run.
- Teams can filter reports by **Dismissed** to evaluate policy impact and verify that the correct findings were handled.
## Dismissing Test Code Findings
Test directories commonly contain intentionally insecure credentials, fixtures, or development-only dependencies that do not represent production risk.
- Policies can target paths such as:
- `test/**/*`
- `tests/**/*`
- `spec/**/*`
- `__tests__/*`
- The recommended dismissal reason is `used_in_tests`.
## Dismissing Vendored Dependencies
Code in `vendor/`, `third_party/`, `vendored/`, or checked-in `node_modules` is often maintained upstream rather than by the application team.
- Directory-based rules can identify these locations.
- The example policy uses the `not_applicable` dismissal reason.
- Teams should customize the directory patterns to match their repository structure.
## Dismissing Known False-Positive CVEs
Repeatedly flagged CVEs that have been confirmed not to apply to an organization’s environment can be dismissed centrally.
- Rules match specific identifiers, such as:
- `CVE-2023-44487`
- `CVE-2024-29041`
- `CVE-2023-26136`
- The sample policy uses `false_positive`.
- The listed CVEs are examples and should be replaced with identifiers validated by the organization.
## Dismissing Generated Code
Generated files from Protobuf, gRPC, OpenAPI, ORM, and similar tools may contain patterns scanners flag even though developers do not author or directly patch them.
- Example matches include:
- `generated/*`
- `**/*.pb.go`
- `**/*.generated.*`
- The suggested dismissal reason is `not_applicable`.
## Dismissing Infrastructure-Mitigated Vulnerabilities
Some vulnerabilities may be addressed by enforced runtime controls, such as WAF rules.
- The example targets:
- `CWE-79` for cross-site scripting
- `CWE-89` for SQL injection
- It uses the `mitigating_control` dismissal reason.
- This approach should only be used when the mitigation is verified, consistently deployed, and reliably protects all affected paths.
## Practical Recommendation
Use auto-dismiss policies for well-understood, documented cases—not as a substitute for vulnerability investigation. Start with narrowly scoped path or identifier rules, review the dismissed results regularly, and ensure every dismissal reason reflects a decision that remains valid.
GitLab 18.10 introduces a unified work items list and saved views to improve Agile planning. Teams can now manage epics, issues, and other work items in one place while saving filters, sorting, and display settings for repeated workflows. These changes reduce context switching and establish the foundation for broader planning views and customizable work item types.
## Unified Work Items List
- Combines epics, issues, and other work item types into a single list.
- Replaces the need to navigate between separate epic and issue pages.
- Provides a foundation for future hierarchy and table views that show relationships between work items.
- GitLab plans to bring additional planning workflows, including Boards, into the same unified experience.
- The term “work items” supports future customization of item types and names instead of limiting the system to traditional “issues.”
## Why GitLab Is Making the Change
- GitLab’s 2024 Agile planning vision identified separate epic and issue experiences as a source of friction.
- The work items framework provides a shared architecture for consistent functionality across planning objects.
- The new list and saved views represent progress toward that unified planning model.
## Saved Views
- Save customized list configurations for future use.
- Configurations can include:
- Filters
- Sort order
- Display options
- Help teams avoid repeatedly setting up common workflows.
- Support consistent reporting, status checks, iteration planning, backlog refinement, and portfolio planning.
- Saved views can be shared with teammates to standardize how work is reviewed.
## Future Planning Experience
- Users will be able to move between list, board, table, and other views while retaining the same filter scope.
- Planned hierarchy and nested table views will improve portfolio-level planning.
- Future board capabilities may include swimlanes based on any work item attribute.
- The unified framework is intended to make planning views more flexible and interconnected.
## Transition and Feedback
- Existing workflows based on separate epic and issue pages may require adjustment.
- GitLab acknowledges the change could be disruptive but says it reflects years of feedback and substantial investment in the work items framework.
- Users are encouraged to try the new capabilities and provide feedback through GitLab’s feedback issue.
Teams should begin testing the unified work items list and saved views in their everyday planning workflows, while offering feedback to help GitLab refine the transition.