Skip to content

feat: add Trusted Launch FIPS 22.04 VHD#7753

Merged
awesomenix merged 2 commits intomainfrom
markibrahim/fips-tl-2204
Jan 29, 2026
Merged

feat: add Trusted Launch FIPS 22.04 VHD#7753
awesomenix merged 2 commits intomainfrom
markibrahim/fips-tl-2204

Conversation

@mxj220
Copy link
Contributor

@mxj220 mxj220 commented Jan 29, 2026

What this PR does / why we need it:

Add Trusted Launch FIPS 22.04 VHD

Which issue(s) this PR fixes:

Fixes #

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for building and scanning a Trusted Launch–enabled Ubuntu 22.04 FIPS VHD, wiring the feature through both the packer helper script and the VHD builder release pipeline.

Changes:

  • Extend build_fips_vm_body in fips-helper.sh to optionally include an Azure VM securityProfile with TrustedLaunch and UEFI settings when ENABLE_TRUSTED_LAUNCH is True.
  • Pass the ENABLE_TRUSTED_LAUNCH flag from the environment into the FIPS VM creation path so Trusted Launch can be toggled at build time.
  • Introduce a new pipeline parameter and job build2204fipstlgen2containerd in .vsts-vhd-builder-release.yaml to build a 22.04 FIPS Gen2 containerd VHD with Trusted Launch enabled.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
vhdbuilder/packer/fips-helper.sh Adds an optional securityProfile block to the FIPS VM REST payload driven by ENABLE_TRUSTED_LAUNCH, enabling Trusted Launch on Ubuntu 22.04 FIPS scan VMs.
.pipelines/.vsts-vhd-builder-release.yaml Adds a new boolean parameter and job to build a 2204 FIPS Gen2 containerd VHD with Trusted Launch, configuring the appropriate pipeline variables.

@mxj220 mxj220 changed the title Add Trusted Launch FIPS 22.04 VHD feat: Add Trusted Launch FIPS 22.04 VHD Jan 29, 2026
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings January 29, 2026 18:01
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

@mxj220 mxj220 changed the title feat: Add Trusted Launch FIPS 22.04 VHD feat: add Trusted Launch FIPS 22.04 VHD Jan 29, 2026
@awesomenix awesomenix merged commit 0aa2266 into main Jan 29, 2026
63 of 66 checks passed
@awesomenix awesomenix deleted the markibrahim/fips-tl-2204 branch January 29, 2026 23:19
"$SCANNING_NIC_ID" \
"$UMSI_RESOURCE_ID" \
"$vm_size")
"$vm_size" \
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can vm_size to change to VM_SIZE ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vm_size is lowercase to match other passed-in arguments in these scripts which are also lowercase. Uppercase seems to be used for globals and locals.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there are more examples in vhd-scanning.sh

Devinwong pushed a commit that referenced this pull request Feb 3, 2026
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Devin Wong <wongsiosun@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments