ListLogGroups API Returns Incomplete Results for VCN/Subnet Audit Log Groups
还没有人认领这个 Issue。
评估
调研方向
首先使用指定的 compartment、region 和 credentials,通过 LoggingManagementClient.listLogGroups() 以及提供的 OCI CLI 命令重现该差异。将 SDK 和 CLI 的结果与 OCI Console 进行比较,然后查看相关的 issue #668;完成的标准是确定过滤发生在 clients 中还是 OCI 服务中,并记录已确认的原因。
由索引模型根据 Issue 内容生成。
描述
The LoggingManagementClient.listLogGroups() method returns incomplete results, specifically missing log groups associated with VCN/subnet audit logging, despite successful authentication and HTTP 200 responses.
Environment
- OCI Java SDK Version: 3.69.0
- Java Version: 8
- Authentication: User principal with tenancy-wide read permissions
Expected Behavior
Should return all log groups the authenticated principal can access, including VCN Flow Log audit groups.
Actual Behavior
- API returns HTTP 200 with valid response structure and request IDs
(super=com.oracle.bmc.logging.responses.ListLogGroupsResponse@be50ef52,opcNextPage=null,opcPreviousPage=null,opcRequestId=<request_id>,items=[])
- Same log groups are visible and accessible in OCI Console with identical credentials
- No authentication errors or exceptions
- OCI CLI shows identical behavior (missing same log groups)
oci logging log-group list --compartment-id "<compartment-id>" --region us-phoenix-1
Implementation
final LoggingManagementClient client = LoggingManagementClient.builder()
.region(region)
.build(new ConfigFileAuthenticationDetailsProvider(configFilePath, profile))
final ListLogGroupsRequest.Builder builder = ListLogGroupsRequest.builder().compartmentId(compartmentId);
String nextPage = null;
do {
final ListLogGroupsRequest request = builder.page(nextPage).build();
final ListLogGroupsResponse response = client.listLogGroups(request);
response.getItems().forEach(logGroup -> {
// Process discovered log groups - VCN audit log groups missing
});
nextPage = response.getOpcNextPage();
} while (!Strings.isNullOrEmpty(nextPage));
Request
Please investigate why the API filters out VCN/subnet audit log groups that are visible in Console with same permissions.
Note: May be related to #668
- 主要语言
- Java
- 星标
- 243
- 派生
- 171
- 平均合并
- 5 分钟
- 30 天内合并 PR
- 4
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
oracle/oci-java-sdk 的其他 Issue
-
NoSuchMethodError in the circuit breaker since 3.103.0 when resilience4j 2.x is on the classpath未关闭
难度 2/5 1-3 小时 新手友好度 76/100
oracle/oci-java-sdk#803 ·
-
SDK
难度 1/5 1 小时以内 新手友好度 20/100
oracle/oci-java-sdk#788 ·
-
Identity Domains
难度 4/5 3-5 天 新手友好度 25/100
oracle/oci-java-sdk#764 · 3 条评论 ·
-
SDK
难度 3/5 1-2 天 新手友好度 48/100
oracle/oci-java-sdk#726 · 1 条评论 ·
-
Object Storage
难度 4/5 3-5 天 新手友好度 25/100
oracle/oci-java-sdk#723 · 1 个 reaction ·
查看 oracle/oci-java-sdk 的全部 Issue
相似的 Issue
-
enhancement infra
难度 2/5 1-3 小时 新手友好度 67/100
维护者通常 1 天内回复
-
5.0.x backport bug
难度 1/5 1 小时以内 新手友好度 68/100
spring-cloud/spring-cloud-function#1569 ·
维护者通常 1 天内回复
-
Move the spring-cloud-commons version and BOM import from the bus parent to the stream parent可能已有人在做 @olegz 今天认领。 未关闭task
难度 2/5 1-3 小时 新手友好度 74/100
spring-cloud/spring-cloud-stream#3355 ·
维护者通常 1 天内回复
-
area:cpan-port area:performance bug
难度 2/5 1-3 小时 新手友好度 72/100
fglock/PerlOnJava#2230 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100