Skip to content

Conversation

@DrowsyWings
Copy link

Fixes the harbor project logs subcommand so that it displays project-specific audit logs.

Problem

The harbor project logs subcommand returned empty output even when audit logs existed for the project.

Solution

Previously it was using the v1 version of log functions
This change updates the logic to use v2 functions and corresponding types to v2 (similar to harbor logs command )

Tested it against demo.goharbor.io instance which have existing audit logs

Fixes #586

@DrowsyWings DrowsyWings force-pushed the fix/project-logs-no-output branch from 8a5e2dc to 9102a6b Compare December 25, 2025 05:24
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.

harbor-cli project logs returns no output

1 participant