microsoftgraph / microsoftgraph/msgraph-sdk-powershell
Add support for Non-Interactive sign-in in Get-MgAuditLogSignIn
まだ誰も着手していません。
- 主要言語
- C#
- スター
- 898
- フォーク
- 230
- 平均マージ
- 2日 5時間
- マージ済み PR(30日)
- 31
説明
Is your feature request related to a problem? Please describe the problem.
Not a direct problem, can be workaround with Get-MgBetaAuditLogSignIn
Get-MgAuditLogSignIn : Invalid filter clause
Describe the solution you'd like.
Add an Attribute in Get-MgAuditLogSignIn instead of a Filter in Get-MgBetaAuditLogSignIn
Stable (Request)
- Parameter Option 1: SignInType = [Interactive, NonInteractive, Service principal, Managed Identity, All]
- Parameter Option 2: ShowNonInteractive (isInteractive": false)
Beta (Existing)
$Filter3B = "(signInEventTypes/any(t: t ne 'interactiveUser'))"
$Filter3A = "(signInEventTypes/any(i:i eq 'nonInteractiveUser')) and status/errorCode eq 0"
Get-MgBetaAuditLogSignIn -Filter $Filter3A -Top 10000 -Property *
Additional context?
Get-MgAuditLogSignIn -Filter "signInEventTypes/any(t:t eq 'servicePrincipal')'"
Related to:
https://github.com/microsoftgraph/msgraph-sdk-powershell/issues/2753
https://github.com/microsoftgraph/msgraph-sdk-powershell/issues/956
https://github.com/microsoftgraph/msgraph-sdk-powershell/issues/2753
(https://github.com/microsoftgraph/msgraph-sdk-powershell/issues/1261)
https://learn.microsoft.com/en-us/powershell/module/microsoft.graph.beta.reports/get-mgbetaauditlogsignin?view=graph-powershell-beta#example-3-retrieve-the-first-10-sign-ins-where-the-signineventtype-is-not-interactiveuser-starting-with-the-latest-sign-in
https://learn.microsoft.com/en-us/powershell/module/microsoft.graph.reports/get-mgauditlogsignin?view=graph-powershell-1.0
https://learn.microsoft.com/en-us/graph/api/signin-get?view=graph-rest-1.0&tabs=http
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Get-MgAuditLogSignIn とその安定版ドキュメントから始め、サインイン イベントのフィルター処理に関する beta の例とリンクされた issue を比較します。安定版の cmdlet が beta のフィルター回避策なしで非対話型サインインを取得でき、選択したパラメーターの動作が明確に定義されていれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- powershell
- 領域
- api, cli
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 25/100