From 00bc7f3d19f1d9e157a8f43db666d2cebf4223f2 Mon Sep 17 00:00:00 2001 From: Preslav Gerchev Date: Thu, 5 Jan 2023 20:22:34 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Letha --- resources/packs/azure/azure.lr | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/resources/packs/azure/azure.lr b/resources/packs/azure/azure.lr index bd251c53b9..b615bbf4db 100644 --- a/resources/packs/azure/azure.lr +++ b/resources/packs/azure/azure.lr @@ -878,36 +878,36 @@ private azure.monitor.diagnosticsetting @defaults("id name") { // Azure Authorization azure.authorization { - // The role definitions for the Azure subscription + // Role definitions for the Azure subscription roleDefinitions() []azure.authorization.roleDefinition } // Azure Role Definition azure.authorization.roleDefinition @defaults ("id name scopes") { - // the identifier of the role definition + // ID of the role definition id string - // the description of the role definition + // Description of the role definition description string - // the name of the role definition + // Name of the role definition name string - // indicates if the role definition is custom, that is if it has been manually created + // Whether the role definition is manually created isCustom bool - // the scopes for which the role definition applies + // Scopes for which the role definition applies scopes []string - // the permissions that are attached to the role definition + // Permissions that are attached to the role definition permissions []azure.authorization.roleDefinition.permission } // Azure Role Definition Permission private azure.authorization.roleDefinition.permission @defaults ("allowedActions deniedActions") { - // the identifier of the permission + // ID of the permission id string - // the list of allowed actions that are attached to the permission + // List of allowed actions that are attached to the permission allowedActions []string - // the list of denied actions that are attached to the permission + // List of denied actions that are attached to the permission deniedActions []string - // the list of allowed data actions that are attached to the permission + // List of allowed data actions that are attached to the permission allowedDataActions []string - // the list of denied data actions that are attached to the permission + // List of denied data actions that are attached to the permission deniedDataActions []string } \ No newline at end of file