Documentation ¶
Overview ¶
Package khulnasoft provides primitives for working with Khulnasoft Enterprise scanner.
Index ¶
Constants ¶
View Source
const (
)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 Khulnasoft Enterprise to scan container images of Kubernetes workloads.
Types ¶
type Config ¶
type Config struct {
starboard.PluginConfig
}
Config defines configuration params for this plugin.
func (Config) GetCommand ¶
func (Config) GetResourceRequirements ¶
func (c Config) GetResourceRequirements() (corev1.ResourceRequirements, error)
GetResourceRequirements creates ResourceRequirements from the Config.
func (Config) GetStarboardKhulnasoftScannerImage ¶
Directories ¶
Path | Synopsis |
---|---|
Package client provides an HTTP client for selected Khulnasoft Enterprise API endpoints.
|
Package client provides an HTTP client for selected Khulnasoft Enterprise API endpoints. |
scanner
|
|
api
Package api provides primitives for getting vulnerability reports via Khulnasoft Enterprise API
|
Package api provides primitives for getting vulnerability reports via Khulnasoft 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. |
Click to show internal directories.
Click to hide internal directories.