You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "yuluo-yx (via GitHub)" <gi...@apache.org> on 2026/08/15 08:01:07 UTC
[I] [Studio][Bug] Preserve resource types for operational audit records [rocketmq-dashboard]
yuluo-yx opened a new issue, #2228:
URL: https://github.com/apache/rocketmq-dashboard/issues/2228
### Problem\n\nOperational actions recorded through the legacy AuditService do not set resourceType. The repository consequently stores them as GENERAL, even for cluster configuration, broker configuration, Topic, Consumer Group, message, and DLQ operations. Resource-type filters therefore cannot find those records.\n\n### Expected behavior\n\nEvery operational caller should provide its actual resource type while preserving the existing audit target, cluster identifier, detail, result, and best-effort failure behavior.\n\n### Reproduction\n\n1. Update cluster or broker configuration, send a message, reset an offset, or resend a DLQ message.\n2. Query audit records by the corresponding resource type.\n3. The record is absent because it was persisted as GENERAL.\n\n### Acceptance criteria\n\n- Operational audit callers classify their records as CLUSTER, BROKER, TOPIC, GROUP, MESSAGE, or DLQ.\n- The old AuditService entry point remains compatible for callers that genuinely use GENERA
L.\n- Unit tests cover classification and audit-failure isolation.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Studio][Bug] Preserve resource types for operational audit records [rocketmq-dashboard]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #2228: [Studio][Bug] Preserve resource types for operational audit records
URL: https://github.com/apache/rocketmq-dashboard/issues/2228
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Studio][Bug] Preserve resource types for operational audit records [rocketmq-dashboard]
Posted by "RockteMQ-AI (via GitHub)" <gi...@apache.org>.
RockteMQ-AI commented on issue #2228:
URL: https://github.com/apache/rocketmq-dashboard/issues/2228#issuecomment-5301300482
**Issue Evaluation**
Category: `bug` | Status: **Confirmed**
The reported issue has been verified against the current codebase.
**Root Cause:** Operational audit callers do not pass `resourceType` to the audit service, causing all records to be persisted as `GENERAL`. This makes resource-type-based filtering ineffective for cluster config, broker config, topic, consumer group, message, and DLQ operations.
**Impact:** Audit trail — resource-type filters cannot find operational records, reducing audit usefulness.
**Severity:** Medium — affects audit query functionality but does not cause data loss.
**Proposed fix:** Update operational audit callers to classify their records with the appropriate resource type (CLUSTER, BROKER, TOPIC, GROUP, MESSAGE, DLQ) while preserving backward compatibility for callers that genuinely use GENERAL. Add unit tests for classification and audit-failure isolation.
An automated fix proposal can be generated. Reply `/approve` to proceed with PR generation.
---
*Automated evaluation by github-manager*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Studio][Bug] Preserve resource types for operational audit records [rocketmq-dashboard]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #2228:
URL: https://github.com/apache/rocketmq-dashboard/issues/2228#issuecomment-5383288753
This issue has been automatically closed because there has been no activity for 7 days. If you believe this issue is still relevant, please reopen it with updated information.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org