Repository navigation
Add LVBS prod unsigned security profile - #4746
Praveen K Paladugu (praveen-pk) wants to merge 1 commit into
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: fabfa82c-7b3e-41c3-b98b-adc7ef973782
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Implicit selection can disable Secure Boot, and libvirt advertises a profile its deployment mapping cannot handle.
Review effort: Balanced
Findings: 1
Open (2)
What changed in this PR
Adds an Azure security profile for unsigned LVBS images using Trusted Launch with Secure Boot disabled.
Changes:
- Registers
lvbs-prod-unsignedand adds it to capability matching. - Configures Azure deployment parameters for the new profile.
- Adds decoding, capability, and Secure Boot regression tests.
Suggested validation: run verify_lvbs_kmpp on the custom LVBS image and smoke_test on the marketplace image below.
Key Test Cases:
verify_lvbs_kmpp|smoke_test
Impacted LISA Features:
SecurityProfile
Tested Azure Marketplace Images:
- microsoftcblmariner azure-linux-3 azure-linux-3-gen2 latest
| File | Description |
|---|---|
| selftests/azure/test_security_profile.py | Tests decoding, capabilities, and deployment settings. |
| lisa/util/constants.py | Defines the new profile identifier. |
| lisa/sut_orchestrator/azure/features.py | Advertises SKU support and configures deployment. |
| lisa/sut_orchestrator/azure/common.py | Adds image and VHD profile support. |
| lisa/features/security_profile.py | Extends shared profile definitions and selection priority. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| SecurityProfileType.Standard, | ||
| SecurityProfileType.LvbsProdUnsigned, | ||
| SecurityProfileType.SecureBoot, | ||
| SecurityProfileType.CVM, | ||
| SecurityProfileType.Stateless, |
| search_space.SetSpace, | ||
| items=[ | ||
| SecurityProfileType.Standard, | ||
| SecurityProfileType.LvbsProdUnsigned, |
|
Praveen K Paladugu (@praveen-pk) I'm not sure whether this combination is meaningful. Also, this case does not have the new requirement added to it. |


Description
Unsinged LVBS images need a security profile that has:
This introduces this Security Profile.
Type of Change
Checklist
Test Validation
Key Test Cases:
verify_lvbs_kmppis the test case that run with this Security Profile.Tested Azure Marketplace Images:
Test Results
test result summary
TOTAL : 1
QUEUED : 0
ASSIGNED : 0
RUNNING : 0
FAILED : 0
PASSED : 1
SKIPPED : 0