azure-storage-blob-read-permission

explicit azure emits HasPermission

match (effective permission)

{ "action": "Microsoft.Storage/storageAccounts/blobServices/containers/blobs/read", "action_kind": "dataAction", "resource_type": "Microsoft.Storage/storageAccounts" }

emit

source typeIdentity
target typeObjectStorage
source<principal>
target<storageAccount or container node>
permissionsMicrosoft.Storage/storageAccounts/blobServices/containers/blobs/read

Narrative

{principal.name} has effective dataAction blobs/read on {account_or_container.name} (via role: {role.name}).

Raw rule rules/explicit/azure-storage.yaml

id: azure-storage-blob-read-permission
emits: HasPermission
applies_to:
- azure
match_effective_permission:
  action: Microsoft.Storage/storageAccounts/blobServices/containers/blobs/read
  resource_type: Microsoft.Storage/storageAccounts
  action_kind: dataAction
emit:
  source_type: Identity
  target_type: ObjectStorage
  source: <principal>
  target: <storageAccount or container node>
  permissions:
  - Microsoft.Storage/storageAccounts/blobServices/containers/blobs/read
  narrative: '{principal.name} has effective dataAction blobs/read on {account_or_container.name} (via
    role: {role.name}).'
move · open · esc close