Skip to content

Constrained extension: DisableOutputBlobs feature implementation - #75

Merged
alsanmsft merged 2 commits into
mainfrom
dev/anasanc/pep-disableoutputblobsfeature
Jul 9, 2026
Merged

Constrained extension: DisableOutputBlobs feature implementation#75
alsanmsft merged 2 commits into
mainfrom
dev/anasanc/pep-disableoutputblobsfeature

Conversation

@alsanmsft

@alsanmsft alsanmsft commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Overview:
This PR implements the ability to disable outputblobs as part of constrained extensions.
Problem:
As per the constrained extensions spec, one of the features of the run command policy is the ability to disable output blobs so that information does not leave the VM (at least, not because of the extension itself). Right now, if a customer provides an output blob URI or error blob URI, we automatically upload the output/error to that blob.

Solution:
If disableOutputBlobs is true, then we enforce that no outputblob URI or error blob URI has been passed in. When no URI is passed in, the extension already does not upload to any blob. We leverage this logic by enforcing that no URI is passed in.

This PR also includes unit tests validating the changes.

@alsanmsft alsanmsft changed the title blob outputbloburi input when the blob is disabled Constrained extension: DisableOutputBlobs feature implementation Jul 2, 2026
Comment thread internal/extensionpolicysettingsrc/extensionpolicysettingsrc.go Outdated
Comment thread internal/extensionpolicysettingsrc/extensionpolicysettingsrc.go Outdated
@alsanmsft
alsanmsft merged commit 3164156 into main Jul 9, 2026
5 checks passed
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