liveBook · Manning

CI/CD server

As explained in Azure Security

A CI/CD platform is a software platform that automates continuous integration and continuous delivery activities such as building, testing, and deploying code.

A CI/CD server runs configurable workflows that turn repository changes into repeatable delivery steps. With infrastructure as code (IaC) and version control, it can build and test pull requests before merged changes are deployed to production. This shortens the path from a vulnerability fix to a programmatic Azure deployment while preserving a tracked change history. section 11.3

For security operations, the server is part of a layered delivery process rather than a complete control by itself. A workflow can apply consistent security configuration across Azure resources, such as enabling Microsoft Defender for Cloud plans on subscriptions that host an application. section 11.3.1

Configure an Azure-targeting CI/CD workflow in a deliberate order:

  • Create a Microsoft Entra ID service principal with a role and scope that provide the required permissions. section 11.3.1
  • Configure the CI/CD platform to use the service principal credentials, storing the generated authentication details as a repository secret. section 11.3.1
  • Create a workflow that uses Azure CLI to apply the intended configuration across the relevant subscriptions. section 11.3.1
  • Run the workflow and inspect its log output to confirm the automated operation completed. section 11.3.1

Enabling Defender plans across subscriptions

A GitHub Actions workflow can programmatically enable Defender CSPM plans for Azure subscriptions containing an application’s resources. The workflow gives security configuration a repeatable deployment path instead of requiring each subscription to be configured manually. section 11.3.1

Figure 11.4 The GitHub Actions workflow can be used to programmatically enable Defender CSPM plan on your Azure subscriptions.

Use the workflow diagram to connect GitHub Actions execution with programmatic Defender CSPM plan enablement on Azure subscriptions. section 11.3.1

How Azure Security covers it

How deep it goes
Walks through service-principal setup, secret configuration, workflow creation, and log verification without detailing workflow syntax.
Examples
Uses GitHub Actions to enable Defender CSPM plans across Azure subscriptions and shows workflow log output.
What it assumes
Assumes an application repository and Azure deployment context while reassuring readers that CI/CD concepts transfer beyond GitHub.
What you can do after
Operate/configure it to programmatically apply Azure security settings through a GitHub Actions workflow.
How it connects
Connects CI/CD platforms with infrastructure as code, Git, GitHub Actions, Azure CLI, service principals, and Microsoft Defender for Cloud.

Also explained in

Compare how 4 books explain CI/CD server →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Azure Security. The section links point to the parts of the book it draws on.