github.com/khulnasoft-lab/defsec@v1.0.5-0.20230827010352-5e9f46893d95/pkg/providers/azure/authorization/authorization.go (about) 1 package authorization 2 3 import ( 4 defsecTypes "github.com/khulnasoft-lab/defsec/pkg/types" 5 ) 6 7 type Authorization struct { 8 RoleDefinitions []RoleDefinition 9 } 10 11 type RoleDefinition struct { 12 Metadata defsecTypes.Metadata 13 Permissions []Permission 14 AssignableScopes []defsecTypes.StringValue 15 } 16 17 type Permission struct { 18 Metadata defsecTypes.Metadata 19 Actions []defsecTypes.StringValue 20 }