microsoftgraph / microsoftgraph/msgraph-sdk-java

Missing endpoint eDiscoveryHoldPolicy

Đang mở Phù hợp với người mới
#2,610 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

status:waiting-for-triage type:bug
Ngôn ngữ chính
Java
Star
444
Fork
154
Merge trung bình
18 giờ 28 phút
Pull request đã merge (30 ngày)
4

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu bằng cách so sánh đường dẫn v1.0 hiện tại trong src/main/java/com/microsoft/graph/generated/security/cases/ediscoverycases/item với package beta legalholds ở đường dẫn tương ứng. Xác nhận rằng SDK v1.0 cung cấp endpoint legalHolds và chuỗi byEdiscoveryHoldPolicyId().userSources() được mô tả trong issue.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
java
Lĩnh vực
api
Loại issue
Lỗi
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
68/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.