зеркало из https://github.com/Azure/AzOps.git
Update jq filter for policyAssignments to exclude UMI and change IdentityType to Type (#530)
* updated jq filter for policyAssignments * update jq filter to change identitytype to type
This commit is contained in:
Родитель
676f86aba4
Коммит
d8ed15eeb2
|
@ -19,5 +19,5 @@
|
|||
}
|
||||
],
|
||||
"outputs": {}
|
||||
} |
|
||||
.resources[] |= if .identity==null then del(.identity) else . end
|
||||
} | .resources[] |= if .identity==null then del(.identity) elif .identity.UserAssignedIdentities==null then del(.identity.UserAssignedIdentities) else . end |
|
||||
.resources[] |= if .identity.IdentityType !=null then .identity["Type"] = .identity.IdentityType | del(.identity.IdentityType) else . end
|
||||
|
|
Загрузка…
Ссылка в новой задаче