Repository navigation
feat(enforcement): observe fixed VM configuration - #949
Merged
Merged
Conversation
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.
Installed VM inspection currently observes identity and storage without a reusable native check of the realized VM configuration. Add a read-only observation on the retained VM manager that validates the fixed offline profile before returning its canonical configuration digest. Missing, ambiguous, unsupported or malformed configuration refuses observation; VM identity and Off state are checked around the read.
The digest binds stable approved settings, original resource identities and disk/DVD/controller relationships. Disk contents, transient state, boot order and TPM protector remain outside this profile so existing authorized disk hydration and stop flows can retain a stable configuration seal. Persistent registration of the expected digest is a separate dependent change.
Validation on Windows at
24723ec95ec96a7bd435ddb09fe13da58b93d16a: 65/65 modeled-provider/native-parser controls pass, all seven production sidecars compile, and the frozen source received independent Astra review. The final controls include malformed paths and WMI endpoints that must produce bounded refusal. Actual Hyper-V resource compatibility and provider deadline behavior still require hosted qualification; these fixtures do not establish runtime or launch acceptance.