microsoftgraph / microsoftgraph/msgraph-sdk-java

Missing endpoint eDiscoveryHoldPolicy

オープン 初心者向け
#2,610 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

status:waiting-for-triage type:bug
主要言語
Java
スター
444
フォーク
154
平均マージ
18時間 28分
マージ済み PR(30日)
4

説明

Describe the bug

I am trying to create a Hold Policy in Purview eDiscovery, but the required methods are not present in the SDK. The documentation for v1.0 says that there is an /legalHolds endpoint under the ediscoveryCases resource and this endpoint can be used with direct HTTP calls, but the SDK does not contain the necessary classes to use it via the Java SDK. The beta SDK, however, does contain these classes.

Expected behavior

A LegalHolds class/method in the Java SDK to be able to use the /security/cases/ediscoveryCases/{ediscoveryCaseId}/legalHolds endpoint as described in the documentation for v1.0

How to reproduce

There is no legalholds subpackage in the current ediscovery package.

In the beta tree it exists, even though it is also a v1.0 endpoint

client.security().cases().ediscoveryCases()
        .byEdiscoveryCaseId(purviewCaseId)
        .legalHolds() // <<--- Error here, method not found
        .byEdiscoveryHoldPolicyId(holdPolicyId)
        .userSources().get();
SDK Version

6.65.0

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output
Configuration

No response

Other information

No response

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、src/main/java/com/microsoft/graph/generated/security/cases/ediscoverycases/item 配下の現在の v1.0 パスと、対応するパスにある beta legalholds パッケージを比較します。v1.0 SDK が、issue に記載された legalHolds エンドポイントと byEdiscoveryHoldPolicyId().userSources() チェーンを公開していることを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
api
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
静か
明瞭さ
明確に書かれている
初心者へのやさしさ
68/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。