Affected by GO-2022-0785
and 5 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
package
Version:
v1.6.0-rc1
Opens a new window with list of versions in this module.
Published: Aug 15, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 32
Opens a new window with list of known importers.
Documentation
¶
func GetJobAuthSecret() string
GetJobAuthSecret get the auth secret from the env
GetLogLevel returns the log level
GetUIAuthSecret get the auth secret of UI side
type Configuration struct {
Protocol string `yaml:"protocol"`
Port string `yaml:"port"`
LogLevel string `yaml:"log_level"`
HTTPSConfig struct {
Cert string `yaml:"cert"`
Key string `yaml:"key"`
} `yaml:"https_config,omitempty"`
}
Configuration loads the configuration of registry controller.
Load the configuration options from the specified yaml file.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.