azure_policy: Nested-array alias handling drops the unwrapped x level, recording y instead of x.y and leaving the policy field undefined.
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 72/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- rust
調査の方向性
Start with the linked PR discussion and locate the Azure policy code that handles nested array aliases and the existing regression tests. Trace how accumulated_name is updated for each array level, then add the x[].y[].z case as a regression test. Done when normalization produces properties.x[].y[].properties.z and the policy field is defined.
索引モデルが issue の本文から書いたものです。
説明
https://github.com/microsoft/regorus/pull/894#discussion_r4458753751
For x[].y[].z → properties.x[].y[].properties.z, this still records y instead of x.y because accumulated_name skips the unwrapped x level. Normalization then leaves y's properties.z nested, so the policy field becomes undefined. Extend the accumulated path at every array level, condition only the set insertion on wrapping, and add this case as a regression test.
- 主要言語
- Rust
- スター
- 375
- フォーク
- 81
- 平均マージ
- 1日 11時間
- マージ済み PR(30日)
- 78
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/regorus のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
メンテナーはふだん 1 日以内に返信
-
RVM: errors and conflicts in rule bodies evaluate to undefined, even with strict builtin errors再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
microsoft/regorus#932 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 32/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
microsoft/regorus の issue をすべて見る
似ている issue
-
[Windows] Hidden title bar: a maximized window restored from minimized on a secondary monitor gets the primary monitor's work area as its client area対応中かも @lijy91 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
libnativeapi/nativeapi#53 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
area:mcp enhancement large-monorepo v0.34.1
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
awxkee/yuvutils-rs#149 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信