Jaa


Secure DevOps environments for Zero Trust

Securing DevOps environments is no longer a choice for developers. Hackers are shifting left so you must implement Zero Trust principles that include verify explicitly, use least privilege access, and assume breach in DevOps environments.

This article describes best practices for securing your DevOps environments with a Zero Trust approach for preventing hackers from compromising developer boxes, infecting release pipelines with malicious scripts, and gaining access to production data via test environments.

Our Securing Enterprise DevOps Environments eBook features the following visualization of the developer, DevOps platform, and application environments along with the potential security threats for each.

Diagram illustrates DevOps environments and security threats as described in above-linked eBook and summarized in related articles linked herein.

Notice in the above diagram how connections between environments and to external integrations expand the threat landscape. These connections can increase opportunities for hackers to compromise the system.

Bad actors are stretching across the enterprise to compromise DevOps environments, gain access, and unlock new dangers. Attacks go beyond the typical breadth of cyber security breaches to inject malicious code, assume powerful developer identities, and steal production code.

As companies transition to ubiquitous, work-from-anywhere scenarios, they must strengthen device security. Cyber security offices might lack consistent understanding of where and how developers secure and build code. Attackers take advantage of these weaknesses with remote connection hacks and developer identity thefts.

DevOps tools are key entry points for hackers, from pipeline automation to code validation and code repositories. If bad actors infect code before it reaches production systems, in most cases, it can pass through cyber security checkpoints. To prevent compromise, ensure that your development teams are engaged with peer reviews, security checks with IDE security plugins, secure coding standards, and branch review.

Cyber security teams aim to prevent attackers from sieging production environments. However, environments now include supply chain tools and products. Open-source tool breach can heighten global cyber security risks.

Learn more about developer-specific articles with the following DevSecOps articles in the Developer guidance section of the Zero Trust Guidance Center:

Next steps

  • Accelerate and secure your code with Azure DevOps with tools that give developers the fastest and most secure code to cloud experience.
  • Sign up for Azure Developer CLI, an open-source tool that accelerates the time it takes to get started on Azure.
  • Configure Azure to trust GitHub's OIDC as a federated identity. OpenID Connect (OIDC) allows your GitHub Actions workflows to access resources in Azurewithout needing to store the Azure credentials as long-lived GitHub secrets.
  • The DevOps resource center helps you with DevOps practices, Agile methods, Git version control, DevOps at Microsoft, and how to assess your organization's DevOps progress.
  • Learn how the Microsoft DevSecOps solution integrates security into every aspect of the software delivery lifecycle to enable DevSecOps, or secure DevOps, for apps on the cloud (and anywhere) with Azure and GitHub.
  • Implement Zero Trust principles as described in memorandum 22-09 (in support of US executive order 14028, Improving the Nation's Cyber Security) by using Microsoft Entra ID as a centralized identity management system.