Skip to main content

Module path_validation

Module path_validation 

Source
Expand description

PowerShell-specific path validation for command arguments.

Extracts file paths from PowerShell commands and validates they stay within allowed project directories.

Structs§

CmdletPathConfig
Per-cmdlet parameter configuration
PathCheckResult
Path check result
ResolvedPathCheckResult
Resolved path check result

Enums§

FileOperationType
File operation type

Functions§

check_path_constraints
Check path constraints
dangerous_removal_deny
Dangerous removal deny check
get_cmdlet_path_config
Get cmdlet path config
is_dangerous_removal_path
Check if path is dangerous for removal
is_dangerous_removal_raw_path
Check if path is a dangerous raw path