Skip to main content

Module allowlists

Module allowlists 

Source

Functions§

all_simple_safe
Return all simple-safe commands, sorted alphabetically.
all_wrappers
Return all wrapper commands, sorted alphabetically.
is_simple_safe
Check if a command is in the simple-safe allowlist.
is_wrapper
Check if a command is a wrapper (should analyze inner command).
simple_safe_count
Number of commands in the simple-safe allowlist.
wrapper_count
Number of commands in the wrapper allowlist.