pkg

package
v0.0.0-...-3256882 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KubeHunterAPI

func KubeHunterAPI()

Types

type KubeHunterResults

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

func KubeHunterAudit

func KubeHunterAudit() (result *KubeHunterResults, err error)

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