Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add logs Command to Harbor CLI #106

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

bupd
Copy link
Collaborator

@bupd bupd commented Jun 4, 2024

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.

  • Adding this command will allow users to efficiently retrieve and filter recent operation logs for projects.
  • Enhances audit and monitoring capabilities within the Harbor CLI.

#94

@bupd bupd changed the title feat: Add audit-log Command to Harbor CLI feat: Add logs Command to Harbor CLI Jun 5, 2024
@amands98
Copy link
Collaborator

amands98 commented Jun 7, 2024

Please add screenshots.

@bupd
Copy link
Collaborator Author

bupd commented Jun 7, 2024

Screenshots:

Logs:

logs

Copy link
Collaborator

@amands98 amands98 left a comment

Choose a reason for hiding this comment

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

Please do not display this in table format. You can print the logs by using this: https://github.com/sirupsen/logrus.

@bupd
Copy link
Collaborator Author

bupd commented Aug 18, 2024

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

@amands98
Copy link
Collaborator

or we can leverage the websocket connection to retireve logs

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.

2 participants