advisor

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package advisor is a generated protocol buffer package.

It is generated from these files:

advisor.proto
advisor_executions_state.proto
advisor_job_profile.proto
advisor_jobs.proto
external_scanner.proto

It has these top-level messages:

AdvisorCheckFeatureBool
AdvisorCheckFeatureStringSet
AdvisorHostPathRule
AdvisorCheckFeatureAlcideRules
AdvisorCheckConfigItem
AdvisorConfigDescriptor
AdvisorModuleItem
AdvisorResourceCheck
AdvisorResourceCheckGroup
AdvisorCheckModule
AdvisorPolicyScope
AdvisorValidationProfile
AdvisorTestConfig
AdvisorProfileDef
AdvisorValidationPolicySpec
CheckResult
ResourceInfo
CheckInfo
AdditionalFinding
AdditionalFindings
AdvisorReportHeader
AdvisorReportData
AdvisorReport
AdvisorClusterReport
AdvisorClusterDiffReport
AdvisorExecutionsState
AdvisorExecution
AdvisorJobProfile
AdvisorJobs
AdvisorJob
AdvisorImageScannerArgs
AdvisorImageScannerConfig
VulnInfo
AdvisorExternalScanners

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthAdvisor = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAdvisor   = fmt.Errorf("proto: integer overflow")
)
View Source
var AdmissionAction_name = map[int32]string{
	0: "UnspecifiedAction",
	1: "Alert",
	2: "Deny",
	3: "Allow",
}
View Source
var AdmissionAction_value = map[string]int32{
	"UnspecifiedAction": 0,
	"Alert":             1,
	"Deny":              2,
	"Allow":             3,
}
View Source
var CheckApplicabilityType_name = map[int32]string{
	0: "Admission",
}
View Source
var CheckApplicabilityType_value = map[string]int32{
	"Admission": 0,
}
View Source
var CheckCategory_name = map[int32]string{
	0:  "UnspecifiedCategory",
	1:  "ContainerSecurityContextChecks",
	2:  "PodSecurityChecks",
	3:  "ContainerImageChecks",
	4:  "ResourceConformanceChecks",
	5:  "ResourcePriviligedApiAccess",
	6:  "PodNetworkSecurity",
	7:  "CISKubeBenchmarkWorkerNode",
	8:  "CrdCustomChecks",
	9:  "IngressControllerChecks",
	10: "IstioControlPlaneChecks",
}
View Source
var CheckCategory_value = map[string]int32{
	"UnspecifiedCategory":            0,
	"ContainerSecurityContextChecks": 1,
	"PodSecurityChecks":              2,
	"ContainerImageChecks":           3,
	"ResourceConformanceChecks":      4,
	"ResourcePriviligedApiAccess":    5,
	"PodNetworkSecurity":             6,
	"CISKubeBenchmarkWorkerNode":     7,
	"CrdCustomChecks":                8,
	"IngressControllerChecks":        9,
	"IstioControlPlaneChecks":        10,
}
View Source
var CheckId_name = map[int32]string{
	0:   "UnspecifiedCheckId",
	100: "ContainerCheckBase",
	101: "ContainerCheckPriviliged",
	102: "ContainerCheckRunAsRoot",
	103: "ContainerCheckReadOnlyRootFS",
	110: "ContainerCheckImageTag",
	120: "ContainerPrivateCredntials",
	111: "ContainerCheckImageWhiteList",
	200: "PodCheckHostNetwork",
	201: "PodCheckHostPID",
	202: "PodCheckHostIPC",
	203: "PodAllowedHostPaths",
	204: "PodForbiddenHostPaths",
	205: "PodCheckAnnotations",
	206: "PodCheckLabels",
	300: "WorkloadEmbeddedPolicy",
	301: "WorkloadEmbeddedPolicyRules",
	500: "ApiServerSecretReadAccess",
	501: "ApiServerPodCreateAccess",
	600: "PodNetworkPolicy",
	700: "ConfigMapsPrivateCredntials",
	900: "IngressCheckTlsEnabled",
}
View Source
var CheckId_value = map[string]int32{
	"UnspecifiedCheckId":           0,
	"ContainerCheckBase":           100,
	"ContainerCheckPriviliged":     101,
	"ContainerCheckRunAsRoot":      102,
	"ContainerCheckReadOnlyRootFS": 103,
	"ContainerCheckImageTag":       110,
	"ContainerPrivateCredntials":   120,
	"ContainerCheckImageWhiteList": 111,
	"PodCheckHostNetwork":          200,
	"PodCheckHostPID":              201,
	"PodCheckHostIPC":              202,
	"PodAllowedHostPaths":          203,
	"PodForbiddenHostPaths":        204,
	"PodCheckAnnotations":          205,
	"PodCheckLabels":               206,
	"WorkloadEmbeddedPolicy":       300,
	"WorkloadEmbeddedPolicyRules":  301,
	"ApiServerSecretReadAccess":    500,
	"ApiServerPodCreateAccess":     501,
	"PodNetworkPolicy":             600,
	"ConfigMapsPrivateCredntials":  700,
	"IngressCheckTlsEnabled":       900,
}
View Source
var CheckSeverity_name = map[int32]string{
	0: "UnspecifiedSeverity",
	1: "Pass",
	2: "Low",
	3: "Medium",
	4: "High",
	5: "Critical",
}
View Source
var CheckSeverity_value = map[string]int32{
	"UnspecifiedSeverity": 0,
	"Pass":                1,
	"Low":                 2,
	"Medium":              3,
	"High":                4,
	"Critical":            5,
}
View Source
var ConfigItemType_name = map[int32]string{
	0: "String",
	1: "Regex",
	2: "ImageRegistryURL",
}
View Source
var ConfigItemType_value = map[string]int32{
	"String":           0,
	"Regex":            1,
	"ImageRegistryURL": 2,
}
View Source
var DeltaOp_name = map[int32]string{
	0: "Unmodified",
	1: "Modified",
	2: "Added",
	3: "Deleted",
}
View Source
var DeltaOp_value = map[string]int32{
	"Unmodified": 0,
	"Modified":   1,
	"Added":      2,
	"Deleted":    3,
}
View Source
var Platform_name = map[int32]string{
	0: "Kubernetes",
	1: "Istio",
}
View Source
var Platform_value = map[string]int32{
	"Kubernetes": 0,
	"Istio":      1,
}
View Source
var PricePlanType_name = map[int32]string{
	0: "Free",
	1: "Starter",
	2: "Pro",
}
View Source
var PricePlanType_value = map[string]int32{
	"Free":    0,
	"Starter": 1,
	"Pro":     2,
}

Functions

This section is empty.

Types

type AdditionalFinding

type AdditionalFinding struct {
	Id          string            `protobuf:"bytes,1,opt,name=Id,proto3" json:"Id,omitempty" default:"" doc:"CVE-xxx-yyy,..."`
	Title       string            `protobuf:"bytes,2,opt,name=Title,proto3" json:"Title,omitempty" default:"" doc:"Title"`
	Description string            `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty" default:"" doc:"Description"`
	Severity    string            `protobuf:"bytes,4,opt,name=Severity,proto3" json:"Severity,omitempty" default:"" doc:"Severity "`
	References  []string          `protobuf:"bytes,5,rep,name=References" json:"References,omitempty" default:"" doc:"URL Reference Array"`
	Info        map[string]string `` /* 175-byte string literal not displayed */
}

func (*AdditionalFinding) Descriptor

func (*AdditionalFinding) Descriptor() ([]byte, []int)

func (*AdditionalFinding) GetDescription

func (m *AdditionalFinding) GetDescription() string

func (*AdditionalFinding) GetId

func (m *AdditionalFinding) GetId() string

func (*AdditionalFinding) GetInfo

func (m *AdditionalFinding) GetInfo() map[string]string

func (*AdditionalFinding) GetReferences

func (m *AdditionalFinding) GetReferences() []string

func (*AdditionalFinding) GetSeverity

func (m *AdditionalFinding) GetSeverity() string

func (*AdditionalFinding) GetTitle

func (m *AdditionalFinding) GetTitle() string

func (*AdditionalFinding) Marshal

func (m *AdditionalFinding) Marshal() (dAtA []byte, err error)

func (*AdditionalFinding) MarshalTo

func (m *AdditionalFinding) MarshalTo(dAtA []byte) (int, error)

func (*AdditionalFinding) ProtoMessage

func (*AdditionalFinding) ProtoMessage()

func (*AdditionalFinding) Reset

func (m *AdditionalFinding) Reset()

func (*AdditionalFinding) Size

func (m *AdditionalFinding) Size() (n int)

func (*AdditionalFinding) String

func (m *AdditionalFinding) String() string

func (*AdditionalFinding) Unmarshal

func (m *AdditionalFinding) Unmarshal(dAtA []byte) error

type AdditionalFindings

type AdditionalFindings struct {
	// Summary
	SeverityCount map[string]int32     `` /* 199-byte string literal not displayed */
	Severity      string               `protobuf:"bytes,2,opt,name=Severity,proto3" json:"Severity,omitempty" default:"Info" doc:"Aggregated Severity"`
	Findings      []*AdditionalFinding `protobuf:"bytes,3,rep,name=Findings" json:"Findings,omitempty"`
}

func (*AdditionalFindings) Descriptor

func (*AdditionalFindings) Descriptor() ([]byte, []int)

func (*AdditionalFindings) GetFindings

func (m *AdditionalFindings) GetFindings() []*AdditionalFinding

func (*AdditionalFindings) GetSeverity

func (m *AdditionalFindings) GetSeverity() string

func (*AdditionalFindings) GetSeverityCount

func (m *AdditionalFindings) GetSeverityCount() map[string]int32

func (*AdditionalFindings) Marshal

func (m *AdditionalFindings) Marshal() (dAtA []byte, err error)

func (*AdditionalFindings) MarshalTo

func (m *AdditionalFindings) MarshalTo(dAtA []byte) (int, error)

func (*AdditionalFindings) ProtoMessage

func (*AdditionalFindings) ProtoMessage()

func (*AdditionalFindings) Reset

func (m *AdditionalFindings) Reset()

func (*AdditionalFindings) Size

func (m *AdditionalFindings) Size() (n int)

func (*AdditionalFindings) String

func (m *AdditionalFindings) String() string

func (*AdditionalFindings) Unmarshal

func (m *AdditionalFindings) Unmarshal(dAtA []byte) error

type AdmissionAction

type AdmissionAction int32
const (
	AdmissionAction_UnspecifiedAction AdmissionAction = 0
	// Alert Only and Allow admission
	AdmissionAction_Alert AdmissionAction = 1
	// Alert and Deny admission
	AdmissionAction_Deny AdmissionAction = 2
	// Allow (no Alert)
	AdmissionAction_Allow AdmissionAction = 3
)

func (AdmissionAction) EnumDescriptor

func (AdmissionAction) EnumDescriptor() ([]byte, []int)

func (AdmissionAction) String

func (x AdmissionAction) String() string

type AdvisorCheckConfigItem

type AdvisorCheckConfigItem struct {
	Description string `protobuf:"bytes,1,opt,name=Description,proto3" json:"Description,omitempty" default:"" doc:"Description"`
	Item        string `protobuf:"bytes,2,opt,name=Item,proto3" json:"Item,omitempty" default:"" doc:"Configuration Item"`
}

func (*AdvisorCheckConfigItem) Descriptor

func (*AdvisorCheckConfigItem) Descriptor() ([]byte, []int)

func (*AdvisorCheckConfigItem) GetDescription

func (m *AdvisorCheckConfigItem) GetDescription() string

func (*AdvisorCheckConfigItem) GetItem

func (m *AdvisorCheckConfigItem) GetItem() string

func (*AdvisorCheckConfigItem) Marshal

func (m *AdvisorCheckConfigItem) Marshal() (dAtA []byte, err error)

func (*AdvisorCheckConfigItem) MarshalTo

func (m *AdvisorCheckConfigItem) MarshalTo(dAtA []byte) (int, error)

func (*AdvisorCheckConfigItem) ProtoMessage

func (*AdvisorCheckConfigItem) ProtoMessage()

func (*AdvisorCheckConfigItem) Reset

func (m *AdvisorCheckConfigItem) Reset()

func (*AdvisorCheckConfigItem) Size

func (m *AdvisorCheckConfigItem) Size() (n int)

func (*AdvisorCheckConfigItem) String

func (m *AdvisorCheckConfigItem) String() string

func (*AdvisorCheckConfigItem) Unmarshal

func (m *AdvisorCheckConfigItem) Unmarshal(dAtA []byte) error

type AdvisorCheckFeatureAlcideRules

type AdvisorCheckFeatureAlcideRules struct {
	Action             string            `` /* 154-byte string literal not displayed */
	AlertTags          map[string]string `` /* 211-byte string literal not displayed */
	OverrideAnnotation string            `` /* 195-byte string literal not displayed */
	ExpectedInbound    []string          `protobuf:"bytes,4,rep,name=ExpectedInbound" json:"ExpectedInbound" doc:"For boolean checks, express the expected value"`
	ExpectedOutbound   []string          `protobuf:"bytes,5,rep,name=ExpectedOutbound" json:"ExpectedOutbound" doc:"For boolean checks, express the expected value"`
	SkipResource       []string          `` /* 176-byte string literal not displayed */
	Severity           string            `` /* 178-byte string literal not displayed */
}

func (*AdvisorCheckFeatureAlcideRules) Descriptor

func (*AdvisorCheckFeatureAlcideRules) Descriptor() ([]byte, []int)

func (*AdvisorCheckFeatureAlcideRules) GetAction

func (m *AdvisorCheckFeatureAlcideRules) GetAction() string

func (*AdvisorCheckFeatureAlcideRules) GetAlertTags

func (m *AdvisorCheckFeatureAlcideRules) GetAlertTags() map[string]string

func (*AdvisorCheckFeatureAlcideRules) GetExpectedInbound

func (m *AdvisorCheckFeatureAlcideRules) GetExpectedInbound() []string

func (*AdvisorCheckFeatureAlcideRules) GetExpectedOutbound

func (m *AdvisorCheckFeatureAlcideRules) GetExpectedOutbound() []string

func (*AdvisorCheckFeatureAlcideRules) GetOverrideAnnotation

func (m *AdvisorCheckFeatureAlcideRules) GetOverrideAnnotation() string

func (*AdvisorCheckFeatureAlcideRules) GetSeverity

func (m *AdvisorCheckFeatureAlcideRules) GetSeverity() string

func (*AdvisorCheckFeatureAlcideRules) GetSkipResource

func (m *AdvisorCheckFeatureAlcideRules) GetSkipResource() []string

func (*AdvisorCheckFeatureAlcideRules) Marshal

func (m *AdvisorCheckFeatureAlcideRules) Marshal() (dAtA []byte, err error)

func (*AdvisorCheckFeatureAlcideRules) MarshalTo

func (m *AdvisorCheckFeatureAlcideRules) MarshalTo(dAtA []byte) (int, error)

func (*AdvisorCheckFeatureAlcideRules) ProtoMessage

func (*AdvisorCheckFeatureAlcideRules) ProtoMessage()

func (*AdvisorCheckFeatureAlcideRules) Reset

func (m *AdvisorCheckFeatureAlcideRules) Reset()

func (*AdvisorCheckFeatureAlcideRules) Size

func (m *AdvisorCheckFeatureAlcideRules) Size() (n int)

func (*AdvisorCheckFeatureAlcideRules) String

func (*AdvisorCheckFeatureAlcideRules) Unmarshal

func (m *AdvisorCheckFeatureAlcideRules) Unmarshal(dAtA []byte) error

type AdvisorCheckFeatureBool

type AdvisorCheckFeatureBool struct {
	Action             string            `` /* 154-byte string literal not displayed */
	AlertTags          map[string]string `` /* 211-byte string literal not displayed */
	OverrideAnnotation string            `` /* 195-byte string literal not displayed */
	Expected           bool              `protobuf:"varint,4,opt,name=Expected,proto3" json:"Expected" doc:"For boolean checks, express the expected value"`
	SkipResource       []string          `` /* 176-byte string literal not displayed */
	Severity           string            `` /* 178-byte string literal not displayed */
}

func (*AdvisorCheckFeatureBool) Descriptor

func (*AdvisorCheckFeatureBool) Descriptor() ([]byte, []int)

func (*AdvisorCheckFeatureBool) GetAction

func (m *AdvisorCheckFeatureBool) GetAction() string

func (*AdvisorCheckFeatureBool) GetAlertTags

func (m *AdvisorCheckFeatureBool) GetAlertTags() map[string]string

func (*AdvisorCheckFeatureBool) GetExpected

func (m *AdvisorCheckFeatureBool) GetExpected() bool

func (*AdvisorCheckFeatureBool) GetOverrideAnnotation

func (m *AdvisorCheckFeatureBool) GetOverrideAnnotation() string

func (*AdvisorCheckFeatureBool) GetSeverity

func (m *AdvisorCheckFeatureBool) GetSeverity() string

func (*AdvisorCheckFeatureBool) GetSkipResource

func (m *AdvisorCheckFeatureBool) GetSkipResource() []string

func (*AdvisorCheckFeatureBool) Marshal

func (m *AdvisorCheckFeatureBool) Marshal() (dAtA []byte, err error)

func (*AdvisorCheckFeatureBool) MarshalTo

func (m *AdvisorCheckFeatureBool) MarshalTo(dAtA []byte) (int, error)

func (*AdvisorCheckFeatureBool) ProtoMessage

func (*AdvisorCheckFeatureBool) ProtoMessage()

func (*AdvisorCheckFeatureBool) Reset

func (m *AdvisorCheckFeatureBool) Reset()

func (*AdvisorCheckFeatureBool) Size

func (m *AdvisorCheckFeatureBool) Size() (n int)

func (*AdvisorCheckFeatureBool) String

func (m *AdvisorCheckFeatureBool) String() string

func (*AdvisorCheckFeatureBool) Unmarshal

func (m *AdvisorCheckFeatureBool) Unmarshal(dAtA []byte) error

type AdvisorCheckFeatureStringSet

type AdvisorCheckFeatureStringSet struct {
	Action             string            `` /* 154-byte string literal not displayed */
	AlertTags          map[string]string `` /* 211-byte string literal not displayed */
	OverrideAnnotation string            `` /* 195-byte string literal not displayed */
	Expected           []string          `protobuf:"bytes,4,rep,name=Expected" json:"Expected" doc:"For boolean checks, express the expected value"`
	SkipResource       []string          `` /* 176-byte string literal not displayed */
	Severity           string            `` /* 178-byte string literal not displayed */
}

func (*AdvisorCheckFeatureStringSet) Descriptor

func (*AdvisorCheckFeatureStringSet) Descriptor() ([]byte, []int)

func (*AdvisorCheckFeatureStringSet) GetAction

func (m *AdvisorCheckFeatureStringSet) GetAction() string

func (*AdvisorCheckFeatureStringSet) GetAlertTags

func (m *AdvisorCheckFeatureStringSet) GetAlertTags() map[string]string

func (*AdvisorCheckFeatureStringSet) GetExpected

func (m *AdvisorCheckFeatureStringSet) GetExpected() []string

func (*AdvisorCheckFeatureStringSet) GetOverrideAnnotation

func (m *AdvisorCheckFeatureStringSet) GetOverrideAnnotation() string

func (*AdvisorCheckFeatureStringSet) GetSeverity

func (m *AdvisorCheckFeatureStringSet) GetSeverity() string

func (*AdvisorCheckFeatureStringSet) GetSkipResource

func (m *AdvisorCheckFeatureStringSet) GetSkipResource() []string

func (*AdvisorCheckFeatureStringSet) Marshal

func (m *AdvisorCheckFeatureStringSet) Marshal() (dAtA []byte, err error)

func (*AdvisorCheckFeatureStringSet) MarshalTo

func (m *AdvisorCheckFeatureStringSet) MarshalTo(dAtA []byte) (int, error)

func (*AdvisorCheckFeatureStringSet) ProtoMessage

func (*AdvisorCheckFeatureStringSet) ProtoMessage()

func (*AdvisorCheckFeatureStringSet) Reset

func (m *AdvisorCheckFeatureStringSet) Reset()

func (*AdvisorCheckFeatureStringSet) Size

func (m *AdvisorCheckFeatureStringSet) Size() (n int)

func (*AdvisorCheckFeatureStringSet) String

func (*AdvisorCheckFeatureStringSet) Unmarshal

func (m *AdvisorCheckFeatureStringSet) Unmarshal(dAtA []byte) error

type AdvisorCheckModule

type AdvisorCheckModule struct {
	// Module Id
	ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	// Check Category
	Type     string                      `protobuf:"bytes,2,opt,name=Type,proto3" json:"Type,omitempty"`
	Title    string                      `protobuf:"bytes,3,opt,name=Title,proto3" json:"Title,omitempty"`
	Platform string                      `` /* 163-byte string literal not displayed */
	Groups   []AdvisorResourceCheckGroup `protobuf:"bytes,5,rep,name=Groups" json:"Groups"`
	// A set of requirements to verify before running those checks
	// No PreRequisites - means module is applicable
	// each requirement has the following format:
	//  {{ IsCloudProvider aws }}
	//  {{ KubeResource     ApiKind ApiGroup ApiVersion Namespace Name JmespathQuery}}
	//  {{ KubeResourceList ApiKind ApiGroup ApiVersion Namespace      JmespathQuery}}
	PreRequisites []string `protobuf:"bytes,6,rep,name=PreRequisites" json:"PreRequisites,omitempty"`
	//
	// Add PASS checks to the report ... suitable for Benchmark checks
	//
	ReportPassedChecks bool                     `protobuf:"varint,7,opt,name=ReportPassedChecks,proto3" json:"ReportPassedChecks,omitempty"`
	Items              []AdvisorModuleItem      `protobuf:"bytes,8,rep,name=Items" json:"Items" doc:""`
	ConfigItems        []AdvisorCheckConfigItem `protobuf:"bytes,9,rep,name=ConfigItems" json:"ConfigItems" doc:"Check Global Configuration"`
}

func (*AdvisorCheckModule) Descriptor

func (*AdvisorCheckModule) Descriptor() ([]byte, []int)

func (*AdvisorCheckModule) GetConfigItems

func (m *AdvisorCheckModule) GetConfigItems() []AdvisorCheckConfigItem

func (*AdvisorCheckModule) GetGroups

func (*AdvisorCheckModule) GetID

func (m *AdvisorCheckModule) GetID() string

func (*AdvisorCheckModule) GetItems

func (m *AdvisorCheckModule) GetItems() []AdvisorModuleItem

func (*AdvisorCheckModule) GetPlatform

func (m *AdvisorCheckModule) GetPlatform() string

func (*AdvisorCheckModule) GetPreRequisites

func (m *AdvisorCheckModule) GetPreRequisites() []string

func (*AdvisorCheckModule) GetReportPassedChecks

func (m *AdvisorCheckModule) GetReportPassedChecks() bool

func (*AdvisorCheckModule) GetTitle

func (m *AdvisorCheckModule) GetTitle() string

func (*AdvisorCheckModule) GetType

func (m *AdvisorCheckModule) GetType() string

func (*AdvisorCheckModule) Marshal

func (m *AdvisorCheckModule) Marshal() (dAtA []byte, err error)

func (*AdvisorCheckModule) MarshalTo

func (m *AdvisorCheckModule) MarshalTo(dAtA []byte) (int, error)

func (*AdvisorCheckModule) ProtoMessage

func (*AdvisorCheckModule) ProtoMessage()

func (*AdvisorCheckModule) Reset

func (m *AdvisorCheckModule) Reset()

func (*AdvisorCheckModule) Size

func (m *AdvisorCheckModule) Size() (n int)

func (*AdvisorCheckModule) String

func (m *AdvisorCheckModule) String() string

func (*AdvisorCheckModule) Unmarshal

func (m *AdvisorCheckModule) Unmarshal(dAtA []byte) error

type AdvisorClusterDiffReport

type AdvisorClusterDiffReport struct {
	PreviousReportHeader AdvisorReportHeader           `protobuf:"bytes,1,opt,name=PreviousReportHeader" json:"PreviousReportHeader" `
	CurrentReportHeader  AdvisorReportHeader           `protobuf:"bytes,2,opt,name=CurrentReportHeader" json:"CurrentReportHeader" `
	Reports              map[string]*AdvisorReportData `` /* 142-byte string literal not displayed */
}

func (*AdvisorClusterDiffReport) Descriptor

func (*AdvisorClusterDiffReport) Descriptor() ([]byte, []int)

func (*AdvisorClusterDiffReport) GetCurrentReportHeader

func (m *AdvisorClusterDiffReport) GetCurrentReportHeader() AdvisorReportHeader

func (*AdvisorClusterDiffReport) GetPreviousReportHeader

func (m *AdvisorClusterDiffReport) GetPreviousReportHeader() AdvisorReportHeader

func (*AdvisorClusterDiffReport) GetReports

func (m *AdvisorClusterDiffReport) GetReports() map[string]*AdvisorReportData

func (*AdvisorClusterDiffReport) Marshal

func (m *AdvisorClusterDiffReport) Marshal() (dAtA []byte, err error)

func (*AdvisorClusterDiffReport) MarshalTo

func (m *AdvisorClusterDiffReport) MarshalTo(dAtA []byte) (int, error)

func (*AdvisorClusterDiffReport) ProtoMessage

func (*AdvisorClusterDiffReport) ProtoMessage()

func (*AdvisorClusterDiffReport) Reset

func (m *AdvisorClusterDiffReport) Reset()

func (*AdvisorClusterDiffReport) Size

func (m *AdvisorClusterDiffReport) Size() (n int)

func (*AdvisorClusterDiffReport) String

func (m *AdvisorClusterDiffReport) String() string

func (*AdvisorClusterDiffReport) Unmarshal

func (m *AdvisorClusterDiffReport) Unmarshal(dAtA []byte) error

type AdvisorClusterReport

type AdvisorClusterReport struct {
	AdvisorReportHeader `protobuf:"bytes,1,opt,name=AdvisorReportHeader,embedded=AdvisorReportHeader" json:"AdvisorReportHeader" `
	Reports             map[string]*AdvisorReportData `` /* 142-byte string literal not displayed */
}

func GenerateAdvisorReport

func GenerateAdvisorReport(res *types.ScanTaskResult, clusterUID string) (*AdvisorClusterReport, error)

func (*AdvisorClusterReport) Descriptor

func (*AdvisorClusterReport) Descriptor() ([]byte, []int)

func (*AdvisorClusterReport) GetReports

func (m *AdvisorClusterReport) GetReports() map[string]*AdvisorReportData

func (*AdvisorClusterReport) Marshal

func (m *AdvisorClusterReport) Marshal() (dAtA []byte, err error)

func (*AdvisorClusterReport) MarshalTo

func (m *AdvisorClusterReport) MarshalTo(dAtA []byte) (int, error)

func (*AdvisorClusterReport) ProtoMessage

func (*AdvisorClusterReport) ProtoMessage()

func (*AdvisorClusterReport) Reset

func (m *AdvisorClusterReport) Reset()

func (*AdvisorClusterReport) Size

func (m *AdvisorClusterReport) Size() (n int)

func (*AdvisorClusterReport) String

func (m *AdvisorClusterReport) String() string

func (*AdvisorClusterReport) Unmarshal

func (m *AdvisorClusterReport) Unmarshal(dAtA []byte) error

type AdvisorConfigDescriptor

type AdvisorConfigDescriptor struct {
	Title       string `protobuf:"bytes,1,opt,name=Title,proto3" json:"Title,omitempty" default:"Properties Configuration" doc:"Config Items title"`
	Value       string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty" default:"Property" doc:"Config Items value text"`
	Placeholder string `` /* 148-byte string literal not displayed */
	Type        string `` /* 188-byte string literal not displayed */
}

func (*AdvisorConfigDescriptor) Descriptor

func (*AdvisorConfigDescriptor) Descriptor() ([]byte, []int)

func (*AdvisorConfigDescriptor) GetPlaceholder

func (m *AdvisorConfigDescriptor) GetPlaceholder() string

func (*AdvisorConfigDescriptor) GetTitle

func (m *AdvisorConfigDescriptor) GetTitle() string

func (*AdvisorConfigDescriptor) GetType

func (m *AdvisorConfigDescriptor) GetType() string

func (*AdvisorConfigDescriptor) GetValue

func (m *AdvisorConfigDescriptor) GetValue() string

func (*AdvisorConfigDescriptor) Marshal

func (m *AdvisorConfigDescriptor) Marshal() (dAtA []byte, err error)

func (*AdvisorConfigDescriptor) MarshalTo

func (m *AdvisorConfigDescriptor) MarshalTo(dAtA []byte) (int, error)

func (*AdvisorConfigDescriptor) ProtoMessage

func (*AdvisorConfigDescriptor) ProtoMessage()

func (*AdvisorConfigDescriptor) Reset

func (m *AdvisorConfigDescriptor) Reset()

func (*AdvisorConfigDescriptor) Size

func (m *AdvisorConfigDescriptor) Size() (n int)

func (*AdvisorConfigDescriptor) String

func (m *AdvisorConfigDescriptor) String() string

func (*AdvisorConfigDescriptor) Unmarshal

func (m *AdvisorConfigDescriptor) Unmarshal(dAtA []byte) error

type AdvisorHostPathRule

type AdvisorHostPathRule struct {
	Path     string `` /* 145-byte string literal not displayed */
	ReadOnly bool   `protobuf:"varint,2,opt,name=ReadOnly,proto3" json:"ReadOnly,omitempty" doc:"For boolean checks, express the expected value"`
}

func (*AdvisorHostPathRule) Descriptor

func (*AdvisorHostPathRule) Descriptor() ([]byte, []int)

func (*AdvisorHostPathRule) GetPath

func (m *AdvisorHostPathRule) GetPath() string

func (*AdvisorHostPathRule) GetReadOnly

func (m *AdvisorHostPathRule) GetReadOnly() bool

func (*AdvisorHostPathRule) Marshal

func (m *AdvisorHostPathRule) Marshal() (dAtA []byte, err error)

func (*AdvisorHostPathRule) MarshalTo

func (m *AdvisorHostPathRule) MarshalTo(dAtA []byte) (int, error)

func (*AdvisorHostPathRule) ProtoMessage

func (*AdvisorHostPathRule) ProtoMessage()

func (*AdvisorHostPathRule) Reset

func (m *AdvisorHostPathRule) Reset()

func (*AdvisorHostPathRule) Size

func (m *AdvisorHostPathRule) Size() (n int)

func (*AdvisorHostPathRule) String

func (m *AdvisorHostPathRule) String() string

func (*AdvisorHostPathRule) Unmarshal

func (m *AdvisorHostPathRule) Unmarshal(dAtA []byte) error

type AdvisorModuleItem

type AdvisorModuleItem struct {
	Description string `protobuf:"bytes,1,opt,name=Description,proto3" json:"Description,omitempty" default:"" doc:"Description"`
	Item        string `protobuf:"bytes,2,opt,name=Item,proto3" json:"Item,omitempty" default:"" doc:"Admission action"`
}

func (*AdvisorModuleItem) Descriptor

func (*AdvisorModuleItem) Descriptor() ([]byte, []int)

func (*AdvisorModuleItem) GetDescription

func (m *AdvisorModuleItem) GetDescription() string

func (*AdvisorModuleItem) GetItem

func (m *AdvisorModuleItem) GetItem() string

func (*AdvisorModuleItem) Marshal

func (m *AdvisorModuleItem) Marshal() (dAtA []byte, err error)

func (*AdvisorModuleItem) MarshalTo

func (m *AdvisorModuleItem) MarshalTo(dAtA []byte) (int, error)

func (*AdvisorModuleItem) ProtoMessage

func (*AdvisorModuleItem) ProtoMessage()

func (*AdvisorModuleItem) Reset

func (m *AdvisorModuleItem) Reset()

func (*AdvisorModuleItem) Size

func (m *AdvisorModuleItem) Size() (n int)

func (*AdvisorModuleItem) String

func (m *AdvisorModuleItem) String() string

func (*AdvisorModuleItem) Unmarshal

func (m *AdvisorModuleItem) Unmarshal(dAtA []byte) error

type AdvisorPolicyScope

type AdvisorPolicyScope struct {
	NamespaceInclude string `` /* 159-byte string literal not displayed */
	NamespaceExclude string `` /* 160-byte string literal not displayed */
	Clusters         string `` /* 134-byte string literal not displayed */
	ClustersExclude  string `` /* 149-byte string literal not displayed */
}

func (*AdvisorPolicyScope) Descriptor

func (*AdvisorPolicyScope) Descriptor() ([]byte, []int)

func (*AdvisorPolicyScope) GetClusters

func (m *AdvisorPolicyScope) GetClusters() string

func (*AdvisorPolicyScope) GetClustersExclude

func (m *AdvisorPolicyScope) GetClustersExclude() string

func (*AdvisorPolicyScope) GetNamespaceExclude

func (m *AdvisorPolicyScope) GetNamespaceExclude() string

func (*AdvisorPolicyScope) GetNamespaceInclude

func (m *AdvisorPolicyScope) GetNamespaceInclude() string

func (*AdvisorPolicyScope) Marshal

func (m *AdvisorPolicyScope) Marshal() (dAtA []byte, err error)

func (*AdvisorPolicyScope) MarshalTo

func (m *AdvisorPolicyScope) MarshalTo(dAtA []byte) (int, error)

func (*AdvisorPolicyScope) ProtoMessage

func (*AdvisorPolicyScope) ProtoMessage()

func (*AdvisorPolicyScope) Reset

func (m *AdvisorPolicyScope) Reset()

func (*AdvisorPolicyScope) Size

func (m *AdvisorPolicyScope) Size() (n int)

func (*AdvisorPolicyScope) String

func (m *AdvisorPolicyScope) String() string

func (*AdvisorPolicyScope) Unmarshal

func (m *AdvisorPolicyScope) Unmarshal(dAtA []byte) error

type AdvisorProfileDef

type AdvisorProfileDef struct {
	ProfileName      string               `protobuf:"bytes,1,opt,name=profileName,proto3" json:"profileName,omitempty"`
	TemplateId       string               `protobuf:"bytes,2,opt,name=templateId,proto3" json:"templateId,omitempty"`
	TestConfig       []*AdvisorTestConfig `protobuf:"bytes,3,rep,name=testConfig" json:"testConfig,omitempty"`
	Scope            *AdvisorPolicyScope  `protobuf:"bytes,4,opt,name=Scope" json:"Scope,omitempty"`
	ProfileId        string               `protobuf:"bytes,5,opt,name=profileId,proto3" json:"profileId,omitempty"`
	ModifiedBy       string               `protobuf:"bytes,6,opt,name=modifiedBy,proto3" json:"modifiedBy,omitempty"`
	Enabled          bool                 `protobuf:"varint,7,opt,name=enabled,proto3" json:"enabled,omitempty"`
	ModificationDate int64                `protobuf:"varint,8,opt,name=modificationDate,proto3" json:"modificationDate,omitempty"`
}

func (*AdvisorProfileDef) Descriptor

func (*AdvisorProfileDef) Descriptor() ([]byte, []int)

func (*AdvisorProfileDef) GetEnabled

func (m *AdvisorProfileDef) GetEnabled() bool

func (*AdvisorProfileDef) GetModificationDate

func (m *AdvisorProfileDef) GetModificationDate() int64

func (*AdvisorProfileDef) GetModifiedBy

func (m *AdvisorProfileDef) GetModifiedBy() string

func (*AdvisorProfileDef) GetProfileId

func (m *AdvisorProfileDef) GetProfileId() string

func (*AdvisorProfileDef) GetProfileName

func (m *AdvisorProfileDef) GetProfileName() string

func (*AdvisorProfileDef) GetScope

func (m *AdvisorProfileDef) GetScope() *AdvisorPolicyScope

func (*AdvisorProfileDef) GetTemplateId

func (m *AdvisorProfileDef) GetTemplateId() string

func (*AdvisorProfileDef) GetTestConfig

func (m *AdvisorProfileDef) GetTestConfig() []*AdvisorTestConfig

func (*AdvisorProfileDef) Marshal

func (m *AdvisorProfileDef) Marshal() (dAtA []byte, err error)

func (*AdvisorProfileDef) MarshalTo

func (m *AdvisorProfileDef) MarshalTo(dAtA []byte) (int, error)

func (*AdvisorProfileDef) ProtoMessage

func (*AdvisorProfileDef) ProtoMessage()

func (*AdvisorProfileDef) Reset

func (m *AdvisorProfileDef) Reset()

func (*AdvisorProfileDef) Size

func (m *AdvisorProfileDef) Size() (n int)

func (*AdvisorProfileDef) String

func (m *AdvisorProfileDef) String() string

func (*AdvisorProfileDef) Unmarshal

func (m *AdvisorProfileDef) Unmarshal(dAtA []byte) error

type AdvisorReport

type AdvisorReport struct {
	AdvisorReportHeader `protobuf:"bytes,1,opt,name=Header,embedded=Header" json:"Header" `
	AdvisorReportData   `protobuf:"bytes,2,opt,name=Data,embedded=Data" json:"Data" `
}

func (*AdvisorReport) Descriptor

func (*AdvisorReport) Descriptor() ([]byte, []int)

func (*AdvisorReport) Marshal

func (m *AdvisorReport) Marshal() (dAtA []byte, err error)

func (*AdvisorReport) MarshalTo

func (m *AdvisorReport) MarshalTo(dAtA []byte) (int, error)

func (*AdvisorReport) ProtoMessage

func (*AdvisorReport) ProtoMessage()

func (*AdvisorReport) Reset

func (m *AdvisorReport) Reset()

func (*AdvisorReport) Size

func (m *AdvisorReport) Size() (n int)

func (*AdvisorReport) String

func (m *AdvisorReport) String() string

func (*AdvisorReport) Unmarshal

func (m *AdvisorReport) Unmarshal(dAtA []byte) error

type AdvisorReportData

type AdvisorReportData struct {
	// Module Info
	ResourceName string `protobuf:"bytes,1,opt,name=ResourceName,proto3" json:"ResourceName,omitempty"`
	// If applicable
	ResourceNamespace string `protobuf:"bytes,2,opt,name=ResourceNamespace,proto3" json:"ResourceNamespace,omitempty"`
	// If applicable
	ResourceUID string `protobuf:"bytes,3,opt,name=ResourceUID,proto3" json:"ResourceUID,omitempty"`
	// Orchestration Kind
	ResourceKind string `protobuf:"bytes,4,opt,name=ResourceKind,proto3" json:"ResourceKind,omitempty"`
	// Deprecated
	ServiceAccount string `protobuf:"bytes,5,opt,name=ServiceAccount,proto3" json:"ServiceAccount,omitempty"`
	// Deprecated
	// Resource fingerprint - captures approximation of microservice ID
	Fingerprint string `protobuf:"bytes,6,opt,name=Fingerprint,proto3" json:"Fingerprint,omitempty"`
	// Deprecated
	// SnapshotId - captures a microservicee revision (new build in simpler words)
	SnapshotId string `protobuf:"bytes,7,opt,name=SnapshotId,proto3" json:"SnapshotId,omitempty"`
	// Deprecated
	// Denotes whether this resource is new/deleted/modified in respect to the previous report
	DeltaOp string `protobuf:"bytes,8,opt,name=DeltaOp,proto3" json:"DeltaOp,omitempty"`
	// Deprecated
	// Orchestration Kind
	Images     []string `protobuf:"bytes,16,rep,name=Images" json:"Images,omitempty"`
	InitImages []string `protobuf:"bytes,17,rep,name=InitImages" json:"InitImages,omitempty"`
	// Deprecated
	Labels map[string]string `` /* 147-byte string literal not displayed */
	// Deprecated
	Annotations map[string]string `` /* 157-byte string literal not displayed */
	Results     []CheckResult     `protobuf:"bytes,20,rep,name=Results" json:"Results"`
}

func (*AdvisorReportData) Descriptor

func (*AdvisorReportData) Descriptor() ([]byte, []int)

func (*AdvisorReportData) GetAnnotations

func (m *AdvisorReportData) GetAnnotations() map[string]string

func (*AdvisorReportData) GetDeltaOp

func (m *AdvisorReportData) GetDeltaOp() string

func (*AdvisorReportData) GetFingerprint

func (m *AdvisorReportData) GetFingerprint() string

func (*AdvisorReportData) GetImages

func (m *AdvisorReportData) GetImages() []string

func (*AdvisorReportData) GetInitImages

func (m *AdvisorReportData) GetInitImages() []string

func (*AdvisorReportData) GetLabels

func (m *AdvisorReportData) GetLabels() map[string]string

func (*AdvisorReportData) GetResourceKind

func (m *AdvisorReportData) GetResourceKind() string

func (*AdvisorReportData) GetResourceName

func (m *AdvisorReportData) GetResourceName() string

func (*AdvisorReportData) GetResourceNamespace

func (m *AdvisorReportData) GetResourceNamespace() string

func (*AdvisorReportData) GetResourceUID

func (m *AdvisorReportData) GetResourceUID() string

func (*AdvisorReportData) GetResults

func (m *AdvisorReportData) GetResults() []CheckResult

func (*AdvisorReportData) GetServiceAccount

func (m *AdvisorReportData) GetServiceAccount() string

func (*AdvisorReportData) GetSnapshotId

func (m *AdvisorReportData) GetSnapshotId() string

func (*AdvisorReportData) Marshal

func (m *AdvisorReportData) Marshal() (dAtA []byte, err error)

func (*AdvisorReportData) MarshalTo

func (m *AdvisorReportData) MarshalTo(dAtA []byte) (int, error)

func (*AdvisorReportData) ProtoMessage

func (*AdvisorReportData) ProtoMessage()

func (*AdvisorReportData) Reset

func (m *AdvisorReportData) Reset()

func (*AdvisorReportData) Size

func (m *AdvisorReportData) Size() (n int)

func (*AdvisorReportData) String

func (m *AdvisorReportData) String() string

func (*AdvisorReportData) Unmarshal

func (m *AdvisorReportData) Unmarshal(dAtA []byte) error

type AdvisorReportHeader

type AdvisorReportHeader struct {
	// CreationTimestamp is a timestamp representing the time when this Node was
	// created. It is represented in RFC3339 form and is in UTC.
	CreationTimeStamp string `protobuf:"bytes,1,opt,name=CreationTimeStamp,proto3" json:"CreationTimeStamp,omitempty"`
	// report uuid.. uniquely identifies the report instance
	ReportUID string `protobuf:"bytes,2,opt,name=ReportUID,proto3" json:"ReportUID,omitempty"`
	// The following fields are used as "physical coordinates" for the source of the alert
	OrganizationUID   string `protobuf:"bytes,3,opt,name=OrganizationUID,proto3" json:"OrganizationUID,omitempty"`
	DataCenterUID     string `protobuf:"bytes,4,opt,name=DataCenterUID,proto3" json:"DataCenterUID,omitempty"`
	ClusterUID        string `protobuf:"bytes,5,opt,name=ClusterUID,proto3" json:"ClusterUID,omitempty"`
	KubernetesVersion string `protobuf:"bytes,6,opt,name=KubernetesVersion,proto3" json:"KubernetesVersion,omitempty"`
	Info              string `protobuf:"bytes,7,opt,name=Info,proto3" json:"Info,omitempty"`
	ScannerVersion    string `protobuf:"bytes,8,opt,name=ScannerVersion,proto3" json:"ScannerVersion,omitempty"`
	MSTimeStamp       int64  `protobuf:"varint,9,opt,name=MSTimeStamp,proto3" json:"MSTimeStamp,omitempty"`
	ProfileID         string `protobuf:"bytes,10,opt,name=ProfileID,proto3" json:"ProfileID,omitempty"`
}

func (*AdvisorReportHeader) Descriptor

func (*AdvisorReportHeader) Descriptor() ([]byte, []int)

func (*AdvisorReportHeader) GetClusterUID

func (m *AdvisorReportHeader) GetClusterUID() string

func (*AdvisorReportHeader) GetCreationTimeStamp

func (m *AdvisorReportHeader) GetCreationTimeStamp() string

func (*AdvisorReportHeader) GetDataCenterUID

func (m *AdvisorReportHeader) GetDataCenterUID() string

func (*AdvisorReportHeader) GetInfo

func (m *AdvisorReportHeader) GetInfo() string

func (*AdvisorReportHeader) GetKubernetesVersion

func (m *AdvisorReportHeader) GetKubernetesVersion() string

func (*AdvisorReportHeader) GetMSTimeStamp

func (m *AdvisorReportHeader) GetMSTimeStamp() int64

func (*AdvisorReportHeader) GetOrganizationUID

func (m *AdvisorReportHeader) GetOrganizationUID() string

func (*AdvisorReportHeader) GetProfileID

func (m *AdvisorReportHeader) GetProfileID() string

func (*AdvisorReportHeader) GetReportUID

func (m *AdvisorReportHeader) GetReportUID() string

func (*AdvisorReportHeader) GetScannerVersion

func (m *AdvisorReportHeader) GetScannerVersion() string

func (*AdvisorReportHeader) Marshal

func (m *AdvisorReportHeader) Marshal() (dAtA []byte, err error)

func (*AdvisorReportHeader) MarshalTo

func (m *AdvisorReportHeader) MarshalTo(dAtA []byte) (int, error)

func (*AdvisorReportHeader) ProtoMessage

func (*AdvisorReportHeader) ProtoMessage()

func (*AdvisorReportHeader) Reset

func (m *AdvisorReportHeader) Reset()

func (*AdvisorReportHeader) Size

func (m *AdvisorReportHeader) Size() (n int)

func (*AdvisorReportHeader) String

func (m *AdvisorReportHeader) String() string

func (*AdvisorReportHeader) Unmarshal

func (m *AdvisorReportHeader) Unmarshal(dAtA []byte) error

type AdvisorResourceCheck

type AdvisorResourceCheck struct {
	// Check Id
	ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	// Check Category
	Title    string `protobuf:"bytes,2,opt,name=Title,proto3" json:"Title,omitempty"`
	Action   string `` /* 154-byte string literal not displayed */
	Severity string `` /* 178-byte string literal not displayed */
	// A set of requirements that must be met
	// each requirement has the following format:
	// {{ KubeResource     ApiKind ApiGroup ApiVersion Namespace Name JmespathQuery}}
	// {{ KubeResourceList ApiKind ApiGroup ApiVersion Namespace      JmespathQuery}}
	Requirements []string `protobuf:"bytes,5,rep,name=Requirements" json:"Requirements,omitempty"`
	// Expected Value (true or false)
	Expected      string   `protobuf:"bytes,6,opt,name=Expected,proto3" json:"Expected,omitempty"`
	PreRequisites []string `protobuf:"bytes,7,rep,name=PreRequisites" json:"PreRequisites,omitempty"`
	// Advice itself
	Message string `protobuf:"bytes,9,opt,name=Message,proto3" json:"Message,omitempty"`
	// Recommendation
	Recommendation string `protobuf:"bytes,10,opt,name=Recommendation,proto3" json:"Recommendation,omitempty"`
	// Urls for more info
	References           []string                 `protobuf:"bytes,11,rep,name=References" json:"References,omitempty"`
	OverrideAnnotation   string                   `` /* 196-byte string literal not displayed */
	SkipResource         []string                 `` /* 177-byte string literal not displayed */
	Config               []AdvisorCheckConfigItem `protobuf:"bytes,14,rep,name=Config" json:"Items" doc:"Check Specific Configuration"`
	MandatoryConfigItems bool                     `` /* 165-byte string literal not displayed */
	ConfigDescriptor     *AdvisorConfigDescriptor `protobuf:"bytes,16,opt,name=ConfigDescriptor" json:"ConfigDescriptor,omitempty"`
	Description          string                   `protobuf:"bytes,17,opt,name=Description,proto3" json:"Description,omitempty"`
	CheckApplicability   []CheckApplicabilityType `` /* 176-byte string literal not displayed */
}

Generic Cluster Resource Check

func (*AdvisorResourceCheck) Descriptor

func (*AdvisorResourceCheck) Descriptor() ([]byte, []int)

func (*AdvisorResourceCheck) GetAction

func (m *AdvisorResourceCheck) GetAction() string

func (*AdvisorResourceCheck) GetCheckApplicability

func (m *AdvisorResourceCheck) GetCheckApplicability() []CheckApplicabilityType

func (*AdvisorResourceCheck) GetConfig

func (*AdvisorResourceCheck) GetConfigDescriptor

func (m *AdvisorResourceCheck) GetConfigDescriptor() *AdvisorConfigDescriptor

func (*AdvisorResourceCheck) GetDescription

func (m *AdvisorResourceCheck) GetDescription() string

func (*AdvisorResourceCheck) GetExpected

func (m *AdvisorResourceCheck) GetExpected() string

func (*AdvisorResourceCheck) GetID

func (m *AdvisorResourceCheck) GetID() string

func (*AdvisorResourceCheck) GetMandatoryConfigItems

func (m *AdvisorResourceCheck) GetMandatoryConfigItems() bool

func (*AdvisorResourceCheck) GetMessage

func (m *AdvisorResourceCheck) GetMessage() string

func (*AdvisorResourceCheck) GetOverrideAnnotation

func (m *AdvisorResourceCheck) GetOverrideAnnotation() string

func (*AdvisorResourceCheck) GetPreRequisites

func (m *AdvisorResourceCheck) GetPreRequisites() []string

func (*AdvisorResourceCheck) GetRecommendation

func (m *AdvisorResourceCheck) GetRecommendation() string

func (*AdvisorResourceCheck) GetReferences

func (m *AdvisorResourceCheck) GetReferences() []string

func (*AdvisorResourceCheck) GetRequirements

func (m *AdvisorResourceCheck) GetRequirements() []string

func (*AdvisorResourceCheck) GetSeverity

func (m *AdvisorResourceCheck) GetSeverity() string

func (*AdvisorResourceCheck) GetSkipResource

func (m *AdvisorResourceCheck) GetSkipResource() []string

func (*AdvisorResourceCheck) GetTitle

func (m *AdvisorResourceCheck) GetTitle() string

func (*AdvisorResourceCheck) Marshal

func (m *AdvisorResourceCheck) Marshal() (dAtA []byte, err error)

func (*AdvisorResourceCheck) MarshalTo

func (m *AdvisorResourceCheck) MarshalTo(dAtA []byte) (int, error)

func (*AdvisorResourceCheck) ProtoMessage

func (*AdvisorResourceCheck) ProtoMessage()

func (*AdvisorResourceCheck) Reset

func (m *AdvisorResourceCheck) Reset()

func (*AdvisorResourceCheck) Size

func (m *AdvisorResourceCheck) Size() (n int)

func (*AdvisorResourceCheck) String

func (m *AdvisorResourceCheck) String() string

func (*AdvisorResourceCheck) Unmarshal

func (m *AdvisorResourceCheck) Unmarshal(dAtA []byte) error

type AdvisorResourceCheckGroup

type AdvisorResourceCheckGroup struct {
	// Check Id
	GroupID string `protobuf:"bytes,1,opt,name=GroupID,proto3" json:"GroupID,omitempty"`
	// Check Category
	Title string `protobuf:"bytes,2,opt,name=Title,proto3" json:"Title,omitempty"`
	// {{ KubeResourceList ApiGroup ApiKind Namespace }}
	ResourceSelector string                 `protobuf:"bytes,3,opt,name=ResourceSelector,proto3" json:"ResourceSelector,omitempty"`
	SkipResource     []string               `` /* 176-byte string literal not displayed */
	Checks           []AdvisorResourceCheck `protobuf:"bytes,6,rep,name=Checks" json:"Checks"`
}

func (*AdvisorResourceCheckGroup) Descriptor

func (*AdvisorResourceCheckGroup) Descriptor() ([]byte, []int)

func (*AdvisorResourceCheckGroup) GetChecks

func (*AdvisorResourceCheckGroup) GetGroupID

func (m *AdvisorResourceCheckGroup) GetGroupID() string

func (*AdvisorResourceCheckGroup) GetResourceSelector

func (m *AdvisorResourceCheckGroup) GetResourceSelector() string

func (*AdvisorResourceCheckGroup) GetSkipResource

func (m *AdvisorResourceCheckGroup) GetSkipResource() []string

func (*AdvisorResourceCheckGroup) GetTitle

func (m *AdvisorResourceCheckGroup) GetTitle() string

func (*AdvisorResourceCheckGroup) Marshal

func (m *AdvisorResourceCheckGroup) Marshal() (dAtA []byte, err error)

func (*AdvisorResourceCheckGroup) MarshalTo

func (m *AdvisorResourceCheckGroup) MarshalTo(dAtA []byte) (int, error)

func (*AdvisorResourceCheckGroup) ProtoMessage

func (*AdvisorResourceCheckGroup) ProtoMessage()

func (*AdvisorResourceCheckGroup) Reset

func (m *AdvisorResourceCheckGroup) Reset()

func (*AdvisorResourceCheckGroup) Size

func (m *AdvisorResourceCheckGroup) Size() (n int)

func (*AdvisorResourceCheckGroup) String

func (m *AdvisorResourceCheckGroup) String() string

func (*AdvisorResourceCheckGroup) Unmarshal

func (m *AdvisorResourceCheckGroup) Unmarshal(dAtA []byte) error

type AdvisorTestConfig

type AdvisorTestConfig struct {
	TestId       string                    `protobuf:"bytes,1,opt,name=TestId,proto3" json:"TestId,omitempty"`
	Action       string                    `` /* 154-byte string literal not displayed */
	Severity     string                    `` /* 178-byte string literal not displayed */
	SkipResource []string                  `` /* 176-byte string literal not displayed */
	Items        []*AdvisorCheckConfigItem `protobuf:"bytes,5,rep,name=items" json:"items,omitempty"`
}

func (*AdvisorTestConfig) Descriptor

func (*AdvisorTestConfig) Descriptor() ([]byte, []int)

func (*AdvisorTestConfig) GetAction

func (m *AdvisorTestConfig) GetAction() string

func (*AdvisorTestConfig) GetItems

func (m *AdvisorTestConfig) GetItems() []*AdvisorCheckConfigItem

func (*AdvisorTestConfig) GetSeverity

func (m *AdvisorTestConfig) GetSeverity() string

func (*AdvisorTestConfig) GetSkipResource

func (m *AdvisorTestConfig) GetSkipResource() []string

func (*AdvisorTestConfig) GetTestId

func (m *AdvisorTestConfig) GetTestId() string

func (*AdvisorTestConfig) Marshal

func (m *AdvisorTestConfig) Marshal() (dAtA []byte, err error)

func (*AdvisorTestConfig) MarshalTo

func (m *AdvisorTestConfig) MarshalTo(dAtA []byte) (int, error)

func (*AdvisorTestConfig) ProtoMessage

func (*AdvisorTestConfig) ProtoMessage()

func (*AdvisorTestConfig) Reset

func (m *AdvisorTestConfig) Reset()

func (*AdvisorTestConfig) Size

func (m *AdvisorTestConfig) Size() (n int)

func (*AdvisorTestConfig) String

func (m *AdvisorTestConfig) String() string

func (*AdvisorTestConfig) Unmarshal

func (m *AdvisorTestConfig) Unmarshal(dAtA []byte) error

type AdvisorValidationPolicySpec

type AdvisorValidationPolicySpec struct {
	Modules []AdvisorCheckModule `protobuf:"bytes,50,rep,name=Modules" json:"Modules"`
}

Pod Security Policy Spec defines the policy enforced.

func (*AdvisorValidationPolicySpec) Descriptor

func (*AdvisorValidationPolicySpec) Descriptor() ([]byte, []int)

func (*AdvisorValidationPolicySpec) GetModules

func (*AdvisorValidationPolicySpec) Marshal

func (m *AdvisorValidationPolicySpec) Marshal() (dAtA []byte, err error)

func (*AdvisorValidationPolicySpec) MarshalTo

func (m *AdvisorValidationPolicySpec) MarshalTo(dAtA []byte) (int, error)

func (*AdvisorValidationPolicySpec) ProtoMessage

func (*AdvisorValidationPolicySpec) ProtoMessage()

func (*AdvisorValidationPolicySpec) Reset

func (m *AdvisorValidationPolicySpec) Reset()

func (*AdvisorValidationPolicySpec) Size

func (m *AdvisorValidationPolicySpec) Size() (n int)

func (*AdvisorValidationPolicySpec) String

func (m *AdvisorValidationPolicySpec) String() string

func (*AdvisorValidationPolicySpec) Unmarshal

func (m *AdvisorValidationPolicySpec) Unmarshal(dAtA []byte) error

type AdvisorValidationProfile

type AdvisorValidationProfile struct {
	Name        string        `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
	UID         string        `protobuf:"bytes,2,opt,name=UID,proto3" json:"UID,omitempty"`
	Description string        `protobuf:"bytes,3,opt,name=Description,proto3" json:"Description,omitempty"`
	Version     string        `protobuf:"bytes,4,opt,name=Version,proto3" json:"Version,omitempty"`
	PricePlan   PricePlanType `protobuf:"varint,5,opt,name=PricePlan,proto3,enum=advisor.PricePlanType" json:"PricePlan,omitempty"`
	// This is the profile ID that is generated in the management server
	ProfileID         string                      `protobuf:"bytes,6,opt,name=ProfileID,proto3" json:"ProfileID,omitempty"`
	Scope             AdvisorPolicyScope          `protobuf:"bytes,10,opt,name=Scope" json:"Scope"`
	ApplyOnAdmission  bool                        `` /* 171-byte string literal not displayed */
	ApplyOnScan       bool                        `` /* 140-byte string literal not displayed */
	Policy            AdvisorValidationPolicySpec `protobuf:"bytes,13,opt,name=Policy" json:"Policy" default:"true"  doc:"Policy should be applied on cluster scan"`
	ProfileDefinition *AdvisorProfileDef          `protobuf:"bytes,20,opt,name=profileDefinition" json:"profileDefinition,omitempty"`
}

func (*AdvisorValidationProfile) Descriptor

func (*AdvisorValidationProfile) Descriptor() ([]byte, []int)

func (*AdvisorValidationProfile) GetApplyOnAdmission

func (m *AdvisorValidationProfile) GetApplyOnAdmission() bool

func (*AdvisorValidationProfile) GetApplyOnScan

func (m *AdvisorValidationProfile) GetApplyOnScan() bool

func (*AdvisorValidationProfile) GetDescription

func (m *AdvisorValidationProfile) GetDescription() string

func (*AdvisorValidationProfile) GetName

func (m *AdvisorValidationProfile) GetName() string

func (*AdvisorValidationProfile) GetPolicy

func (*AdvisorValidationProfile) GetPricePlan

func (m *AdvisorValidationProfile) GetPricePlan() PricePlanType

func (*AdvisorValidationProfile) GetProfileDefinition

func (m *AdvisorValidationProfile) GetProfileDefinition() *AdvisorProfileDef

func (*AdvisorValidationProfile) GetProfileID

func (m *AdvisorValidationProfile) GetProfileID() string

func (*AdvisorValidationProfile) GetScope

func (*AdvisorValidationProfile) GetUID

func (m *AdvisorValidationProfile) GetUID() string

func (*AdvisorValidationProfile) GetVersion

func (m *AdvisorValidationProfile) GetVersion() string

func (*AdvisorValidationProfile) Marshal

func (m *AdvisorValidationProfile) Marshal() (dAtA []byte, err error)

func (*AdvisorValidationProfile) MarshalTo

func (m *AdvisorValidationProfile) MarshalTo(dAtA []byte) (int, error)

func (*AdvisorValidationProfile) ProtoMessage

func (*AdvisorValidationProfile) ProtoMessage()

func (*AdvisorValidationProfile) Reset

func (m *AdvisorValidationProfile) Reset()

func (*AdvisorValidationProfile) Size

func (m *AdvisorValidationProfile) Size() (n int)

func (*AdvisorValidationProfile) String

func (m *AdvisorValidationProfile) String() string

func (*AdvisorValidationProfile) Unmarshal

func (m *AdvisorValidationProfile) Unmarshal(dAtA []byte) error

type CheckApplicabilityType

type CheckApplicabilityType int32
const (
	CheckApplicabilityType_Admission CheckApplicabilityType = 0
)

func (CheckApplicabilityType) EnumDescriptor

func (CheckApplicabilityType) EnumDescriptor() ([]byte, []int)

func (CheckApplicabilityType) String

func (x CheckApplicabilityType) String() string

type CheckCategory

type CheckCategory int32
const (
	CheckCategory_UnspecifiedCategory            CheckCategory = 0
	CheckCategory_ContainerSecurityContextChecks CheckCategory = 1
	CheckCategory_PodSecurityChecks              CheckCategory = 2
	CheckCategory_ContainerImageChecks           CheckCategory = 3
	CheckCategory_ResourceConformanceChecks      CheckCategory = 4
	CheckCategory_ResourcePriviligedApiAccess    CheckCategory = 5
	CheckCategory_PodNetworkSecurity             CheckCategory = 6
	CheckCategory_CISKubeBenchmarkWorkerNode     CheckCategory = 7
	CheckCategory_CrdCustomChecks                CheckCategory = 8
	CheckCategory_IngressControllerChecks        CheckCategory = 9
	CheckCategory_IstioControlPlaneChecks        CheckCategory = 10
)

func (CheckCategory) EnumDescriptor

func (CheckCategory) EnumDescriptor() ([]byte, []int)

func (CheckCategory) String

func (x CheckCategory) String() string

type CheckId

type CheckId int32
const (
	CheckId_UnspecifiedCheckId           CheckId = 0
	CheckId_ContainerCheckBase           CheckId = 100
	CheckId_ContainerCheckPriviliged     CheckId = 101
	CheckId_ContainerCheckRunAsRoot      CheckId = 102
	CheckId_ContainerCheckReadOnlyRootFS CheckId = 103
	CheckId_ContainerCheckImageTag       CheckId = 110
	CheckId_ContainerPrivateCredntials   CheckId = 120
	CheckId_ContainerCheckImageWhiteList CheckId = 111
	CheckId_PodCheckHostNetwork          CheckId = 200
	CheckId_PodCheckHostPID              CheckId = 201
	CheckId_PodCheckHostIPC              CheckId = 202
	CheckId_PodAllowedHostPaths          CheckId = 203
	CheckId_PodForbiddenHostPaths        CheckId = 204
	CheckId_PodCheckAnnotations          CheckId = 205
	CheckId_PodCheckLabels               CheckId = 206
	CheckId_WorkloadEmbeddedPolicy       CheckId = 300
	CheckId_WorkloadEmbeddedPolicyRules  CheckId = 301
	CheckId_ApiServerSecretReadAccess    CheckId = 500
	CheckId_ApiServerPodCreateAccess     CheckId = 501
	CheckId_PodNetworkPolicy             CheckId = 600
	CheckId_ConfigMapsPrivateCredntials  CheckId = 700
	CheckId_IngressCheckTlsEnabled       CheckId = 900
)

func (CheckId) EnumDescriptor

func (CheckId) EnumDescriptor() ([]byte, []int)

func (CheckId) String

func (x CheckId) String() string

type CheckInfo

type CheckInfo struct {
	ModuleTitle string `protobuf:"bytes,20,opt,name=ModuleTitle,proto3" json:"ModuleTitle,omitempty"`
	GroupTitle  string `protobuf:"bytes,21,opt,name=GroupTitle,proto3" json:"GroupTitle,omitempty"`
	CheckTitle  string `protobuf:"bytes,22,opt,name=CheckTitle,proto3" json:"CheckTitle,omitempty"`
	ModuleId    string `protobuf:"bytes,23,opt,name=ModuleId,proto3" json:"ModuleId,omitempty"`
	GroupId     string `protobuf:"bytes,24,opt,name=GroupId,proto3" json:"GroupId,omitempty"`
	CheckId     string `protobuf:"bytes,25,opt,name=CheckId,proto3" json:"CheckId,omitempty"`
}

func (*CheckInfo) Descriptor

func (*CheckInfo) Descriptor() ([]byte, []int)

func (*CheckInfo) GetCheckId

func (m *CheckInfo) GetCheckId() string

func (*CheckInfo) GetCheckTitle

func (m *CheckInfo) GetCheckTitle() string

func (*CheckInfo) GetGroupId

func (m *CheckInfo) GetGroupId() string

func (*CheckInfo) GetGroupTitle

func (m *CheckInfo) GetGroupTitle() string

func (*CheckInfo) GetModuleId

func (m *CheckInfo) GetModuleId() string

func (*CheckInfo) GetModuleTitle

func (m *CheckInfo) GetModuleTitle() string

func (*CheckInfo) Marshal

func (m *CheckInfo) Marshal() (dAtA []byte, err error)

func (*CheckInfo) MarshalTo

func (m *CheckInfo) MarshalTo(dAtA []byte) (int, error)

func (*CheckInfo) ProtoMessage

func (*CheckInfo) ProtoMessage()

func (*CheckInfo) Reset

func (m *CheckInfo) Reset()

func (*CheckInfo) Size

func (m *CheckInfo) Size() (n int)

func (*CheckInfo) String

func (m *CheckInfo) String() string

func (*CheckInfo) Unmarshal

func (m *CheckInfo) Unmarshal(dAtA []byte) error

type CheckResult

type CheckResult struct {
	// Check Id
	CheckId string `protobuf:"bytes,1,opt,name=CheckId,proto3" json:"CheckId,omitempty"`
	// Check Category
	Category string `protobuf:"bytes,2,opt,name=Category,proto3" json:"Category,omitempty"`
	// info, warn, error
	Severity string `protobuf:"bytes,3,opt,name=Severity,proto3" json:"Severity,omitempty"`
	// Admission Action if relevant
	Action string `protobuf:"bytes,4,opt,name=Action,proto3" json:"Action,omitempty"`
	// Advice itself
	Message string `protobuf:"bytes,5,opt,name=Message,proto3" json:"Message,omitempty"`
	// Recommendation
	Recommendation string `protobuf:"bytes,6,opt,name=Recommendation,proto3" json:"Recommendation,omitempty"`
	// Url for more info
	// Deperecated
	Url string `protobuf:"bytes,7,opt,name=Url,proto3" json:"Url,omitempty"`
	// Additional tags related to this check
	Platform string `protobuf:"bytes,8,opt,name=Platform,proto3" json:"Platform,omitempty"`
	// Urls for more info
	References []string `protobuf:"bytes,9,rep,name=References" json:"References,omitempty"`
	// Recommendation
	Tags map[string]string `` /* 143-byte string literal not displayed */
	// A unique stable check UID that can be tracked over repeated scans
	ResultUID string `protobuf:"bytes,11,opt,name=ResultUID,proto3" json:"ResultUID,omitempty"`
	// Denotes whether this resource is new/deleted/modified in respect to the previous report
	DeltaOp string `protobuf:"bytes,12,opt,name=DeltaOp,proto3" json:"DeltaOp,omitempty"`
	// Wider Context if avail.
	Resource ResourceInfo `protobuf:"bytes,13,opt,name=Resource" json:"Resource"`
	Check    CheckInfo    `protobuf:"bytes,14,opt,name=Check" json:"Check"`
	// Additional Findings associated with the resource
	AdditionalFindings map[string]*AdditionalFindings `` /* 164-byte string literal not displayed */
}

func (*CheckResult) Descriptor

func (*CheckResult) Descriptor() ([]byte, []int)

func (*CheckResult) GetAction

func (m *CheckResult) GetAction() string

func (*CheckResult) GetAdditionalFindings

func (m *CheckResult) GetAdditionalFindings() map[string]*AdditionalFindings

func (*CheckResult) GetCategory

func (m *CheckResult) GetCategory() string

func (*CheckResult) GetCheck

func (m *CheckResult) GetCheck() CheckInfo

func (*CheckResult) GetCheckId

func (m *CheckResult) GetCheckId() string

func (*CheckResult) GetDeltaOp

func (m *CheckResult) GetDeltaOp() string

func (*CheckResult) GetMessage

func (m *CheckResult) GetMessage() string

func (*CheckResult) GetPlatform

func (m *CheckResult) GetPlatform() string

func (*CheckResult) GetRecommendation

func (m *CheckResult) GetRecommendation() string

func (*CheckResult) GetReferences

func (m *CheckResult) GetReferences() []string

func (*CheckResult) GetResource

func (m *CheckResult) GetResource() ResourceInfo

func (*CheckResult) GetResultUID

func (m *CheckResult) GetResultUID() string

func (*CheckResult) GetSeverity

func (m *CheckResult) GetSeverity() string

func (*CheckResult) GetTags

func (m *CheckResult) GetTags() map[string]string

func (*CheckResult) GetUrl

func (m *CheckResult) GetUrl() string

func (*CheckResult) Marshal

func (m *CheckResult) Marshal() (dAtA []byte, err error)

func (*CheckResult) MarshalTo

func (m *CheckResult) MarshalTo(dAtA []byte) (int, error)

func (*CheckResult) ProtoMessage

func (*CheckResult) ProtoMessage()

func (*CheckResult) Reset

func (m *CheckResult) Reset()

func (*CheckResult) Size

func (m *CheckResult) Size() (n int)

func (*CheckResult) String

func (m *CheckResult) String() string

func (*CheckResult) Unmarshal

func (m *CheckResult) Unmarshal(dAtA []byte) error

type CheckSeverity

type CheckSeverity int32
const (
	CheckSeverity_UnspecifiedSeverity CheckSeverity = 0
	CheckSeverity_Pass                CheckSeverity = 1
	CheckSeverity_Low                 CheckSeverity = 2
	CheckSeverity_Medium              CheckSeverity = 3
	CheckSeverity_High                CheckSeverity = 4
	CheckSeverity_Critical            CheckSeverity = 5
)

func (CheckSeverity) EnumDescriptor

func (CheckSeverity) EnumDescriptor() ([]byte, []int)

func (CheckSeverity) String

func (x CheckSeverity) String() string

type ConfigItemType

type ConfigItemType int32
const (
	ConfigItemType_String           ConfigItemType = 0
	ConfigItemType_Regex            ConfigItemType = 1
	ConfigItemType_ImageRegistryURL ConfigItemType = 2
)

func (ConfigItemType) EnumDescriptor

func (ConfigItemType) EnumDescriptor() ([]byte, []int)

func (ConfigItemType) String

func (x ConfigItemType) String() string

type DeltaOp

type DeltaOp int32
const (
	DeltaOp_Unmodified DeltaOp = 0
	// Alert Only and Allow admission
	DeltaOp_Modified DeltaOp = 1
	// Alert and Deny admission
	DeltaOp_Added DeltaOp = 2
	// Allow (no Alert)
	DeltaOp_Deleted DeltaOp = 3
)

func (DeltaOp) EnumDescriptor

func (DeltaOp) EnumDescriptor() ([]byte, []int)

func (DeltaOp) String

func (x DeltaOp) String() string

type Platform

type Platform int32
const (
	Platform_Kubernetes Platform = 0
	Platform_Istio      Platform = 1
)

func (Platform) EnumDescriptor

func (Platform) EnumDescriptor() ([]byte, []int)

func (Platform) String

func (x Platform) String() string

type PricePlanType

type PricePlanType int32
const (
	PricePlanType_Free    PricePlanType = 0
	PricePlanType_Starter PricePlanType = 1
	PricePlanType_Pro     PricePlanType = 2
)

func (PricePlanType) EnumDescriptor

func (PricePlanType) EnumDescriptor() ([]byte, []int)

func (PricePlanType) String

func (x PricePlanType) String() string

type ResourceInfo

type ResourceInfo struct {
	Kind        string            `protobuf:"bytes,20,opt,name=Kind,proto3" json:"Kind,omitempty"`
	Version     string            `protobuf:"bytes,21,opt,name=Version,proto3" json:"Version,omitempty"`
	Group       string            `protobuf:"bytes,22,opt,name=Group,proto3" json:"Group,omitempty"`
	Name        string            `protobuf:"bytes,23,opt,name=Name,proto3" json:"Name,omitempty"`
	Namespace   string            `protobuf:"bytes,24,opt,name=Namespace,proto3" json:"Namespace,omitempty"`
	Annotations map[string]string `` /* 157-byte string literal not displayed */
	Labels      map[string]string `` /* 147-byte string literal not displayed */
}

func (*ResourceInfo) Descriptor

func (*ResourceInfo) Descriptor() ([]byte, []int)

func (*ResourceInfo) GetAnnotations

func (m *ResourceInfo) GetAnnotations() map[string]string

func (*ResourceInfo) GetGroup

func (m *ResourceInfo) GetGroup() string

func (*ResourceInfo) GetKind

func (m *ResourceInfo) GetKind() string

func (*ResourceInfo) GetLabels

func (m *ResourceInfo) GetLabels() map[string]string

func (*ResourceInfo) GetName

func (m *ResourceInfo) GetName() string

func (*ResourceInfo) GetNamespace

func (m *ResourceInfo) GetNamespace() string

func (*ResourceInfo) GetVersion

func (m *ResourceInfo) GetVersion() string

func (*ResourceInfo) Marshal

func (m *ResourceInfo) Marshal() (dAtA []byte, err error)

func (*ResourceInfo) MarshalTo

func (m *ResourceInfo) MarshalTo(dAtA []byte) (int, error)

func (*ResourceInfo) ProtoMessage

func (*ResourceInfo) ProtoMessage()

func (*ResourceInfo) Reset

func (m *ResourceInfo) Reset()

func (*ResourceInfo) Size

func (m *ResourceInfo) Size() (n int)

func (*ResourceInfo) String

func (m *ResourceInfo) String() string

func (*ResourceInfo) Unmarshal

func (m *ResourceInfo) Unmarshal(dAtA []byte) error

Jump to

Keyboard shortcuts

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