Azure / Azure/AzureStack-Tools

LCM account now requires full control, but the pre deployment script does not grant it

未关闭
#710 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
PowerShell
星标
260
派生
283
平均合并
2 小时 11 分钟
30 天内合并 PR
1

描述

We just recently started an Azure Local deployment and during validation, the LCM creates the CNO, but fails to apply the permissions granting the CNO full control over the lcm account. This happens as part of this script: C:\NugetStore\Microsoft.AS.Infra.Security.Domain.10.2604.0.42\content\Deployment\Domain.psm1

Unfortunately, the LCM doesn't have full control over the OU to be able to grant it to the CNO. The predeployment script only grants the lcm limited permissions: https://github.com/Azure/AzureStack-Tools/blob/8fd59ad7bb82b4bf485a05073d16d416e01c8593/HCI/AsHciADArtifactsPreCreationTool.psm1#L614

I'd offer a pull request, but the Contribution guidelines link doesn't work. Also, pull requests seem pretty stale.

贡献指南

打开贡献指南

调研方向

从引用行中的 HCI/AsHciADArtifactsPreCreationTool.psm1 开始,然后检查部署包中的 Domain.psm1 脚本,以追踪权限的应用方式。重现或检查 Azure Local 部署验证,并确认 LCM 可以授予 CNO 对 lcm 帐户和 OU 的完全控制权限。

由索引模型根据 Issue 内容生成。

评估

技术栈
azure, powershell
领域
authorization, cloud, infrastructure, security
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
58/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。