apache / gravitino

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.
https://gravitino.apache.org
Apache License 2.0
1.1k stars 348 forks source link

[#5276] improment(cli): display audit information on Metalakes in the Gravitino CLI #5475

Closed orenccl closed 3 weeks ago

orenccl commented 3 weeks ago

What changes were proposed in this pull request?

Add the --audit option to display audit information on Metalakes.

Why are the changes needed?

This change allows users to retrieve additional audit information on Metalakes, providing more insights.

Fix: #5276

Does this PR introduce any user-facing change?

Yes, it adds the --audit option to CommandEntities.METALAKE.

How was this patch tested?

  1. Follow the instructions in the cli README to build the CLI sub-project.
  2. Start the Gravitino server.

To test, use a command like the following:

gcli metalake details --metalake <your meatalake name> --audit

Check that the output matches the expected audit information. messageImage_1730814949436

image