Skip to content

feat(cli): remove audit-list - #950

Open
davidfrigolet wants to merge 3 commits into
masterfrom
feat/remove-audit-list-cli
Open

feat(cli): remove audit-list#950
davidfrigolet wants to merge 3 commits into
masterfrom
feat/remove-audit-list-cli

Conversation

@davidfrigolet

Copy link
Copy Markdown
Contributor

feat(cli): remove audit-list

bercianor
bercianor previously approved these changes Aug 12, 2026

@bercianor bercianor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dieppa

dieppa commented Aug 16, 2026

Copy link
Copy Markdown
Member

There is a problem. We are removing two operationsÑ audit list and state.

``

@dieppa

dieppa commented Aug 16, 2026

Copy link
Copy Markdown
Member

There is a problem: With this change we are removing the audit list but also the audit state.

AuditListOperation.java:36-38

        List<AuditEntry> entries = args.isHistory()
                ? auditReader.getAuditHistory()
                : auditReader.getAuditSnapshot();

I know the trello ticket says to remove all those files, but it´s wrong...My mistake.

On the other hand, I am wondering if we should keep the audit ist also, but throwing a message that is an enterprise feature 🤔

Restores the AUDIT_LIST operation type, args/result/response classes,
and OperationResolver wiring removed in a prior commit. Per PR review,
removing the whole operation also removed the snapshot ("state") mode,
not just the history listing.

AuditListOperation.execute() now throws UnsupportedOperationException,
gating the feature behind Cloud/Self-Hosted Edition instead of exposing
full audit-store read behavior in Community Edition.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants