v1

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: Apache-2.0 Imports: 0 Imported by: 7

Documentation

Index

Constants

View Source
const (
	// API routes
	ApiServerAttackTracksPath                 = "/api/v1/attackTracks"
	ApiServerFrameworksPath                   = "/api/v1/frameworks"
	ApiServerExceptionsPath                   = "/api/v1/controlExceptions" // TODO: rename to controlExceptions
	ApiServerCustomerConfigPath               = "/api/v1/customerConfig"
	ApiServerVulnerabilitiesExceptionsPathOld = "/api/v1/armoVulnerabilityExceptions"
	ApiServerVulnerabilitiesExceptionsPath    = "/api/v1/vulnerabilityExceptions"

	// Reporter routes
	ReporterReportPath                  = "/k8s/v2/postureReport" // TODO: rename to postureReport
	ReporterVulnerabilitiesReportPath   = "/k8s/v2/containerScan"
	ReporterSystemReportPath            = "/k8s/sysreport"
	ReporterWebsocketClusterReportsPath = "/k8s/cluster-reports"

	// Gateway routes
	GatewayNotificationsPath = "/v1/waitfornotification"

	// default dummy account ID when not defined
	KubescapeFallbackCustomerGUID = "11111111-1111-1111-1111-111111111111"

	// URL query parameters
	QueryParamCustomerGUID  = "customerGUID"
	QueryParamScope         = "scope"
	QueryParamFrameworkName = "frameworkName"
	QueryParamPolicyName    = "policyName"
	QueryParamClusterName   = "clusterName"
	QueryParamContextName   = "contextName"
	QueryParamReport        = "reportGUID"
	QueryParamJobID         = "jobID"
	QueryParamRegistryName  = "registryName"

	AccessKeyHeader = "X-API-KEY"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type PostureReportResponse

type PostureReportResponse struct {
	Message string `json:"message"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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