Please further limit read access to some properties of the deviceHealthScript resource
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- azure, powershell
- 領域
- api, authorization, security
調査の方向性
リンクされている deviceHealthScript リソースのドキュメントと Microsoft Graph のアクセス許可リファレンスから始めます。提案されている最小権限の app role と、detectionScriptContent および remediationScriptContent に対するプロパティ レベルのアクセス動作を評価します。要求されたアクセス制限または代替案が仕様化され、文書化されていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Hello,
We are creating an audit tool to identify risks in some Microsoft systems, including Intune. As part of that work, we are looking at auditing risks surrounding various resource types, including deviceHealthScript resources.
The deviceHealthScript resource type includes these two properties:
- detectionScriptContent
- remediationScriptContent
Those properties' values are base64-encoded PowerShell scripts.
This is problematic because our experience has been that PowerShell scripts often contain sensitive material such as credentials. When we deploy our software to our customers, we ask them to create an Entra application and grant the application the least privilege required to read information relevant to how we identify risks. Our product is a SaaS product, so the customer's data winds up in our infrastructure.
We can of course control our data collection software to filter out the detectionScriptContent and remediationScriptContent field values before the data is sent to our SaaS instance. But we would prefer, if possible, to be able to select a least-privilege MS Graph app role that can list deviceHealthScript objects, but cannot read the detectionScriptContent and remediationScriptContent field values. We believe this would be the most effective change to limit the risks we ourselves are creating for our customers.
The two MS Graph app roles that enable reading deviceHealthScript resources are:
- DeviceManagementConfiguration.Read.All
- DeviceManagementConfiguration.ReadWrite.All
Perhaps a possible solution could be to add a new MS Graph app role called:
- DeviceManagementConfiguration.ReadBasic.All
And then constrain access to reading property values on deviceHealthScript objects such that the detectionScriptContent and remediationScriptContent fields cannot be read when presenting a JWT with only that permission. This would function similarly to the existing User.ReadBasic.All MS Graph app role: https://learn.microsoft.com/en-us/graph/permissions-reference#userreadbasicall
Thank you for your consideration.
- 主要言語
- XSLT
- スター
- 171
- フォーク
- 56
- 平均マージ
- 1日 11時間
- マージ済み PR(30日)
- 9
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoftgraph/msgraph-metadata のほかの issue
-
ToTriage
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
microsoftgraph/msgraph-metadata#1217 ·
メンテナーはふだん 2 日以内に返信
-
ToTriage
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
microsoftgraph/msgraph-metadata#1192 ·
メンテナーはふだん 2 日以内に返信
-
ToTriage
難易度 3/5 1〜2日 初心者へのやさしさ 57/100
microsoftgraph/msgraph-metadata#1233 ·
メンテナーはふだん 2 日以内に返信
-
`microsoft.graph.managedDevice` is missing a filter restrictions annotation.対応中かも @esidorenko-sl が 86 日前に担当しました。 オープンToTriage
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
microsoftgraph/msgraph-metadata#1193 · コメント 2 件 ·
メンテナーはふだん 2 日以内に返信
-
ToTriage
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
microsoftgraph/msgraph-metadata#1169 · リアクション 1 件 ·
メンテナーはふだん 2 日以内に返信
microsoftgraph/msgraph-metadata の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
matomo-org/plugin-CustomAlerts#310 ·
メンテナーはふだん 1 日以内に返信
-
bug level:trivial
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
exoego/keycloak-fuhito#666 ·
メンテナーはふだん 1 日以内に返信
-
bug size:small
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
fb55/htmlparser2#2579 ·
メンテナーはふだん 1 日以内に返信