Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-44127

Azure CredentialsRequest for Disk Storage Operator may be missing some permissions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • 4.14, 4.15, 4.16, 4.17, 4.18.0
    • Storage / Operators
    • None
    • None
    • Rejected
    • False
    • Hide

      None

      Show
      None

      During review of ARO MiWi permissions, some permissions in the Disk StorageOperator CredentialsRequest for Azure having other permissions identified through a linked action that are missing.

      A linked access check is an action performed by Azure Resource Manager during a incoming request. For example, when you issue a create operation to a network interface ( Microsoft.Network/networkInterfaces/write ) you specify a subnet in the payload. ARM parses the payload, sees you're setting a subnet property, and as a result requires the linked access check Microsoft.Network/virtualNetworks/subnets/join/action to the subnet resource specified in the network interface. If you update a resource but don't include the property in the payload, it will not perform the permission check.

      The following permissions were identified as possibly needed in DSO CredsRequest as they are specified as linked action of one of DSO's existing permissions

      Microsoft.Compute/disks/beginGetAccess/action
      Microsoft.KeyVault/vaults/deploy/action
      Microsoft.ManagedIdentity/userAssignedIdentities/assign/action
      Microsoft.Network/applicationGateways/backendAddressPools/join/action
      Microsoft.Network/applicationSecurityGroups/joinIpConfiguration/action
      Microsoft.Network/loadBalancers/backendAddressPools/join/action
      Microsoft.Network/loadBalancers/inboundNatPools/join/action
      Microsoft.Network/loadBalancers/probes/join/action
      Microsoft.Network/networkInterfaces/join/action
      Microsoft.Network/networkSecurityGroups/join/action
      Microsoft.Network/publicIPPrefixes/join/action
      Microsoft.Network/virtualNetworks/subnets/join/action
      

      Each permission needs to be validated as to whether it is needed by DSO through any of its code paths.

              rh-ee-rhrmo Richard Hrmo
              tfahlman Taylor Fahlman
              Wei Duan Wei Duan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: