Skip to content

Error adding Audit Log Forward Syslog Endpoint #21802

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

Open
Assylbek2002 opened this issue Mar 28, 2025 · 2 comments
Open

Error adding Audit Log Forward Syslog Endpoint #21802

Assylbek2002 opened this issue Mar 28, 2025 · 2 comments
Labels
area/audit-log area/ui more-info-needed The issue author need to provide more details and context to the issue

Comments

@Assylbek2002
Copy link

Assylbek2002 commented Mar 28, 2025

Sending audit logs to SIEM

Steps to reproduce the problem:
When adding Audit Log Forward Syslog Endpoint
thus 10.0.0.100:515, the error occurs "2025-03-28T22:09:55Z [ERROR] [/pkg/audit/forward.go:70]: failed to connect to audit log endpoint, error dial tcp: address tcp://10.0.20.87:515: too many colons in address"

Versions:
v2.12.2

  • harbor version: v2.12.2
  • kubernetes version: 1.30
  • chart version: 1.16.2

Even provided example didn't work:
2025-03-28T22:59:11Z [ERROR] [/pkg/audit/forward.go:70]: failed to connect to audit log endpoint, error dial tcp: address tcp://harbor-log:10514: too many colons in address.

In Harbor GUI i've added address like this: harbor-log:10514

I think it is the bug.

@stonezdj
Copy link
Contributor

Please remove the prefix tcp://

@wy65701436 wy65701436 added area/audit-log more-info-needed The issue author need to provide more details and context to the issue area/ui labels Mar 31, 2025
@wy65701436
Copy link
Contributor

@bupd we could add validation in the UI side to fail early or any tool-tip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/audit-log area/ui more-info-needed The issue author need to provide more details and context to the issue
Projects
None yet
Development

No branches or pull requests

3 participants