permissions

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: May 30, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBash

func GetBash(data config.Data) interface{}

func MergeDenyRules

func MergeDenyRules(data config.Data, rules []DenyRule) (added int, addedPatterns []string, existing []string)

func RemoveDenyRules

func RemoveDenyRules(bashMap map[string]interface{}, rules []DenyRule) (removed int, removedPatterns []string)

Types

type DenyRule

type DenyRule struct {
	Pattern string
	Reason  string
}

Jump to

Keyboard shortcuts

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