execpolicy

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: May 20, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package execpolicy provides exact-path allowlist checks for execution interception. It receives configured absolute local-command paths and feeds callers with boolean decisions about whether a candidate path should run locally.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Whitelist

type Whitelist struct {
	// contains filtered or unexported fields
}

func NewWhitelist

func NewWhitelist(paths []string) (*Whitelist, error)

func (*Whitelist) Allows

func (w *Whitelist) Allows(path string) bool

Jump to

Keyboard shortcuts

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