aqua

package
v0.15.3 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package aqua provides primitives for working with Aqua Enterprise scanner.

Index

Constants

View Source
const (
	FsSharedVolumeName = "starboard-aqua"
)

Variables

This section is empty.

Functions

func NewPlugin

func NewPlugin(
	idGenerator ext.IDGenerator,
	buildInfo starboard.BuildInfo,
) vulnerabilityreport.Plugin

NewPlugin constructs a new vulnerabilityreport.Plugin, which is using the Aqua Enterprise to scan container images of Kubernetes workloads.

Types

type Command added in v0.15.0

type Command string

Command to scan image or filesystem.

const (
	Filesystem Command = "filesystem"
	Image      Command = "image"
)

type Config

type Config struct {
	starboard.PluginConfig
}

Config defines configuration params for this plugin.

func (Config) GetCommand added in v0.15.0

func (c Config) GetCommand() (Command, error)

func (Config) GetResourceRequirements added in v0.15.0

func (c Config) GetResourceRequirements() (corev1.ResourceRequirements, error)

GetResourceRequirements creates ResourceRequirements from the Config.

func (Config) GetStarboardAquaScannerImage added in v0.15.0

func (c Config) GetStarboardAquaScannerImage() (string, error)

Directories

Path Synopsis
Package client provides an HTTP client for selected Aqua Enterprise API endpoints.
Package client provides an HTTP client for selected Aqua Enterprise API endpoints.
scanner
api
Package api provides primitives for getting vulnerability reports via Aqua Enterprise API
Package api provides primitives for getting vulnerability reports via Aqua Enterprise API
cli
Package cli provides primitives for getting vulnerability reports by executing the scannercli command.
Package cli provides primitives for getting vulnerability reports by executing the scannercli command.

Jump to

Keyboard shortcuts

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