plugins

package
v1.0.0-beta.9 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPluginsHealth

func CheckPluginsHealth(pluginName string) bool

func TriggerAudit

func TriggerAudit(pluginName string) (error, []byte)

func TriggerPluginsAudit

func TriggerPluginsAudit(pluginList []string)

Types

type KubeBenchResults

type KubeBenchResults struct {
	Controls []check.Controls
}

type KubeHunterResults

type KubeHunterResults struct {
	Nodes           []Node           `json:"nodes"`
	Services        []Service        `json:"service"`
	Vulnerabilities []Vulnerabilitie `json:"vulnerabilities"`
}

type Node

type Node struct {
	Type     string `json:"type"`
	Location string `json:"location"`
}

type Service

type Service struct {
	Service  string `json:"service"`
	Location string `json:"location"`
}

type Vulnerabilitie

type Vulnerabilitie struct {
	Location      string `json:"location"`
	Vid           string `json:"vid"`
	Category      string `json:"category"`
	Severity      string `json:"severity"`
	Vulnerability string `json:"vulnerability"`
	Description   string `json:"description"`
	Evidence      string `json:"evidence"`
	Avd_reference string `json:"avd_reference"`
	Hunter        string `json:"hunter"`
}

Jump to

Keyboard shortcuts

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