Repository navigation
Conversation
0intro
force-pushed
the
djc/azure-image-role-permissions
branch
from
September 15, 2026 15:32
1b55156 to
dc93c74
Compare
The worker role granted galleries/images/versions/read alone, so the scanner could read a gallery version it already knew of but could not enumerate the galleries and image definitions above it, nor list classic managed images at all. Azure answers a list the caller cannot read with HTTP 200 and a filtered result set rather than 403, so a role missing these actions reports no images and logs nothing. Grant read on images, galleries and gallery image definitions. A managed image is read by copying the snapshot or disk it was captured from, and the disk write at the destination authorizes that copy on its own: an image whose snapshot answers 403 to this identity still scans to completion, so the three reads above are the whole addition. The ARM template carries the same list, so regenerate main.json with the Bicep version it pins.
0intro
force-pushed
the
djc/azure-image-role-permissions
branch
from
October 26, 2026 13:52
dc93c74 to
759c3d9
Compare
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.
The worker role granted galleries/images/versions/read alone, so the
scanner could read a gallery version it already knew of but could not
enumerate the galleries and image definitions above it, nor list classic
managed images at all. Azure answers a list the caller cannot read with
HTTP 200 and a filtered result set rather than 403, so a role missing
these actions reports no images and logs nothing.
Grant read on images, galleries and gallery image definitions. A managed
image is read by copying the snapshot or disk it was captured from, and
the disk write at the destination authorizes that copy on its own: an
image whose snapshot answers 403 to this identity still scans to
completion, so the three reads above are the whole addition.
The ARM template carries the same list, so regenerate main.json with the
Bicep version it pins.