csvutils

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckForConfidentialObjAccessAtClusterScope

func CheckForConfidentialObjAccessAtClusterScope(csvPermissions *types.CSVPermissions) bool

Checks if secrets and configmaps without explicitly defined resource names are accessed at the cluster scope.

func GetApisOwned

func GetApisOwned(csv *registry.ClusterServiceVersion) ([]string, error)

func WildCardApiGroupPresent

func WildCardApiGroupPresent(csvPermissions *types.CSVPermissions) bool

Checks if any rules have "*" defined in its apiGroup definition.

func WildCardResourcePresent

func WildCardResourcePresent(csvPermissions *types.CSVPermissions, ownedApis []string) bool

Checks if any rules have "*" defined under resources.(For non-operator owned apis.)

Types

This section is empty.

Jump to

Keyboard shortcuts

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