Support setting customSecurityAttributes to Microsoft.Graph/servicePrincipals
还没有人认领这个 Issue。
评估
这个 Issue 还没有评估数据。
描述
Bicep version
0.36.1
Resource and API version
0.2.0-preview beta and v1.0
Auth flow
Doesn't matter
Describe the bug
I want to update a service principal resource with some custom security attributes (CSAs).
However, there's no Bicep examples of how to do this and IntelliSense doesn't seem to know about CSAs and I see it's missing from the Bicep types definition.
Additional context
The Microsoft.Graph/servicePrincipals Bicep type does not specify a CSA. There isn't currently a way to support customSecurityAttributes in the Bicep type definition, as the underlying Microsoft Graph type is an open type with dynamic schema. That said, the customSecurityAttributes property can be defined in the Bicep template file (although the Bicep extension will warn that this is an unknown property). The template could in theory also be deployed, as the Graph Bicep extension will passthrough unknown properties to Microsoft Graph.
However, the deployment still fails with a 403 Forbidden, as the Graph Bicep extension currently doesn't have the necessary permissions to read and write CSAs.
- 主要语言
- TypeScript
- 星标
- 81
- 派生
- 15
- 平均合并
- 3 天 8 小时
- 30 天内合并 PR
- 7
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoftgraph/msgraph-bicep-types 的其他 Issue
-
bug
难度 4/5 3-5 天 新手友好度 55/100
microsoftgraph/msgraph-bicep-types#311 · 3 条评论 ·
-
enhancement new type
难度 5/5 一周以上 新手友好度 45/100
-
enhancement
难度 4/5 3-5 天 新手友好度 35/100
microsoftgraph/msgraph-bicep-types#304 · 3 条评论 · 1 个 reaction ·
-
enhancement new type
难度 4/5 3-5 天 新手友好度 45/100
microsoftgraph/msgraph-bicep-types#296 · 2 个 reaction ·
-
Issue with servicePrincipals and appRoleAssignedTo in some Entra Tenants可能重新可做 @eketo-msft 于 260 天前认领,目前没有进行中的 PR。 未关闭bug
microsoftgraph/msgraph-bicep-types#275 · 5 条评论 · 已指派 1 人 ·
查看 microsoftgraph/msgraph-bicep-types 的全部 Issue
相似的 Issue
-
Mend: dependency security vulnerability untriaged
难度 2/5 1-3 小时 新手友好度 68/100
opensearch-project/security-dashboards-plugin#2545 ·
维护者通常 1 天内回复
-
Add: Dream TR SD未关闭check:passed streams:add
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
doctor integrity sample scans soft-deleted pages on Postgres (batch path has no deleted_at filter)未关闭
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 72/100
SocialGouv/egapro#4672 · 1 条评论 ·
维护者通常 2 天内回复
-
area:agents area:tui bug
难度 2/5 1-3 小时 新手友好度 74/100
anthropics/claude-code#98358 ·
维护者通常 1 天内回复