January 2025 Summaries
26 posts from GitLab
Filter
Month:
Year:
Post Summaries
Back to Blog
GitLab's Co-Create Program has facilitated significant contributions from over 800 community members, including global organizations like Thales, Scania, and Kitware, who work directly with GitLab engineers to enhance the platform. This collaborative initiative provides hands-on experience through workshops, pair programming, and technical support, allowing contributors to understand GitLab's architecture and codebase. Participants like Thales have improved the user interface, while Scania has advanced package support, and Kitware has optimized authentication frameworks. The program not only accelerates GitLab's development by integrating customer feedback and feature requests but also builds lasting relationships and valuable skills within the community. This mutually beneficial approach enhances GitLab's capabilities, fosters innovation, and strengthens the collaborative spirit of open source development, as contributors gain recognition and new expertise, aiding both GitLab and their own organizations.
Jan 30, 2025
1,373 words in the original blog post.
GitLab has implemented prompt guardrails to enhance AI security and compliance, addressing the inherent risks of AI systems inadvertently exposing sensitive data or responding to malicious prompts. These guardrails are structured safeguards that guide AI models towards secure interactions by combining structured prompts, filtering, and scanning tools, along with role-based insights. GitLab utilizes system-level filters, instruction tuning, and sidecar solutions to create a comprehensive security framework, balancing usability and protection. While prompt guardrails are not infallible, GitLab emphasizes the importance of regular updates and real-world feedback to continuously refine these defenses. This approach underscores GitLab's commitment to secure AI usage, enabling organizations to confidently leverage AI while maintaining compliance with security protocols and regulations like GDPR.
Jan 30, 2025
1,040 words in the original blog post.
GitLab's blog post explores the implementation of Detections as Code (DaC) within their Universal Automated Response and Detection (GUARD) framework to enhance the efficiency and security of their threat detection processes. By integrating DaC capabilities, GitLab transitioned from manual detection engineering to an automated workflow, ensuring consistency, quality, and auditability of threat detections in their Security Information and Event Management (SIEM) platform. The process involves using GitLab CI/CD to validate and deploy threat detections, stored in JSON format, through a series of automated checks, peer reviews, and final deployment steps, which are all secured by CI/CD variables. This automation reduces manual errors, fosters collaboration, and maintains a historical record for version control, ultimately improving the security and compliance of the organization's cybersecurity program.
Jan 29, 2025
1,175 words in the original blog post.
Security scans are integral to software development, ensuring vulnerabilities are identified and addressed before deployment. These scans, typically part of CI/CD pipelines, can also be beneficial post-deployment, particularly for container environments. GitLab's Operational Container Scanning feature facilitates container vulnerability assessments within Kubernetes environments, offering continuous scanning, tracking of vulnerabilities across environments, and monitoring resolution progress. The setup involves deploying a sample application, connecting a Kubernetes cluster to a GitLab project, and configuring the Operational Container Scanning properties using the GitLab Agent for Kubernetes. This scanning employs a tool named Trivy and is configurable in terms of frequency and target namespaces. The results are accessible through the GitLab UI, providing insights into the severity of vulnerabilities and aiding in auditing and resolution tracking. This feature complements GitLab's suite of container security solutions, contributing to a comprehensive security strategy throughout the software development lifecycle.
Jan 29, 2025
1,276 words in the original blog post.
Artificial intelligence (AI) is transforming software development by enhancing developer efficiency and accelerating innovation, but it introduces unique security challenges, particularly around identity management and resource access. GitLab addresses these challenges by implementing a new paradigm called composite identities, which links the identity of an AI agent with that of the human user instructing it. This approach ensures that both the AI agent and the human user must have access rights to a resource before it can be accessed, thereby preventing unauthorized access and privilege escalation. The introduction of composite identities marks a shift in identity management, blurring the lines between human and machine identities and requiring a new framework to securely manage these interactions. GitLab has enhanced its authorization framework to support composite identities, utilizing OAuth tokens and signed JSON web tokens (JWTs) to ensure secure access across its system. This initiative includes contributions to open-source libraries and is part of the GitLab 17.8 release, which integrates composite identity support through the GitLab Duo with Amazon Q.
Jan 29, 2025
733 words in the original blog post.
GitLab's Google Cloud integration facilitates independent deployment of applications to the cloud, enabling developers to efficiently manage deployments without requiring assistance from production or DevOps engineers. This tutorial explains how to deploy a Go server to Google Cloud in under 10 minutes, guiding users through steps including creating a GitLab project, setting up a Go server with a basic main.go file, and utilizing Google Cloud integration to create a service account and configure Cloud Run via a merge request. The process involves automatic population of CI/CD variables and culminates in a successful deployment visible through a service URL. The tutorial also encourages extending the Go application by adding new endpoints, such as a /bye endpoint, and emphasizes the importance of cleaning up resources on Google Cloud to avoid unnecessary charges. For further development, it suggests exploring additional functionalities in Go or learning deployment techniques with other languages like Python.
Jan 28, 2025
763 words in the original blog post.
The "Getting Started with GitLab" series provides an in-depth guide on importing projects to the GitLab DevSecOps platform, essential for leveraging its collaborative features. The process involves importing local projects that may or may not use Git, as well as transferring projects from online sources like GitHub, Bitbucket, and Gitea. For local Git projects, users must create a new GitLab project, configure the remote origin, and push existing branches and tags. Non-Git projects require initializing Git before proceeding similarly. When importing from online platforms, GitLab supports various authentication methods, such as OAuth for GitHub and Bitbucket Cloud, while personal access tokens are necessary for Gitea. The guide emphasizes the importance of understanding the limitations and known issues with each method by consulting GitLab's documentation to ensure a smooth migration process. Moreover, GitLab supports mirroring to keep repositories synchronized across different platforms, which can be useful for maintaining both private and public access to a project. For those wishing to deepen their understanding, GitLab offers courses through GitLab University and a free trial of GitLab Ultimate.
Jan 28, 2025
1,270 words in the original blog post.
Continuous deployment is a transformative practice that allows teams to deliver value rapidly with confidence, and while advanced workflows like GitOps and Kubernetes can be daunting for beginners, GitLab aims to simplify and scale the process. The guide emphasizes starting with a well-planned workflow, focusing on fundamental steps such as artifact management, versioning strategies, environment setup, and deployment tracking. It provides a comprehensive walkthrough of setting up a continuous deployment pipeline using GitLab, from creating a basic web application and containerizing it with Docker, to configuring CI/CD pipelines for publishing and deploying to various environments like staging and production. Key aspects include effective artifact management, secure access controls, environment-specific configurations, and progressive deployment strategies. GitLab's built-in features such as a container registry, environment management, and release capabilities streamline the deployment process, offering a seamless integration with the entire DevSecOps lifecycle. The guide concludes by encouraging teams to start with the basics and progressively adopt advanced features as they grow, highlighting GitLab's role in supporting this journey with a unified platform.
Jan 28, 2025
2,569 words in the original blog post.
GitLab has implemented over 440 improvements in its last three releases, focusing on enhancing AI-powered DevSecOps capabilities, and has partnered with AWS to launch GitLab Duo with Amazon Q. Key features include GitLab Duo Vulnerability Resolution, which automates the remediation process by generating merge requests when vulnerabilities are detected, allowing developers to review and integrate changes efficiently. Additionally, the Model Registry feature bridges the gap between data science and development teams by providing a centralized hub for collaboration, allowing seamless integration of AI models into applications. Secret Push Protection proactively prevents sensitive information from being hardcoded into source code, enhancing security by blocking code that contains secrets before it reaches the repository. These innovations aim to streamline software development, improve security practices, and foster collaboration between teams, ultimately delivering a significant return on investment as reported by Forrester Consulting.
Jan 27, 2025
768 words in the original blog post.
Managing user access in large organizations can be challenging, and GitLab offers solutions like custom roles, SAML, and SCIM to streamline this process. The integration of these tools with Microsoft Azure Entra ID facilitates single sign-on (SSO) and user provisioning, enhancing security and efficiency. The setup involves configuring a new application in Entra ID, aligning SAML settings with GitLab, and adjusting attributes and claims to match user identities. Once SAML is configured, SCIM helps automate group membership assignments, reducing the need for manual user management. The configuration ensures that users can authenticate through Entra ID and gain appropriate permissions within GitLab, though discrepancies in email addresses between identity providers and GitLab accounts may require additional attention. The guide emphasizes the importance of experience over theoretical knowledge in mastering such integrations, offering a detailed walkthrough for setting up and testing these configurations, and highlighting potential troubleshooting steps for common errors.
Jan 23, 2025
2,698 words in the original blog post.
GitLab has announced the limited availability of hosted runners for GitLab Dedicated, a single-tenant SaaS solution designed to simplify CI/CD infrastructure management by providing a fully managed runner infrastructure. This service reduces operational overhead by handling all aspects of runner operations, including deployment, updates, and security patches, while offering automatic scaling to meet CI/CD demands and a consumption-based cost model to optimize expenses. With enterprise-grade security, hosted runners ensure complete isolation and secure job execution, and they now support native Arm64 runners alongside x86-64, enhancing performance and reducing costs for Arm-based development. The inclusion of multiple runner sizes and support for dual architectures allows for flexible and efficient CI/CD workflows, with plans for general availability in May 2025 and future enhancements like MacOS and Windows runners, as well as network controls for improved security.
Jan 23, 2025
664 words in the original blog post.
Pipeline execution policies in the GitLab DevSecOps platform provide a robust method for enforcing CI/CD jobs across projects by allowing engineering or security teams to inject mandatory jobs into developers' YAML pipeline definition files. This ensures that essential jobs, such as security scanners, are executed regardless of a developer's configuration in their `.gitlab-ci.yml` file. In regulated environments, these policies help maintain compliance by enforcing a standard set of jobs and stages, causing any non-conforming pipeline to fail. Implementation requires a shell script to interact with the GitLab API and a YAML configuration to define approved stages and jobs, injected into the pipeline via these policies. The process involves creating a new Pipeline Execution Policy, configuring it to inject the YAML code into a project's pipeline, and managing security to prevent unauthorized changes. This innovation allows for versatile applications beyond security, such as making group-level variables universally accessible or developing a standardized pipeline template. GitLab encourages experimentation with this feature among Ultimate customers, offering a trial for those interested in exploring its potential.
Jan 22, 2025
1,493 words in the original blog post.
Achieving SOC 2 compliance is crucial for businesses handling sensitive customer information, as it fosters trust by ensuring data security and integrity. SOC 2, developed by the American Institute of Certified Public Accountants, evaluates an organization's controls on security, availability, processing integrity, confidentiality, and privacy through a comprehensive and often costly audit process. Although not legally required, it has become essential due to frequent data breaches. Organizations must continuously meet criteria based on the Trust Services Criteria, and GitLab offers several features to aid in this process, including security policies, custom roles, vulnerability scanning, and audit events. These tools help organizations implement robust access controls, detect and address security incidents, and maintain a strong security posture, ultimately streamlining the compliance process while reducing risks.
Jan 22, 2025
1,162 words in the original blog post.
Supply chain security in software development is crucial, and this guide outlines how to establish a secure CI/CD pipeline for Python packages using GitLab CI, focusing on package signing and attestation with Sigstore's Cosign. It explains the significance of signing and attestation for enhancing supply chain security, meeting compliance requirements, ensuring traceability, and enabling trust verification. The guide details a six-stage pipeline process that includes building, signing, verifying, publishing, and consumer verification stages, ensuring that packages remain untampered from creation to deployment. The pipeline employs Python 3.10, Cosign for cryptographic signing, and GitLab integration, while emphasizing the importance of a consistent build environment and reproducible versioning. Through this approach, organizations can provide users with secure, cryptographically verified packages, integrating modern security practices with automated processes to maintain a trustworthy software supply chain.
Jan 21, 2025
1,696 words in the original blog post.
DevSecOps enhances software development by enabling rapid feature deployment and providing quick feedback loops, allowing for effective monitoring of a feature's impact and informing developers about deployment success or failure. GitLab serves as an integration platform for various CI/CD tools, helping manage user-facing functionalities and addressing vulnerability reporting issues in heterogeneous Static Application Security Testing (SAST) setups. It tackles code volatility and double reporting issues with its Advanced Vulnerability Tracking feature, which identifies and deduplicates vulnerabilities more effectively than traditional methods, reducing manual auditing efforts by 30%. This feature uses contextual information and generates location fingerprints that are more resilient to code changes. A study demonstrating the effectiveness of this approach, which is 30% more efficient than traditional line-based tracking, will be presented at the 47th International Conference on Software Engineering in 2025, with contributions from Lucas Charles, Jason Leasure, and Hua Yan.
Jan 21, 2025
332 words in the original blog post.
GitLab has announced the availability of the GitLab Duo with Amazon Q offering in Preview (Beta) for GitLab Self-Managed Ultimate users, allowing these organizations to leverage AI-driven features without additional cost. Starting with the 17.8 release, users can access capabilities such as AI-powered feature development, automated code reviews, and Java modernization. To utilize these features, users need to meet specific prerequisites, including hosting on AWS and enabling integration settings. This release highlights GitLab's commitment to integrating enterprise-grade AI capabilities into their platform, inviting users to explore and provide feedback to enhance the AI-powered development experience.
Jan 16, 2025
344 words in the original blog post.
The tutorial, hosted by Arctiq, GitLab, and Google, provides a comprehensive guide on addressing common security challenges encountered by organizations migrating to the cloud, with a focus on Google Cloud integrations within GitLab. It explains how to configure Workload Identity Federation to minimize the need for service accounts by using short-lived credentials, and details the steps for integrating GitLab with Google Cloud's Artifact Registry and Cloud Run. The document further describes setting up a CI/CD pipeline in GitLab to build, push, and deploy containerized applications to Google Cloud services, illustrating the efficient and secure deployment process enabled by GitLab's AI-powered DevSecOps Platform. It highlights the practical application of GitLab's tools to ensure secure applications are deployed on the public internet and invites users to explore more tutorials and a free GitLab Ultimate trial for further hands-on experience.
Jan 15, 2025
1,297 words in the original blog post.
Developers are essential in helping banks comply with the Digital Operational Resilience Act (DORA), a European Union framework designed to protect financial institutions from digital disruptions. DORA requires banks to implement stringent risk management, regular testing, incident reporting, and third-party risk management to maintain operational continuity and resilience. For developers, this means embedding robust cybersecurity measures into software from the outset, designing resilient systems, collaborating across teams, and being agile in responding to incidents. GitLab plays a crucial role in helping financial institutions meet these requirements by providing a suite of tools that facilitate security testing, incident management, and compliance monitoring. With GitLab, banks can streamline their DORA compliance efforts by integrating security into their development pipelines, managing third-party risks, and maintaining comprehensive audit trails. This approach not only aids in regulatory adherence but also enhances the overall stability and security of financial operations.
Jan 15, 2025
1,559 words in the original blog post.
The "Getting started with GitLab" series provides an introductory guide for newcomers to familiarize themselves with the GitLab DevSecOps platform, emphasizing user management as a foundational task to ensure a secure and collaborative project environment. The tutorial covers the establishment of project members, role assignments, and the creation of groups and subgroups, detailing how access and permissions work within GitLab. It highlights the different roles like owners, maintainers, developers, and planners, explaining their permissions and responsibilities. The importance of organizing users into groups and subgroups is underscored for better team coordination, allowing for efficient management of projects by assigning roles to entire teams and using features like group mentions to keep communication streamlined. Additionally, advanced management options for group owners, such as access requests and user moderation, are discussed, alongside future features like the automatic removal of dormant users. The series encourages further learning through GitLab University and offers a free trial of GitLab Ultimate for exploring more advanced management and compliance features.
Jan 14, 2025
864 words in the original blog post.
Deploying a NodeJS app to Google Cloud has been streamlined through GitLab's Google Cloud integration, allowing developers to independently manage deployments in under ten minutes. This process eliminates the need for DevOps assistance by enabling developers to create a project in GitLab, set up a NodeJS application, and use Google Cloud integration to establish a service account and configure Cloud Run via a merge request. Essential prerequisites include owner access to a Google Cloud Platform project and knowledge of JavaScript or TypeScript and GitLab CI. The tutorial guides users through creating a project, uploading an app, and deploying via Cloud Run, with key configurations automatically populated during the setup. Once deployed, developers can add new endpoints to their application and push changes to see updates live. A cleanup guide is provided to avoid unnecessary charges on Google Cloud by deleting resources used during the tutorial.
Jan 13, 2025
480 words in the original blog post.
Git 2.48.0 introduces several key advancements, focusing on build systems, memory optimization, and reference handling, resulting from collaborative efforts by GitLab's Git team and the broader Git community. A significant update is the implementation of the Meson build system by Patrick Steinhardt, aiming to replace the older Makefile, Autoconf, and CMake systems, offering simpler syntax and better support across operating systems and IDEs. The release also marks the successful elimination of memory leaks in Git's test suite, furthering the goal of optimizing Git for memory usage and "libifying" its internal components. Improvements in reference handling include enhanced bundle URI checks, now allowing for fine-grained handling of fsck issues during fetches, and the addition of reference consistency checks to git-fsck(1), led by Jialuo She. The reftable backend, introduced in a previous release, sees a performance boost through iterator reuse, and the migration tool now supports reflog transfers, albeit with limitations regarding multiple worktrees, thanks to the work led by Karthik Nayak. Finally, the ref-filter subsystem is optimized to handle large numbers of references more efficiently, significantly speeding up certain commands by avoiding unnecessary buffering and iteration.
Jan 10, 2025
1,488 words in the original blog post.
Cyber threats in the banking industry have reached unprecedented levels, prompting the need for significant regulatory changes within the financial sector, particularly in the EU. New frameworks such as the European Cyber Resilience Act (CRA), Digital Operational Resilience Act (DORA), and the European Data Act aim to enhance cybersecurity, operational resilience, and data governance. These regulations require banks to modernize their security practices, increase technology investments, and adopt new risk management strategies to protect against costly data breaches and ensure compliance. GitLab offers a comprehensive suite of tools to support banks in navigating these regulatory challenges by providing integrated security scanning, compliance features, enhanced data governance, and efficient incident management. By embedding security and compliance into software development workflows, GitLab helps financial institutions maintain operational resilience and agility, ensuring a secure and compliant digital future.
Jan 09, 2025
1,817 words in the original blog post.
Application Security teams are increasingly challenged by the rise in vulnerabilities, with 36,000 CVEs reported this year, marking a 25% increase from the previous year. GitLab addresses this by enhancing its Software Composition Analysis (SCA) solution for GitLab Ultimate customers, incorporating features like Static Reachability Analysis, Known Exploited Vulnerabilities (KEV) Indicator, and Exploit Prediction Scoring System (EPSS) to prioritize exploitable vulnerabilities. These enhancements, stemming from acquisitions of Oxeye and Rezilion's IP, aim to reduce triage times, accelerate remediation, and improve collaboration within existing developer workflows. SCA plays a critical role in identifying open source component vulnerabilities, highlighted by incidents like SolarWinds and Log4Shell, and is essential for managing software supply chain risks. GitLab's latest SCA improvements are designed to cut through the noise, focus on critical vulnerabilities, and facilitate faster remediation, while future integrations with Rezilion will further enhance these capabilities. Existing GitLab Ultimate customers are encouraged to explore these enhancements through GitLab's documentation, with free trials available for new users.
Jan 07, 2025
633 words in the original blog post.
The Cybersecurity Maturity Model Certification (CMMC) Program, developed by the U.S. Department of Defense (DoD), aims to enforce cybersecurity requirements for contractors and subcontractors handling sensitive unclassified information. GitLab provides a comprehensive suite of features that help organizations comply with CMMC Level 2 requirements by aligning with relevant NIST SP 800-171 R2 standards. These include role-based access control (RBAC), audit event tracking, secure data transmission, and configuration management through infrastructure as code. GitLab also supports integration with systems like SAML SSO and SCIM for identity and access management, and offers tools for risk assessment through various security scanning methodologies. Additionally, GitLab facilitates system and information integrity by enabling organizations to structure scan execution policies and manage identified vulnerabilities effectively. Through these capabilities, GitLab positions itself as a robust AI-powered DevSecOps platform that assists customers in meeting a wide range of regulatory and compliance requirements.
Jan 07, 2025
891 words in the original blog post.
GitLab's Application Security team reflects on their bug bounty program for 2024, highlighting key achievements and contributors who helped enhance the platform's security. Over the year, the program awarded more than US$1 million in bounties across 275 valid reports from 1,440 submissions by 457 researchers. Notable contributors include joaxcar, who led with 55 valid reports, newcomer a92847865 with 16 reports, and yvvdwf for innovative reporting. ahacker1 made a particularly impactful finding, and matanber provided the best-written report with detailed explanations of a Web IDE vulnerability. The program also featured 90-day challenges and an "Ask a hacker" AMA session. GitLab expresses gratitude to its researchers with special swag and looks forward to continued security enhancements in 2025.
Jan 06, 2025
591 words in the original blog post.
Continuous integration and continuous delivery (CI/CD) has transformed modern software development by automating the entire process from code integration to deployment, enhancing reliability, speed, and collaboration among development teams. CI focuses on integrating code changes frequently into a shared repository, automatically testing and validating them to catch issues early, while CD automates the deployment process, allowing for predictable and stress-free releases. The integration of source code management systems like Git with CI/CD creates a seamless feedback loop that maintains code quality and prevents integration problems. CI/CD offers significant benefits, including reduced risk, faster delivery times, and improved developer satisfaction by automating testing, deployments, and compliance checks, thus fostering a culture of innovation and continuous improvement. GitLab's CI/CD platform exemplifies these principles, offering extensive cloud integration, security features, and advanced automation tools that enable teams to efficiently manage and scale their software delivery pipelines.
Jan 06, 2025
2,725 words in the original blog post.