validators

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package validators handles Kubescape validation rule reconciliation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubescapeService

type KubescapeService struct {
	Log logr.Logger
	API *kubevuln.APIServerStore
}

KubescapeService retrieves vulnerability data and uses it to reconcile Kubescape rules.

func NewKubescapeService

func NewKubescapeService(log logr.Logger, kvAPI *kubevuln.APIServerStore) *KubescapeService

NewKubescapeService creates a KubescapeService.

func (*KubescapeService) Manifests

Manifests retrieves vulnerability data.

func (*KubescapeService) ReconcileFlaggedCVERule

ReconcileFlaggedCVERule reconciles a flagged CVE rule.

func (*KubescapeService) ReconcileSeverityRule

ReconcileSeverityRule reconciles a severity limit rule.

Jump to

Keyboard shortcuts

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