Affected by GO-2022-0785
and 10 other vulnerabilities
GO-2022-0785: "catalog's registry v2 api exposed on unauthenticated path in Harbor" in github.com/goharbor/harbor
GO-2022-0865: Authenticated users can exploit an enumeration vulnerability in Harbor in github.com/goharbor/harbor
GO-2023-2109: Harbor timing attack risk in github.com/goharbor/harbor
GO-2024-2915: Open Redirect URL in Harbor in github.com/goharbor/harbor
GO-2024-2916: SQL Injection in Harbor scan log API in github.com/goharbor/harbor
GO-2024-3013: Harbor fails to validate the user permissions when updating project configurations in github.com/goharbor/harbor
GO-2025-3825: Harbor repository description page has Cross-site Scripting vulnerability in github.com/goharbor/harbor
GO-2025-3825: Harbor repository description page has Cross-site Scripting vulnerability in github.com/goharbor/harbor
GO-2025-3825: Harbor repository description page has Cross-site Scripting vulnerability in github.com/goharbor/harbor
GO-2025-3825: Harbor repository description page has Cross-site Scripting vulnerability in github.com/goharbor/harbor
GO-2025-3826: Possible ORM Leak Vulnerability in the Harbor in github.com/goharbor/harbor
package
Version:
v1.4.1
Opens a new window with list of versions in this module.
Published: May 10, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 40
Opens a new window with list of known importers.
Documentation
¶
type ImageScanJob struct {
}
ImageScanJob handles /api/imageScanJobs /api/imageScanJobs/:id/log
GetLog gets logs of the job
Post creates a scanner job and hand it to statemachine.
type RepActionReq struct {
PolicyID int64 `json:"policy_id"`
Action string `json:"action"`
}
RepActionReq holds informations of request for /api/replicationJobs/actions
type ReplicationJob struct {
}
ReplicationJob handles /api/replicationJobs /api/replicationJobs/:id/log
/api/replicationJobs/actions
GetLog gets logs of the job
HandleAction supports some operations to all the jobs of one policy
Post creates replication jobs according to the policy.
type ReplicationReq struct {
PolicyID int64 `json:"policy_id"`
Repo string `json:"repository"`
Operation string `json:"operation"`
TagList []string `json:"tags"`
}
ReplicationReq holds informations of request for /api/replicationJobs
Source Files
¶
Click to show internal directories.
Click to hide internal directories.