Skip to content

[AVM Module Issue]: Add support for implementing minimal permissions for deployments (least privilege model) #65

@JanneMattila

Description

@JanneMattila

Check for previous/existing GitHub issues

  • I have checked for previous/existing GitHub issues

Issue Type?

Feature Request

(Optional) Module Version

0.2.0 / main branch

(Optional) Correlation Id

No response

Description

Current implementation requires too broad permissions and it should narrowed down to as small as possible to implement least privilege model.

To support this, module should:

Minimal permission examples

If you don't want to use built-in roles e.g., Network Contributor and Private DNS Zone Contributor for granting access, then here are examples of custom role permissions:

For Virtual Network:

Microsoft.Network/virtualNetworks/read
Microsoft.Network/virtualNetworks/subnets/read
Microsoft.Network/virtualNetworks/subnets/join/action

For Private DNS Zones:

Microsoft.Network/privateDnsZones/read
Microsoft.Network/privateDnsZones/join/action
Microsoft.Network/privateDnsZones/A/read
Microsoft.Network/privateDnsZones/A/write

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Needs: Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions