add admin commands for system, users, gc, audit, security
All checks were successful
CI / Lint & Check (push) Successful in 11s

Phase 6 implementation:
- system: version, auth mode, storage volumes
- gc, gc-run: schedule, history, manual trigger
- users, user-create, user-delete, user-admin, user-passwd
- audit, audit-purge: view and purge audit logs
- cve-allow: manage system CVE allowlist
- scan-all: trigger system-wide vulnerability scan

Helpers: paginated_request(), confirm_action(), format_size()
This commit is contained in:
Username
2026-01-18 19:10:47 +01:00
parent 11f7bb5b7a
commit 969f0a5207
9 changed files with 1198 additions and 45 deletions

View File

@@ -25,8 +25,11 @@ Active, prioritized work items.
| `labels` command | 4 |
| `copy` command | 4 |
| `quota` command | 4 |
| `replication` command | 4 |
| pyproject.toml with entry points | 5 |
| Shell completions | 5 |
| `registries` command | deferred |
| `groups` command (LDAP/OIDC) | deferred |
## Completed
@@ -41,3 +44,9 @@ Active, prioritized work items.
- [x] `--verify-ssl` flag for SSL certificate verification
- [x] Modular package structure (`src/harbor/`)
- [x] Documentation updated for new structure
- [x] Phase 6: Admin commands (v0.1.3)
- `system`, `gc`, `gc-run`, `users`
- `user-create`, `user-delete`, `user-admin`, `user-passwd`
- `audit`, `audit-purge`, `cve-allow`, `scan-all`
- `paginated_request()` helper
- `confirm_action()`, `format_size()`, `format_timestamp()` helpers