goharbor / harbor-cli

[Sandbox] Official Harbor CLI
Apache License 2.0
31 stars 37 forks source link

feat: Add `logs` Command to Harbor CLI #106

Open bupd opened 2 months ago

bupd commented 2 months ago

Summary

This PR adds a new audit-log command to the Harbor CLI, allowing users to retrieve recent operation logs for the projects they are members of.

94

amands98 commented 2 months ago

Please add screenshots.

bupd commented 2 months ago

Screenshots:

Logs:

logs

bupd commented 1 week ago

Yeah, this absolutely make sense. Would be good if we can implement tail logging mechanism. for fetching logs in realtime.

amands98 commented 1 week ago

or we can leverage the websocket connection to retireve logs