discover

package
v0.14.1 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: 14 Imported by: 0

Documentation

Overview

Package discover fetches policies from discovery engine

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertPolicy

func ConvertPolicy(c *k8s.Client, o Options) ([]string, error)

ConvertPolicy converts the knoxautopolicies to KubeArmor and Cilium policies

func Policy

func Policy(c *k8s.Client, o Options) error

Policy discovers Cilium or KubeArmor policies

Types

type Options

type Options struct {
	GRPC           string
	Format         string
	Policy         string
	Namespace      string
	Clustername    string
	Labels         string
	Fromsource     string
	IncludeNetwork bool
}

Options Structure

Jump to

Keyboard shortcuts

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