securityscan

package
v0.0.0-...-8684de4 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PasswordSecretType = "password"
	AmazonSecretType   = "amazon"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

func NewManager

func NewManager(banzaiCLI cli.Cli) Manager

func (Manager) BuildActivateRequestInteractively

func (m Manager) BuildActivateRequestInteractively(clusterCtx clustercontext.Context) (pipeline.ActivateIntegratedServiceRequest, error)

func (Manager) BuildUpdateRequestInteractively

func (m Manager) BuildUpdateRequestInteractively(clusterCtx clustercontext.Context, request *pipeline.UpdateIntegratedServiceRequest) error

func (Manager) ReadableName

func (Manager) ReadableName() string

func (Manager) ServiceName

func (Manager) ServiceName() string

func (Manager) ValidateSpec

func (Manager) ValidateSpec(spec map[string]interface{}) error

func (Manager) WriteDetailsTable

func (Manager) WriteDetailsTable(details pipeline.IntegratedServiceDetails) map[string]map[string]interface{}

type ServiceSpec

type ServiceSpec struct {
	CustomAnchore    anchoreSpec       `json:"customAnchore" mapstructure:"customAnchore"`
	Policy           policySpec        `json:"policy" mapstructure:"policy"`
	ReleaseWhiteList []releaseSpec     `json:"releaseWhiteList,omitempty" mapstructure:"releaseWhiteList"`
	WebhookConfig    webHookConfigSpec `json:"webhookConfig" mapstructure:"webhookConfig"`
	Registry         *registrySpec     `json:"registry,omitempty" mapstructure:"registry"`
	Registries       []*registrySpec   `json:"registries,omitempty" mapstructure:"registries"`
}

ServiceSpec security scan cluster integratedservice specific specification

func (ServiceSpec) Validate

func (s ServiceSpec) Validate() error

Validate validates the input security scan specification.

Jump to

Keyboard shortcuts

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