feat: add Trusted Launch FIPS 22.04 VHD#7753
Merged
awesomenix merged 2 commits intomainfrom Jan 29, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
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_bodyinfips-helper.shto optionally include an Azure VMsecurityProfilewithTrustedLaunchand UEFI settings whenENABLE_TRUSTED_LAUNCHisTrue. - Pass the
ENABLE_TRUSTED_LAUNCHflag 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
build2204fipstlgen2containerdin.vsts-vhd-builder-release.yamlto 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. |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
awesomenix
reviewed
Jan 29, 2026
awesomenix
approved these changes
Jan 29, 2026
djsly
reviewed
Jan 30, 2026
| "$SCANNING_NIC_ID" \ | ||
| "$UMSI_RESOURCE_ID" \ | ||
| "$vm_size") | ||
| "$vm_size" \ |
Collaborator
There was a problem hiding this comment.
can vm_size to change to VM_SIZE ?
Contributor
Author
There was a problem hiding this comment.
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.
Contributor
Author
There was a problem hiding this comment.
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR does / why we need it:
Add Trusted Launch FIPS 22.04 VHD
Which issue(s) this PR fixes:
Fixes #