enums

package
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MessageIsAuthorizedGRPCRequestError = "{HORUSEC_MIDDLEWARE} is authorized grpc method returned a error"
	MessageUnauthorizedHTTPRequest      = "{HORUSEC_MIDDLEWARE} http request made by account id \"%s\" in url \"%s\" " +
		"with method \"%s\" returned unauthorized to \"%s\""
	MessageFailedToGetAccountID  = "{HORUSEC_MIDDLEWARE} failed to get account id for unauthorized request warning"
	MessageFailedToGetAuthConfig = "{HORUSEC_MIDDLEWARE} grpc method to get auth config failed"
)
View Source
const (
	WorkspaceID  = "workspaceID"
	RepositoryID = "repositoryID"
)

Variables

View Source
var ErrorFailedToVerifyRequest = errors.New("{HORUSEC_MIDDLEWARE} something went wrong while verifying " +
	"if request is authorized")
View Source
var ErrorUnauthorized = errors.New("{HORUSEC_MIDDLEWARE} you do not have enough privileges for this action")
View Source
var ErrorWhenGettingAuthConfig = errors.New("{HORUSEC_MIDDLEWARE} failed to get auth config")

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL