plugin

package
v0.10.0-rc5 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resolver

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

func NewResolver

func NewResolver() *Resolver

func (*Resolver) GetConfigAuditPlugin

func (r *Resolver) GetConfigAuditPlugin() (configauditreport.Plugin, starboard.PluginContext, error)

GetConfigAuditPlugin is a factory method that instantiates the configauditreport.Plugin for the specified starboard.ConfigData.

Starboard supports Polaris as the only configuration auditing tool.

You could add your own scanner by implementing the configauditreport.Plugin interface.

func (*Resolver) GetVulnerabilityPlugin

func (r *Resolver) GetVulnerabilityPlugin() (vulnerabilityreport.Plugin, error)

GetVulnerabilityPlugin is a factory method that instantiates the vulnerabilityreport.Plugin for the specified starboard.ConfigData.

Starboard currently supports Trivy scanner in Standalone and ClientServer mode, and Aqua enterprise scanner.

You could add your own scanner by implementing the vulnerabilityreport.Plugin interface.

func (*Resolver) WithBuildInfo

func (r *Resolver) WithBuildInfo(buildInfo starboard.BuildInfo) *Resolver

func (*Resolver) WithClient

func (r *Resolver) WithClient(client client.Client) *Resolver

func (*Resolver) WithConfig

func (r *Resolver) WithConfig(config starboard.ConfigData) *Resolver

func (*Resolver) WithNamespace

func (r *Resolver) WithNamespace(namespace string) *Resolver

func (*Resolver) WithServiceAccountName

func (r *Resolver) WithServiceAccountName(name string) *Resolver

Directories

Path Synopsis
The aqua package provides primitives for working with Aqua Enterprise scanner.
The aqua package provides primitives for working with Aqua Enterprise scanner.
client
The client package provides an HTTP client for selected Aqua Enterprise REST API endpoints.
The client package provides an HTTP client for selected Aqua Enterprise REST API endpoints.
The conftest package provides primitives for working with Conftest.
The conftest package provides primitives for working with Conftest.
The polaris package provides primitives for working with Polaris.
The polaris package provides primitives for working with Polaris.
The trivy package provides primitives for working with Trivy.
The trivy package provides primitives for working with Trivy.

Jump to

Keyboard shortcuts

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